75f8cbf953
draft API for OpenGL shito in libui
2019-03-31 21:15:45 +02:00
b0efde8bf7
also, update copyright name
2019-01-22 15:58:29 +01:00
7630e2d9db
Use workaround for GCC incompatibilities with MSVC aggregate returns
...
Fixes crash on MinGW builds when ID2D1RenderTarget::GetSize() is called
2019-01-06 12:03:01 +01:00
15be25085f
make it also be a thing under Windows
2018-12-30 01:49:47 +01:00
fc3952c981
libui/gtk: center windows
2018-12-30 01:17:50 +01:00
f9e143fc69
libui/gtk: add functions to uiWindow for setting/getting minimized/maximized state
...
remember if main window is maximized, avoid updating the saved size when it is
2018-12-30 01:07:25 +01:00
63ae6bf8fb
libui/windows: some work on hiDPI shit
...
still looks derpy but atleast the rendering and touchscreen aren't broken
2018-12-21 05:01:37 +01:00
56c2160855
attempting to fix some potential input dialog crashes
2018-12-15 00:22:28 +01:00
e6c03619a1
libui/gtk: make uiWindowSetFocus() actually work
2018-12-14 22:57:06 +01:00
2077642a92
libui/GTK: remember directory in which the latest loaded ROM was, point file picker to it. behavior under Windows will likely stay unchanged as the Windows file picker already does that.
2018-12-14 22:03:34 +01:00
ff1e21733d
add hotkey config values.
...
duplicate DlgInputConfig so that it can also do hotkey config.
also prevent from opening those config dialogs a billion times.
2018-12-14 03:32:40 +01:00
e829c2e4a1
libui/windows: cache ideal size for uiButton.
...
input dialog isn't abysmally slow anymore.
2018-12-14 01:15:18 +01:00
d4d4965b2f
remove trainwrecky code that caused issues now.
2018-10-26 22:17:27 +02:00
eb67ac9a1b
finally come up with a (crummy) solution for those fucking shitty submenus
2018-10-26 20:56:59 +02:00
cbe63f8fd5
until we actually get somewhere with the menu crap... fix potential crashes when exiting.
2018-10-26 18:39:41 +02:00
c5670a22a5
fix GTK menus asploding upon exit. hopefully. fuck this code
2018-10-26 16:29:46 +02:00
e4e8d775c0
libui/windows: don't explode if setWindowText() fails. fixes random crash when closing window.
...
also add extra safety, can't hurt.
2017-12-17 02:11:28 +01:00
2e82a4f26a
gtk: add icon
2017-12-16 05:43:34 +01:00
ca41ce6efd
windows: add icon
2017-12-16 04:10:32 +01:00
e4f030149b
add option to toggle filtering
2017-12-07 02:50:05 +01:00
18bcefe83b
libui: add parameter to uiDrawBitmapDraw() to specify filtering
2017-12-07 02:41:46 +01:00
10b797e53d
libui/GTK: properly clean up menus, so it doesn't crash upon exit
2017-12-05 05:21:11 +01:00
746b4db382
libui/GTK: add area BG color support
2017-12-05 04:20:52 +01:00
dd529f0f5c
libui/GTK: fix drawmatrix transform order to match Windows. fixes rotation.
2017-12-05 04:12:03 +01:00
c5872dab7d
libui/GTK: start adding submenu support. cleanup still has to be done. use uiMenuAppendCheckItem() for checkable items.
2017-12-05 03:41:49 +01:00
bdf9f56152
libui/GTK: add uiAreaSetBackgroundColor, not hooked up yet
2017-12-05 03:04:17 +01:00
85c375cce7
* remember screen rotation/gap/etc settings
...
* fix menu cleanup to take submenus into account properly, so it doesn't crash when exiting
2017-11-23 21:02:24 +01:00
8e6d834f13
libui: add API for setting a background color for uiArea. (TODO: do for GTK)
...
make window background black.
2017-11-23 19:28:06 +01:00
b8706c29c7
make it betterer
2017-10-30 03:21:12 +01:00
84a842c6f3
libui/windows: add support for submenus
2017-10-30 03:11:45 +01:00
3881b2615b
libui/Windows: allow file pickers to navigate through shortcuts. fixes #199
2017-10-21 22:24:29 +02:00
a15c395460
GTK: file drop support. adsfgdgfdg
2017-10-05 03:10:14 +02:00
084d9254e3
maybe now the input dialog can stop being dumb
2017-10-05 02:05:23 +02:00
d895dfc9fb
hopefully fix that shit for good
2017-10-05 01:58:41 +02:00
a84caacb03
make window actually resizable below min size. we lose proper client sizing under GTK tho.
2017-10-05 01:35:50 +02:00
f714c492b9
GTK: hook SetMinSize. fuck around with gtk_widget_set_size_request() so the window can be resized smaller than the initial size.
2017-10-05 01:22:03 +02:00
5d5311c53c
use grids instead of nested boxes for input config dialog. (still lags, needs optimization)
...
adjust things to make those dialogs sexier.
2017-10-05 01:03:22 +02:00
9d3f13b689
rework things a bit.
...
also remove some useless variables.
2017-10-05 00:13:22 +02:00
9125620ff1
christ, did I seriously forget to remove that code
2017-10-03 03:28:49 +02:00
012a7d61a7
actually make uiKeyName() work
2017-10-03 02:52:30 +02:00
9527499124
hook up area key events
2017-10-03 02:19:42 +02:00
fbe4e4938b
finally finish cairo bitmap support. asdsfdfgfsgf
2017-10-03 01:29:35 +02:00
5450c7cc3d
hook up Resize event
2017-10-03 00:51:56 +02:00
7f05bf24ad
libui/GTK: start catching up. atleast now it runs without exploding (mostly).
2017-10-03 00:28:41 +02:00
dad0e6b6e8
add support for non-resizable windows
2017-10-02 23:26:25 +02:00
d0770596ea
re-add basic scaling
2017-10-02 03:34:17 +02:00
09920126dd
add support for setting an explicit min size for libui controls. for now only supported by uiArea.
2017-10-02 01:58:09 +02:00
9ad89d8cb5
fix crash under Windows 10
2017-09-30 23:17:36 +02:00
acc23f47cc
actually get the input dialog somewhere
2017-09-30 18:58:13 +02:00
f52322ee20
* support for dragdrop
...
* support for loading ROMs via command line (except it will try to get the BIOS/firmware from where the ROM is. derp)
* re-add missing BIOS/firmware dialog. fix libui to allow dialogs without a parent window.
2017-09-23 03:39:09 +02:00