Commit Graph

29 Commits

Author SHA1 Message Date
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
9e257d7606
Use netstatusGetDetails from a dedicated thread, since nifmGetInternetConnectionStatus can block for a few seconds. 2019-06-24 15:41:35 -04:00
yellows8
e91758984c
Display a netstatus icon. Updated/added icons from #79. Closes #79. 2019-06-20 17:34:22 -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
11dccb4fd0 Added worker, based on 3ds new-hbmenu. 2018-10-17 22:18:09 -04:00
yellows8
40e971ba99 Fixed broken pc-build caused by the power commit. 2018-10-09 18:48:45 -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
NightlyFox
1c8a446920 enhancement: replaced nanojpeg with turbojpeg library (#65) (Closes #7)
* enhancement: replaced nanojpeg with turbojpeg library
* added space after if ()
2018-09-30 18:13:33 -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
friedkeenan
8909142fb4 Implement Theming (#57)
* Implement theming and fix spelling errors, fixes issue #6.

Now requires libconfig
"separator" was spelled "seperator"

* Added default case for when the system theme is not the values for light/dark.

The default case acts like the system theme is the dark one.
2018-09-13 15:16:33 -04:00
yellows8
c4d22af61e Use SharedFont for the A/B button icons. 2018-07-27 21:05:25 -04:00
Connor Rigby
dbd1958837 Remove usage of freetype-config 2018-07-27 20:55:30 -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
03a4de8c25 use iquote for libnx headers on pc (#29) 2018-03-19 18:57:47 -04:00
yellows8
5731858272 Moved 'v' from APP_VERSION in Makefile to Makefile.nx/Makefile.pc, so that the version in the built nro-nacp doesn't include 'v'. Removed nxlink.h include since switch.h has this. 2018-03-19 18:36:58 -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
7d5617254a fix building on OSX
requires latest bin2s from https://github.com/devkitPro/general-tools
2018-03-05 20:42:24 +01:00
Adubbz
e93a484e86 Added basic message boxes 2018-03-05 20:41:42 +01:00
yellows8
922319b0f3 Moved hbmenu version string into Makefile. Updated Makefiles. Fixed Makefile issues. 2018-02-26 19:43:11 -05:00
Adubbz
5e95934cb6 Renamed switchicon_questionmark to invalid_icon 2018-02-26 23:52:13 +01:00
Sahin Habermann
f98d33ace2 Added back button 2018-02-26 23:52:13 +01:00
Adubbz
f23f133404 Changed icon highlight to flashing aqua 2018-02-26 23:52:13 +01:00
Adubbz
7a991f2f94 Switched font, changed the background colour 2018-02-26 23:52:13 +01:00
Adubbz
df8c215d43 Changed hbmenu logo 2018-02-26 23:52:13 +01:00
Adubbz
1bce371999 Added themed launch button description 2018-02-26 23:52:13 +01:00
Adubbz
4653c32646 Added a light theme 2018-02-26 23:52:13 +01:00
Adubbz
233d70c22c Recoloured and added waves 2018-02-26 23:52:13 +01:00
yellows8
b6816abe56 Initial public commit. 2018-02-11 19:07:18 -05:00