Commit Graph

282 Commits

Author SHA1 Message Date
twinaphex 13d662d76b Silence some warnings 2021-11-11 22:28:16 +01:00
twinaphex 86f899c844 Revert "Shorten character arrays that are passed to fill_pathname_base_noext"
This reverts commit 318108ac82.
2021-11-10 08:22:19 +01:00
twinaphex 28bef36c74 Remove retroarch_data.h and retroarch_fwd_decls.h 2021-11-10 01:18:24 +01:00
twinaphex 318108ac82 Shorten character arrays that are passed to fill_pathname_base_noext 2021-11-10 00:09:33 +01:00
Omar Saleem b4878a8e7b
feat: solarized light ozone theme (#5)
* feat: adding solarized dark theme to ozone

* fix: variable not defined in header

* fix: added string for selecting theme in menu

* fix: added message hash for string

* feat: copied solarized dark translations into msg hashes

* fix: forgot to change name of enum label after copying

* first pass of new colors

* added selection border and fixed sublabel color

* sublabel color from blue to muted gray

* trying cyan for sublabel

* adjusted selected text color to match philosophy from solarized website

* testing what the entries_ colors do

* chose colors for entries_, adjusted other border and bgs

* match selection border to sublabel color

* trying gray for sublabel

* accidentally put the color in the wrong place, reverting and updating

* trying to change selected option color to orange

* not feeling orange, lets try teal

* try for orange border

* try for magenta border

* try for violet border

* trying blue border again

* trying omar blue bc why not

* reverting to regular blue for icons and green for border

* try magenta for footer border

* trying font color for footer border

* trying to get message background to show

* can't get it to render, but changed message background to violet

* testing sidebar changes

* sidebar colors

* lighter sidebar color

* trying gray sidebar

* try a gradient

* screwed up one of the coordinates

* reversing gradient

* attempting gradient with colors i made up

* accidentally wrote gradient to dracula instead of solarized dark

* adding gradient to the top, reversing bottom gradient

* randomly trying shuffling bottom gradient coords

* moving top right coordinate somewhere else

* swapped top two bottom coords to see

* swapped them back, i got lucky and things were right

* think i figured out the order,  BL, BR, TL, TR

* making background gradient lil darker

* fixed coords

* lessening gradient effect

* lessening gradient effect, but by making darker instead of lighter

* of course, messed up two coords

* removed top and bottom gradients

* dark and flat sidebar

* forgot to change running background

* made running background a bit less transparent since this is a low contrast theme

* added underscore to theme name

* adjusting message background color

* fixing message background color

* fixed cursor color border

* adjusting text to be one notch brighter, base0 -> base1, base01 -> base0

* adjusting sublabel text to use base00 instead, its in between base01 and base0

* added message hashes for light theme name

* added defines and enums for the light theme

* added solarized light structs into ozone.c, theyre all clones of dark for now

* fixing solarized dark ozone theme

fixing name of theme in ozone.c so assets load properly, fixing cursor and message colors to be green instead of purple

* added message hashes for light theme name

* added defines and enums for the light theme

* added solarized light structs into ozone.c, theyre all clones of dark for now

* i had based this branch on the wrong branch, fixed

* first pass, only changing background and regular text

* trying orange and magenta highlights

* Revert "trying orange and magenta highlights"

This reverts commit 1f1e107888cee0e97c6354a8d114863b39af8d00.

* applying the new colors to the right theme this time :)

* trying red instead of pink

* trying magenta icons in a desperate attempt to justify the use of the color

* trying magenta icons, orange labels and selector

* back to orange and red, sigh

* trying sidebar colors

* fixing sidebar gradient

* light theme red animated border colors

* trying magenta for second border color

* that was bad, trying a less light red

* going even darker

* made cursor border get darker instead of lighter

* that was a little too dark

* changed light theme running background to be..light
2021-10-16 16:17:16 -04:00
Omar Saleem 038b28c5f2
updating text labels to be brighter (#4)
* adjusting text to be one notch brighter, base0 -> base1, base01 -> base0

* adjusting sublabel text to use base00 instead, its in between base01 and base0
2021-10-16 12:42:45 -04:00
Omar Saleem 64dabb0388 Revert "Solarized light (#3)"
This reverts commit 485d07691d.
2021-10-15 23:51:25 -04:00
Omar Saleem 485d07691d
Solarized light (#3)
* feat: adding solarized dark theme to ozone

* fix: variable not defined in header

* fix: added string for selecting theme in menu

* fix: added message hash for string

* feat: copied solarized dark translations into msg hashes

* fix: forgot to change name of enum label after copying

* first pass of new colors

* added selection border and fixed sublabel color

* sublabel color from blue to muted gray

* trying cyan for sublabel

* adjusted selected text color to match philosophy from solarized website

* testing what the entries_ colors do

* chose colors for entries_, adjusted other border and bgs

* match selection border to sublabel color

* trying gray for sublabel

* accidentally put the color in the wrong place, reverting and updating

* trying to change selected option color to orange

* not feeling orange, lets try teal

* try for orange border

* try for magenta border

* try for violet border

* trying blue border again

* trying omar blue bc why not

* reverting to regular blue for icons and green for border

* try magenta for footer border

* trying font color for footer border

* trying to get message background to show

* can't get it to render, but changed message background to violet

* testing sidebar changes

* sidebar colors

* lighter sidebar color

* trying gray sidebar

* try a gradient

* screwed up one of the coordinates

* reversing gradient

* attempting gradient with colors i made up

* accidentally wrote gradient to dracula instead of solarized dark

* adding gradient to the top, reversing bottom gradient

* randomly trying shuffling bottom gradient coords

* moving top right coordinate somewhere else

* swapped top two bottom coords to see

* swapped them back, i got lucky and things were right

* think i figured out the order,  BL, BR, TL, TR

* making background gradient lil darker

* fixed coords

* lessening gradient effect

* lessening gradient effect, but by making darker instead of lighter

* of course, messed up two coords

* removed top and bottom gradients

* dark and flat sidebar

* forgot to change running background

* made running background a bit less transparent since this is a low contrast theme

* added underscore to theme name

* adjusting message background color

* fixing message background color

* fixed cursor color border

* adjusting text to be one notch brighter, base0 -> base1, base01 -> base0

* adjusting sublabel text to use base00 instead, its in between base01 and base0

* added message hashes for light theme name

* added defines and enums for the light theme

* added solarized light structs into ozone.c, theyre all clones of dark for now

* fixing solarized dark ozone theme

fixing name of theme in ozone.c so assets load properly, fixing cursor and message colors to be green instead of purple

* added message hashes for light theme name

* added defines and enums for the light theme

* added solarized light structs into ozone.c, theyre all clones of dark for now

* i had based this branch on the wrong branch, fixed

* first pass, only changing background and regular text

* trying orange and magenta highlights

* Revert "trying orange and magenta highlights"

This reverts commit 1f1e107888cee0e97c6354a8d114863b39af8d00.

* applying the new colors to the right theme this time :)

* trying red instead of pink

* trying magenta icons in a desperate attempt to justify the use of the color

* trying magenta icons, orange labels and selector

* back to orange and red, sigh

* trying sidebar colors

* fixing sidebar gradient

* light theme red animated border colors

* trying magenta for second border color

* that was bad, trying a less light red

* going even darker

* made cursor border get darker instead of lighter

* that was a little too dark

* changed light theme running background to be..light
2021-10-15 23:44:42 -04:00
Omar Saleem 0c017a2c82 reverting so i can squash commits 2021-10-15 16:36:09 -04:00
Omar Saleem 5226a0659a
new ozone theme: solarized dark (#1)
* feat: adding solarized dark theme to ozone

* fix: variable not defined in header

* fix: added string for selecting theme in menu

* fix: added message hash for string

* feat: copied solarized dark translations into msg hashes

* fix: forgot to change name of enum label after copying

* first pass of new colors

* added selection border and fixed sublabel color

* sublabel color from blue to muted gray

* trying cyan for sublabel

* adjusted selected text color to match philosophy from solarized website

* testing what the entries_ colors do

* chose colors for entries_, adjusted other border and bgs

* match selection border to sublabel color

* trying gray for sublabel

* accidentally put the color in the wrong place, reverting and updating

* trying to change selected option color to orange

* not feeling orange, lets try teal

* try for orange border

* try for magenta border

* try for violet border

* trying blue border again

* trying omar blue bc why not

* reverting to regular blue for icons and green for border

* try magenta for footer border

* trying font color for footer border

* trying to get message background to show

* can't get it to render, but changed message background to violet

* testing sidebar changes

* sidebar colors

* lighter sidebar color

* trying gray sidebar

* try a gradient

* screwed up one of the coordinates

* reversing gradient

* attempting gradient with colors i made up

* accidentally wrote gradient to dracula instead of solarized dark

* adding gradient to the top, reversing bottom gradient

* randomly trying shuffling bottom gradient coords

* moving top right coordinate somewhere else

* swapped top two bottom coords to see

* swapped them back, i got lucky and things were right

* think i figured out the order,  BL, BR, TL, TR

* making background gradient lil darker

* fixed coords

* lessening gradient effect

* lessening gradient effect, but by making darker instead of lighter

* of course, messed up two coords

* removed top and bottom gradients

* dark and flat sidebar

* forgot to change running background

* made running background a bit less transparent since this is a low contrast theme
2021-10-15 03:16:13 -04:00
twinaphex fde3406d1b Get rid of input_event_get_osk_ptr/get_osk_grid 2021-10-01 07:37:33 +02:00
twinaphex e886e908d5 Create consistent naming conventions - use retroarch_ instead
of rarch_ for some functions for all functions coming from retroarch.h
2021-09-28 12:56:10 +02:00
twinaphex 1ff024be26 Don't do rotate_z call for every draw_texture_slice call 2021-09-21 21:38:07 +02:00
twinaphex 6eeebeab25 Get rid of gfx_display_set_msg_force 2021-09-21 21:10:38 +02:00
twinaphex 83ce4259a0 Have only one getter for runloop_state 2021-09-21 19:08:26 +02:00
twinaphex 33f075191d Silence warning for libnx 2021-09-21 17:53:50 +02:00
twinaphex 295aa84a9e Cleanups 2021-09-20 20:43:05 +02:00
twinaphex 5e4ce74000 Get rid of duplicate code in gfx_widgets -
gfx_display_get_widget_dpi_scale made redundant
2021-09-13 20:21:36 +02:00
twinaphex 490233f3c5 wite_texture is now a static global variable inside gfx_display.c
- no longer referenced outside
2021-09-13 19:55:53 +02:00
twinaphex 3d303a63df (Ozone) Reduce rotate_z calls 2021-09-12 17:14:03 +02:00
jdgleaver 6da778b934 (Playlist Manager) Add 'Refresh Playlist' option 2021-09-09 16:18:26 +01:00
twinaphex 10782f9abc Cleanups - move code over to menu_driver.c 2021-09-07 11:55:12 +02:00
Autechre 36888612eb
Reduce gfx_display_rotate_z calls in menu drivers (#12937)
* (Ozone) Take out gfx_display_rotate_z out of ozone_draw_icon -
lots of matrix rotates and multiplies were happening when
just calling it once would suffice

* (MaterialUI) Reduce calls to gfx_display_rotate_z

* (XMB) Cleanup
2021-09-05 03:46:52 +02:00
twinaphex 9ea6f15c1d (Ozone) Forgot to add ozone.c file 2021-08-31 18:43:58 +02:00
natinusala 33ecec05c5 ozone: split into multiple files 2018-11-19 13:15:09 +01:00
natinusala b694608251 ozone: increase legibility of menu when content is running 2018-11-19 10:34:02 +01:00
natinusala bca0669833 ozone: fix cheevos badges, convert cheevos.c to LF 2018-11-19 10:23:55 +01:00
natinusala fa96962fa7 ozone: fix osk visual glitch 2018-11-19 09:55:12 +01:00
natinusala 186cc288bb ozone: fix typo, show images tab properly 2018-11-19 09:34:27 +01:00
Alfrix 2400da6129 Ozone: Localize and log asset warning 2018-11-17 10:35:20 -03:00
natinusala fe2f9bdcbc ozone: fix missing content icons 2018-11-15 20:47:59 +01:00
natinusala c421df494b ozone: fix playlists icons 2018-11-15 20:47:59 +01:00
natinusala 1abab059f9 ozone: don't break playlists without a hyphen in their name 2018-11-15 19:01:30 +01:00
natinusala 48cdac2a64 ozone: add console playlists support 2018-11-15 18:41:50 +01:00
natinusala 228f8ca0ef ozone: display correct tabs 2018-11-14 14:41:41 +01:00
natinusala f493c114b5 ozone: fix visual issues, add fade in/out to messagebox 2018-11-14 14:18:14 +01:00
natinusala a8a5f286b9 ozone: see content behind menu if content is running 2018-11-13 16:05:24 +01:00
natinusala 73f6e51892 ozone: improve OSK display 2018-11-13 15:48:16 +01:00
natinusala 4af4582204 ozone: fix empty playlist message position 2018-11-13 14:35:15 +01:00
natinusala 2c628860c8 ozone: fix some values display 2018-11-13 14:08:28 +01:00
natinusala 8a1afb0a52 ozone: add support for cursor height, improve empty playlists display 2018-11-13 14:01:59 +01:00
natinusala f9d74ad0e0 ozone: add is_playlist flag 2018-11-13 13:09:47 +01:00
natinusala 28b415f9f2 ozone: implement bind_init 2018-11-13 12:54:06 +01:00
natinusala eee619f64b ozone: go back to main menu tab when pressing B on the sidebar 2018-11-13 12:52:20 +01:00
Twinaphex 1ef286ec7c
Merge pull request #7583 from alfrix/input_icons
Input icons (User Binds)
2018-11-12 21:53:07 +01:00
Alfrix 989ddb35a8 Cleanup 2018-11-12 00:54:24 -03:00
Alfrix 53e89f6bd1 Fix shutdown icon and add restart 2018-11-12 00:38:12 -03:00
Alfrix e5c7de8607 Input icons (User binds) 2018-11-12 00:30:09 -03:00
natinusala 6733eaa330 ozone: fix content clear color 2018-11-10 15:25:29 +01:00
natinusala 650f9e9e36 ozone: pulsating cursor 2018-11-09 18:50:27 +01:00
natinusala 5406e19c3e ozone: add missing assets message 2018-11-09 17:00:44 +01:00
natinusala 20a8e1b40f ozone: fancy new cursor 2018-11-09 16:51:34 +01:00
Alfrix 0b29a93bf3 Add more icons OZONE/XMB 2018-11-08 19:43:42 -03:00
natinusala b5f869bf25 ozone: implement messagebox and OSK 2018-11-08 12:00:06 +01:00
natinusala 019e6d8e2d ozone: fix restore clear color on toggle 2018-11-08 12:00:06 +01:00
natinusala 9ceceef2b8 ozone: don't use subsetting icon for config 2018-11-07 13:45:51 +01:00
natinusala 265683b0aa ozone: never draw cogs 2018-11-07 12:50:17 +01:00
natinusala 4312868080 ozone: don't draw icons if all entries are cogs 2018-11-07 11:52:08 +01:00
natinusala 6fa40df7fd ozone: fix missing icons 2018-11-07 11:25:49 +01:00
natinusala 7227e1147e ozone: don't crash if font_driver_get_message_width isn't implemented 2018-11-06 16:57:44 +01:00
Stuart Carnie 0485d741a2
fix(ozone): Fix crash on shutdown; check for NULL 2018-11-06 07:56:05 -07:00
natinusala 9e2db18480 ozone: fix sublabel wrapping 2018-11-06 15:39:38 +01:00
natinusala 7f17c50738 ozone: implement battery display 2018-11-06 14:58:17 +01:00
twinaphex 180bb3bdd2 Implement natinusala's commit - dropdown lists - fix checked attribute
for ints, uints and floats
2018-11-06 09:22:49 +01:00
natinusala 07068e5035 Dropdown lists: Add a checked bool to menu_entry_t 2018-11-05 17:34:57 +01:00
natinusala 1a575dec7a ozone: fix horizontal animation direction 2018-11-05 15:48:55 +01:00
natinusala fd65daebbb ozone: update icons to be on par with XMB 2018-11-05 00:42:18 +01:00
natinusala ea736cea19 ozone: fix ghost sidebar when toggling menu 2018-11-05 00:28:24 +01:00
natinusala 7d058e61b5 ozone: load textures for every theme (#7498 workaround) 2018-10-27 23:08:20 +02:00
natinusala 67ed8d3986 ozone: fix entries centering 2018-10-27 19:28:18 +02:00
natinusala c9a5156e5d ozone: fix on the fly theme setting 2018-10-27 19:19:52 +02:00
natinusala d7be8c4cf2 ozone: fix tabs wrapping, again 2018-10-27 17:25:13 +02:00
twinaphex 689e612af8 (Ozone) Add 'Use System Preferred Color Theme' (enabled for Switch) 2018-10-27 17:10:53 +02:00
twinaphex 624698d2d9 (Ozone) Add menu color theme 2018-10-27 16:51:17 +02:00
natinusala 52ab4a58a2 ozone: fix tabs wrapping 2018-10-27 14:52:26 +02:00
natinusala 8e37ad858a ozone: fix horizontal animation on libnx 2018-10-27 14:52:22 +02:00
twinaphex 75d36ebc1f (Ozone) Button legend now responds to 'Menu Swap OK/Cancel' setting 2018-10-27 06:18:56 +02:00
twinaphex 622bef1f7a Dehardcode some more strings 2018-10-27 05:48:44 +02:00
twinaphex 9b72a3337c (Dutch) Update Dutch translation
(Ozone) Update hardcoded label
2018-10-27 05:29:28 +02:00
twinaphex 199bc744b3 (Ozone) Use strlcpy/strlcat 2018-10-27 04:47:12 +02:00
twinaphex 2fd2649eb8 Fix ton of C89 warnings/errors 2018-10-27 04:40:43 +02:00
natinusala 158ddc0b2a New menu driver : ozone (Nintendo Switch lookalike) 2018-10-26 13:24:32 +02:00