fincs
ce35f40f31
Display "Applet Mode" indicator when running under an applet
2019-07-29 17:36:59 +02:00
yellows8
78da39d0a2
Draw the star icons as part of the text, instead of seperately. Removed unstar icon usage.
2019-07-13 18:03:17 -04:00
octopuserectus
3ceb44fd78
Change font size for back button label
2019-07-10 16:27:31 -04:00
octopuserectus
a123712db8
Fix inconsistensies in button label placement
...
Also fixes text overlap with the new icons in "Theme Menu"
2019-07-10 16:27:21 -04:00
hippydave
d6c780256f
Add starred favourites at start of list ( #91 )
...
* Add starred favourites at start of list
2019-07-09 13:33:21 -04:00
yellows8
9e257d7606
Use netstatusGetDetails from a dedicated thread, since nifmGetInternetConnectionStatus can block for a few seconds.
2019-06-24 15:41:35 -04:00
yellows8
7c029c18b0
Moved status gfx around (charging icon moved to the right of the battery icon). Previously there was gfx overlap when the battery charge was 100%.
2019-06-24 11:43:15 -04:00
yellows8
e91758984c
Display a netstatus icon. Updated/added icons from #79 . Closes #79 .
2019-06-20 17:34:22 -04:00
yellows8
527ecb6ce3
Fixed regression caused by 8531833
where the gfx for the current active menu entry wasn't rendered in some cases.
2019-06-17 19:27:59 -04:00
yellows8
85318335fb
Fixed slowdown due to drawing too many menu entries. Closes #84 .
2019-06-17 18:56:38 -04:00
fincs
29caa76884
Adapt to new libnx NWindow/Framebuffer API
2018-12-19 19:39:29 +01:00
yellows8
bb53a8ac81
Load assets from a .zip in romfs (romfs/ dir for pc-build) using minizip, instead of embedding it in data/. Sync Makefile.nx with latest switch-examples Makefile, with romfs. Automatically build the assets .zip in Makefile. Moved data/ to assets/ and moved data/unused/ to assets_unused/. Use #error in nx_audio.c since it's not supported currently.
2018-10-29 00:30:09 -04:00
yellows8
1483f4d012
Fixed building for pc-build.
2018-10-28 14:48:44 -04:00
yellows8
8888bff85f
Fixed touch handling with netloader msgbox. Swipe up can now be used to exit netloader. Added menuIsNetloaderActive().
2018-10-24 19:47:45 -04:00
yellows8
d97eebc26f
Display a progress bar for netloader in the msgbox. Adjusted the language.c netloader strings so that the total newlines for each StrId matches. Fixed GetTextXCoordinate with 'c'. Moved the menuMsgBoxSetNetloaderState call into menuUpdateNetloader and only pass netloaderState into menuUpdateNetloader, etc. Use theme colors in msgbox. Various msgbox adjustments. Added progressBarColor to theme.
2018-10-24 18:38:50 -04:00
yellows8
86632292b0
Display netloader status with a modified msgbox.
...
* Enabled StrIds in language.c for this with some adjustments.
* Moved sockets init/exit into netloaderInit/netloaderExit, netloaderInit now returns Result.
* Changed the params for netloaderGetState to an output struct.
* In netloaderTask(), check netloader_exitflag at the end before clearing it.
* Moved code calling loadnro from netloader_loop into netloaderTask.
* Call thrd_sleep with the while-loop calling netloader_loop in netloaderTask.
* Various other changes.
2018-10-23 20:13:10 -04:00
yellows8
6d6fb4e3a3
Allow aborting the netloader transfer when the user presses B. When decompress() aborts/fails, delete the file. When returning to HBMENU_DEFAULT from netloader, reload the menu since the netloader NRO may have been deleted due to transfer abort/failure. Minor adjustments.
2018-10-20 12:54:03 -04:00
yellows8
45a10488b1
Moved netloader to the worker thread. Minor improvements.
2018-10-20 11:13:29 -04:00
yellows8
437895a3c8
Display '{button} {text}' for theme-menu.
2018-10-17 12:10:45 -04:00
yellows8
80e2e0aae7
Display '{button} {text}' for netloader. Added theme handling for this. StrId_NetLoader is used for this, with '3dslink' removed from the text.
2018-10-17 10:17:47 -04:00
yellows8
0abcb1172a
Implemented support for file-associations, closes #25 . Various improvements. Cleanup icon/icon_size state in menuEntryParseIcon() on failure. Added fsobjExists() which is now called at the start of menuEntryLoad(). Added menuEntryLoadExternalIcon() and menuEntryImportIconGfx().
2018-10-10 18:55:37 -04:00
Daniel Bernard
8b86b36393
Add support to display current charge, and indicate whether or not device is charging ( #67 )
...
* Add support to display current charge, and indicate whether or not device is charging.
Updated Makefile.pc to incorporate new icon binaries
* Refactored power-related code, added drawIcon
Added common power interface
* Add battery icon and shift charge text as required
2018-10-09 18:27:43 -04:00
yellows8
e1a1bac230
More pos adjustments for time-display and ThemeMenu text.
2018-10-06 21:59:15 -04:00
yellows8
a059b856b5
Swap y-pos for time-display and ThemeMenu text.
2018-10-06 11:12:33 -04:00
yellows8
020a9f61ba
Enabled time display with some adjustments, localtime() is now used for this.
2018-10-05 21:13:52 -04:00
yellows8
e01ca3150e
Moved path init code from menuStartup() into new func menuStartupPath(), which now creates the config dirs if needed. Added menuGetRootBasePath(), which is now used for config paths and pc-build fonts. Changed some funcs from () to (void). Fixed broken button handling in pc_main for theme-menu. This fixes pc-build support for config/theme-menu.
2018-10-01 12:53:42 -04:00
yellows8
6e11672e20
Improved waveBlendAdd, based on code from @fincs.
2018-09-30 22:05:19 -04:00
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
yellows8
a9d7a47f2e
Removed removeDriveFromPath() and store the theme filename in settings.cfg instead of the absolute path.
2018-09-29 11:58:29 -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
c4d22af61e
Use SharedFont for the A/B button icons.
2018-07-27 21:05:25 -04:00
Dave Murphy
6544353245
create switch folder if it doesn't exist ( #39 )
...
Fixes #38 .
2018-05-30 11:16:16 -04:00
yellows8
94b1d648d1
Fixed string warnings with gcc 8.1.0.
2018-05-09 21:25:53 -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
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
Dave Murphy
27d195e118
Use __SWITCH__ rather than SWITCH
2018-03-11 00:37:03 +01:00
Adubbz
e93a484e86
Added basic message boxes
2018-03-05 20:41:42 +01:00
yellows8
1542a249f0
Improved perf.
2018-02-27 17:51:01 -05:00
yellows8
a614d2fd98
Improved drawing perf.
2018-02-27 16:40:14 -05:00
yellows8
c6fe507e82
Disabled get-lang for now (see comment), and decreased x-pos by 32 for buttons/buttons-text (for longer strings).
2018-02-27 15:08:11 -05:00
Sahin H
0cb9f3961f
Added system language text change ( #15 )
2018-02-27 14:33:56 -05:00
Adubbz
4ffb8e1355
Fix mismatched border size on cards
2018-02-27 18:37:46 +01:00
yellows8
922319b0f3
Moved hbmenu version string into Makefile. Updated Makefiles. Fixed Makefile issues.
2018-02-26 19:43:11 -05:00
yellows8
65d3a19499
Added optional PERF_LOG* defines.
2018-02-26 18:56:52 -05:00
Sahin Habermann
f26331a828
Fix AA performance
2018-02-26 23:52:13 +01:00
Sahin Habermann
af90827c1d
Fix crashing when trying to get NULL entry type
2018-02-26 23:52:13 +01:00
Adubbz
50ff808184
Removed a lot of unnecessary draws
2018-02-26 23:52:13 +01:00
Adubbz
bb53f73cc7
Switched to using textGetString for action descriptions and app info
2018-02-26 23:52:13 +01:00
Adubbz
62e26552d0
Cache calculated colours for anti-aliasing
2018-02-26 23:52:13 +01:00