Commit Graph

34 Commits

Author SHA1 Message Date
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
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
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
2e82a4f26a gtk: add icon 2017-12-16 05:43:34 +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
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
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
defe46e37e GTK: apply window client size to childHolderWidget. fixes sizing when a menubar is present. 2017-09-19 17:38:43 +02:00
edd33187b6 GTK: thread-safe refresh. doesn't freeze randomly anymore. 2017-09-19 16:53:02 +02:00
8d79355f2e libui: add cairo bitmap code (preliminary). fix bug where putting a draw area directly in the window caused it to be tiny. 2017-09-19 02:22:07 +02:00
5979ab2eb2 libui: fix bug with filepicker filters under GTK. add skeleton for bitmaps. add the right cmake shit. 2017-09-19 00:36:25 +02:00
62a26977c7 libui: primp file picker dialogs
* support for filters, for Windows (tested) and GTK (theoretical)
* add extra parameter for setting the start directory, but not supported yet
2017-09-11 15:56:52 +02:00
70e4841d31 another UI attempt, I guess.
sorry.
2017-09-09 02:30:51 +02:00