ArrayForm.h 570 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #ifndef ARRAY_EDIT_FORM
  2. #define ARRAY_EDIT_FORM
  3. #include "..\..\..\common_h\gui.h"
  4. class ArrayAttribute;
  5. #define ARRAYEDIT_WINDOWNAME "Array"
  6. class TArrayEdit : public GUIWindow
  7. {
  8. public:
  9. ArrayAttribute* MasterAttrib;
  10. GUIButton* btnOK;
  11. GUIButton* btnCancel;
  12. GUIEdit* eValue;;
  13. TArrayEdit (int posX, int posY);
  14. ~TArrayEdit ();
  15. void OnCreate();
  16. void _cdecl OnDataChange (GUIControl* sender);
  17. void _cdecl OnButtonOK (GUIControl* sender);
  18. void _cdecl OnButtonCancel (GUIControl* sender);
  19. void KeyPressed (int key, bool bSysKey);
  20. };
  21. #endif