//------------------------------------------------------------------------------ // gui_Form clas -- // (C) Piero Giubilato 2008, Berkeley Lab -- //------------------------------------------------------------------------------ //______________________________________________________________________________ // {Trace} // [File name] "gui_Form.h" // [Author] "Piero Giubilato" // [Version] "0.1" // [Modified by] "Piero Giubilato" // [Last revision] "17 Jun 2008" // [Language] "C++" // [Compiler] "Visual C++ 8.x 9.x" // [Member of] "Cool SEAL" // [Project] "SEAL" // [Description] "Header for the gui_Form class" // [Key documentation] // "Visual C++ Reference Help" // "Root reference guide" // {Trace} //______________________________________________________________________________ /* // Overloading check #if !defined gui_Form_H #define gui_Form_H // Root components #include #include //#include //#include //#include //#include // Application component #include "gui_Object.h" // This class handles msg boxes with various option. class gui_Form: public gui_Object { private: // Main interface elements TGTransientFrame *frm_Main; // The frame window itself //TGTextButton *btn_Ok, *btn_Cancel, *btn_Yes, *btn_No; //TGLabel *lbl_Info; //TGIcon *icn_Info; // Frames and layout managers //TGHorizontalFrame *frm_Button, *frm_Label; //TGLayoutHints *lyt_Button; // Interface buildup //void frm_main_Label(const UInt_t options, const Char_t* message); //void frm_main_Button(const UInt_t options); // Answers references //UInt_t* ref_Button; // Last pressed button //Double_t* ref_Value; // Last written value //Char_t* ref_Char; // Last written text protected: public: // Standard constructor(s) gui_Form(const Char_t* caption = "Window", const UInt_t options = 0); // Destructor virtual ~gui_Form(); // Root reference // Form control void form_Show(); // Show the form void form_Close(); // Close the form void form_Refresh(); // Refresh the form // Parameters enum km { km_Modal = 1, km_FixedSize = 2, }; // Cint preprocessor token ClassDef(gui_Form, 1) }; // End of Overloading check #endif */