More actions
(Created page with "{{Infobox Switch Homebrews |title=Plutonium |image=plutoniumswitch.png |description=An easy-to-use UI framework for Nintendo Switch homebrew. |author=XorTroll |lastupdated=2019/03/24 |type=Developments |version=0.2.1 |license=MIT |download=https://dlhb.gamebrew.org/switchhomebrews/plutoniumswitch.7z |website=https://gbatemp.net/threads/customui-c-libnx-libs-for-creating-switch-like-ui-homebrew-apps.511850/ |source=https://github.com/XorTroll/Plutonium |donation=https://p...") |
No edit summary |
||
Line 1: | Line 1: | ||
{{Infobox Switch Homebrews | {{Infobox Switch Homebrews | ||
|title=Plutonium | |title=Plutonium | ||
|image= | |image=plutoniumnx.png | ||
|description=An easy-to-use UI framework for Nintendo Switch homebrew. | |description=An easy-to-use UI framework for Nintendo Switch homebrew. | ||
|author=XorTroll | |author=XorTroll | ||
Line 8: | Line 8: | ||
|version=0.2.1 | |version=0.2.1 | ||
|license=MIT | |license=MIT | ||
|download=https://dlhb.gamebrew.org/switchhomebrews/ | |download=https://dlhb.gamebrew.org/switchhomebrews/plutoniumnx.7z | ||
|website=https://gbatemp.net/threads/ | |website=https://gbatemp.net/threads/plutonium-an-easy-to-use-ui-framework-for-nintendo-switch-homebrew.527496/ | ||
|source=https://github.com/XorTroll/Plutonium | |source=https://github.com/XorTroll/Plutonium | ||
|donation=https://patreon.com/xortroll | |donation=https://patreon.com/xortroll | ||
}} | }} | ||
Plutonium is a high-level, C++ graphical library with the aim of making UIs in a more simple, user-friendly way. | |||
It uses libnx and SDL2, so both libraries are required. | |||
To be more exact, this libraries should be installed via pacman: | |||
<span style="white-space: pre-wrap">switch-sdl2 switch-sdl2_ttf switch-sdl2_image switch-sdl2_gfx switch-sdl2_mixer switch-mesa switch-glad switch-glm switch-libdrm_nouveau switch-libwebp switch-libpng switch-freetype switch-bzip2 switch-libjpeg-turbo switch-opusfile switch-libopus</span> | |||
==User guide== | |||
Plutonium internally uses SDL2 for UI rendering. | |||
Plutonium's API is based on WPF/WinForms's system. The user doesn't directly interact with the rendering, as it's done via a main rendering system and different objects to render. | |||
Check the [https://github.com/XorTroll/Plutonium/blob/master/Example basic example] for a basic usage of the libraries. In case you want to see a really powerful app which really shows what Plutonium is capable of, take a look at [https://github.com/XorTroll/Goldleaf Goldleaf], [https://github.com/XorTroll/uLaunch uLaunch] or many other homebrew apps made using this libraries. | |||
Check the [https://github.com/XorTroll/Plutonium#using-this-libraries readme] and [https://xortroll.github.io/Plutonium/ documentation] for a more detailed explanation of the library's usage. | |||
==Screenshots== | ==Screenshots== | ||
https://dlhb.gamebrew.org/switchhomebrews/ | https://dlhb.gamebrew.org/switchhomebrews/plutoniumnx3.png | ||
https://dlhb.gamebrew.org/switchhomebrews/ | https://dlhb.gamebrew.org/switchhomebrews/plutoniumnx4.png | ||
'''Old version'''<br> | |||
https://dlhb.gamebrew.org/switchhomebrews/plutoniumnx5.png | |||
https://dlhb.gamebrew.org/switchhomebrews/plutoniumnx6.png | |||
https://dlhb.gamebrew.org/switchhomebrews/ | |||
https://dlhb.gamebrew.org/switchhomebrews/ | |||
==Changelog== | ==Changelog== | ||
''' | '''v0.2.1 2019/03/24''' | ||
* | *Elements: | ||
**When moving among Menu items, going upper than the top element will move to the latest element, ang going down on the latest one will start at the top. | |||
*Examples: | |||
**Added two new examples: GlobalInputs and Dialogs. | |||
'''v0.2 2019/03/23''' | |||
*Rendering: | |||
**The internal application rendering system has slightly changed to improve dialogs' rendering, which has also changed some rendering callbacks for elements. | |||
**New functions have been added into SDL2-based rendering system, mostly related to round shapes. | |||
*Dialogs have been redesigned, without the old fullscreen, round shapes. Now the right joystick allows fast moving among options, and all the margins and sizes are automatically computed. | |||
*Elements: | |||
**Rounded shapes have been added, now applying to progress bars and dialogs. | |||
**Some element destructors have been fixed and/or improved. | |||
*Added a WIP focus system, which is barely untested: | |||
**It's based in Windows's focus system with UI elements. | |||
**Only an element has focus, and focus is changed via touch or R-Stick, based on stick directions. | |||
**As said it's WIP, so might not work as expected. By default elements don't use the focus system. | |||
'''v0.1 2018/12/29''' | |||
*As everything is new, I would suggest to read the documentation or the README for more details. | |||
*Have fun making nice UIs. | |||
== External links == | == External links == | ||
* | * GitHub - https://github.com/XorTroll/Plutonium | ||
* | * Documentation - https://xortroll.github.io/Plutonium/ | ||
* GBAtemp - https://gbatemp.net/threads/customui-c-libnx-libs-for-creating-switch-like-ui-homebrew-apps.511850/ | |||
* GBAtemp - https://gbatemp.net/threads/plutonium-an-easy-to-use-ui-framework-for-nintendo-switch-homebrew.527496/ |
Revision as of 07:41, 3 Haziran 2023
Plutonium | |
---|---|
General | |
Author | XorTroll |
Type | Developments |
Version | 0.2.1 |
License | MIT License |
Last Updated | 2019/03/24 |
Links | |
Download | |
Website | |
Source | |
Support Author | |
Plutonium is a high-level, C++ graphical library with the aim of making UIs in a more simple, user-friendly way.
It uses libnx and SDL2, so both libraries are required.
To be more exact, this libraries should be installed via pacman:
switch-sdl2 switch-sdl2_ttf switch-sdl2_image switch-sdl2_gfx switch-sdl2_mixer switch-mesa switch-glad switch-glm switch-libdrm_nouveau switch-libwebp switch-libpng switch-freetype switch-bzip2 switch-libjpeg-turbo switch-opusfile switch-libopus
User guide
Plutonium internally uses SDL2 for UI rendering.
Plutonium's API is based on WPF/WinForms's system. The user doesn't directly interact with the rendering, as it's done via a main rendering system and different objects to render.
Check the basic example for a basic usage of the libraries. In case you want to see a really powerful app which really shows what Plutonium is capable of, take a look at Goldleaf, uLaunch or many other homebrew apps made using this libraries.
Check the readme and documentation for a more detailed explanation of the library's usage.
Screenshots
Old version
Changelog
v0.2.1 2019/03/24
- Elements:
- When moving among Menu items, going upper than the top element will move to the latest element, ang going down on the latest one will start at the top.
- Examples:
- Added two new examples: GlobalInputs and Dialogs.
v0.2 2019/03/23
- Rendering:
- The internal application rendering system has slightly changed to improve dialogs' rendering, which has also changed some rendering callbacks for elements.
- New functions have been added into SDL2-based rendering system, mostly related to round shapes.
- Dialogs have been redesigned, without the old fullscreen, round shapes. Now the right joystick allows fast moving among options, and all the margins and sizes are automatically computed.
- Elements:
- Rounded shapes have been added, now applying to progress bars and dialogs.
- Some element destructors have been fixed and/or improved.
- Added a WIP focus system, which is barely untested:
- It's based in Windows's focus system with UI elements.
- Only an element has focus, and focus is changed via touch or R-Stick, based on stick directions.
- As said it's WIP, so might not work as expected. By default elements don't use the focus system.
v0.1 2018/12/29
- As everything is new, I would suggest to read the documentation or the README for more details.
- Have fun making nice UIs.
External links
- GitHub - https://github.com/XorTroll/Plutonium
- Documentation - https://xortroll.github.io/Plutonium/
- GBAtemp - https://gbatemp.net/threads/customui-c-libnx-libs-for-creating-switch-like-ui-homebrew-apps.511850/
- GBAtemp - https://gbatemp.net/threads/plutonium-an-easy-to-use-ui-framework-for-nintendo-switch-homebrew.527496/