Changeset b918031 for molecuilder/src/UIElements/TextDialog.cpp
- Timestamp:
- May 9, 2010, 11:59:35 AM (15 years ago)
- Children:
- e62daa
- Parents:
- c93262
- git-author:
- Frederik Heber <heber@…> (05/09/10 11:15:17)
- git-committer:
- Frederik Heber <heber@…> (05/09/10 11:59:35)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/UIElements/TextDialog.cpp
rc93262 rb918031 29 29 30 30 31 void TextDialog::queryEmpty(const char* title, string description){ 32 registerQuery(new EmptyTextQuery(title,description)); 33 } 34 31 35 void TextDialog::queryInt(const char* title, int* target, string description){ 32 36 registerQuery(new IntTextQuery(title,target,description)); … … 55 59 /************************** Query Infrastructure ************************/ 56 60 57 TextDialog::IntTextQuery::IntTextQuery(string title,int *_target, std::string _description) : 61 TextDialog::EmptyTextQuery::EmptyTextQuery(string title, std::string _description) : 62 Dialog::EmptyQuery(title,_description) 63 {} 64 65 TextDialog::EmptyTextQuery::~EmptyTextQuery() {} 66 67 bool TextDialog::EmptyTextQuery::handle() { 68 cout << "Message of " << getTitle() << ":\n" << getDescription() << "\n"; 69 return true; 70 } 71 72 TextDialog::IntTextQuery::IntTextQuery(string title, int * _target, std::string _description) : 58 73 Dialog::IntQuery(title,_target,_description) 59 74 {}
Note:
See TracChangeset
for help on using the changeset viewer.