Commit Graph

85 Commits

Author SHA1 Message Date
73bf4471ee audio: change output rate to 47340Hz, add resampler with small margin to elimiate pops/clicks due to output rate fluctuation
output rate is picked such that 1024 samples at that rate equal exactly 710 samples at the SPU's output rate
2017-12-11 18:41:05 +01:00
c639152541 urgl. how could I let something that dumb slip in 2017-12-07 11:17:51 +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
a7c7779917 ensure proper minimum window size at all times 2017-12-07 01:13:13 +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
21e204cdea don't pointlessly restrict the window size 2017-11-23 21:22:47 +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
aa4f427ed4 properly resize window when changing display settings, etc
begin polishing things
2017-11-23 20:01:43 +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
b96ac8e000 (finally) fix sound
* reset capture position when starting capture
* reorder channel/capture handling
* implement FIFO for channel and capture
2017-11-11 18:46:42 +01:00
35c3b34a09 make screen rotation configurable. start making it all clean. 2017-11-09 16:02:17 +01:00
f2a5be6096 make touchscreen code take rotation into account 2017-11-09 00:15:59 +01:00
34513063ab begin work on rotation 2017-11-09 00:04:01 +01:00
bb87a709be cooler screen positioning in horizontal mode 2017-11-08 02:02:15 +01:00
e6e5f48748 attempt at horizontal mode, I guess 2017-11-08 01:53:20 +01:00
857ba49759 actually implement screen gap 2017-11-08 01:34:11 +01:00
0a04efc33e attempt at auto-emphasis mode, emphasizing main screen 2017-10-30 05:45:26 +01:00
85d823d4c7 fix more sizing bugs 2017-10-30 05:17:20 +01:00
f4e7e2f62a fix aspect ratio code 2017-10-30 05:08:04 +01:00
c9082cd50d some attempt at fancypants scaling, I guess 2017-10-30 04:39:50 +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
befc5db031 restore FPS counter 2017-10-11 03:06:30 +02:00
f9d9aaec11 Merge pull request #112 from bentley/master
Portability fixes
2017-10-11 02:56:06 +02:00
ee1da52d77 fail gracefully when ROM loading fails 2017-10-11 00:01:05 +02:00
56bf1ecc13 Treat failed haptics initialization as a warning, not a fatal error. 2017-10-09 03:42:50 -06:00
df19b93408 Include POSIX headers required for fd_set and INADDR_ANY. 2017-10-09 03:41:17 -06: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
f8b63759f7 save window size 2017-10-02 23:15:39 +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