yellows8
ec24d595d6
Updated the default highlightGradientEdgeColor.
2020-01-08 17:03:49 -05:00
Ivan Mazzoli
5dfb9ec328
Updated italian translation and added new ones
2020-01-07 16:13:39 +01:00
yellows8
a4ad7b01b7
The icon sizes for theme-layout menuListIcon/menuActiveEntryIcon can now be controlled with the size field, with the internal imageSize field being used when size is invalid. When entering Theme Menu, the initially selected menu-entry is now the currently configured theme. Minor improvements.
2020-01-04 18:08:54 -05:00
yellows8
6ee5d36084
Removed hbmenuLogoImage from theme_t and just determine which AssetId to use for logo during rendering, imageSize from the asset is now used instead of from the layoutobj. Removed drawImageFromLayout since it's no longer used, and removed imageSize from the layout objects which don't need it anymore.
2020-01-03 17:49:08 -05:00
yellows8
981749cfb7
Added highlightGradientEdgeColor for theme config.
2020-01-03 11:47:49 -05:00
yellows8
9eda227d33
Added logoColor to the theme config.
2020-01-02 22:48:48 -05:00
yellows8
d11585589e
Added support for using themes with extension '.romfs', which contains '/theme.cfg', optionally '/icon.jpg' for the menu-entry in theme-menu, and any assets. Added 'assets' group to theme config, this is only used with .romfs themes. Added 'backgroundImage' to layout theme config, which requires assets.background_image to be setup. Various improvements.
2020-01-02 11:08:17 -05:00
yellows8
42a4ad9787
Added support for using fileassoc with netloader, an error will now be thrown if the filename/file-extension used with netloader is not recognized. Various improvements.
2019-12-30 11:15:38 -05:00
yellows8
b40d558458
Fixed a crash in touch handling for star-button when the current directory is empty (no menu entries). Implemented layouts which can optionally be loaded from theme config, closes #83 .
2019-12-26 01:40:54 -05:00
yellows8
e5d9851250
Actually fix the stringop warning.
2019-12-10 20:16:59 -05:00
yellows8
15baea1e44
Fixed bounds-check in netloader loadnro cmd-line args validation.
2019-12-10 12:14:23 -05:00
yellows8
c2743dcdd5
Fixed a string warning with gcc 9.x (and added the same change for other lines).
2019-12-08 17:00:17 -05:00
yellows8
24ce4ff924
Updated menuEntryParseNacp for latest libnx.
2019-12-07 18:08:51 -05:00
yellows8
4ecd7401b6
Use nifmInitialize/nifmExit in netloader.c, since netstatusGetDetails() uses nifm directly and latest libnx no longer uses nifm in socket init/exit.
2019-11-18 12:06:54 -05:00
yellows8
a150cbe167
Updated font.c for latest libnx + minor other changes.
2019-10-11 01:49:28 -04:00
yellows8
2feb085504
Updated language handling for latest libnx. Added support for SetLanguage_ZHHANS/SetLanguage_ZHHANT, and changed STR_ZH/STR_TW to STR_ZH_HANS/STR_ZH_HANT (system-language is still not actually used).
2019-10-04 18:16:42 -04:00
yellows8
97ab367379
Use dirent d_type when available instead of accessing FsDirectoryEntry.
2019-09-30 17:58:30 -04:00
yellows8
793b912efd
Thermal display ( closes #99 ) ( #102 )
...
* Display the temperature status. Moved statusGet code from drawNetwork() into drawStatus(). Added types in common.h to fix building with latest libnx nacp.h, with the pc-build.
2019-09-17 11:47:58 -04:00
yellows8
fa3d93d649
Enabled using setvbuf with adjustments, improves netloader perf. Fixed issue with large-chunksize, chunksize is now uint32_t and initialized to 0. Minor other change.
2019-08-08 17:57:17 -04:00
yellows8
ea4db4ff02
Moved the gfx for the current active entry down by 10 pixels.
2019-08-05 16:49:59 -04:00
fincs
d9effc3143
Display hbmenu and hbloader version, side by side. Align "Applet Mode" text to the right.
2019-08-05 22:45:01 +02:00
yellows8
6c84575ef7
Fixed buffer overflow when the netloader chunksize is too large, during NRO transfer (this will not occur with an unmodified nxlink).
2019-08-05 12:00:45 -04:00
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
friedkeenan
48a4819e67
Fix stars with custom themes
2019-07-09 15:33:42 -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
753a97ef7b
Don't lock the mutex before calling netstatusGetDetails, lock it afterwards and use tmp fields.
2019-06-25 16:21:30 -04:00
yellows8
f0ef77b2f2
Added support for loading {filename}.nacp similar to {filename}.jpg, when processing files for fileassoc.
2019-06-24 17:05:24 -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
3ea2af46a5
Added netstatus files which were missing from e917589
. Closes #86 .
2019-06-22 17:47:31 -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
lookye
d4af9cd2b9
Update language.c - german language strings
...
Added some german language strings, corrected some small grammatical mistakes.
2018-12-03 11:47:43 -05:00
Dachuu
2a3564f53a
Added french strings
2018-11-04 13:25:51 -05:00
yellows8
8e8e62ac33
In menuScan(), don't add an extra '/' to the path when the cwd path already has it at the end, which happens with rootdir. This fixes rootdir support on 1.0.0. Added check for '/' in menuEntryLoad() for the dirlisting code which checks menuGetRootPath().
2018-11-01 21:41:23 -04: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
d616ed02a7
Fixed buffer overflow vuln with netloader args introduced with the original netloader commit. Fixed unrelated bounds check in launchAddArg() which assumed there was nothing after argData_s.buf within argData_s, which was no longer the case once nxlink_host was added to argData_s.
2018-10-27 16:11:02 -04:00
yellows8
1435a2fb3b
Use non-blocking for netloader_datafd. Added sendall which is used instead of calling send directly, the output len from sendall is now checked. Check recvall len output when transferring args. The blocking handling in recvall/sendall now uses netloaderGetExit(). netloader_error() now uses locking, and only writes to netloader_errortext when it's not set. netloader_error() also aborts when netloader exit was requested.
2018-10-27 14:42:07 -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
ba4c80d76d
Fixed exiting with + button when netloader is active.
2018-10-22 22:13:33 -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