#ifndef INS_UI #define INS_UI #include "ok_button.h" class InsUI { public: InsUI (InsRec* ins_rec) ; World* ComposeUI (InsRecord* model) ; void Run () ; /** * Model input/output services. */ Display(); /* * Make this visible on the screen. */ void PutInsName(char* name); /* * Put the given instructor name in the cute little messsage at the top. */ void PutNextTimePref(); /* * Generator to install each time pref in the day editos, columnwise. * First call clears all values. */ void GetNextTimePref(); /* * Generator to retrieve each time pref from the day editos, columnwise. */ protected: Tray* NameField () ; Tray* TimeField () ; Tray* CourseField () ; Tray* ButtonField () ; InsRec* ins_rec ; World* world ; InsRecord* model; // Companion Model } ;