Commit Graph

19 Commits

Author SHA1 Message Date
yellows8
d39efdaee1 Moved code for handling A-button from nx_main/pc_main into a dedicated func, which now only handles menu entries when hbmenu_state isn't netloader. Removed old code. 2018-09-29 17:57:32 -04:00
NightlyFox
992c4c482b Implemented a theme switcher feature (#62)
* Implemented Theme Menu.

* Minor adjustments.

* added two new theming attributes, borderColor, borderTextcolor, allows users to modify the boxes that surrounds the menu entries

* added theme info to config file, users can now add theme author, theme name, and theme version to a theme config file.

* tested building on mac osx, added to .gitignore and make clean for files generated on osx

* The path for the theme is now stored in a config string in settings.cfg, instead of a hard-coded theme.cfg path.

* added functions to create/modify settings config for hbmenu theme

* added Default theme entry that will always insert itself at the front of the list of themes

* added code for + and - button, using - button for theme menu now (button display for this is disabled).
2018-09-28 23:20:24 -04:00
Steven Mattera
00e96fd53b Added touch controls. (#41)
* Added touch controls.
2018-07-30 17:23:34 -04:00
yellows8
1e232372d2 Use shared-font. Setting s_textLang is still disabled, until language.c is updated. Check for setsysInitialize failure. Moved .nxfnt files into data/unused/. Currently text will not display with the pc-build since no font is loaded for it. Disabled y+=baseline in text-drawing, and adjusted all callers y-pos to manually add the original baseline (so that y-pos matches with the different font). 2018-04-28 11:55:16 -04:00
yellows8
1364106d73 Use '(void)' for audio_initialize/audio_exit. 2018-03-19 20:57:55 -04:00
yellows8
22740b8f4b Added code for audio playback via ENABLE_AUDIO define, this is disabled by default. 2018-03-19 20:48:33 -04:00
Dave Murphy
ebced71ec3 Add nxlink support (#27)
* Add nxlink support

* use libnx nro.h

* make sure path doesn't overflow

* convert indentation to spaces
2018-03-19 21:42:58 +01:00
yellows8
9aaac6f01e Moved the message-box 'OK' text into language.c. Display the Result from envGetLastLoadResult() with a message-box when required. 2018-03-11 17:43:36 -04:00
Adubbz
e93a484e86 Added basic message boxes 2018-03-05 20:41:42 +01:00
Sahin H
0cb9f3961f Added system language text change (#15) 2018-02-27 14:33:56 -05:00
yellows8
65d3a19499 Added optional PERF_LOG* defines. 2018-02-26 18:56:52 -05:00
Adubbz
b6b061f2b2 Don't allow going back if you're in sdmc:/ on the switch 2018-02-26 23:52:13 +01:00
Adubbz
ad52da6278 Up and down should move along 7 entries, not 4 2018-02-26 23:52:13 +01:00
Adubbz
50abc932f9 Missed setsysExit (oops) 2018-02-26 23:52:13 +01:00
Adubbz
d534aaa834 Fixed setting themes automatically 2018-02-26 23:52:13 +01:00
Adubbz
b8cf331ff9 Fixed some warnings, theme should now be set based on the system theme 2018-02-26 23:52:13 +01:00
Adubbz
4653c32646 Added a light theme 2018-02-26 23:52:13 +01:00
yellows8
77baa0c32f Updated gfx code for latest libnx. 2018-02-12 18:19:23 -05:00
yellows8
b6816abe56 Initial public commit. 2018-02-11 19:07:18 -05:00