2
0

FloatForm.h 643 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #ifndef FLOAT_EDIT_FORM
  2. #define FLOAT_EDIT_FORM
  3. #include "..\..\..\common_h\gui.h"
  4. #define FLOATEDIT_WINDOWNAME "Float"
  5. class FloatAttribute;
  6. class TFloatEdit : public GUIWindow
  7. {
  8. public:
  9. void OnCreate();
  10. void KeyPressed(int key, bool bSysKey);
  11. FloatAttribute* MasterAttrib;
  12. GUIButton* btnOK;
  13. GUIButton* btnCancel;
  14. GUIEdit* eValue;
  15. TFloatEdit (int posX, int posY);
  16. ~TFloatEdit ();
  17. void _cdecl OnDataChange (GUIControl* sender);
  18. void _cdecl OnButtonOK (GUIControl* sender);
  19. void _cdecl OnButtonCancel (GUIControl* sender);
  20. bool ProcessMessages (GUIMessage message, DWORD lparam, DWORD hparam);
  21. };
  22. #endif