platform.hpp 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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/combo-edit.hpp"
  36. #include "widget/combo-edit-item.hpp"
  37. #include "widget/console.hpp"
  38. #include "widget/frame.hpp"
  39. #include "widget/hex-edit.hpp"
  40. #include "widget/horizontal-scroll-bar.hpp"
  41. #include "widget/horizontal-slider.hpp"
  42. #include "widget/icon-view.hpp"
  43. #include "widget/icon-view-item.hpp"
  44. #include "widget/label.hpp"
  45. #include "widget/line-edit.hpp"
  46. #include "widget/progress-bar.hpp"
  47. #include "widget/radio-button.hpp"
  48. #include "widget/radio-label.hpp"
  49. #include "widget/source-edit.hpp"
  50. #include "widget/tab-frame.hpp"
  51. #include "widget/tab-frame-item.hpp"
  52. #include "widget/table-view.hpp"
  53. #include "widget/table-view-column.hpp"
  54. #include "widget/table-view-item.hpp"
  55. #include "widget/table-view-cell.hpp"
  56. #include "widget/text-edit.hpp"
  57. #include "widget/tree-view.hpp"
  58. #include "widget/tree-view-item.hpp"
  59. #include "widget/vertical-scroll-bar.hpp"
  60. #include "widget/vertical-slider.hpp"
  61. #include "widget/viewport.hpp"
  62. #undef Declare
  63. #include "application.hpp"
  64. #include "settings.hpp"