Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Plutonium Switch: Difference between revisions

From GameBrew
(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=plutoniumswitch.png
|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/plutoniumswitch.7z
|download=https://dlhb.gamebrew.org/switchhomebrews/plutoniumnx.7z
|website=https://gbatemp.net/threads/customui-c-libnx-libs-for-creating-switch-like-ui-homebrew-apps.511850/
|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
}}
}}
{{#seo:
Plutonium is a high-level, C++ graphical library with the aim of making UIs in a more simple, user-friendly way.
|title=Switch Homebrew PC Tools (Developments) - GameBrew
 
|title_mode=append
It uses libnx and SDL2, so both libraries are required.
|image=plutoniumswitch.png
 
|image_alt=Plutonium
To be more exact, this libraries should be installed via pacman:
}}
 
{{cleanup|article|Needs cleanup}}
<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>
An easy-to-use UI framework for Nintendo Switch homebrew.
 
==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.


==Media==
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.
<youtube></youtube>


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/plutoniumswitch-01.png
https://dlhb.gamebrew.org/switchhomebrews/plutoniumnx3.png
https://dlhb.gamebrew.org/switchhomebrews/plutoniumswitch-02.png
https://dlhb.gamebrew.org/switchhomebrews/plutoniumnx4.png
https://dlhb.gamebrew.org/switchhomebrews/plutoniumswitch-03.png
 
https://dlhb.gamebrew.org/switchhomebrews/plutoniumswitch-04.png
'''Old version'''<br>
https://dlhb.gamebrew.org/switchhomebrews/plutoniumswitch-05.png
https://dlhb.gamebrew.org/switchhomebrews/plutoniumnx5.png
https://dlhb.gamebrew.org/switchhomebrews/plutoniumswitch-06.png
https://dlhb.gamebrew.org/switchhomebrews/plutoniumnx6.png
https://dlhb.gamebrew.org/switchhomebrews/plutoniumswitch-07.png
https://dlhb.gamebrew.org/switchhomebrews/plutoniumswitch-08.png


==Changelog==
==Changelog==
'''v.1.0'''
'''v0.2.1 2019/03/24'''
* First Release.
*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 ==
* Gbatemp - https://gbatemp.net/threads/customui-c-libnx-libs-for-creating-switch-like-ui-homebrew-apps.511850/
* GitHub - https://github.com/XorTroll/Plutonium
* Github - https://github.com/XorTroll/Plutonium
* Documentation - https://xortroll.github.io/Plutonium/
* Reddit -
* 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
Plutoniumnx.png
General
AuthorXorTroll
TypeDevelopments
Version0.2.1
LicenseMIT License
Last Updated2019/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

plutoniumnx3.png plutoniumnx4.png

Old version
plutoniumnx5.png plutoniumnx6.png

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

Advertising: