Commit Graph

44 Commits

Author SHA1 Message Date
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
14b7cf1987 add hooks for when the window gets/loses focus.
properly refocus draw area.
lay base for dragdrop.
2017-09-23 02:58:04 +02:00
b70e085921 fix possible crashes upon exit 2017-09-19 21:06:15 +02:00
dbefaf0ad3 Windows: fix colors. use fallback if hardware render mode doesn't work. 2017-09-19 20:48:18 +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
8e7d46e717 * attempt at keyboard input, via raw scancodes
* load config, etc
* some things are nicer, too
2017-09-17 23:25:32 +02:00
d463f8252d * build settings for Release
* fix off-by-one error in bitmap drawing
2017-09-14 02:30:11 +02:00
f18690487c start working on API to draw bitmaps
lay out emu thread
2017-09-14 00:30:12 +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