@UpdateWindowClass.h 855 B

1234567891011121314151617181920
  1. /******************************************************************************/
  2. /******************************************************************************/
  3. class UpdateWindowClass : ClosableWindow
  4. {
  5. Text text;
  6. Button apply, show_changes, not_now;
  7. static void ApplyDo(bool all_saved=true, ptr=null);
  8. static void ShowChanges(UpdateWindowClass &uw);
  9. static void Apply (UpdateWindowClass &uw);
  10. void create();
  11. virtual GuiObj* test(C GuiPC &gpc, C Vec2 &pos, GuiObj* &mouse_wheel)override;
  12. virtual void update(C GuiPC &gpc)override;
  13. };
  14. /******************************************************************************/
  15. /******************************************************************************/
  16. extern UpdateWindowClass UpdateWindow;
  17. /******************************************************************************/