Commit graph

9 commits

Author SHA1 Message Date
Andrea Odetti
32c200d65c Factor common code to change AppMode.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-03-14 11:31:00 +00:00
Andrea Odetti
405ea13ba2 Move Execution to SDLFrame for ease of use in debugger.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-03-14 10:02:19 +00:00
Andrea Odetti
c416eee9df sa2: add namespace and remove tabs.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-25 16:31:24 +00:00
Andrea Odetti
3b917e93be common2: add namespace and reformat everything with space over tabs.
This makes it "possible" to use other editors (than emacs).

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-25 16:04:50 +00:00
Andrea Odetti
c81b4ab1bf ImGui: fix event handling.
1) always pass events to ImGui
2) only pass keyboards to AW when ImGui says so
2021-02-23 19:32:00 +00:00
Andrea Odetti
05b2d5b2e7 Split SDLFrame to ease integration of ImGui.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-06 10:11:29 +00:00
Andrea Odetti
cc55d9e681 Modern syntax: virtual -> override.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-01-31 13:55:43 +00:00
Andrea Odetti
f61e73b639 Move resources, bitmaps and messageboxes into Frames.
And remove a few windows.h interface functions used before.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-01-20 19:07:18 +00:00
Andrea Odetti
8a41ed4d73 Introduce SDL Frame. 2021-01-13 15:28:53 +00:00