77 Commits

Author SHA1 Message Date
Patrick Wuttke
d034fb5a6c Implemented class-based data table and search components. 2026-02-27 16:15:54 +01:00
Patrick Wuttke
5f30b8c26d Added end() function to FormatBuffer to retrieve the end of the stored string. Removed superfluous I template parameter from formatTemp(). 2026-02-27 16:15:21 +01:00
Patrick Wuttke
5da3b65406 small improvements to config type
- made set() and setValue() functions return the actually stored value
- added getOrAddValue() and getOrComputeValue() helpers
- added min and max value as parameters to asInt()
2026-02-27 16:14:23 +01:00
Patrick Wuttke
163c4c06f3 - popup buttons: moved arguments into a struct and added size parameter for the button in addition to the popup
- added functions for rendering clipped text/text with ellipsis
- data table: added special rendering for tables with "uniform" rows that skips the drawing of invisible items
- added InputText() function that takes an std::array as buffer
- added SizedSeparator() functions that work similar to ImGui::Separator() but allow you to set its size
2026-02-27 16:11:40 +01:00
Patrick Wuttke
a3c393b4b1 Added first version of the task list component. 2026-02-17 10:37:23 +01:00
Patrick Wuttke
36d7971a96 Added getTransientValue() and getRuntimeValue() utility functions and made formatTemp() return a smart struct to simplify managing the texts lifetime in nested calls. 2026-02-17 10:36:50 +01:00
Patrick Wuttke
a193826eb1 Added TextWithBackground(), Text() (using std::format), and BeginSmallPopupButton() render functions. 2026-02-17 10:35:25 +01:00
Patrick Wuttke
85f75d9814 Changed config to save the data type with the data so it can be loaded with the correct type. 2026-02-17 10:32:31 +01:00
Patrick Wuttke
707207a83d Changed loadFonts() function to return the created font so you can use it to switch between fonts while rendering. 2026-02-17 10:31:30 +01:00
Patrick Wuttke
f5aa085da9 Added imutil.hpp/cpp for ImGui utility functions. 2025-11-22 12:46:28 +01:00
Patrick Wuttke
4228fe554d Added IDScope helper and c_Window/c_Dialog coroutines. 2025-11-04 17:52:01 +01:00
Patrick Wuttke
561a92d557 ImRaid: added TextUnformatted() for string_views; added hovering/clicking and some more minor improvements to data tables; fixed signature of c_MessageBox and added c_MessageBoxText. 2025-10-28 12:05:17 +01:00
e354e20e54 Implemented/fixed Vulkan instance and device creation. 2025-09-24 00:51:40 +02:00
Patrick Wuttke
d56918e71d Added some utility coroutines for showing message boxes. 2025-09-23 11:14:47 +02:00
Patrick Wuttke
69fdae991a Added handleCloseRequested() callback to allow applications to intercept close requests. 2025-09-23 10:43:48 +02:00
da8d1589b3 Added multi-column sorting to data tables. 2025-09-22 22:19:29 +02:00
Patrick Wuttke
9d02d97af3 Added missing dependency to yaml-cpp and added count parameter to ConfigArray::removeAt(). 2025-09-22 21:45:47 +02:00
Patrick Wuttke
20020318e1 Added configuration helper types. 2025-09-22 17:12:35 +02:00
Patrick Wuttke
9bc56a2748 Added header for ImPlot utility and functions for drawing horizontal/vertical lines and boxes. 2025-09-22 10:39:50 +02:00
5ebd609507 Added first frame (data tables) to the test application. 2025-09-21 23:32:54 +02:00
b38fa1b68b Added utility functions for creating string/value data table columns. 2025-09-21 23:32:35 +02:00
41258cda5b Moved Application declarations to the appropriate header. 2025-09-21 17:44:43 +02:00
ee4ea4ae0a Properly seperated/cleaned up OpenGL and Vulkan implementations. 2025-09-21 17:42:07 +02:00
b35edfcf20 Added ApplicationConfig argument to QuickApp constructor. 2025-09-21 15:26:42 +02:00
180f2b70fa Disable X11 on Wayland unless explicitly activated. 2025-09-21 15:18:02 +02:00
917309e99c Prefer SDL X11 video driver on Linux for ImGui viewport support. 2025-09-20 15:28:08 +02:00
66668959d3 Fixed recipe repository name. 2025-09-20 15:27:29 +02:00
58329a2033 Converted test application from QuickApp to proper sub class. 2025-09-20 15:27:08 +02:00
Patrick Wuttke
0f2f5973fb Merge branch 'master' of https://git.mewin.de/mewin/raid 2025-09-20 14:28:17 +02:00
Patrick Wuttke
6657606e81 Made data table header a const char* to avoid unnecessary allocations. 2025-09-20 14:26:18 +02:00
bc8d241592 Removed Jinja tool due to S++ including Jinja as an addon now. 2025-09-20 12:20:00 +02:00
db09eb5e3a Replaced S++ submodule with loader script. 2025-09-20 11:04:49 +02:00
Patrick Wuttke
d3b56d3fd0 Added DataTable function. 2025-09-19 13:53:42 +02:00
Patrick Wuttke
7470878f9c Added mMainWindowStyles variable to Application. 2025-09-19 13:53:24 +02:00
d74474a042 Use JINJA_FILE_SEARCHPATH variable so the fonts will also be found when built as a library. 2025-03-28 14:53:36 +01:00
71a268b5ad Added Application::initMemoryFS() function to allow apps to init the memory FS before further initialization. 2025-03-28 11:53:29 +01:00
63fcb6181f Added memory FS and put the default font there so it is easier to load it. 2025-03-28 11:48:16 +01:00
6cf748b05d Added license. 2025-03-18 17:20:48 +01:00
Patrick Wuttke
d1addb438c Enable local config and data dirs on Windows, even in release builds. 2025-03-18 09:59:56 +01:00
aef6eb03d2 Fixed RAID_RELEASE macro not defined in release_debug and profile builds. 2025-03-13 23:43:31 +01:00
8d1a7bc957 Fixed compilation warnings due to unused result in release versions. 2025-03-13 10:52:13 +01:00
63f6db2a0c Fixed loading of multiple fonts by having one array per glyph range to keep it alive until the fonts are built. v0.0.1 2025-03-07 10:41:45 +01:00
9ed87aa692 Return VFS adapter as non-const reference to allow actually using it. 2025-03-07 10:41:00 +01:00
1d75400a2d Added more options to font loading. 2025-03-05 22:02:30 +01:00
830fdd434b Added task loop for async stuff and getters for the loop and the VFS. 2025-03-04 00:56:39 +01:00
eb5def0070 Added ImRaid helper library and first functions (ToggleButton and ToggleImageButton). 2025-03-04 00:37:23 +01:00
08ea619a8e Added texture managment and overridable init/cleanup functions. 2025-03-04 00:16:57 +01:00
53efca4729 Enabled viewports. 2025-03-02 23:08:02 +01:00
7eabd55167 Fixed module config for external dependants. 2025-03-02 22:16:24 +01:00
8540550138 Added module config to include RAID as a module in another project. 2025-03-02 21:36:46 +01:00