Changeset f89c1c for molecuilder/src/UIElements/TextDialog.hpp
- Timestamp:
- Jan 13, 2010, 10:22:29 AM (16 years ago)
- Children:
- 3896fc
- Parents:
- c489d9
- File:
-
- 1 edited
-
molecuilder/src/UIElements/TextDialog.hpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/UIElements/TextDialog.hpp
rc489d9 rf89c1c 9 9 #define TEXTDIALOG_HPP_ 10 10 11 #include <string> 12 11 13 #include "UIElements/Dialog.hpp" 12 14 … … 17 19 virtual ~TextDialog(); 18 20 19 virtual void handleInt(std::string,int *); 20 virtual void handleString(std::string,std::string *); 21 virtual void queryInt(const char *, int *); 22 virtual void queryString(const char*, std::string *); 23 24 protected: 25 // specialized stuff for text queries 26 class IntTextQuery : public Dialog::IntQuery { 27 public: 28 IntTextQuery(std::string title, int *_target); 29 ~IntTextQuery(); 30 virtual bool handle(); 31 }; 32 33 class StringTextQuery : public Dialog::StringQuery { 34 public: 35 StringTextQuery(std::string title, std::string *_target); 36 ~StringTextQuery(); 37 virtual bool handle(); 38 }; 21 39 }; 22 40
Note:
See TracChangeset
for help on using the changeset viewer.
