Commit Graph

51 Commits

Author SHA1 Message Date
7fe522ffbe new minor change to test new https subdomain 2026-04-19 20:30:15 +02:00
4cd1528343 fix: getmouse pos uses the member vars correctly and removed const 2026-04-17 11:54:42 +02:00
31f57eddf7 fix: window remove flags function used | to remove flag instead of & 2026-04-17 11:40:56 +02:00
e9808fb47f fix: sdl render alpha was set 0 changed to 255 to be transparent 2026-04-17 11:39:48 +02:00
fa05feceb8 fixed: uninitalized m_Flags in window made the application window not appear 2026-04-16 15:42:08 +02:00
4b89548102 changed the type of the windowflags in windowdata struct and window create function argument 2026-04-16 13:48:34 +02:00
99d508c5ed added windowFlag to WindowData so client can specify the first window's flags when application is created 2026-04-15 10:35:22 +02:00
fb9e93d9cf changed m_Flags from pointer to stack var 2026-04-15 10:28:11 +02:00
e64fc16d6a removeflags function for window class 2026-04-15 10:19:24 +02:00
73db13dcc2 addflags function for windows 2026-04-15 10:16:05 +02:00
ec5d5af43e added member var for the window flags to the window class 2026-04-15 10:15:08 +02:00
ccbc79d496 fixed: the application crashes when the user used the x button or key combination to close the window
the crash occured because running state was set false but the
application loop was still running during that frame and rendered to the
now closed window, because the check only happened at the start of the
next frame
2026-04-14 18:03:36 +02:00
7ff93e58ea fixed: handling window creation failure correctly 2026-04-10 16:00:41 +02:00
e57149e9db removed not needed includes and added the include for the event 2026-04-10 15:49:09 +02:00
796769c6a4 window flag add and remove function definition 2026-04-10 15:48:43 +02:00
daefc73de7 window create now accepts flags as parameter 2026-04-10 15:48:11 +02:00
d28dbc1083 updated all submodules to newest version 2026-04-10 11:26:49 +02:00
7e5317fdc0 Revert "deleted getlayers function"
This reverts commit 0dbb8bc642.
2026-04-10 10:56:48 +02:00
0dbb8bc642 deleted getlayers function 2026-04-10 10:54:23 +02:00
96c19efaea changed default constructor and initialized vectors with size to avoid early copying 2026-04-10 10:54:14 +02:00
b964c2257b deleted commented out old code and todo comment 2026-04-10 10:53:22 +02:00
e46225eda9 added getlayerstack function to application 2026-04-10 10:52:26 +02:00
5dd3cc1b73 feat: queuing layer commands such as pop, push and transition at the end of each frame 2026-04-09 22:07:10 +02:00
b98f46f425 removed todo comment from window class 2026-04-09 22:04:31 +02:00
60f6c9281b using sdl main 2026-04-06 15:37:56 +02:00
fd319405e5 added onrender function to use sdl render in client, enabled multiviewports in imgui 2026-04-06 15:06:14 +02:00
5b40377d04 bug fixed: imgui rendered inside the event loop
the closing bracket for the event loop was misplaced and the imgui
render got inside the event loop
2026-04-06 10:24:56 +02:00
9974471b66 new event and window abstraction, preparing for multiple windows 2026-04-05 17:41:58 +02:00
3925ccc520 layer transition with temporary testing code until the event system is implemented 2026-04-04 11:38:31 +02:00
8b91c7ab76 sdl high dpi flag 2026-04-03 16:26:46 +02:00
d58ddf6c35 refactored imgui layer into nonlayer version
it returned to being a member of application with new init and shutdown
function which is ran by the con- and destructors, and init is called at
the end of the app init, with this it inits before any layer and layers
can use the onimguirender to draw with imgui
2026-04-03 15:44:43 +02:00
da3ad2ed61 get layer and filter with name, reworked layer system with template 2026-04-02 15:27:13 +02:00
53ef776d4c reworked application push layer and push overlay for a template system part of the new layer system 2026-04-02 13:01:25 +02:00
abe57222a8 new layer function definitions for the new layer system 2026-04-02 13:00:30 +02:00
5f2dc0d66e new library versions 2026-04-02 11:50:57 +02:00
5613e3824a new imgui version 2026-04-02 11:35:25 +02:00
5aa1e39cdd changed layer stack vector to contain uniqe_ptr of layers 2026-04-02 11:23:36 +02:00
fe265c6994 is active toggle on layer
this will be used to turn off a layer but we do not want to delete them
from the layer stack
2026-04-01 18:24:46 +02:00
fb06a38c83 reworked app init before major layer rework 2026-04-01 18:23:51 +02:00
cc3f592c67 removed temporary imgui window for checking if delta time was calculated properly 2026-04-01 18:22:52 +02:00
a9d3910ab3 removed comments for self explaining code 2026-04-01 18:21:57 +02:00
ea1d6252ba deleted not needed include 2026-04-01 18:19:16 +02:00
51cfab26f2 calculating delta time 2026-03-17 16:38:14 +01:00
a6ccb37b10 break!: switched to imgui docking branch 2026-03-17 16:37:15 +01:00
b05badcf90 implemented new layer function imguirender 2026-03-17 11:21:25 +01:00
9b64e0b065 finished imguilayer end function 2026-03-17 11:20:30 +01:00
fed67c7baa removed onstart onend since they are redundant with attach and detach 2026-03-17 11:19:40 +01:00
370e0f9c5a application refactoring 2026-03-16 20:13:48 +01:00
13286719ab imgui layer 2026-03-16 20:13:33 +01:00
4bc043e5a1 layerstack iterator functions 2026-03-16 20:13:27 +01:00