Main Page | Namespaces | Classes | Compounds | Files | Compound Members | Related Button.h00001 // 00002 // SYNTOPIA. See http://Syntopia.sourceforge.net for details and documentation. 00003 // 00004 // Author of this file: Mikael Hvidtfeldt Christensen (mikaelc@users.sourceforge.net) 00005 // 00006 00007 00008 #ifndef __Button 00009 #define __Button 00010 00011 #include <windows.h> 00012 #include <string> 00013 #include "WinForm.h" 00014 #include "GUIControl.h" 00015 00016 namespace GUIToolkit { 00017 00018 class WinForm ; // Forward Declaration 00019 00021 /* 00022 * Not much to say really.... 00023 */ 00024 class Button : public Component { 00025 public: 00026 00028 Button(std::string s); 00029 00031 ~Button(); 00032 00034 void PutInWinForm(WinForm * WF, int x0, int x1, int y0, int y1); 00035 00036 private: 00037 std::string ButtonLabel; 00038 HWND hButton; 00039 00040 }; 00041 00042 }; // end of namespace 00043 00044 #endif Docs made by Doxygen. Email: Mikael Christensen |