platform.hpp 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. #define Declare(Name, Base) \
  2. p##Name(m##Name& reference) : p##Base(reference) {} \
  3. auto self() const -> m##Name& { return (m##Name&)reference; } \
  4. auto state() const -> m##Name::State& { return self().state; } \
  5. auto construct() -> void override; \
  6. auto destruct() -> void override; \
  7. #include "font.hpp"
  8. #include "desktop.hpp"
  9. #include "monitor.hpp"
  10. #include "keyboard.hpp"
  11. #include "mouse.hpp"
  12. #include "browser-window.hpp"
  13. #include "message-window.hpp"
  14. #include "object.hpp"
  15. #include "group.hpp"
  16. #include "timer.hpp"
  17. #include "window.hpp"
  18. #include "status-bar.hpp"
  19. #include "menu-bar.hpp"
  20. #include "popup-menu.hpp"
  21. #include "action/action.hpp"
  22. #include "action/menu.hpp"
  23. #include "action/menu-separator.hpp"
  24. #include "action/menu-item.hpp"
  25. #include "action/menu-check-item.hpp"
  26. #include "action/menu-radio-item.hpp"
  27. #include "sizable.hpp"
  28. #include "widget/widget.hpp"
  29. #include "widget/button.hpp"
  30. #include "widget/canvas.hpp"
  31. #include "widget/check-button.hpp"
  32. #include "widget/check-label.hpp"
  33. #include "widget/combo-button.hpp"
  34. #include "widget/combo-button-item.hpp"
  35. #include "widget/console.hpp"
  36. #include "widget/frame.hpp"
  37. #include "widget/hex-edit.hpp"
  38. #include "widget/horizontal-scroll-bar.hpp"
  39. #include "widget/horizontal-slider.hpp"
  40. #include "widget/label.hpp"
  41. #include "widget/line-edit.hpp"
  42. #include "widget/progress-bar.hpp"
  43. #include "widget/radio-button.hpp"
  44. #include "widget/radio-label.hpp"
  45. #include "widget/tab-frame.hpp"
  46. #include "widget/tab-frame-item.hpp"
  47. #include "widget/table-view.hpp"
  48. #include "widget/table-view-column.hpp"
  49. #include "widget/table-view-item.hpp"
  50. #include "widget/table-view-cell.hpp"
  51. #include "widget/text-edit.hpp"
  52. #include "widget/vertical-scroll-bar.hpp"
  53. #include "widget/vertical-slider.hpp"
  54. #include "widget/viewport.hpp"
  55. #undef Declare
  56. #include "application.hpp"