Andrea Odetti
|
d68b503d0d
|
Fix mouse relative calculation to ensure pointer goes from minX to maxX (and Y) included.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
|
2021-06-05 14:35:05 +01:00 |
|
Andrea Odetti
|
db71bb1a4c
|
sa2 & mouse: fix dead y zone used to draw the menu.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
|
2021-06-05 13:51:07 +01: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
|
3e5a6aa520
|
Extend geometry arg to WxH(+X+Y).
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
|
2021-02-20 15:21:53 +00:00 |
|
Andrea Odetti
|
d912026f3e
|
Add options to specify SDL window size via cmd line arguments.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
|
2021-02-13 12:56:06 +00:00 |
|
Andrea Odetti
|
1b3c3f6711
|
Fix SDL rectangle frame.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
|
2021-02-07 14:00:45 +00:00 |
|
Andrea Odetti
|
989410c17d
|
Integrate Dear ImGui with SDL to reduce code duplication.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
|
2021-02-06 16:55:08 +00:00 |
|