├── .github └── FUNDING.yml ├── .gitignore ├── Doxyfile ├── LICENSE ├── Makefile ├── Plutonium ├── Makefile ├── include │ └── pu │ │ ├── Plutonium │ │ ├── audio │ │ ├── audio_Audio.hpp │ │ ├── audio_Music.hpp │ │ └── audio_Sfx.hpp │ │ ├── pu_Include.hpp │ │ ├── sdl2 │ │ ├── sdl2_CustomTtf.h │ │ └── sdl2_Types.hpp │ │ ├── ttf │ │ └── ttf_Font.hpp │ │ └── ui │ │ ├── elm │ │ ├── elm_Button.hpp │ │ ├── elm_Element.hpp │ │ ├── elm_Image.hpp │ │ ├── elm_Menu.hpp │ │ ├── elm_ProgressBar.hpp │ │ ├── elm_Rectangle.hpp │ │ ├── elm_TextBlock.hpp │ │ └── elm_Toggle.hpp │ │ ├── extras │ │ └── extras_Toast.hpp │ │ ├── render │ │ ├── render_Renderer.hpp │ │ └── render_SDL2.hpp │ │ ├── ui_Application.hpp │ │ ├── ui_Container.hpp │ │ ├── ui_Dialog.hpp │ │ ├── ui_Layout.hpp │ │ ├── ui_Overlay.hpp │ │ └── ui_Types.hpp └── source │ └── pu │ ├── audio │ ├── audio_Audio.cpp │ ├── audio_Music.cpp │ └── audio_Sfx.cpp │ ├── sdl2 │ ├── sdl2_CustomTtf.c │ └── sdl2_Types.cpp │ ├── ttf │ └── ttf_Font.cpp │ └── ui │ ├── elm │ ├── elm_Button.cpp │ ├── elm_Element.cpp │ ├── elm_Image.cpp │ ├── elm_Menu.cpp │ ├── elm_ProgressBar.cpp │ ├── elm_Rectangle.cpp │ ├── elm_TextBlock.cpp │ └── elm_Toggle.cpp │ ├── extras │ └── extras_Toast.cpp │ ├── render │ ├── render_Renderer.cpp │ └── render_SDL2.cpp │ ├── ui_Application.cpp │ ├── ui_Container.cpp │ ├── ui_Dialog.cpp │ ├── ui_Layout.cpp │ ├── ui_Overlay.cpp │ └── ui_Types.cpp ├── README.md ├── cur-changelog.md ├── docs ├── annotated.html ├── annotated_dup.js ├── bc_s.png ├── bc_sd.png ├── classes.html ├── clipboard.js ├── closed.png ├── cookie.js ├── d0 │ ├── d1c │ │ └── classpu_1_1ui_1_1elm_1_1_button-members.html │ ├── d27 │ │ ├── classpu_1_1ui_1_1render_1_1_renderer.html │ │ └── classpu_1_1ui_1_1render_1_1_renderer.js │ ├── d29 │ │ ├── sdl2___types_8hpp.html │ │ ├── sdl2___types_8hpp.js │ │ └── sdl2___types_8hpp_source.html │ ├── d65 │ │ └── classpu_1_1sdl2_1_1_texture_handle-members.html │ ├── d72 │ │ └── structpu_1_1ui_1_1_touch_point-members.html │ ├── d98 │ │ ├── audio___sfx_8hpp.html │ │ ├── audio___sfx_8hpp.js │ │ └── audio___sfx_8hpp_source.html │ └── db0 │ │ ├── elm___toggle_8hpp.html │ │ ├── elm___toggle_8hpp.js │ │ └── elm___toggle_8hpp_source.html ├── d1 │ ├── d01 │ │ └── classpu_1_1ui_1_1elm_1_1_menu-members.html │ ├── d52 │ │ ├── pu___include_8hpp.html │ │ ├── pu___include_8hpp.js │ │ └── pu___include_8hpp_source.html │ ├── d55 │ │ └── classpu_1_1ttf_1_1_font-members.html │ ├── d78 │ │ ├── namespacepu_1_1sdl2.html │ │ └── namespacepu_1_1sdl2.js │ └── dd0 │ │ ├── elm___menu_8hpp.html │ │ ├── elm___menu_8hpp.js │ │ └── elm___menu_8hpp_source.html ├── d2 │ ├── d5e │ │ ├── namespacepu_1_1ui_1_1elm.html │ │ └── namespacepu_1_1ui_1_1elm.js │ ├── d66 │ │ └── structpu_1_1ui_1_1render_1_1_texture_render_options-members.html │ ├── d96 │ │ ├── classpu_1_1ui_1_1_sigmoid_incrementer.html │ │ └── classpu_1_1ui_1_1_sigmoid_incrementer.js │ ├── dcc │ │ ├── classpu_1_1ui_1_1elm_1_1_progress_bar.html │ │ ├── classpu_1_1ui_1_1elm_1_1_progress_bar.js │ │ └── classpu_1_1ui_1_1elm_1_1_progress_bar.png │ └── df5 │ │ └── structpu_1_1ui_1_1_color-members.html ├── d3 │ ├── d51 │ │ └── classpu_1_1ui_1_1elm_1_1_toggle-members.html │ └── dd7 │ │ ├── elm___progress_bar_8hpp.html │ │ ├── elm___progress_bar_8hpp.js │ │ └── elm___progress_bar_8hpp_source.html ├── d4 │ ├── d16 │ │ ├── extras___toast_8hpp.html │ │ ├── extras___toast_8hpp.js │ │ └── extras___toast_8hpp_source.html │ ├── da3 │ │ ├── classpu_1_1sdl2_1_1_texture_handle.html │ │ └── classpu_1_1sdl2_1_1_texture_handle.js │ ├── dab │ │ └── classpu_1_1ui_1_1elm_1_1_text_block-members.html │ ├── dbe │ │ ├── render___renderer_8hpp.html │ │ ├── render___renderer_8hpp.js │ │ └── render___renderer_8hpp_source.html │ ├── dd2 │ │ ├── elm___rectangle_8hpp.html │ │ ├── elm___rectangle_8hpp.js │ │ └── elm___rectangle_8hpp_source.html │ └── de7 │ │ ├── classpu_1_1ui_1_1elm_1_1_button.html │ │ ├── classpu_1_1ui_1_1elm_1_1_button.js │ │ └── classpu_1_1ui_1_1elm_1_1_button.png ├── d5 │ ├── d04 │ │ ├── ui___layout_8hpp.html │ │ ├── ui___layout_8hpp.js │ │ └── ui___layout_8hpp_source.html │ ├── d36 │ │ └── classpu_1_1ui_1_1elm_1_1_progress_bar-members.html │ ├── d51 │ │ ├── classpu_1_1ui_1_1elm_1_1_toggle.html │ │ ├── classpu_1_1ui_1_1elm_1_1_toggle.js │ │ └── classpu_1_1ui_1_1elm_1_1_toggle.png │ ├── d72 │ │ ├── namespacepu_1_1ttf.html │ │ └── namespacepu_1_1ttf.js │ └── dea │ │ ├── classpu_1_1ui_1_1elm_1_1_rectangle.html │ │ ├── classpu_1_1ui_1_1elm_1_1_rectangle.js │ │ └── classpu_1_1ui_1_1elm_1_1_rectangle.png ├── d6 │ ├── d08 │ │ ├── ui___overlay_8hpp.html │ │ ├── ui___overlay_8hpp.js │ │ └── ui___overlay_8hpp_source.html │ ├── d11 │ │ ├── classpu_1_1ui_1_1_layout.html │ │ ├── classpu_1_1ui_1_1_layout.js │ │ └── classpu_1_1ui_1_1_layout.png │ ├── d63 │ │ ├── classpu_1_1ui_1_1elm_1_1_image.html │ │ ├── classpu_1_1ui_1_1elm_1_1_image.js │ │ └── classpu_1_1ui_1_1elm_1_1_image.png │ ├── d74 │ │ ├── elm___image_8hpp.html │ │ ├── elm___image_8hpp.js │ │ └── elm___image_8hpp_source.html │ ├── d78 │ │ ├── namespacepu_1_1ui_1_1extras.html │ │ └── namespacepu_1_1ui_1_1extras.js │ ├── d8f │ │ ├── classpu_1_1ui_1_1_overlay.html │ │ ├── classpu_1_1ui_1_1_overlay.js │ │ └── classpu_1_1ui_1_1_overlay.png │ ├── db1 │ │ └── classpu_1_1ui_1_1_dialog-members.html │ ├── ddb │ │ └── classpu_1_1ui_1_1_container-members.html │ ├── ddd │ │ ├── ttf___font_8hpp.html │ │ ├── ttf___font_8hpp.js │ │ └── ttf___font_8hpp_source.html │ └── de9 │ │ ├── classpu_1_1ui_1_1_dialog.html │ │ └── classpu_1_1ui_1_1_dialog.js ├── d7 │ ├── d0c │ │ ├── structpu_1_1ui_1_1_color.html │ │ └── structpu_1_1ui_1_1_color.js │ ├── d3f │ │ ├── elm___text_block_8hpp.html │ │ ├── elm___text_block_8hpp.js │ │ └── elm___text_block_8hpp_source.html │ └── d55 │ │ ├── structpu_1_1ui_1_1_touch_point.html │ │ └── structpu_1_1ui_1_1_touch_point.js ├── d8 │ └── d8f │ │ └── namespacepu_1_1audio.html ├── d9 │ ├── d0e │ │ ├── classpu_1_1ui_1_1elm_1_1_element.html │ │ ├── classpu_1_1ui_1_1elm_1_1_element.js │ │ └── classpu_1_1ui_1_1elm_1_1_element.png │ ├── d3b │ │ ├── elm___element_8hpp.html │ │ ├── elm___element_8hpp.js │ │ └── elm___element_8hpp_source.html │ ├── d7f │ │ ├── namespacepu_1_1ui.html │ │ └── namespacepu_1_1ui.js │ ├── db1 │ │ └── classpu_1_1ui_1_1_sigmoid_incrementer-members.html │ ├── dc7 │ │ ├── ui___container_8hpp.html │ │ ├── ui___container_8hpp.js │ │ └── ui___container_8hpp_source.html │ └── de9 │ │ ├── elm___button_8hpp.html │ │ ├── elm___button_8hpp.js │ │ └── elm___button_8hpp_source.html ├── da │ ├── d54 │ │ ├── namespacepu_1_1ui_1_1render.html │ │ └── namespacepu_1_1ui_1_1render.js │ ├── dc0 │ │ ├── classpu_1_1ui_1_1_application.html │ │ └── classpu_1_1ui_1_1_application.js │ └── df2 │ │ ├── namespacepu.html │ │ └── namespacepu.js ├── db │ ├── d2d │ │ └── structpu_1_1ui_1_1render_1_1_renderer_init_options-members.html │ ├── d52 │ │ ├── ui___application_8hpp.html │ │ ├── ui___application_8hpp.js │ │ └── ui___application_8hpp_source.html │ ├── db1 │ │ ├── render___s_d_l2_8hpp.html │ │ ├── render___s_d_l2_8hpp.js │ │ └── render___s_d_l2_8hpp_source.html │ ├── ded │ │ └── classpu_1_1ui_1_1elm_1_1_element-members.html │ └── df4 │ │ └── classpu_1_1ui_1_1extras_1_1_toast-members.html ├── dc │ ├── d32 │ │ ├── structpu_1_1ui_1_1render_1_1_texture_render_options.html │ │ └── structpu_1_1ui_1_1render_1_1_texture_render_options.js │ ├── d49 │ │ ├── classpu_1_1ui_1_1extras_1_1_toast.html │ │ ├── classpu_1_1ui_1_1extras_1_1_toast.js │ │ └── classpu_1_1ui_1_1extras_1_1_toast.png │ ├── d6c │ │ ├── classpu_1_1ui_1_1elm_1_1_menu.html │ │ ├── classpu_1_1ui_1_1elm_1_1_menu.js │ │ └── classpu_1_1ui_1_1elm_1_1_menu.png │ ├── da1 │ │ └── classpu_1_1ui_1_1elm_1_1_rectangle-members.html │ ├── dcd │ │ ├── classpu_1_1ui_1_1_container.html │ │ ├── classpu_1_1ui_1_1_container.js │ │ └── classpu_1_1ui_1_1_container.png │ ├── dd2 │ │ ├── audio___audio_8hpp.html │ │ ├── audio___audio_8hpp.js │ │ └── audio___audio_8hpp_source.html │ ├── dd4 │ │ └── classpu_1_1ui_1_1_layout-members.html │ └── de9 │ │ └── classpu_1_1ui_1_1_application-members.html ├── dd │ ├── d39 │ │ ├── ui___dialog_8hpp.html │ │ ├── ui___dialog_8hpp.js │ │ └── ui___dialog_8hpp_source.html │ ├── d61 │ │ └── classpu_1_1ui_1_1elm_1_1_menu_item-members.html │ └── d76 │ │ ├── classpu_1_1ttf_1_1_font.html │ │ └── classpu_1_1ttf_1_1_font.js ├── de │ ├── d69 │ │ └── classpu_1_1ui_1_1_overlay-members.html │ ├── dbb │ │ ├── classpu_1_1ui_1_1elm_1_1_menu_item.html │ │ └── classpu_1_1ui_1_1elm_1_1_menu_item.js │ ├── de5 │ │ ├── audio___music_8hpp.html │ │ ├── audio___music_8hpp.js │ │ └── audio___music_8hpp_source.html │ └── dfe │ │ ├── sdl2___custom_ttf_8h.html │ │ ├── sdl2___custom_ttf_8h.js │ │ └── sdl2___custom_ttf_8h_source.html ├── df │ ├── d13 │ │ ├── ui___types_8hpp.html │ │ ├── ui___types_8hpp.js │ │ └── ui___types_8hpp_source.html │ ├── d21 │ │ ├── classpu_1_1ui_1_1elm_1_1_text_block.html │ │ ├── classpu_1_1ui_1_1elm_1_1_text_block.js │ │ └── classpu_1_1ui_1_1elm_1_1_text_block.png │ ├── d6f │ │ ├── structpu_1_1ui_1_1render_1_1_renderer_init_options.html │ │ └── structpu_1_1ui_1_1render_1_1_renderer_init_options.js │ ├── d8b │ │ └── classpu_1_1ui_1_1render_1_1_renderer-members.html │ └── dbf │ │ └── classpu_1_1ui_1_1elm_1_1_image-members.html ├── dir_17be5089da37cb69d78f8c5e394ec1ef.html ├── dir_17be5089da37cb69d78f8c5e394ec1ef.js ├── dir_33cd9e5da6de888daf2daa2cc3681da9.html ├── dir_33cd9e5da6de888daf2daa2cc3681da9.js ├── dir_3e32bc87794f4c3a1bffbf65b6e30fa0.html ├── dir_3e32bc87794f4c3a1bffbf65b6e30fa0.js ├── dir_5f40385c74880ea2ff624017833b6602.html ├── dir_5f40385c74880ea2ff624017833b6602.js ├── dir_89a404d1d17e2b511b2195eff3f10426.html ├── dir_89a404d1d17e2b511b2195eff3f10426.js ├── dir_8fb01eea200176b300268894688b4495.html ├── dir_8fb01eea200176b300268894688b4495.js ├── dir_9cdebf0ee729e1c59321e289709dba63.html ├── dir_9cdebf0ee729e1c59321e289709dba63.js ├── dir_c56977794eda337641b99df1140d49e6.html ├── dir_c56977794eda337641b99df1140d49e6.js ├── dir_db07433c06ed2bf7b5f4eabd443f7fba.html ├── dir_db07433c06ed2bf7b5f4eabd443f7fba.js ├── dir_e7fde04134964d158a479396baa8a22f.html ├── dir_e7fde04134964d158a479396baa8a22f.js ├── doc.svg ├── docd.svg ├── doxygen.css ├── doxygen.svg ├── doxygen_crawl.html ├── dynsections.js ├── files.html ├── files_dup.js ├── folderclosed.svg ├── folderclosedd.svg ├── folderopen.svg ├── folderopend.svg ├── functions.html ├── functions_b.html ├── functions_c.html ├── functions_d.html ├── functions_dup.js ├── functions_e.html ├── functions_enum.html ├── functions_f.html ├── functions_func.html ├── functions_func.js ├── functions_func_b.html ├── functions_func_c.html ├── functions_func_d.html ├── functions_func_e.html ├── functions_func_f.html ├── functions_func_g.html ├── functions_func_h.html ├── functions_func_i.html ├── functions_func_l.html ├── functions_func_m.html ├── functions_func_n.html ├── functions_func_o.html ├── functions_func_p.html ├── functions_func_r.html ├── functions_func_s.html ├── functions_func_t.html ├── functions_func_u.html ├── functions_func_w.html ├── functions_func_~.html ├── functions_g.html ├── functions_h.html ├── functions_i.html ├── functions_l.html ├── functions_m.html ├── functions_n.html ├── functions_o.html ├── functions_p.html ├── functions_r.html ├── functions_s.html ├── functions_t.html ├── functions_type.html ├── functions_u.html ├── functions_v.html ├── functions_vars.html ├── functions_w.html ├── functions_x.html ├── functions_y.html ├── functions_~.html ├── globals.html ├── globals_defs.html ├── globals_func.html ├── globals_type.html ├── hierarchy.html ├── hierarchy.js ├── index.html ├── jquery.js ├── menu.js ├── menudata.js ├── minus.svg ├── minusd.svg ├── namespacemembers.html ├── namespacemembers_enum.html ├── namespacemembers_func.html ├── namespacemembers_type.html ├── namespacemembers_vars.html ├── namespaces.html ├── namespaces_dup.js ├── nav_f.png ├── nav_fd.png ├── nav_g.png ├── nav_h.png ├── nav_hd.png ├── navtree.css ├── navtree.js ├── navtreedata.js ├── navtreeindex0.js ├── navtreeindex1.js ├── navtreeindex2.js ├── navtreeindex3.js ├── navtreeindex4.js ├── open.png ├── plus.svg ├── plusd.svg ├── resize.js ├── search │ ├── all_0.js │ ├── all_1.js │ ├── all_10.js │ ├── all_11.js │ ├── all_12.js │ ├── all_13.js │ ├── all_14.js │ ├── all_15.js │ ├── all_16.js │ ├── all_2.js │ ├── all_3.js │ ├── all_4.js │ ├── all_5.js │ ├── all_6.js │ ├── all_7.js │ ├── all_8.js │ ├── all_9.js │ ├── all_a.js │ ├── all_b.js │ ├── all_c.js │ ├── all_d.js │ ├── all_e.js │ ├── all_f.js │ ├── classes_0.js │ ├── classes_1.js │ ├── classes_2.js │ ├── classes_3.js │ ├── classes_4.js │ ├── classes_5.js │ ├── classes_6.js │ ├── classes_7.js │ ├── classes_8.js │ ├── classes_9.js │ ├── classes_a.js │ ├── classes_b.js │ ├── classes_c.js │ ├── classes_d.js │ ├── close.svg │ ├── defines_0.js │ ├── defines_1.js │ ├── defines_2.js │ ├── defines_3.js │ ├── enums_0.js │ ├── enums_1.js │ ├── enums_2.js │ ├── enums_3.js │ ├── enumvalues_0.js │ ├── enumvalues_1.js │ ├── enumvalues_2.js │ ├── enumvalues_3.js │ ├── enumvalues_4.js │ ├── enumvalues_5.js │ ├── enumvalues_6.js │ ├── enumvalues_7.js │ ├── enumvalues_8.js │ ├── files_0.js │ ├── files_1.js │ ├── files_2.js │ ├── files_3.js │ ├── files_4.js │ ├── files_5.js │ ├── files_6.js │ ├── functions_0.js │ ├── functions_1.js │ ├── functions_10.js │ ├── functions_11.js │ ├── functions_12.js │ ├── functions_13.js │ ├── functions_2.js │ ├── functions_3.js │ ├── functions_4.js │ ├── functions_5.js │ ├── functions_6.js │ ├── functions_7.js │ ├── functions_8.js │ ├── functions_9.js │ ├── functions_a.js │ ├── functions_b.js │ ├── functions_c.js │ ├── functions_d.js │ ├── functions_e.js │ ├── functions_f.js │ ├── mag.svg │ ├── mag_d.svg │ ├── mag_sel.svg │ ├── mag_seld.svg │ ├── namespaces_0.js │ ├── search.css │ ├── search.js │ ├── searchdata.js │ ├── typedefs_0.js │ ├── typedefs_1.js │ ├── typedefs_2.js │ ├── typedefs_3.js │ ├── typedefs_4.js │ ├── typedefs_5.js │ ├── typedefs_6.js │ ├── typedefs_7.js │ ├── typedefs_8.js │ ├── variables_0.js │ ├── variables_1.js │ ├── variables_10.js │ ├── variables_11.js │ ├── variables_12.js │ ├── variables_13.js │ ├── variables_2.js │ ├── variables_3.js │ ├── variables_4.js │ ├── variables_5.js │ ├── variables_6.js │ ├── variables_7.js │ ├── variables_8.js │ ├── variables_9.js │ ├── variables_a.js │ ├── variables_b.js │ ├── variables_c.js │ ├── variables_d.js │ ├── variables_e.js │ └── variables_f.js ├── splitbar.png ├── splitbard.png ├── sync_off.png ├── sync_on.png ├── tab_a.png ├── tab_ad.png ├── tab_b.png ├── tab_bd.png ├── tab_h.png ├── tab_hd.png ├── tab_s.png ├── tab_sd.png └── tabs.css └── example ├── Makefile ├── include └── MainApplication.hpp └── source ├── Main.cpp └── MainApplication.cpp /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | patreon: xortroll -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .vscode/ 2 | build/ 3 | lib/ 4 | *.elf 5 | *.nacp 6 | *.nro 7 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2018-2019 XorTroll 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 19 | SOFTWARE. -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | 2 | .PHONY: all clean 3 | 4 | export PU_MAJOR := 1 5 | export PU_MINOR := 0 6 | export PU_MICRO := 0 7 | 8 | all: 9 | @$(MAKE) -C Plutonium/ 10 | 11 | clean: 12 | @$(MAKE) clean -C Plutonium/ 13 | -------------------------------------------------------------------------------- /Plutonium/include/pu/Plutonium: -------------------------------------------------------------------------------- 1 | /** 2 | * Plutonium library 3 | * @file Plutonium 4 | * @brief Plutonium library's main header. 5 | * @author XorTroll 6 | * @copyright XorTroll 7 | */ 8 | 9 | #pragma once 10 | #include 11 | 12 | #include 13 | 14 | #include 15 | #include 16 | #include 17 | #include 18 | #include 19 | #include 20 | 21 | #include 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | #include 29 | 30 | #include 31 | 32 | #include 33 | #include 34 | -------------------------------------------------------------------------------- /Plutonium/include/pu/audio/audio_Audio.hpp: -------------------------------------------------------------------------------- 1 | /** 2 | * Plutonium library 3 | * @file audio_Audio.hpp 4 | * @brief Main audio header 5 | * @author XorTroll 6 | * @copyright XorTroll 7 | */ 8 | 9 | #pragma once 10 | #include 11 | #include 12 | 13 | namespace pu::audio { 14 | 15 | /** 16 | * @brief Complete set of flags to initialize the audio system with: supports FLAC, MOD, MP3 and OGG formats. 17 | */ 18 | constexpr s32 MixerAllFlags = MIX_INIT_FLAC | MIX_INIT_MOD | MIX_INIT_MP3 | MIX_INIT_OGG; 19 | 20 | /** 21 | * @brief Initializes the underlying audio system (SDL2-Mixer) with the specified flags. 22 | * @param mix_flags Flags to initialize the audio system with. 23 | * @return Whether the audio system was initialized successfully. 24 | */ 25 | bool Initialize(s32 mix_flags); 26 | 27 | /** 28 | * @brief Finalizes the underlying audio system (SDL2-Mixer). 29 | */ 30 | void Finalize(); 31 | 32 | } 33 | -------------------------------------------------------------------------------- /Plutonium/include/pu/audio/audio_Sfx.hpp: -------------------------------------------------------------------------------- 1 | /** 2 | * Plutonium library 3 | * @file audio_Sfx.hpp 4 | * @brief Sfx (sound effects) support 5 | * @author XorTroll 6 | * @copyright XorTroll 7 | */ 8 | 9 | #pragma once 10 | #include 11 | #include 12 | 13 | namespace pu::audio { 14 | 15 | /** 16 | * @brief Type representing a sound effect. 17 | */ 18 | using Sfx = Mix_Chunk*; 19 | 20 | /** 21 | * @brief Loads a sound effect from the specified path. 22 | * @note pu::audio::Initialize must be called before using this function. 23 | * @note The sound effect must be manually freed with pu::audio::DestroySfx when it is no longer needed. 24 | * @param path Path to the sound effect file. 25 | * @return Sound effect loaded, or NULL if an error occurred. 26 | */ 27 | Sfx LoadSfx(const std::string &path); 28 | 29 | /** 30 | * @brief Plays a sound effect. 31 | * @note pu::audio::Initialize must be called before using this function. 32 | * @param sfx Sound effect to play. If NULL is passed, nothing will happen. 33 | */ 34 | void PlaySfx(Sfx sfx); 35 | 36 | /** 37 | * @brief Destroys a sound effect. 38 | * @param sfx Sound effect to destroy. If NULL is passed, nothing will happen. 39 | */ 40 | void DestroySfx(Sfx &sfx); 41 | 42 | } 43 | -------------------------------------------------------------------------------- /Plutonium/include/pu/pu_Include.hpp: -------------------------------------------------------------------------------- 1 | /** 2 | * Plutonium library 3 | * @file pu_Include.hpp 4 | * @brief Basic Plutonium include header 5 | * @author XorTroll 6 | * @copyright XorTroll 7 | */ 8 | 9 | #pragma once 10 | #include 11 | #include 12 | #include 13 | #include 14 | #include 15 | 16 | /** 17 | * @brief Defines a static function (::New(...)) as a constructor for smart ptrs, also defines a custom type (::Ref) to simplify it 18 | */ 19 | #define PU_SMART_CTOR(type) \ 20 | using Ref = std::shared_ptr; \ 21 | template \ 22 | inline static Ref New(Args &&...ctor_args) { \ 23 | return std::make_shared(std::forward(ctor_args)...); \ 24 | } 25 | 26 | /** 27 | * @brief Automatically defines a getter function for a POD variable 28 | */ 29 | #define PU_CLASS_POD_GET(fn_name, var_name, type) \ 30 | inline type Get##fn_name() { \ 31 | return this->var_name; \ 32 | } 33 | 34 | /** 35 | * @brief Automatically defines a setter function for a POD variable 36 | */ 37 | #define PU_CLASS_POD_SET(fn_name, var_name, type) \ 38 | inline void Set##fn_name(const type new_val) { \ 39 | this->var_name = new_val; \ 40 | } 41 | 42 | /** 43 | * @brief Automatically defines a getter and setter function for a POD variable 44 | */ 45 | #define PU_CLASS_POD_GETSET(fn_name, var_name, type) \ 46 | PU_CLASS_POD_GET(fn_name, var_name, type) \ 47 | PU_CLASS_POD_SET(fn_name, var_name, type) 48 | 49 | /** 50 | * @brief Checks if the specified result code is not successful, and if so, returns it and ends the function 51 | */ 52 | #define PU_RC_TRY(rc) { \ 53 | const auto _tmp_rc = (rc); \ 54 | if(R_FAILED(_tmp_rc)) { \ 55 | return _tmp_rc; \ 56 | } \ 57 | } 58 | 59 | namespace pu { 60 | 61 | constexpr u32 Module = 493; 62 | 63 | // I guess these are self-explanatory 64 | 65 | constexpr auto ResultSdlInitFailed = MAKERESULT(Module, 1); 66 | constexpr auto ResultSdlCreateWindowFailed = MAKERESULT(Module, 2); 67 | constexpr auto ResultSdlCreateRendererFailed = MAKERESULT(Module, 3); 68 | constexpr auto ResultImgInitFailed = MAKERESULT(Module, 4); 69 | constexpr auto ResultTtfInitFailed = MAKERESULT(Module, 5); 70 | 71 | } 72 | -------------------------------------------------------------------------------- /Plutonium/include/pu/sdl2/sdl2_Types.hpp: -------------------------------------------------------------------------------- 1 | /** 2 | * Plutonium library 3 | * @file sdl2_Types.hpp 4 | * @brief Main SDL2 types header 5 | * @author XorTroll 6 | * @copyright XorTroll 7 | */ 8 | 9 | #pragma once 10 | #include 11 | #include 12 | #include 13 | #include 14 | #include 15 | #include 16 | 17 | namespace pu::sdl2 { 18 | 19 | /** 20 | * @brief Represents a handle to a texture in SDL2. 21 | */ 22 | using Texture = SDL_Texture*; 23 | 24 | /** 25 | * @brief Represents a handle to a window in SDL2. 26 | */ 27 | using Window = SDL_Window*; 28 | 29 | /** 30 | * @brief Represents a handle to a renderer in SDL2. 31 | */ 32 | using Renderer = SDL_Renderer*; 33 | 34 | /** 35 | * @brief Represents a handle to a TTF font in SDL2. 36 | */ 37 | using Font = TTF_Font*; 38 | 39 | /** 40 | * @brief Represents a handle to a surface in SDL2. 41 | */ 42 | using Surface = SDL_Surface*; 43 | 44 | /** 45 | * @brief High-level handle wrapper to a texture in SDL2. 46 | */ 47 | class TextureHandle { 48 | private: 49 | Texture tex; 50 | 51 | public: 52 | /** 53 | * @brief Creates a new empty TextureHandle. 54 | */ 55 | constexpr TextureHandle() : tex(nullptr) {} 56 | 57 | /** 58 | * @brief Creates a new TextureHandle from an existing raw texture. 59 | * @param tex Raw texture to create the handle from. 60 | */ 61 | constexpr TextureHandle(Texture tex) : tex(tex) {} 62 | 63 | PU_SMART_CTOR(TextureHandle) 64 | ~TextureHandle(); 65 | 66 | /** 67 | * @brief Gets the raw texture handle. 68 | * @return Raw texture handle. 69 | */ 70 | inline Texture Get() { 71 | return this->tex; 72 | } 73 | }; 74 | 75 | } 76 | -------------------------------------------------------------------------------- /Plutonium/include/pu/ui/extras/extras_Toast.hpp: -------------------------------------------------------------------------------- 1 | /** 2 | * Plutonium library 3 | * @file extras_Toast.hpp 4 | * @brief Toast class to show simple messages on the screen. 5 | * @author XorTroll 6 | * @copyright XorTroll 7 | */ 8 | 9 | #pragma once 10 | #include 11 | #include 12 | 13 | namespace pu::ui::extras { 14 | 15 | /** 16 | * @brief Overlay implementation that represents a simple message that appears on the screen. 17 | */ 18 | class Toast final : public Overlay { 19 | public: 20 | // Self-explanatory constants 21 | 22 | static constexpr s32 DefaultY = 550; 23 | static constexpr s32 DefaulHeightAndTextHeightFactor = 3; 24 | static constexpr s32 DefaulHorizontalMargin = 50; 25 | static constexpr u8 DefaulBaseAlpha = 200; 26 | 27 | private: 28 | pu::ui::elm::TextBlock::Ref text; 29 | s32 height_and_text_height_factor; 30 | s32 h_margin; 31 | u8 base_alpha; 32 | 33 | void AdjustDimensions(); 34 | 35 | public: 36 | /** 37 | * @brief Creates a new instance of a Toast. 38 | * @param text_block TextBlock to use for the Toast. 39 | * @param bg_clr Background color of the Toast. 40 | */ 41 | Toast(elm::TextBlock::Ref &text_block, const Color bg_clr); 42 | PU_SMART_CTOR(Toast) 43 | 44 | PU_CLASS_POD_GETSET(HeightAndTextHeightFactor, height_and_text_height_factor, s32) 45 | PU_CLASS_POD_GETSET(HorizontalMargin, h_margin, s32) 46 | PU_CLASS_POD_GETSET(BaseAlpha, base_alpha, u8) 47 | 48 | /** 49 | * @brief Sets the text of the Toast. 50 | * @param text New text to set. 51 | */ 52 | void SetText(const std::string &text); 53 | 54 | void OnPreRender(render::Renderer::Ref &drawer) override; 55 | void OnPostRender(render::Renderer::Ref &drawer) override; 56 | }; 57 | 58 | } 59 | -------------------------------------------------------------------------------- /Plutonium/include/pu/ui/render/render_SDL2.hpp: -------------------------------------------------------------------------------- 1 | /** 2 | * Plutonium library 3 | * @file render_SDL2.hpp 4 | * @brief Contains useful wrappers for rendering with SDL2 5 | * @author XorTroll 6 | * @copyright XorTroll 7 | */ 8 | 9 | #pragma once 10 | #include 11 | #include 12 | 13 | namespace pu::ui::render { 14 | 15 | /** 16 | * @brief Converts a Surface to a Texture. 17 | * @param surface The Surface to convert. 18 | * @note The Surface will be freed after conversion. 19 | * @return The converted Texture. 20 | */ 21 | sdl2::Texture ConvertToTexture(sdl2::Surface surface); 22 | 23 | /** 24 | * @brief Loads an image from the specified path. 25 | * @param path The path to the image. 26 | * @return The loaded image as a Texture, or nullptr if the image could not be loaded. 27 | */ 28 | sdl2::Texture LoadImageFromFile(const std::string &path); 29 | 30 | /** 31 | * @brief Loads an image from the specified data buffer. 32 | * @param img_data The data buffer containing the image in the some supported image format (PNG, JPEG, etc). 33 | * @param img_size The size of the data buffer. 34 | * @return The loaded image as a Texture, or nullptr if the image could not be loaded. 35 | * @note If the data buffer is nullptr or the size is 0, this function will do nothing and return nullptr. 36 | * @note No write or free is done on the data buffer (it is only read), so it is up to the user to manage it. 37 | */ 38 | sdl2::Texture LoadImageFromBuffer(const void *img_data, const size_t img_size); 39 | 40 | /** 41 | * @brief Gets the width of a Texture. 42 | * @param texture The Texture to get the width from. 43 | * @return The width of the Texture. 44 | */ 45 | s32 GetTextureWidth(sdl2::Texture texture); 46 | 47 | /** 48 | * @brief Gets the height of a Texture. 49 | * @param texture The Texture to get the height from. 50 | * @return The height of the Texture. 51 | */ 52 | s32 GetTextureHeight(sdl2::Texture texture); 53 | 54 | /** 55 | * @brief Sets the alpha value (for blending) of a Texture. 56 | * @param texture The Texture to set the alpha value to. 57 | * @param alpha The alpha value to set. 58 | */ 59 | void SetAlphaValue(sdl2::Texture texture, const u8 alpha); 60 | 61 | /** 62 | * @brief Frees a Texture from memory, and sets nullptr to the reference. 63 | * @param texture The Texture to free. 64 | * @note If the Texture is nullptr, this function will do nothing. 65 | */ 66 | void DeleteTexture(sdl2::Texture &texture); 67 | 68 | } 69 | -------------------------------------------------------------------------------- /Plutonium/include/pu/ui/ui_Container.hpp: -------------------------------------------------------------------------------- 1 | /** 2 | * Plutonium library 3 | * @file ui_Container.hpp 4 | * @brief Contains pu::ui::Container class 5 | * @author XorTroll 6 | * @copyright XorTroll 7 | */ 8 | 9 | #pragma once 10 | #include 11 | #include 12 | #include 13 | 14 | namespace pu::ui { 15 | 16 | /** 17 | * @brief Type containing a list of elements. 18 | */ 19 | class Container { 20 | protected: 21 | s32 x; 22 | s32 y; 23 | s32 w; 24 | s32 h; 25 | std::vector elems; 26 | 27 | public: 28 | /** 29 | * @brief Creates a new Container with the specified position and size. 30 | * @param x The X position of the Container. 31 | * @param y The Y position of the Container. 32 | * @param width The width of the Container. 33 | * @param height The height of the Container. 34 | */ 35 | Container(const s32 x, const s32 y, const s32 width, const s32 height) : x(x), y(y), w(width), h(height), elems() {} 36 | PU_SMART_CTOR(Container) 37 | 38 | /** 39 | * @brief Adds an Element to the Container. 40 | * @param elem The Element to add. 41 | */ 42 | inline void Add(elm::Element::Ref elem) { 43 | this->elems.push_back(elem); 44 | } 45 | 46 | /** 47 | * @brief Gets the list of Elements in the Container. 48 | * @return The list of Elements in the Container. 49 | */ 50 | inline std::vector &GetElements() { 51 | return this->elems; 52 | } 53 | 54 | /** 55 | * @brief Gets whether the Container has the specified Element. 56 | * @param elem The Element to check. 57 | * @return Whether the Container has the specified Element. 58 | */ 59 | inline bool Has(elm::Element::Ref &elem) { 60 | return std::find(this->elems.begin(), this->elems.end(), elem) != this->elems.end(); 61 | } 62 | 63 | /** 64 | * @brief Removes all elements from the Container. 65 | */ 66 | inline void Clear() { 67 | this->elems.clear(); 68 | } 69 | 70 | PU_CLASS_POD_GETSET(X, x, s32) 71 | PU_CLASS_POD_GETSET(Y, y, s32) 72 | PU_CLASS_POD_GETSET(Width, w, s32) 73 | PU_CLASS_POD_GETSET(Height, h, s32) 74 | 75 | /** 76 | * @brief Function to be invoked before rendering the Container. 77 | * @note This function is not meant to be called by the user. Application will call it internally. 78 | */ 79 | void PreRender(); 80 | }; 81 | 82 | } 83 | -------------------------------------------------------------------------------- /Plutonium/source/pu/audio/audio_Audio.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | namespace pu::audio { 4 | 5 | bool Initialize(s32 mix_flags) { 6 | if(Mix_Init(mix_flags) != mix_flags) { 7 | return false; 8 | } 9 | 10 | if(Mix_OpenAudio(44100, MIX_DEFAULT_FORMAT, MIX_DEFAULT_CHANNELS, 4096) == -1) { 11 | return false; 12 | } 13 | 14 | return true; 15 | } 16 | 17 | void Finalize() { 18 | Mix_CloseAudio(); 19 | Mix_Quit(); 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /Plutonium/source/pu/audio/audio_Music.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | namespace pu::audio { 4 | 5 | Music OpenMusic(const std::string &path) { 6 | return Mix_LoadMUS(path.c_str()); 7 | } 8 | 9 | void PlayMusic(Music mus, const s32 loops) { 10 | Mix_PlayMusic(mus, loops); 11 | } 12 | 13 | void PlayMusicWithFadeIn(Music mus, const s32 loops, const s32 ms) { 14 | Mix_FadeInMusic(mus, loops, ms); 15 | } 16 | 17 | bool IsPlayingMusic() { 18 | return Mix_PlayingMusic(); 19 | } 20 | 21 | void PauseMusic() { 22 | Mix_PauseMusic(); 23 | } 24 | 25 | void ResumeMusic() { 26 | Mix_ResumeMusic(); 27 | } 28 | 29 | void SetMusicVolume(const s32 vol) { 30 | Mix_VolumeMusic(vol); 31 | } 32 | 33 | s32 GetMusicVolume() { 34 | return Mix_VolumeMusic(-1); 35 | } 36 | 37 | void FadeOutMusic(const s32 ms) { 38 | Mix_FadeOutMusic(ms); 39 | } 40 | 41 | void RewindMusic() { 42 | Mix_RewindMusic(); 43 | } 44 | 45 | void StopMusic() { 46 | Mix_HaltMusic(); 47 | } 48 | 49 | void SetMusicPosition(const double sec) { 50 | Mix_SetMusicPosition(sec); 51 | } 52 | 53 | void DestroyMusic(Music &mus) { 54 | Mix_FreeMusic(mus); 55 | mus = nullptr; 56 | } 57 | 58 | } 59 | -------------------------------------------------------------------------------- /Plutonium/source/pu/audio/audio_Sfx.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | namespace pu::audio { 4 | 5 | Sfx LoadSfx(const std::string &path) { 6 | return Mix_LoadWAV(path.c_str()); 7 | } 8 | 9 | void PlaySfx(Sfx sfx) { 10 | Mix_PlayChannel(-1, sfx, 0); 11 | } 12 | 13 | void DestroySfx(Sfx &sfx) { 14 | Mix_FreeChunk(sfx); 15 | sfx = nullptr; 16 | } 17 | 18 | } 19 | -------------------------------------------------------------------------------- /Plutonium/source/pu/sdl2/sdl2_Types.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | namespace pu::sdl2 { 5 | 6 | TextureHandle::~TextureHandle() { 7 | ui::render::DeleteTexture(this->tex); 8 | } 9 | 10 | } 11 | -------------------------------------------------------------------------------- /Plutonium/source/pu/ui/elm/elm_Element.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | namespace pu::ui::elm { 5 | 6 | s32 Element::GetProcessedX() { 7 | auto x = this->GetX(); 8 | if(this->parent_container != nullptr) { 9 | auto container = reinterpret_cast(this->parent_container); 10 | x += container->GetX(); 11 | 12 | if(this->h_align == HorizontalAlign::Center) { 13 | x = container->GetX() + ((container->GetWidth() - this->GetWidth()) / 2); 14 | } 15 | else if(this->h_align == HorizontalAlign::Right) { 16 | x = container->GetX() + (container->GetWidth() - this->GetWidth()); 17 | } 18 | } 19 | return x; 20 | } 21 | 22 | s32 Element::GetProcessedY() { 23 | auto y = this->GetY(); 24 | if(this->parent_container != nullptr) { 25 | auto container = reinterpret_cast(this->parent_container); 26 | y += container->GetY(); 27 | 28 | if(this->v_align == VerticalAlign::Center) { 29 | y = container->GetY() + ((container->GetHeight() - this->GetHeight()) / 2); 30 | } 31 | else if(this->v_align == VerticalAlign::Down) { 32 | y = container->GetY() + (container->GetHeight() - this->GetHeight()); 33 | } 34 | } 35 | return y; 36 | } 37 | 38 | } 39 | -------------------------------------------------------------------------------- /Plutonium/source/pu/ui/elm/elm_Image.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | namespace pu::ui::elm { 5 | 6 | Image::Image(const s32 x, const s32 y, sdl2::TextureHandle::Ref image) : Element() { 7 | this->x = x; 8 | this->y = y; 9 | this->img_tex = nullptr; 10 | this->rend_opts = render::TextureRenderOptions(); 11 | this->SetImage(image); 12 | } 13 | 14 | void Image::SetImage(sdl2::TextureHandle::Ref image) { 15 | this->img_tex = image; 16 | if(this->img_tex != nullptr) { 17 | this->rend_opts.width = render::GetTextureWidth(this->img_tex->Get()); 18 | this->rend_opts.height = render::GetTextureHeight(this->img_tex->Get()); 19 | } 20 | } 21 | 22 | void Image::OnRender(render::Renderer::Ref &drawer, const s32 x, const s32 y) { 23 | if(this->img_tex != nullptr) { 24 | drawer->RenderTexture(this->img_tex->Get(), x, y, this->rend_opts); 25 | } 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /Plutonium/source/pu/ui/elm/elm_ProgressBar.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | namespace pu::ui::elm { 4 | 5 | ProgressBar::ProgressBar(const s32 x, const s32 y, const s32 width, const s32 height, const double max_val) : Element(), x(x), y(y), w(width), h(height), val(0), max_val(max_val), progress_clr(DefaultProgressColor), bg_clr(DefaultBackgroundColor) { 6 | this->radius = (u32)((double)height * DefaultHeightRadiusFactor); 7 | } 8 | 9 | void ProgressBar::SetProgress(const double progress) { 10 | if(progress >= this->max_val) { 11 | this->val = this->max_val; 12 | } 13 | else { 14 | this->val = progress; 15 | } 16 | } 17 | 18 | void ProgressBar::OnRender(render::Renderer::Ref &drawer, const s32 x, const s32 y) { 19 | const auto progress_width = (s32)((this->val / this->max_val) * (double)this->w); 20 | drawer->RenderRoundedRectangleFill(this->bg_clr, x, y, this->w, this->h, this->radius); 21 | drawer->RenderRoundedRectangleFill(this->progress_clr, x, y, progress_width, this->h, radius); 22 | } 23 | 24 | } -------------------------------------------------------------------------------- /Plutonium/source/pu/ui/elm/elm_Rectangle.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | namespace pu::ui::elm { 4 | 5 | void Rectangle::OnRender(render::Renderer::Ref &drawer, const s32 x, const s32 y) { 6 | drawer->RenderRectangleFill(this->clr, x, y, this->w, this->h); 7 | } 8 | 9 | } 10 | -------------------------------------------------------------------------------- /Plutonium/source/pu/ui/extras/extras_Toast.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | namespace pu::ui::extras { 4 | 5 | Toast::Toast(elm::TextBlock::Ref &text_block, const Color bg_clr) : Overlay(0, DefaultY, 0, 0, bg_clr) { 6 | this->height_and_text_height_factor = DefaulHeightAndTextHeightFactor; 7 | this->h_margin = DefaulHorizontalMargin; 8 | this->base_alpha = DefaulBaseAlpha; 9 | text_block->SetHorizontalAlign(elm::HorizontalAlign::Center); 10 | text_block->SetVerticalAlign(elm::VerticalAlign::Center); 11 | this->text = text_block; 12 | this->AdjustDimensions(); 13 | this->Add(this->text); 14 | } 15 | 16 | void Toast::AdjustDimensions() { 17 | const auto text_width = this->text->GetWidth(); 18 | const auto text_height = this->text->GetHeight(); 19 | const auto toast_width = text_width + 2 * this->h_margin; 20 | const auto toast_height = text_height * this->height_and_text_height_factor; 21 | this->SetX((render::ScreenWidth - toast_width) / 2); 22 | this->SetWidth(toast_width); 23 | this->SetHeight(toast_height); 24 | } 25 | 26 | void Toast::SetText(const std::string &text) { 27 | this->text->SetText(text); 28 | this->AdjustDimensions(); 29 | } 30 | 31 | void Toast::OnPreRender(render::Renderer::Ref &drawer) { 32 | drawer->SetBaseRenderAlpha(this->base_alpha); 33 | } 34 | 35 | void Toast::OnPostRender(render::Renderer::Ref &drawer) { 36 | drawer->ResetBaseRenderAlpha(); 37 | } 38 | 39 | } 40 | -------------------------------------------------------------------------------- /Plutonium/source/pu/ui/render/render_SDL2.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | namespace pu::ui::render { 5 | 6 | sdl2::Texture ConvertToTexture(sdl2::Surface surface) { 7 | if(surface == nullptr) { 8 | return nullptr; 9 | } 10 | 11 | auto tex = SDL_CreateTextureFromSurface(GetMainRenderer(), surface); 12 | SDL_FreeSurface(surface); 13 | return tex; 14 | } 15 | 16 | sdl2::Texture LoadImageFromFile(const std::string &path) { 17 | return ConvertToTexture(IMG_Load(path.c_str())); 18 | } 19 | 20 | sdl2::Texture LoadImageFromBuffer(const void *img_data, const size_t img_size) { 21 | if((img_data == nullptr) || (img_size == 0)) { 22 | return nullptr; 23 | } 24 | 25 | auto surface = IMG_Load_RW(SDL_RWFromConstMem(img_data, img_size), 1); 26 | return ConvertToTexture(surface); 27 | } 28 | 29 | s32 GetTextureWidth(sdl2::Texture texture) { 30 | if(texture == nullptr) { 31 | return 0; 32 | } 33 | 34 | s32 w = 0; 35 | SDL_QueryTexture(texture, nullptr, nullptr, &w, nullptr); 36 | return w; 37 | } 38 | 39 | s32 GetTextureHeight(sdl2::Texture texture) { 40 | if(texture == nullptr) { 41 | return 0; 42 | } 43 | 44 | s32 h = 0; 45 | SDL_QueryTexture(texture, nullptr, nullptr, nullptr, &h); 46 | return h; 47 | } 48 | 49 | void SetAlphaValue(sdl2::Texture texture, const u8 alpha) { 50 | if(texture == nullptr) { 51 | return; 52 | } 53 | 54 | SDL_SetTextureBlendMode(texture, SDL_BLENDMODE_BLEND); 55 | SDL_SetTextureAlphaMod(texture, alpha); 56 | } 57 | 58 | void DeleteTexture(sdl2::Texture &texture) { 59 | if(texture != nullptr) { 60 | SDL_DestroyTexture(texture); 61 | texture = nullptr; 62 | } 63 | } 64 | 65 | } 66 | -------------------------------------------------------------------------------- /Plutonium/source/pu/ui/ui_Container.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | namespace pu::ui { 4 | 5 | void Container::PreRender() { 6 | for(auto &elm : this->elems) { 7 | elm->SetParentContainer(this); 8 | } 9 | } 10 | 11 | } 12 | -------------------------------------------------------------------------------- /Plutonium/source/pu/ui/ui_Layout.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | namespace pu::ui { 4 | 5 | Layout::~Layout() { 6 | this->ResetBackgroundImage(); 7 | } 8 | 9 | void Layout::SetBackgroundImage(sdl2::TextureHandle::Ref bg_tex) { 10 | this->ResetBackgroundImage(); 11 | this->over_bg_tex = bg_tex; 12 | } 13 | 14 | void Layout::SetBackgroundColor(const Color clr) { 15 | this->ResetBackgroundImage(); 16 | this->over_bg_color = clr; 17 | } 18 | 19 | void Layout::ResetBackgroundImage() { 20 | this->over_bg_tex = {}; 21 | } 22 | 23 | TouchPoint Layout::ConsumeSimulatedTouchPosition() { 24 | auto touch_pos_copy = this->sim_touch_pos; 25 | this->sim_touch_pos = {}; 26 | return touch_pos_copy; 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /Plutonium/source/pu/ui/ui_Overlay.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | namespace pu::ui { 4 | 5 | bool Overlay::Render(render::Renderer::Ref &drawer) { 6 | this->OnPreRender(drawer); 7 | drawer->SetBaseRenderAlpha(static_cast(this->fade_a)); 8 | if(this->rad > 0) { 9 | drawer->RenderRoundedRectangleFill(this->bg_clr, this->x, this->y, this->w, this->h, this->rad); 10 | } 11 | else { 12 | drawer->RenderRectangleFill(this->bg_clr, this->x, this->y, this->w, this->h); 13 | } 14 | 15 | this->PreRender(); 16 | for(auto &elem: this->elems) { 17 | if(elem->IsVisible()) { 18 | elem->OnRender(drawer, elem->GetProcessedX(), elem->GetProcessedY()); 19 | } 20 | } 21 | drawer->ResetBaseRenderAlpha(); 22 | if(this->is_ending) { 23 | if(this->fade_a > 0) { 24 | this->fade_a -= this->fade_alpha_variation; 25 | } 26 | else { 27 | this->fade_a = 0; 28 | } 29 | } 30 | else { 31 | if(this->fade_a < this->max_fade_alpha) { 32 | this->fade_a += this->fade_alpha_variation; 33 | } 34 | else { 35 | this->fade_a = this->max_fade_alpha; 36 | } 37 | } 38 | this->OnPostRender(drawer); 39 | const auto is_finished = this->is_ending && (this->fade_a == 0); 40 | if(is_finished) { 41 | this->is_ending = false; 42 | } 43 | return !is_finished; 44 | } 45 | 46 | } 47 | -------------------------------------------------------------------------------- /Plutonium/source/pu/ui/ui_Types.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | namespace pu::ui { 4 | 5 | Color Color::FromHex(const std::string &str_clr) { 6 | std::string r = "00"; 7 | std::string g = "00"; 8 | std::string b = "00"; 9 | std::string a = "FF"; 10 | 11 | if(str_clr.length() >= 9) { 12 | a = str_clr.substr(7, 2); 13 | } 14 | if(str_clr.length() >= 7) { 15 | r = str_clr.substr(1, 2); 16 | g = str_clr.substr(3, 2); 17 | b = str_clr.substr(5, 2); 18 | } 19 | 20 | const auto r_val = static_cast(std::stoul(r, nullptr, 16)); 21 | const auto g_val = static_cast(std::stoul(g, nullptr, 16)); 22 | const auto b_val = static_cast(std::stoul(b, nullptr, 16)); 23 | const auto a_val = static_cast(std::stoul(a, nullptr, 16)); 24 | return { r_val, g_val, b_val, a_val }; 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Plutonium 2 | 3 | > Easy-to-use, SDL2-based UI framework for Nintendo Switch homebrew 4 | 5 | ## What is Plutonium? 6 | 7 | Plutonium is a high-level, C++ graphics library with the aim of making Nintendo Switch homebrew UIs in a more user-firendly way. 8 | 9 | It uses libnx and SDL2, so both libraries are required. To be more exact, this libraries should be installed via pacman: 10 | 11 | ``` 12 | 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 13 | ``` 14 | 15 | Plutonium internally uses SDL2 for UI rendering. 16 | 17 | Plutonium's API is somewhat based on WPF/WinForms's system. The dev doesn't have to interact with the rendering (unless you want to), as it's done via a main rendering system and different objects to render. 18 | 19 | ## Using this libraries 20 | 21 | Simply download/fork this repository ;) 22 | 23 | Check the [basic example](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](https://github.com/XorTroll/Goldleaf), [uLaunch](https://github.com/XorTroll/uLaunch) or many other homebrew apps made using this libraries. 24 | 25 | Check the [documentation](https://XorTroll.github.io/Plutonium/) for a more detailed explanation of the library's usage. 26 | 27 | ### Simple project layout 28 | 29 | This is how a regular Plutonium project would (more or less) have its Makefile and project layout using Plutonium: 30 | 31 | - Makefile 32 | 33 | ```Makefile 34 | ... 35 | 36 | LIBS := -lpu -lfreetype -lSDL2_mixer -lopusfile -lopus -lmodplug -lmpg123 -lvorbisidec -logg -lSDL2_ttf -lSDL2_gfx -lSDL2_image -lSDL2 -lEGL -lGLESv2 -lglapi -ldrm_nouveau -lwebp -lpng -ljpeg `sdl2-config --libs` `freetype-config --libs` -lnx 37 | LIBDIRS := $(PORTLIBS) $(LIBNX) $(CURDIR)/Plutonium 38 | 39 | ... 40 | ``` 41 | 42 | - Project directory 43 | 44 | ```txt 45 | Project 46 | | 47 | |-- Makefile 48 | |-- source 49 | |-- include 50 | |-- Plutonium 51 | | 52 | |-- include 53 | |-- lib 54 | ``` 55 | 56 | ## Building 57 | 58 | Clone the repository, cd into `Plutonium` directory and run `make`. 59 | 60 | You will need devkitPro, libnx and all the libraries mentioned above (installed via pacman). 61 | 62 | ## Support 63 | 64 | If you would like to be more informed about my projects' status and support, you should check [my Discord server](https://discord.gg/3KpFyaH). It's a simple server for Nintendo homebrew and hacking stuff, focused on my projects. 65 | 66 | If you like my work, you should take a look at my [Patreon](https://patreon.com/xortroll) page! 67 | -------------------------------------------------------------------------------- /cur-changelog.md: -------------------------------------------------------------------------------- 1 | # Changelog history 2 | 3 | ## Changelog for [next release]: 4 | 5 | - Added support for scrolling layout background images: by changing the X value, the background is shifted while it "reappears" on the other side, allowing for some cool effects 6 | 7 | - `pu::ui::render::LoadImage` is now `pu::ui::render::LoadImageFromFile`, and a new `pu::ui::render::LoadImageFromBuffer` was added as a wrapper to load images directly from existing data/memory. 8 | 9 | - Text rendering and clamping were properly done now, so that newlines still wrap the text (thus actually introduce a new line when rendering) and reaching the screensize no longer causes it to wrap (since this effect conflicted with the clamping system). 10 | -------------------------------------------------------------------------------- /docs/bc_s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XorTroll/Plutonium/700f0c3063b3a55d396f766d43b526613ea180b9/docs/bc_s.png -------------------------------------------------------------------------------- /docs/bc_sd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XorTroll/Plutonium/700f0c3063b3a55d396f766d43b526613ea180b9/docs/bc_sd.png -------------------------------------------------------------------------------- /docs/clipboard.js: -------------------------------------------------------------------------------- 1 | /** 2 | 3 | The code below is based on the Doxygen Awesome project, see 4 | https://github.com/jothepro/doxygen-awesome-css 5 | 6 | MIT License 7 | 8 | Copyright (c) 2021 - 2022 jothepro 9 | 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | 17 | The above copyright notice and this permission notice shall be included in all 18 | copies or substantial portions of the Software. 19 | 20 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 21 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 23 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 25 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 26 | SOFTWARE. 27 | 28 | */ 29 | 30 | let clipboard_title = "Copy to clipboard" 31 | let clipboard_icon = `` 32 | let clipboard_successIcon = `` 33 | let clipboard_successDuration = 1000 34 | 35 | $(function() { 36 | if(navigator.clipboard) { 37 | const fragments = document.getElementsByClassName("fragment") 38 | for(const fragment of fragments) { 39 | const clipboard_div = document.createElement("div") 40 | clipboard_div.classList.add("clipboard") 41 | clipboard_div.innerHTML = clipboard_icon 42 | clipboard_div.title = clipboard_title 43 | $(clipboard_div).click(function() { 44 | const content = this.parentNode.cloneNode(true) 45 | // filter out line number and folded fragments from file listings 46 | content.querySelectorAll(".lineno, .ttc, .foldclosed").forEach((node) => { node.remove() }) 47 | let text = content.textContent 48 | // remove trailing newlines and trailing spaces from empty lines 49 | text = text.replace(/^\s*\n/gm,'\n').replace(/\n*$/,'') 50 | navigator.clipboard.writeText(text); 51 | this.classList.add("success") 52 | this.innerHTML = clipboard_successIcon 53 | window.setTimeout(() => { // switch back to normal icon after timeout 54 | this.classList.remove("success") 55 | this.innerHTML = clipboard_icon 56 | }, clipboard_successDuration); 57 | }) 58 | fragment.insertBefore(clipboard_div, fragment.firstChild) 59 | } 60 | } 61 | }) 62 | -------------------------------------------------------------------------------- /docs/closed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XorTroll/Plutonium/700f0c3063b3a55d396f766d43b526613ea180b9/docs/closed.png -------------------------------------------------------------------------------- /docs/cookie.js: -------------------------------------------------------------------------------- 1 | /*! 2 | Cookie helper functions 3 | Copyright (c) 2023 Dimitri van Heesch 4 | Released under MIT license. 5 | */ 6 | let Cookie = { 7 | cookie_namespace: 'doxygen_', 8 | 9 | readSetting(cookie,defVal) { 10 | if (window.chrome) { 11 | const val = localStorage.getItem(this.cookie_namespace+cookie) || 12 | sessionStorage.getItem(this.cookie_namespace+cookie); 13 | if (val) return val; 14 | } else { 15 | let myCookie = this.cookie_namespace+cookie+"="; 16 | if (document.cookie) { 17 | const index = document.cookie.indexOf(myCookie); 18 | if (index != -1) { 19 | const valStart = index + myCookie.length; 20 | let valEnd = document.cookie.indexOf(";", valStart); 21 | if (valEnd == -1) { 22 | valEnd = document.cookie.length; 23 | } 24 | return document.cookie.substring(valStart, valEnd); 25 | } 26 | } 27 | } 28 | return defVal; 29 | }, 30 | 31 | writeSetting(cookie,val,days=10*365) { // default days='forever', 0=session cookie, -1=delete 32 | if (window.chrome) { 33 | if (days==0) { 34 | sessionStorage.setItem(this.cookie_namespace+cookie,val); 35 | } else { 36 | localStorage.setItem(this.cookie_namespace+cookie,val); 37 | } 38 | } else { 39 | let date = new Date(); 40 | date.setTime(date.getTime()+(days*24*60*60*1000)); 41 | const expiration = days!=0 ? "expires="+date.toGMTString()+";" : ""; 42 | document.cookie = this.cookie_namespace + cookie + "=" + 43 | val + "; SameSite=Lax;" + expiration + "path=/"; 44 | } 45 | }, 46 | 47 | eraseSetting(cookie) { 48 | if (window.chrome) { 49 | if (localStorage.getItem(this.cookie_namespace+cookie)) { 50 | localStorage.removeItem(this.cookie_namespace+cookie); 51 | } else if (sessionStorage.getItem(this.cookie_namespace+cookie)) { 52 | sessionStorage.removeItem(this.cookie_namespace+cookie); 53 | } 54 | } else { 55 | this.writeSetting(cookie,'',-1); 56 | } 57 | }, 58 | } 59 | -------------------------------------------------------------------------------- /docs/d0/d27/classpu_1_1ui_1_1render_1_1_renderer.js: -------------------------------------------------------------------------------- 1 | var classpu_1_1ui_1_1render_1_1_renderer = 2 | [ 3 | [ "Renderer", "d0/d27/classpu_1_1ui_1_1render_1_1_renderer.html#a2d06e4ab292e03c75b40d88562dd5469", null ], 4 | [ "Finalize", "d0/d27/classpu_1_1ui_1_1render_1_1_renderer.html#a15df7905cffacb178961b93b87d990dc", null ], 5 | [ "FinalizeRender", "d0/d27/classpu_1_1ui_1_1render_1_1_renderer.html#ab6e04837ac0ea0a08eeab90ec1d27df6", null ], 6 | [ "GetButtonsDown", "d0/d27/classpu_1_1ui_1_1render_1_1_renderer.html#aa5f1dd652e65126aaec674601712d308", null ], 7 | [ "GetButtonsHeld", "d0/d27/classpu_1_1ui_1_1render_1_1_renderer.html#ac3ae330c0e45d8ba86a205266ef731db", null ], 8 | [ "GetButtonsUp", "d0/d27/classpu_1_1ui_1_1render_1_1_renderer.html#a05b2464fba7d6f6541fc97d7df13ded9", null ], 9 | [ "HasInitialized", "d0/d27/classpu_1_1ui_1_1render_1_1_renderer.html#afea5a6b3fe4e8b149fe97a3d6678e144", null ], 10 | [ "Initialize", "d0/d27/classpu_1_1ui_1_1render_1_1_renderer.html#a7d7c797930c6c9f52cc9ed2d97af0e12", null ], 11 | [ "InitializeRender", "d0/d27/classpu_1_1ui_1_1render_1_1_renderer.html#af8848fa4a8a13ec522d778d98955864c", null ], 12 | [ "RenderCircle", "d0/d27/classpu_1_1ui_1_1render_1_1_renderer.html#a0c3cc8e8cec5f7c77db744441cf3d8ac", null ], 13 | [ "RenderCircleFill", "d0/d27/classpu_1_1ui_1_1render_1_1_renderer.html#ad080dfb16df4d934d227c83195debd37", null ], 14 | [ "RenderRectangle", "d0/d27/classpu_1_1ui_1_1render_1_1_renderer.html#a2329b554520fa5dc1a02208f4a8a76f5", null ], 15 | [ "RenderRectangleFill", "d0/d27/classpu_1_1ui_1_1render_1_1_renderer.html#a866ae45b8730a2ad786a701b7bae02f2", null ], 16 | [ "RenderRectangleOutline", "d0/d27/classpu_1_1ui_1_1render_1_1_renderer.html#a0ecd70fc83b371f2957f990363400faa", null ], 17 | [ "RenderRoundedRectangle", "d0/d27/classpu_1_1ui_1_1render_1_1_renderer.html#a578c086e93c8eecc71995dbd170dc2f9", null ], 18 | [ "RenderRoundedRectangleFill", "d0/d27/classpu_1_1ui_1_1render_1_1_renderer.html#a97268b78eb7286d476c39a3308b55483", null ], 19 | [ "RenderShadowSimple", "d0/d27/classpu_1_1ui_1_1render_1_1_renderer.html#a41477557dcafdb135112dbaec7980e17", null ], 20 | [ "RenderTexture", "d0/d27/classpu_1_1ui_1_1render_1_1_renderer.html#ab46920e91222f4efd328cc2e98477b4d", null ], 21 | [ "ResetBaseRenderAlpha", "d0/d27/classpu_1_1ui_1_1render_1_1_renderer.html#a0acd213f97329a9f584b6983cfe61910", null ], 22 | [ "ResetBaseRenderPosition", "d0/d27/classpu_1_1ui_1_1render_1_1_renderer.html#ad1726412cb8b0f2658fa8ac980d40a5c", null ], 23 | [ "SetBaseRenderAlpha", "d0/d27/classpu_1_1ui_1_1render_1_1_renderer.html#a86280457eb612a88ab7c00199a17c115", null ], 24 | [ "SetBaseRenderPosition", "d0/d27/classpu_1_1ui_1_1render_1_1_renderer.html#af3446219ca682fa60778a3509bbedbc4", null ], 25 | [ "UpdateInput", "d0/d27/classpu_1_1ui_1_1render_1_1_renderer.html#ae045f36af002b20bea971da1e6c2ad8f", null ] 26 | ]; -------------------------------------------------------------------------------- /docs/d0/d29/sdl2___types_8hpp.js: -------------------------------------------------------------------------------- 1 | var sdl2___types_8hpp = 2 | [ 3 | [ "pu::sdl2::TextureHandle", "d4/da3/classpu_1_1sdl2_1_1_texture_handle.html", "d4/da3/classpu_1_1sdl2_1_1_texture_handle" ], 4 | [ "pu::sdl2::Font", "d1/d78/namespacepu_1_1sdl2.html#a047543c75bc366131d8e3a89126ef08f", null ], 5 | [ "pu::sdl2::Renderer", "d1/d78/namespacepu_1_1sdl2.html#aa0c4e634637db654441e537fabc75125", null ], 6 | [ "pu::sdl2::Surface", "d1/d78/namespacepu_1_1sdl2.html#a7b87c4dd0744d10e5bb57d274c10f7ac", null ], 7 | [ "pu::sdl2::Texture", "d1/d78/namespacepu_1_1sdl2.html#a880d1002237395b299353a9d6c501d4e", null ], 8 | [ "pu::sdl2::Window", "d1/d78/namespacepu_1_1sdl2.html#af25620a2e82c56dc48a4abc6e5f0b31f", null ] 9 | ]; -------------------------------------------------------------------------------- /docs/d0/d98/audio___sfx_8hpp.js: -------------------------------------------------------------------------------- 1 | var audio___sfx_8hpp = 2 | [ 3 | [ "pu::audio::Sfx", "d8/d8f/namespacepu_1_1audio.html#a88fc28259e6dad775921efd1d384966c", null ], 4 | [ "pu::audio::DestroySfx", "d8/d8f/namespacepu_1_1audio.html#ac3d79067485a253473beeae7691fea65", null ], 5 | [ "pu::audio::LoadSfx", "d8/d8f/namespacepu_1_1audio.html#ac9c66b4e55fe192f7ba5f39899513d47", null ], 6 | [ "pu::audio::PlaySfx", "d8/d8f/namespacepu_1_1audio.html#a38344de3e19215b9d8125e6971c7f6cd", null ] 7 | ]; -------------------------------------------------------------------------------- /docs/d0/db0/elm___toggle_8hpp.js: -------------------------------------------------------------------------------- 1 | var elm___toggle_8hpp = 2 | [ 3 | [ "pu::ui::elm::Toggle", "d5/d51/classpu_1_1ui_1_1elm_1_1_toggle.html", "d5/d51/classpu_1_1ui_1_1elm_1_1_toggle" ] 4 | ]; -------------------------------------------------------------------------------- /docs/d1/d52/pu___include_8hpp.js: -------------------------------------------------------------------------------- 1 | var pu___include_8hpp = 2 | [ 3 | [ "PU_CLASS_POD_GET", "d1/d52/pu___include_8hpp.html#a90bf828b2932c6bf28a5838b8adc2fa9", null ], 4 | [ "PU_CLASS_POD_GETSET", "d1/d52/pu___include_8hpp.html#a498d0ec5fbd56ccced06abe66bba590e", null ], 5 | [ "PU_CLASS_POD_SET", "d1/d52/pu___include_8hpp.html#a52dbcb33e9eb4fc24c1f8510e98f846e", null ], 6 | [ "PU_RC_TRY", "d1/d52/pu___include_8hpp.html#ab1028334d33d38cb4abdb8b6e5ad231c", null ], 7 | [ "PU_SMART_CTOR", "d1/d52/pu___include_8hpp.html#a2655f4e800efdd50e106951c6667d8d1", null ], 8 | [ "pu::i32", "da/df2/namespacepu.html#abd11f97b8b05a9c48f1aebeb941a9aca", null ], 9 | [ "pu::Module", "da/df2/namespacepu.html#a6acbbb8b82eb5892651e22cdc457970a", null ], 10 | [ "pu::ResultImgInitFailed", "da/df2/namespacepu.html#a057c5f0f044145a0ce7d4fcdca9017ee", null ], 11 | [ "pu::ResultSdlCreateRendererFailed", "da/df2/namespacepu.html#a55201d4f8c64c23fe7c772d3480faeda", null ], 12 | [ "pu::ResultSdlCreateWindowFailed", "da/df2/namespacepu.html#a6157114367515585c4a87a9a8d3cb28b", null ], 13 | [ "pu::ResultSdlInitFailed", "da/df2/namespacepu.html#aee2dc52b693f94b5f242e7c15942c977", null ], 14 | [ "pu::ResultTtfInitFailed", "da/df2/namespacepu.html#a7fdef1309928fca9976c7cbd5647885e", null ] 15 | ]; -------------------------------------------------------------------------------- /docs/d1/d78/namespacepu_1_1sdl2.js: -------------------------------------------------------------------------------- 1 | var namespacepu_1_1sdl2 = 2 | [ 3 | [ "TextureHandle", "d4/da3/classpu_1_1sdl2_1_1_texture_handle.html", "d4/da3/classpu_1_1sdl2_1_1_texture_handle" ], 4 | [ "Font", "d1/d78/namespacepu_1_1sdl2.html#a047543c75bc366131d8e3a89126ef08f", null ], 5 | [ "Renderer", "d1/d78/namespacepu_1_1sdl2.html#aa0c4e634637db654441e537fabc75125", null ], 6 | [ "Surface", "d1/d78/namespacepu_1_1sdl2.html#a7b87c4dd0744d10e5bb57d274c10f7ac", null ], 7 | [ "Texture", "d1/d78/namespacepu_1_1sdl2.html#a880d1002237395b299353a9d6c501d4e", null ], 8 | [ "Window", "d1/d78/namespacepu_1_1sdl2.html#af25620a2e82c56dc48a4abc6e5f0b31f", null ] 9 | ]; -------------------------------------------------------------------------------- /docs/d1/dd0/elm___menu_8hpp.js: -------------------------------------------------------------------------------- 1 | var elm___menu_8hpp = 2 | [ 3 | [ "pu::ui::elm::MenuItem", "de/dbb/classpu_1_1ui_1_1elm_1_1_menu_item.html", "de/dbb/classpu_1_1ui_1_1elm_1_1_menu_item" ], 4 | [ "pu::ui::elm::Menu", "dc/d6c/classpu_1_1ui_1_1elm_1_1_menu.html", "dc/d6c/classpu_1_1ui_1_1elm_1_1_menu" ] 5 | ]; -------------------------------------------------------------------------------- /docs/d2/d5e/namespacepu_1_1ui_1_1elm.js: -------------------------------------------------------------------------------- 1 | var namespacepu_1_1ui_1_1elm = 2 | [ 3 | [ "Button", "d4/de7/classpu_1_1ui_1_1elm_1_1_button.html", "d4/de7/classpu_1_1ui_1_1elm_1_1_button" ], 4 | [ "Element", "d9/d0e/classpu_1_1ui_1_1elm_1_1_element.html", "d9/d0e/classpu_1_1ui_1_1elm_1_1_element" ], 5 | [ "Image", "d6/d63/classpu_1_1ui_1_1elm_1_1_image.html", "d6/d63/classpu_1_1ui_1_1elm_1_1_image" ], 6 | [ "Menu", "dc/d6c/classpu_1_1ui_1_1elm_1_1_menu.html", "dc/d6c/classpu_1_1ui_1_1elm_1_1_menu" ], 7 | [ "MenuItem", "de/dbb/classpu_1_1ui_1_1elm_1_1_menu_item.html", "de/dbb/classpu_1_1ui_1_1elm_1_1_menu_item" ], 8 | [ "ProgressBar", "d2/dcc/classpu_1_1ui_1_1elm_1_1_progress_bar.html", "d2/dcc/classpu_1_1ui_1_1elm_1_1_progress_bar" ], 9 | [ "Rectangle", "d5/dea/classpu_1_1ui_1_1elm_1_1_rectangle.html", "d5/dea/classpu_1_1ui_1_1elm_1_1_rectangle" ], 10 | [ "TextBlock", "df/d21/classpu_1_1ui_1_1elm_1_1_text_block.html", "df/d21/classpu_1_1ui_1_1elm_1_1_text_block" ], 11 | [ "Toggle", "d5/d51/classpu_1_1ui_1_1elm_1_1_toggle.html", "d5/d51/classpu_1_1ui_1_1elm_1_1_toggle" ], 12 | [ "HorizontalAlign", "d2/d5e/namespacepu_1_1ui_1_1elm.html#ac2066021dbc53818c251c446b6d7f864", [ 13 | [ "Left", "d2/d5e/namespacepu_1_1ui_1_1elm.html#ac2066021dbc53818c251c446b6d7f864a945d5e233cf7d6240f6b783b36a374ff", null ], 14 | [ "Center", "d2/d5e/namespacepu_1_1ui_1_1elm.html#ac2066021dbc53818c251c446b6d7f864a4f1f6016fc9f3f2353c0cc7c67b292bd", null ], 15 | [ "Right", "d2/d5e/namespacepu_1_1ui_1_1elm.html#ac2066021dbc53818c251c446b6d7f864a92b09c7c48c520c3c55e497875da437c", null ] 16 | ] ], 17 | [ "VerticalAlign", "d2/d5e/namespacepu_1_1ui_1_1elm.html#ac33e06ac84db60b2dd5b56b4a1276e92", [ 18 | [ "Up", "d2/d5e/namespacepu_1_1ui_1_1elm.html#ac33e06ac84db60b2dd5b56b4a1276e92a258f49887ef8d14ac268c92b02503aaa", null ], 19 | [ "Center", "d2/d5e/namespacepu_1_1ui_1_1elm.html#ac33e06ac84db60b2dd5b56b4a1276e92a4f1f6016fc9f3f2353c0cc7c67b292bd", null ], 20 | [ "Down", "d2/d5e/namespacepu_1_1ui_1_1elm.html#ac33e06ac84db60b2dd5b56b4a1276e92a08a38277b0309070706f6652eeae9a53", null ] 21 | ] ] 22 | ]; -------------------------------------------------------------------------------- /docs/d2/d96/classpu_1_1ui_1_1_sigmoid_incrementer.js: -------------------------------------------------------------------------------- 1 | var classpu_1_1ui_1_1_sigmoid_incrementer = 2 | [ 3 | [ "SigmoidIncrementer", "d2/d96/classpu_1_1ui_1_1_sigmoid_incrementer.html#ad1e0f1500f1ab9b6fa4910c816a7d568", null ], 4 | [ "Increment", "d2/d96/classpu_1_1ui_1_1_sigmoid_incrementer.html#a7f684f19a95cd0f403f21512ceb882f0", null ], 5 | [ "IsDone", "d2/d96/classpu_1_1ui_1_1_sigmoid_incrementer.html#a2a2c71702e7e976d7cdf7431b78cbace", null ], 6 | [ "Start", "d2/d96/classpu_1_1ui_1_1_sigmoid_incrementer.html#aafad9e96fc7c8fac4ad29b4d976361f2", null ], 7 | [ "StartFromZero", "d2/d96/classpu_1_1ui_1_1_sigmoid_incrementer.html#a3f0d4ae503693e1c669c302ca32f0f3c", null ], 8 | [ "StartToZero", "d2/d96/classpu_1_1ui_1_1_sigmoid_incrementer.html#a59c5424788aa82a19c62c459ca8927cb", null ], 9 | [ "AllowedError", "d2/d96/classpu_1_1ui_1_1_sigmoid_incrementer.html#af44762c1a03b838c29b6fd882fc40eeb", null ] 10 | ]; -------------------------------------------------------------------------------- /docs/d2/dcc/classpu_1_1ui_1_1elm_1_1_progress_bar.js: -------------------------------------------------------------------------------- 1 | var classpu_1_1ui_1_1elm_1_1_progress_bar = 2 | [ 3 | [ "ProgressBar", "d2/dcc/classpu_1_1ui_1_1elm_1_1_progress_bar.html#a6cf28de683bc5e197bc95eee2093246e", null ], 4 | [ "ClearProgress", "d2/dcc/classpu_1_1ui_1_1elm_1_1_progress_bar.html#a4cfaf7feebb4e8a2178d794a36d45d6e", null ], 5 | [ "DecrementProgress", "d2/dcc/classpu_1_1ui_1_1elm_1_1_progress_bar.html#aad4260e21dd970ff7cd74ca77810550d", null ], 6 | [ "FillProgress", "d2/dcc/classpu_1_1ui_1_1elm_1_1_progress_bar.html#abbb7edaaf5b35ed7a0bb1ed39cea4dff", null ], 7 | [ "GetHeight", "d2/dcc/classpu_1_1ui_1_1elm_1_1_progress_bar.html#af3899e9155b3a81aca565434d3e130e7", null ], 8 | [ "GetWidth", "d2/dcc/classpu_1_1ui_1_1elm_1_1_progress_bar.html#a2c6544906bb2c7a4dd22573403b7d1b1", null ], 9 | [ "GetX", "d2/dcc/classpu_1_1ui_1_1elm_1_1_progress_bar.html#a2b2053cbc38a68b323c9e430d9a2084b", null ], 10 | [ "GetY", "d2/dcc/classpu_1_1ui_1_1elm_1_1_progress_bar.html#ae5da5e109fb98a0b1ac51f2da20dd179", null ], 11 | [ "IncrementProgress", "d2/dcc/classpu_1_1ui_1_1elm_1_1_progress_bar.html#a895e5f81b485ca6d672cc6a120c4ebe5", null ], 12 | [ "IsCompleted", "d2/dcc/classpu_1_1ui_1_1elm_1_1_progress_bar.html#a9392e6e224b8460a12caf6ca80117063", null ], 13 | [ "OnInput", "d2/dcc/classpu_1_1ui_1_1elm_1_1_progress_bar.html#a4ae51238a8831a7c6234fc356e5da3da", null ], 14 | [ "OnRender", "d2/dcc/classpu_1_1ui_1_1elm_1_1_progress_bar.html#a12ffccd4bc28ad8452b344d84c042d7e", null ], 15 | [ "SetHeight", "d2/dcc/classpu_1_1ui_1_1elm_1_1_progress_bar.html#a3cf62061db210829295a74c499849fd3", null ], 16 | [ "SetProgress", "d2/dcc/classpu_1_1ui_1_1elm_1_1_progress_bar.html#a59a987df45962ac2e18904b442993492", null ], 17 | [ "SetWidth", "d2/dcc/classpu_1_1ui_1_1elm_1_1_progress_bar.html#af33c8c19327c84f2c073ddfb86551a77", null ], 18 | [ "SetX", "d2/dcc/classpu_1_1ui_1_1elm_1_1_progress_bar.html#ade8f12e1bfca507b3d80dc11a7aef059", null ], 19 | [ "SetY", "d2/dcc/classpu_1_1ui_1_1elm_1_1_progress_bar.html#ad8a4914868a95086a8ebf6017a8850ee", null ], 20 | [ "DefaultBackgroundColor", "d2/dcc/classpu_1_1ui_1_1elm_1_1_progress_bar.html#ad4d519a38187fd69ae4c04c62266de15", null ], 21 | [ "DefaultHeightRadiusFactor", "d2/dcc/classpu_1_1ui_1_1elm_1_1_progress_bar.html#a506925931178a4b2ddbbdc1c1e635c26", null ], 22 | [ "DefaultProgressColor", "d2/dcc/classpu_1_1ui_1_1elm_1_1_progress_bar.html#ab50f8aea0b37568355c4683830e1467b", null ] 23 | ]; -------------------------------------------------------------------------------- /docs/d2/dcc/classpu_1_1ui_1_1elm_1_1_progress_bar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XorTroll/Plutonium/700f0c3063b3a55d396f766d43b526613ea180b9/docs/d2/dcc/classpu_1_1ui_1_1elm_1_1_progress_bar.png -------------------------------------------------------------------------------- /docs/d3/dd7/elm___progress_bar_8hpp.js: -------------------------------------------------------------------------------- 1 | var elm___progress_bar_8hpp = 2 | [ 3 | [ "pu::ui::elm::ProgressBar", "d2/dcc/classpu_1_1ui_1_1elm_1_1_progress_bar.html", "d2/dcc/classpu_1_1ui_1_1elm_1_1_progress_bar" ] 4 | ]; -------------------------------------------------------------------------------- /docs/d4/d16/extras___toast_8hpp.js: -------------------------------------------------------------------------------- 1 | var extras___toast_8hpp = 2 | [ 3 | [ "pu::ui::extras::Toast", "dc/d49/classpu_1_1ui_1_1extras_1_1_toast.html", "dc/d49/classpu_1_1ui_1_1extras_1_1_toast" ] 4 | ]; -------------------------------------------------------------------------------- /docs/d4/da3/classpu_1_1sdl2_1_1_texture_handle.js: -------------------------------------------------------------------------------- 1 | var classpu_1_1sdl2_1_1_texture_handle = 2 | [ 3 | [ "TextureHandle", "d4/da3/classpu_1_1sdl2_1_1_texture_handle.html#a452f7e83a57a44fceebbe79beba02552", null ], 4 | [ "TextureHandle", "d4/da3/classpu_1_1sdl2_1_1_texture_handle.html#aa9f36e31bb8e5c093954af47f7036817", null ], 5 | [ "~TextureHandle", "d4/da3/classpu_1_1sdl2_1_1_texture_handle.html#a83b918124d9f618c7c6d3dd664a4130c", null ], 6 | [ "Get", "d4/da3/classpu_1_1sdl2_1_1_texture_handle.html#a631c9badd55eb1c61700a497858f4fac", null ] 7 | ]; -------------------------------------------------------------------------------- /docs/d4/dbe/render___renderer_8hpp.js: -------------------------------------------------------------------------------- 1 | var render___renderer_8hpp = 2 | [ 3 | [ "pu::ui::render::RendererInitOptions", "df/d6f/structpu_1_1ui_1_1render_1_1_renderer_init_options.html", "df/d6f/structpu_1_1ui_1_1render_1_1_renderer_init_options" ], 4 | [ "pu::ui::render::TextureRenderOptions", "dc/d32/structpu_1_1ui_1_1render_1_1_texture_render_options.html", "dc/d32/structpu_1_1ui_1_1render_1_1_texture_render_options" ], 5 | [ "pu::ui::render::Renderer", "d0/d27/classpu_1_1ui_1_1render_1_1_renderer.html", "d0/d27/classpu_1_1ui_1_1render_1_1_renderer" ], 6 | [ "pu::ui::render::AddDefaultFont", "da/d54/namespacepu_1_1ui_1_1render.html#ae1fbe3b141fbb4a9139e4535495c471c", null ], 7 | [ "pu::ui::render::AddFont", "da/d54/namespacepu_1_1ui_1_1render.html#a5413fa88d36a087f5b8ce31eecb8c63e", null ], 8 | [ "pu::ui::render::GetDimensions", "da/d54/namespacepu_1_1ui_1_1render.html#abd48c078f9a0d5a57bf93d413a8ed2e6", null ], 9 | [ "pu::ui::render::GetMainRenderer", "da/d54/namespacepu_1_1ui_1_1render.html#ac3ef345ab94510dd75774086f3737224", null ], 10 | [ "pu::ui::render::GetMainSurface", "da/d54/namespacepu_1_1ui_1_1render.html#a7d87075716f44ab90d397ade7da4cb70", null ], 11 | [ "pu::ui::render::GetMainWindow", "da/d54/namespacepu_1_1ui_1_1render.html#a49da42826685906d7bf6662b9be169e1", null ], 12 | [ "pu::ui::render::GetTextDimensions", "da/d54/namespacepu_1_1ui_1_1render.html#a6cffc4f7f2fc5a83ecff399e87add4bb", null ], 13 | [ "pu::ui::render::GetTextHeight", "da/d54/namespacepu_1_1ui_1_1render.html#ace12eee5e824e7246730c4141cc73210", null ], 14 | [ "pu::ui::render::GetTextWidth", "da/d54/namespacepu_1_1ui_1_1render.html#abb9cc63606c0f861f03830cf1bb3cf88", null ], 15 | [ "pu::ui::render::LoadAllSharedFontsInFont", "da/d54/namespacepu_1_1ui_1_1render.html#a157c7ab180459e6a95ff0055632a0294", null ], 16 | [ "pu::ui::render::LoadSingleSharedFontInFont", "da/d54/namespacepu_1_1ui_1_1render.html#a5475c0b73257113285b5845b9938e3a0", null ], 17 | [ "pu::ui::render::RenderText", "da/d54/namespacepu_1_1ui_1_1render.html#a577acc29da8b5092bce3fa3a2ec8e8c0", null ], 18 | [ "pu::ui::render::BaseScreenHeight", "da/d54/namespacepu_1_1ui_1_1render.html#a946cfa807d6452bb288d6a619211d962", null ], 19 | [ "pu::ui::render::BaseScreenWidth", "da/d54/namespacepu_1_1ui_1_1render.html#a7a90721ab0edd200b5587049de359727", null ], 20 | [ "pu::ui::render::ImgAllFlags", "da/d54/namespacepu_1_1ui_1_1render.html#a43fb290f1b8085ce1dac53e7506c1993", null ], 21 | [ "pu::ui::render::RendererHardwareFlags", "da/d54/namespacepu_1_1ui_1_1render.html#ae9f1375477d6776bad834896952ecaf2", null ], 22 | [ "pu::ui::render::RendererSoftwareFlags", "da/d54/namespacepu_1_1ui_1_1render.html#aaedd6a7faa3d79a5e6cf58120fe8626b", null ], 23 | [ "pu::ui::render::ScreenFactor", "da/d54/namespacepu_1_1ui_1_1render.html#ae3cf1b4af112241c6f3de6a58659c23a", null ], 24 | [ "pu::ui::render::ScreenHeight", "da/d54/namespacepu_1_1ui_1_1render.html#af387b6301a55da00e921539845d9f357", null ], 25 | [ "pu::ui::render::ScreenWidth", "da/d54/namespacepu_1_1ui_1_1render.html#ae5920eeeae0aa4c3eac8073c2471ebb6", null ] 26 | ]; -------------------------------------------------------------------------------- /docs/d4/dd2/elm___rectangle_8hpp.js: -------------------------------------------------------------------------------- 1 | var elm___rectangle_8hpp = 2 | [ 3 | [ "pu::ui::elm::Rectangle", "d5/dea/classpu_1_1ui_1_1elm_1_1_rectangle.html", "d5/dea/classpu_1_1ui_1_1elm_1_1_rectangle" ] 4 | ]; -------------------------------------------------------------------------------- /docs/d4/de7/classpu_1_1ui_1_1elm_1_1_button.js: -------------------------------------------------------------------------------- 1 | var classpu_1_1ui_1_1elm_1_1_button = 2 | [ 3 | [ "OnClickCallback", "d4/de7/classpu_1_1ui_1_1elm_1_1_button.html#aa95f57228b0de124787f510e2ded931e", null ], 4 | [ "Button", "d4/de7/classpu_1_1ui_1_1elm_1_1_button.html#a5f0c0c8ebb428045c252982e41b272d3", null ], 5 | [ "~Button", "d4/de7/classpu_1_1ui_1_1elm_1_1_button.html#ad83b1b31e145b3aef21244c2ae0765b4", null ], 6 | [ "GetContent", "d4/de7/classpu_1_1ui_1_1elm_1_1_button.html#a5d3fbfa9377eeb649127cf5466ba8ad0", null ], 7 | [ "GetHeight", "d4/de7/classpu_1_1ui_1_1elm_1_1_button.html#acd2c0a743568a3c67a50dfc100e68410", null ], 8 | [ "GetWidth", "d4/de7/classpu_1_1ui_1_1elm_1_1_button.html#ae05f8905ac9b6bdf7a2727b75c303b35", null ], 9 | [ "GetX", "d4/de7/classpu_1_1ui_1_1elm_1_1_button.html#abdd2e602eff0bbb9e8f759393270e9db", null ], 10 | [ "GetY", "d4/de7/classpu_1_1ui_1_1elm_1_1_button.html#a4bccb6a42f53dbf60cbd4c96571b8e5c", null ], 11 | [ "OnInput", "d4/de7/classpu_1_1ui_1_1elm_1_1_button.html#a64bbcf78f31d506eec6e11589cbf8af0", null ], 12 | [ "OnRender", "d4/de7/classpu_1_1ui_1_1elm_1_1_button.html#a532dfac675c372aa56a2445c4a08f8ee", null ], 13 | [ "SetContent", "d4/de7/classpu_1_1ui_1_1elm_1_1_button.html#a40da0a79b6c225c9697a42809d2d8568", null ], 14 | [ "SetContentColor", "d4/de7/classpu_1_1ui_1_1elm_1_1_button.html#a879ccf37c2d2eb8379de5332b47d9a02", null ], 15 | [ "SetContentFont", "d4/de7/classpu_1_1ui_1_1elm_1_1_button.html#a8ed632555291dc6f4661380f284dcf6a", null ], 16 | [ "SetHeight", "d4/de7/classpu_1_1ui_1_1elm_1_1_button.html#a15b66ac94d655acdea7a3e9025d91c69", null ], 17 | [ "SetOnClick", "d4/de7/classpu_1_1ui_1_1elm_1_1_button.html#a021277a50f3443a58b5c7350546c95c4", null ], 18 | [ "SetWidth", "d4/de7/classpu_1_1ui_1_1elm_1_1_button.html#ab5aa432cd55a4ff5d6a572813f283238", null ], 19 | [ "SetX", "d4/de7/classpu_1_1ui_1_1elm_1_1_button.html#a769db72c019d7cb99f9fcc1b9868fcdd", null ], 20 | [ "SetY", "d4/de7/classpu_1_1ui_1_1elm_1_1_button.html#a45a817b45a09bb02e8f77058ad3b81fe", null ], 21 | [ "DefaultContentFontSize", "d4/de7/classpu_1_1ui_1_1elm_1_1_button.html#a8d7771025b0919f30eb3278086ed9651", null ], 22 | [ "DefaultDarkerColorFactor", "d4/de7/classpu_1_1ui_1_1elm_1_1_button.html#a505bf16446ced58c61f8824f811dca2a", null ], 23 | [ "DefaultHoverAlphaIncrementSteps", "d4/de7/classpu_1_1ui_1_1elm_1_1_button.html#a1924fc23ed8fb81982d8da3778c67aae", null ] 24 | ]; -------------------------------------------------------------------------------- /docs/d4/de7/classpu_1_1ui_1_1elm_1_1_button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XorTroll/Plutonium/700f0c3063b3a55d396f766d43b526613ea180b9/docs/d4/de7/classpu_1_1ui_1_1elm_1_1_button.png -------------------------------------------------------------------------------- /docs/d5/d04/ui___layout_8hpp.js: -------------------------------------------------------------------------------- 1 | var ui___layout_8hpp = 2 | [ 3 | [ "pu::ui::Layout", "d6/d11/classpu_1_1ui_1_1_layout.html", "d6/d11/classpu_1_1ui_1_1_layout" ] 4 | ]; -------------------------------------------------------------------------------- /docs/d5/d51/classpu_1_1ui_1_1elm_1_1_toggle.js: -------------------------------------------------------------------------------- 1 | var classpu_1_1ui_1_1elm_1_1_toggle = 2 | [ 3 | [ "Toggle", "d5/d51/classpu_1_1ui_1_1elm_1_1_toggle.html#a0186168d3a517849bbeaaa8fbb540430", null ], 4 | [ "~Toggle", "d5/d51/classpu_1_1ui_1_1elm_1_1_toggle.html#a28cb352af8e25b4e1a3539e67d49dcd4", null ], 5 | [ "GetContent", "d5/d51/classpu_1_1ui_1_1elm_1_1_toggle.html#a2fc38b22e8b699c3db16ba0268f79385", null ], 6 | [ "GetHeight", "d5/d51/classpu_1_1ui_1_1elm_1_1_toggle.html#a5d734cdb6bca6698215fabc6006bcaa5", null ], 7 | [ "GetWidth", "d5/d51/classpu_1_1ui_1_1elm_1_1_toggle.html#a886903ec6fb56e75055115d2eb242dff", null ], 8 | [ "GetX", "d5/d51/classpu_1_1ui_1_1elm_1_1_toggle.html#a8f24f57a781c4dbcbe65b7bb907c9e87", null ], 9 | [ "GetY", "d5/d51/classpu_1_1ui_1_1elm_1_1_toggle.html#a40d4a4dbeba921e66cf19d4f00fa0ed4", null ], 10 | [ "OnInput", "d5/d51/classpu_1_1ui_1_1elm_1_1_toggle.html#a4a6ddbe6286b2e7780a2bc947730adf2", null ], 11 | [ "OnRender", "d5/d51/classpu_1_1ui_1_1elm_1_1_toggle.html#a38f0f65de3e93674d90d332d73c2e505", null ], 12 | [ "SetColor", "d5/d51/classpu_1_1ui_1_1elm_1_1_toggle.html#a5142174fffaba6ea1929aa9494b26827", null ], 13 | [ "SetContent", "d5/d51/classpu_1_1ui_1_1elm_1_1_toggle.html#a526a4ca5b3b1640c05de417376f13b38", null ], 14 | [ "SetFont", "d5/d51/classpu_1_1ui_1_1elm_1_1_toggle.html#a0493a6c73540df78ca927ce7c9523ced", null ], 15 | [ "SetX", "d5/d51/classpu_1_1ui_1_1elm_1_1_toggle.html#a0818618e7b6d9f1714ddaa13024f0534", null ], 16 | [ "SetY", "d5/d51/classpu_1_1ui_1_1elm_1_1_toggle.html#af623ffcba145eb610e462697cba933b7", null ], 17 | [ "DefaultBackgroundColor", "d5/d51/classpu_1_1ui_1_1elm_1_1_toggle.html#a0f837d075edd63c4906b7f837748854a", null ], 18 | [ "DefaultContentFontSize", "d5/d51/classpu_1_1ui_1_1elm_1_1_toggle.html#ab192194d4ee8c692baba173ab8d3823e", null ], 19 | [ "DefaultContentHorizontalMargin", "d5/d51/classpu_1_1ui_1_1elm_1_1_toggle.html#a9d1beb36ba3a1714ec16ccefea0592d8", null ], 20 | [ "DefaultContentVerticalMargin", "d5/d51/classpu_1_1ui_1_1elm_1_1_toggle.html#a46c7daaecf3774c0b68a7323955a40ba", null ], 21 | [ "DefaultToggleAlphaIncrement", "d5/d51/classpu_1_1ui_1_1elm_1_1_toggle.html#a74a04e7facf5b7614b5cb503e43decac", null ] 22 | ]; -------------------------------------------------------------------------------- /docs/d5/d51/classpu_1_1ui_1_1elm_1_1_toggle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XorTroll/Plutonium/700f0c3063b3a55d396f766d43b526613ea180b9/docs/d5/d51/classpu_1_1ui_1_1elm_1_1_toggle.png -------------------------------------------------------------------------------- /docs/d5/d72/namespacepu_1_1ttf.js: -------------------------------------------------------------------------------- 1 | var namespacepu_1_1ttf = 2 | [ 3 | [ "Font", "dd/d76/classpu_1_1ttf_1_1_font.html", "dd/d76/classpu_1_1ttf_1_1_font" ] 4 | ]; -------------------------------------------------------------------------------- /docs/d5/dea/classpu_1_1ui_1_1elm_1_1_rectangle.js: -------------------------------------------------------------------------------- 1 | var classpu_1_1ui_1_1elm_1_1_rectangle = 2 | [ 3 | [ "Rectangle", "d5/dea/classpu_1_1ui_1_1elm_1_1_rectangle.html#adbf8a4151bcba56715d1e01fcde1ac00", null ], 4 | [ "GetHeight", "d5/dea/classpu_1_1ui_1_1elm_1_1_rectangle.html#af0164b5a133bb2724740263f1ba368d3", null ], 5 | [ "GetWidth", "d5/dea/classpu_1_1ui_1_1elm_1_1_rectangle.html#a54efd903f89253eec5a4d0b3c8de1a6a", null ], 6 | [ "GetX", "d5/dea/classpu_1_1ui_1_1elm_1_1_rectangle.html#a427ec71758f7b99930196cce7c66a9f7", null ], 7 | [ "GetY", "d5/dea/classpu_1_1ui_1_1elm_1_1_rectangle.html#a30994615d16a4dbba5d5ac87e1ca0fa1", null ], 8 | [ "OnInput", "d5/dea/classpu_1_1ui_1_1elm_1_1_rectangle.html#a751498cc3b96d1227bfeae4f511a923a", null ], 9 | [ "OnRender", "d5/dea/classpu_1_1ui_1_1elm_1_1_rectangle.html#ad27ed33f82d1137a442cada048127a70", null ], 10 | [ "SetHeight", "d5/dea/classpu_1_1ui_1_1elm_1_1_rectangle.html#a8ed4e8c98689f146171757257da1ead4", null ], 11 | [ "SetWidth", "d5/dea/classpu_1_1ui_1_1elm_1_1_rectangle.html#a52f64c5a02c89822f872a091bdd5d202", null ], 12 | [ "SetX", "d5/dea/classpu_1_1ui_1_1elm_1_1_rectangle.html#a26b9c6bab4e13a0fc8201627f7d8bee4", null ], 13 | [ "SetY", "d5/dea/classpu_1_1ui_1_1elm_1_1_rectangle.html#a2e9a96d5d2518c5ca29886c6dd0cd984", null ] 14 | ]; -------------------------------------------------------------------------------- /docs/d5/dea/classpu_1_1ui_1_1elm_1_1_rectangle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XorTroll/Plutonium/700f0c3063b3a55d396f766d43b526613ea180b9/docs/d5/dea/classpu_1_1ui_1_1elm_1_1_rectangle.png -------------------------------------------------------------------------------- /docs/d6/d08/ui___overlay_8hpp.js: -------------------------------------------------------------------------------- 1 | var ui___overlay_8hpp = 2 | [ 3 | [ "pu::ui::Overlay", "d6/d8f/classpu_1_1ui_1_1_overlay.html", "d6/d8f/classpu_1_1ui_1_1_overlay" ] 4 | ]; -------------------------------------------------------------------------------- /docs/d6/d11/classpu_1_1ui_1_1_layout.js: -------------------------------------------------------------------------------- 1 | var classpu_1_1ui_1_1_layout = 2 | [ 3 | [ "OnInputCallback", "d6/d11/classpu_1_1ui_1_1_layout.html#a7fe919970eca6881db907d85142abe09", null ], 4 | [ "RenderCallback", "d6/d11/classpu_1_1ui_1_1_layout.html#a8cb44afa8209bc3f748614c58e1126f2", null ], 5 | [ "Layout", "d6/d11/classpu_1_1ui_1_1_layout.html#ad49ec6b80ed4f53fe77a5d5cc480f460", null ], 6 | [ "~Layout", "d6/d11/classpu_1_1ui_1_1_layout.html#a6d5d2d47764c2b5d84cf265a7e1e6c1e", null ], 7 | [ "AddRenderCallback", "d6/d11/classpu_1_1ui_1_1_layout.html#a0702b749dd67172c62e60256235a89d1", null ], 8 | [ "ConsumeSimulatedTouchPosition", "d6/d11/classpu_1_1ui_1_1_layout.html#a3a3b80c19c80bd51fb6fbf60b744d702", null ], 9 | [ "GetBackgroundColor", "d6/d11/classpu_1_1ui_1_1_layout.html#a8aa3e5d0448ffb6ec3e91f85beaaeec7", null ], 10 | [ "GetBackgroundImageTexture", "d6/d11/classpu_1_1ui_1_1_layout.html#ad292d0c8606fc2e68d5b40782233e13c", null ], 11 | [ "GetOnInput", "d6/d11/classpu_1_1ui_1_1_layout.html#ad55ef30fedadeb9d79565057b2968ebc", null ], 12 | [ "GetRenderCallbacks", "d6/d11/classpu_1_1ui_1_1_layout.html#a98ffb6a05d8923b24298dc65fd552187", null ], 13 | [ "HasBackgroundImage", "d6/d11/classpu_1_1ui_1_1_layout.html#a162283529f76efb15db628752da72876", null ], 14 | [ "HasChildren", "d6/d11/classpu_1_1ui_1_1_layout.html#a66240d9592d4264ea6a8472da6794ff5", null ], 15 | [ "ResetBackgroundImage", "d6/d11/classpu_1_1ui_1_1_layout.html#a5feaf9aea18eab076c4fc810efb5b3fe", null ], 16 | [ "SetBackgroundColor", "d6/d11/classpu_1_1ui_1_1_layout.html#a6af2213635577dc827211b558d4d1b9d", null ], 17 | [ "SetBackgroundImage", "d6/d11/classpu_1_1ui_1_1_layout.html#a180674290dc06cf8f60986361c4e61e7", null ], 18 | [ "SetOnInput", "d6/d11/classpu_1_1ui_1_1_layout.html#a218c687961e2245e5de19727b8dc92bd", null ], 19 | [ "SimulateTouchPosition", "d6/d11/classpu_1_1ui_1_1_layout.html#ac49ebb8a928452c19e24fe6199b333de", null ], 20 | [ "DefaultBackgroundColor", "d6/d11/classpu_1_1ui_1_1_layout.html#ac27edb42fdd26503e9a4acf2173554af", null ] 21 | ]; -------------------------------------------------------------------------------- /docs/d6/d11/classpu_1_1ui_1_1_layout.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XorTroll/Plutonium/700f0c3063b3a55d396f766d43b526613ea180b9/docs/d6/d11/classpu_1_1ui_1_1_layout.png -------------------------------------------------------------------------------- /docs/d6/d63/classpu_1_1ui_1_1elm_1_1_image.js: -------------------------------------------------------------------------------- 1 | var classpu_1_1ui_1_1elm_1_1_image = 2 | [ 3 | [ "Image", "d6/d63/classpu_1_1ui_1_1elm_1_1_image.html#acd13196ae1953736753090f4268bba78", null ], 4 | [ "GetHeight", "d6/d63/classpu_1_1ui_1_1elm_1_1_image.html#a2ea94ca2d573b53bdcfb31c25500cacd", null ], 5 | [ "GetWidth", "d6/d63/classpu_1_1ui_1_1elm_1_1_image.html#a4554beff9df5b3ba8468e93f1d5dd01b", null ], 6 | [ "GetX", "d6/d63/classpu_1_1ui_1_1elm_1_1_image.html#aa39635538ccdb0012c122ff1734ef9e6", null ], 7 | [ "GetY", "d6/d63/classpu_1_1ui_1_1elm_1_1_image.html#aed0495d5e0c9e49af8814599fb072ef9", null ], 8 | [ "IsImageValid", "d6/d63/classpu_1_1ui_1_1elm_1_1_image.html#a32e2affbb15090756c757d818f44f56d", null ], 9 | [ "OnInput", "d6/d63/classpu_1_1ui_1_1elm_1_1_image.html#a55f842074d50cb2e66200fca44453971", null ], 10 | [ "OnRender", "d6/d63/classpu_1_1ui_1_1elm_1_1_image.html#a222ed0a039047e7dee7da39e9d061f36", null ], 11 | [ "SetHeight", "d6/d63/classpu_1_1ui_1_1elm_1_1_image.html#a9e2d5fd049f6bf66f0ccd628d66b2c5e", null ], 12 | [ "SetImage", "d6/d63/classpu_1_1ui_1_1elm_1_1_image.html#a8653d2c81f9cb84e83aa7432bf4ab4d8", null ], 13 | [ "SetWidth", "d6/d63/classpu_1_1ui_1_1elm_1_1_image.html#a751c1497a89c7c0c7354756792ee0068", null ], 14 | [ "SetX", "d6/d63/classpu_1_1ui_1_1elm_1_1_image.html#a0bf8429150a1d96f9bb7386c5ccdaf32", null ], 15 | [ "SetY", "d6/d63/classpu_1_1ui_1_1elm_1_1_image.html#a7d7274943b1160be507387fb6a713229", null ] 16 | ]; -------------------------------------------------------------------------------- /docs/d6/d63/classpu_1_1ui_1_1elm_1_1_image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XorTroll/Plutonium/700f0c3063b3a55d396f766d43b526613ea180b9/docs/d6/d63/classpu_1_1ui_1_1elm_1_1_image.png -------------------------------------------------------------------------------- /docs/d6/d74/elm___image_8hpp.js: -------------------------------------------------------------------------------- 1 | var elm___image_8hpp = 2 | [ 3 | [ "pu::ui::elm::Image", "d6/d63/classpu_1_1ui_1_1elm_1_1_image.html", "d6/d63/classpu_1_1ui_1_1elm_1_1_image" ] 4 | ]; -------------------------------------------------------------------------------- /docs/d6/d78/namespacepu_1_1ui_1_1extras.js: -------------------------------------------------------------------------------- 1 | var namespacepu_1_1ui_1_1extras = 2 | [ 3 | [ "Toast", "dc/d49/classpu_1_1ui_1_1extras_1_1_toast.html", "dc/d49/classpu_1_1ui_1_1extras_1_1_toast" ] 4 | ]; -------------------------------------------------------------------------------- /docs/d6/d8f/classpu_1_1ui_1_1_overlay.js: -------------------------------------------------------------------------------- 1 | var classpu_1_1ui_1_1_overlay = 2 | [ 3 | [ "Overlay", "d6/d8f/classpu_1_1ui_1_1_overlay.html#a3cd45e71324be29b015463404e956a7e", null ], 4 | [ "HasRadius", "d6/d8f/classpu_1_1ui_1_1_overlay.html#a6675ad98ae18c84f0f424bf77870353e", null ], 5 | [ "NotifyEnding", "d6/d8f/classpu_1_1ui_1_1_overlay.html#a099a0e84e2e7173429ab9c93c9962be2", null ], 6 | [ "OnPostRender", "d6/d8f/classpu_1_1ui_1_1_overlay.html#a1c8129b7b18c3394f1ae89a6b18587ac", null ], 7 | [ "OnPreRender", "d6/d8f/classpu_1_1ui_1_1_overlay.html#ab2789bf02ae80a066f83a901af33f540", null ], 8 | [ "Render", "d6/d8f/classpu_1_1ui_1_1_overlay.html#a3a542634d1251b7186b7ef2cd04b1d7d", null ], 9 | [ "DefaultFadeAlphaVariation", "d6/d8f/classpu_1_1ui_1_1_overlay.html#a81a8f72c3c3755ea39b9e220d47fe5df", null ], 10 | [ "DefaultMaxFadeAlpha", "d6/d8f/classpu_1_1ui_1_1_overlay.html#aa8373cfa79858cbc35b1f74a616d637f", null ], 11 | [ "DefaultRadius", "d6/d8f/classpu_1_1ui_1_1_overlay.html#a556ea751947340b653b9eba75d17df33", null ] 12 | ]; -------------------------------------------------------------------------------- /docs/d6/d8f/classpu_1_1ui_1_1_overlay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XorTroll/Plutonium/700f0c3063b3a55d396f766d43b526613ea180b9/docs/d6/d8f/classpu_1_1ui_1_1_overlay.png -------------------------------------------------------------------------------- /docs/d6/ddd/ttf___font_8hpp.js: -------------------------------------------------------------------------------- 1 | var ttf___font_8hpp = 2 | [ 3 | [ "pu::ttf::Font", "dd/d76/classpu_1_1ttf_1_1_font.html", "dd/d76/classpu_1_1ttf_1_1_font" ] 4 | ]; -------------------------------------------------------------------------------- /docs/d7/d0c/structpu_1_1ui_1_1_color.js: -------------------------------------------------------------------------------- 1 | var structpu_1_1ui_1_1_color = 2 | [ 3 | [ "Color", "d7/d0c/structpu_1_1ui_1_1_color.html#adef2f6a421806d673966db29846da573", null ], 4 | [ "Color", "d7/d0c/structpu_1_1ui_1_1_color.html#ae82d21739871896b29969910b7f48623", null ], 5 | [ "FromHex", "d7/d0c/structpu_1_1ui_1_1_color.html#a36c556d915a95745227672074bd8f95a", null ], 6 | [ "WithAlpha", "d7/d0c/structpu_1_1ui_1_1_color.html#accf25c5f26c61b0950827eb099528899", null ], 7 | [ "a", "d7/d0c/structpu_1_1ui_1_1_color.html#a5c34ea431e3f4bdeb80c2bf6a2cf0950", null ], 8 | [ "b", "d7/d0c/structpu_1_1ui_1_1_color.html#ae55e2a30e1796df374dd677d31d83342", null ], 9 | [ "g", "d7/d0c/structpu_1_1ui_1_1_color.html#a4674bc7b15dea3d689f6310185347586", null ], 10 | [ "r", "d7/d0c/structpu_1_1ui_1_1_color.html#a85b0f2161d79f9260d7fbbe5db89a07b", null ] 11 | ]; -------------------------------------------------------------------------------- /docs/d7/d3f/elm___text_block_8hpp.js: -------------------------------------------------------------------------------- 1 | var elm___text_block_8hpp = 2 | [ 3 | [ "pu::ui::elm::TextBlock", "df/d21/classpu_1_1ui_1_1elm_1_1_text_block.html", "df/d21/classpu_1_1ui_1_1elm_1_1_text_block" ] 4 | ]; -------------------------------------------------------------------------------- /docs/d7/d55/structpu_1_1ui_1_1_touch_point.js: -------------------------------------------------------------------------------- 1 | var structpu_1_1ui_1_1_touch_point = 2 | [ 3 | [ "TouchPoint", "d7/d55/structpu_1_1ui_1_1_touch_point.html#a463faa05a99d011664b24321d91afd94", null ], 4 | [ "TouchPoint", "d7/d55/structpu_1_1ui_1_1_touch_point.html#a3101acfec15553d4e497641acf07f1b2", null ], 5 | [ "HitsRegion", "d7/d55/structpu_1_1ui_1_1_touch_point.html#a7797241cb367e5ffbbd2f5d9e7c59929", null ], 6 | [ "IsEmpty", "d7/d55/structpu_1_1ui_1_1_touch_point.html#ad1919bedf08cd88f0f0b5d085f435910", null ], 7 | [ "x", "d7/d55/structpu_1_1ui_1_1_touch_point.html#a911f7a0d75d0b3e8ea256a0ba5530956", null ], 8 | [ "y", "d7/d55/structpu_1_1ui_1_1_touch_point.html#a1b490a4531448177279248ec32286074", null ] 9 | ]; -------------------------------------------------------------------------------- /docs/d9/d0e/classpu_1_1ui_1_1elm_1_1_element.js: -------------------------------------------------------------------------------- 1 | var classpu_1_1ui_1_1elm_1_1_element = 2 | [ 3 | [ "Element", "d9/d0e/classpu_1_1ui_1_1elm_1_1_element.html#ace42a2334b07d91fe497afd19d9d0309", null ], 4 | [ "~Element", "d9/d0e/classpu_1_1ui_1_1elm_1_1_element.html#a56d6fc9e9a6924ac904cb380d8c38909", null ], 5 | [ "GetHeight", "d9/d0e/classpu_1_1ui_1_1elm_1_1_element.html#aa17f772252020a43f9170b81ead8f30d", null ], 6 | [ "GetHorizontalAlign", "d9/d0e/classpu_1_1ui_1_1elm_1_1_element.html#a5c4ca13c8d3d6ad52f819c2065021044", null ], 7 | [ "GetProcessedX", "d9/d0e/classpu_1_1ui_1_1elm_1_1_element.html#a4ffe541c96bd748fa94ae17e61eed5c6", null ], 8 | [ "GetProcessedY", "d9/d0e/classpu_1_1ui_1_1elm_1_1_element.html#a1bccdd7cf0e52c2d7db2201a30d2287c", null ], 9 | [ "GetVerticalAlign", "d9/d0e/classpu_1_1ui_1_1elm_1_1_element.html#a48cb61fcdbc2cf757e0f5abfc00c0800", null ], 10 | [ "GetWidth", "d9/d0e/classpu_1_1ui_1_1elm_1_1_element.html#acdcf10ee65406a78c001c7d8583bff6c", null ], 11 | [ "GetX", "d9/d0e/classpu_1_1ui_1_1elm_1_1_element.html#a7d9f78985cfbecb10f469b30850eb44f", null ], 12 | [ "GetY", "d9/d0e/classpu_1_1ui_1_1elm_1_1_element.html#a0544cb8bccb6e86eda4ad27dd4de9924", null ], 13 | [ "IsVisible", "d9/d0e/classpu_1_1ui_1_1elm_1_1_element.html#a767a3e3f7456881f039e393018f7a11e", null ], 14 | [ "OnInput", "d9/d0e/classpu_1_1ui_1_1elm_1_1_element.html#aeb6bc0689cdd91019565e8b0ed58b079", null ], 15 | [ "OnRender", "d9/d0e/classpu_1_1ui_1_1elm_1_1_element.html#a022d9e188640ec7ce186186a96f4a1a1", null ], 16 | [ "SetHorizontalAlign", "d9/d0e/classpu_1_1ui_1_1elm_1_1_element.html#aaca68308c70cafceb4478a7d4136fb0c", null ], 17 | [ "SetParentContainer", "d9/d0e/classpu_1_1ui_1_1elm_1_1_element.html#ade29148867c9c92641413bd2098cfb4c", null ], 18 | [ "SetVerticalAlign", "d9/d0e/classpu_1_1ui_1_1elm_1_1_element.html#a2c8c5cdc38c92dc0d21438a2c0140348", null ], 19 | [ "SetVisible", "d9/d0e/classpu_1_1ui_1_1elm_1_1_element.html#a6c5335a9797837d95e9125af890ec2b7", null ], 20 | [ "h_align", "d9/d0e/classpu_1_1ui_1_1elm_1_1_element.html#a27117765b66cf5a7bcc6d272fac1bf48", null ], 21 | [ "parent_container", "d9/d0e/classpu_1_1ui_1_1elm_1_1_element.html#a2e6c995d5a409815b11e15f1f895534a", null ], 22 | [ "v_align", "d9/d0e/classpu_1_1ui_1_1elm_1_1_element.html#ac9085dcbc1b4061b22075bc1cd32cedd", null ], 23 | [ "visible", "d9/d0e/classpu_1_1ui_1_1elm_1_1_element.html#ad46fad870d47414f843f2f35d099f1da", null ] 24 | ]; -------------------------------------------------------------------------------- /docs/d9/d0e/classpu_1_1ui_1_1elm_1_1_element.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XorTroll/Plutonium/700f0c3063b3a55d396f766d43b526613ea180b9/docs/d9/d0e/classpu_1_1ui_1_1elm_1_1_element.png -------------------------------------------------------------------------------- /docs/d9/d3b/elm___element_8hpp.js: -------------------------------------------------------------------------------- 1 | var elm___element_8hpp = 2 | [ 3 | [ "pu::ui::elm::Element", "d9/d0e/classpu_1_1ui_1_1elm_1_1_element.html", "d9/d0e/classpu_1_1ui_1_1elm_1_1_element" ], 4 | [ "pu::ui::elm::HorizontalAlign", "d2/d5e/namespacepu_1_1ui_1_1elm.html#ac2066021dbc53818c251c446b6d7f864", [ 5 | [ "pu::ui::elm::HorizontalAlign::Left", "d2/d5e/namespacepu_1_1ui_1_1elm.html#ac2066021dbc53818c251c446b6d7f864a945d5e233cf7d6240f6b783b36a374ff", null ], 6 | [ "pu::ui::elm::HorizontalAlign::Center", "d2/d5e/namespacepu_1_1ui_1_1elm.html#ac2066021dbc53818c251c446b6d7f864a4f1f6016fc9f3f2353c0cc7c67b292bd", null ], 7 | [ "pu::ui::elm::HorizontalAlign::Right", "d2/d5e/namespacepu_1_1ui_1_1elm.html#ac2066021dbc53818c251c446b6d7f864a92b09c7c48c520c3c55e497875da437c", null ] 8 | ] ], 9 | [ "pu::ui::elm::VerticalAlign", "d2/d5e/namespacepu_1_1ui_1_1elm.html#ac33e06ac84db60b2dd5b56b4a1276e92", [ 10 | [ "pu::ui::elm::VerticalAlign::Up", "d2/d5e/namespacepu_1_1ui_1_1elm.html#ac33e06ac84db60b2dd5b56b4a1276e92a258f49887ef8d14ac268c92b02503aaa", null ], 11 | [ "pu::ui::elm::VerticalAlign::Center", "d2/d5e/namespacepu_1_1ui_1_1elm.html#ac33e06ac84db60b2dd5b56b4a1276e92a4f1f6016fc9f3f2353c0cc7c67b292bd", null ], 12 | [ "pu::ui::elm::VerticalAlign::Down", "d2/d5e/namespacepu_1_1ui_1_1elm.html#ac33e06ac84db60b2dd5b56b4a1276e92a08a38277b0309070706f6652eeae9a53", null ] 13 | ] ] 14 | ]; -------------------------------------------------------------------------------- /docs/d9/d7f/namespacepu_1_1ui.js: -------------------------------------------------------------------------------- 1 | var namespacepu_1_1ui = 2 | [ 3 | [ "elm", "d2/d5e/namespacepu_1_1ui_1_1elm.html", "d2/d5e/namespacepu_1_1ui_1_1elm" ], 4 | [ "extras", "d6/d78/namespacepu_1_1ui_1_1extras.html", "d6/d78/namespacepu_1_1ui_1_1extras" ], 5 | [ "render", "da/d54/namespacepu_1_1ui_1_1render.html", "da/d54/namespacepu_1_1ui_1_1render" ], 6 | [ "Application", "da/dc0/classpu_1_1ui_1_1_application.html", "da/dc0/classpu_1_1ui_1_1_application" ], 7 | [ "Color", "d7/d0c/structpu_1_1ui_1_1_color.html", "d7/d0c/structpu_1_1ui_1_1_color" ], 8 | [ "Container", "dc/dcd/classpu_1_1ui_1_1_container.html", "dc/dcd/classpu_1_1ui_1_1_container" ], 9 | [ "Dialog", "d6/de9/classpu_1_1ui_1_1_dialog.html", "d6/de9/classpu_1_1ui_1_1_dialog" ], 10 | [ "Layout", "d6/d11/classpu_1_1ui_1_1_layout.html", "d6/d11/classpu_1_1ui_1_1_layout" ], 11 | [ "Overlay", "d6/d8f/classpu_1_1ui_1_1_overlay.html", "d6/d8f/classpu_1_1ui_1_1_overlay" ], 12 | [ "SigmoidIncrementer", "d2/d96/classpu_1_1ui_1_1_sigmoid_incrementer.html", "d2/d96/classpu_1_1ui_1_1_sigmoid_incrementer" ], 13 | [ "TouchPoint", "d7/d55/structpu_1_1ui_1_1_touch_point.html", "d7/d55/structpu_1_1ui_1_1_touch_point" ], 14 | [ "DefaultFontSize", "d9/d7f/namespacepu_1_1ui.html#ad3aa8662a33d0c410412b1cd1d2984f0", [ 15 | [ "Small", "d9/d7f/namespacepu_1_1ui.html#ad3aa8662a33d0c410412b1cd1d2984f0a2660064e68655415da2628c2ae2f7592", null ], 16 | [ "Medium", "d9/d7f/namespacepu_1_1ui.html#ad3aa8662a33d0c410412b1cd1d2984f0a87f8a6ab85c9ced3702b4ea641ad4bb5", null ], 17 | [ "MediumLarge", "d9/d7f/namespacepu_1_1ui.html#ad3aa8662a33d0c410412b1cd1d2984f0a5c44044dc65cd33c6cbd48595f688ef9", null ], 18 | [ "Large", "d9/d7f/namespacepu_1_1ui.html#ad3aa8662a33d0c410412b1cd1d2984f0a3a69b34ce86dacb205936a8094f6c743", null ], 19 | [ "Count", "d9/d7f/namespacepu_1_1ui.html#ad3aa8662a33d0c410412b1cd1d2984f0ae93f994f01c537c4e2f7d8528c3eb5e9", null ] 20 | ] ], 21 | [ "GetDefaultFont", "d9/d7f/namespacepu_1_1ui.html#a84163ed7a0814736bafbcc6a35cf53bb", null ], 22 | [ "GetDefaultFontSize", "d9/d7f/namespacepu_1_1ui.html#a68b017e053d7b2de2fd2eabaa4395d09", null ], 23 | [ "MakeDefaultFontName", "d9/d7f/namespacepu_1_1ui.html#a2dc46745a47dfcca22fbd18451a7dfd3", null ], 24 | [ "TouchHitsRegion", "d9/d7f/namespacepu_1_1ui.html#a24a793f56cfb1058002a3a5d805d454f", null ], 25 | [ "DefaultFontSizes", "d9/d7f/namespacepu_1_1ui.html#a129f8b5dc52755208a66894a05b718cb", null ], 26 | [ "TouchPseudoKey", "d9/d7f/namespacepu_1_1ui.html#a66f25a7f79116138f33ff92bfe628c0a", null ] 27 | ]; -------------------------------------------------------------------------------- /docs/d9/dc7/ui___container_8hpp.js: -------------------------------------------------------------------------------- 1 | var ui___container_8hpp = 2 | [ 3 | [ "pu::ui::Container", "dc/dcd/classpu_1_1ui_1_1_container.html", "dc/dcd/classpu_1_1ui_1_1_container" ] 4 | ]; -------------------------------------------------------------------------------- /docs/d9/de9/elm___button_8hpp.js: -------------------------------------------------------------------------------- 1 | var elm___button_8hpp = 2 | [ 3 | [ "pu::ui::elm::Button", "d4/de7/classpu_1_1ui_1_1elm_1_1_button.html", "d4/de7/classpu_1_1ui_1_1elm_1_1_button" ] 4 | ]; -------------------------------------------------------------------------------- /docs/db/d52/ui___application_8hpp.js: -------------------------------------------------------------------------------- 1 | var ui___application_8hpp = 2 | [ 3 | [ "pu::ui::Application", "da/dc0/classpu_1_1ui_1_1_application.html", "da/dc0/classpu_1_1ui_1_1_application" ] 4 | ]; -------------------------------------------------------------------------------- /docs/db/db1/render___s_d_l2_8hpp.js: -------------------------------------------------------------------------------- 1 | var render___s_d_l2_8hpp = 2 | [ 3 | [ "pu::ui::render::ConvertToTexture", "da/d54/namespacepu_1_1ui_1_1render.html#ae4fc689be6e2b1052e0a3197fe5cd1a6", null ], 4 | [ "pu::ui::render::DeleteTexture", "da/d54/namespacepu_1_1ui_1_1render.html#a687992204d83230da27780900cc882a1", null ], 5 | [ "pu::ui::render::GetTextureHeight", "da/d54/namespacepu_1_1ui_1_1render.html#a5ddabd3bd6cfe05172eef8c0dee9234c", null ], 6 | [ "pu::ui::render::GetTextureWidth", "da/d54/namespacepu_1_1ui_1_1render.html#a8187f56badf43ccf9eed52915345fa01", null ], 7 | [ "pu::ui::render::LoadImage", "da/d54/namespacepu_1_1ui_1_1render.html#ac6a58de115048eb3260a085d5fcfc3f0", null ], 8 | [ "pu::ui::render::SetAlphaValue", "da/d54/namespacepu_1_1ui_1_1render.html#ab22ff2d91f71f95a4e889cc942d69b43", null ] 9 | ]; -------------------------------------------------------------------------------- /docs/dc/d32/structpu_1_1ui_1_1render_1_1_texture_render_options.js: -------------------------------------------------------------------------------- 1 | var structpu_1_1ui_1_1render_1_1_texture_render_options = 2 | [ 3 | [ "TextureRenderOptions", "dc/d32/structpu_1_1ui_1_1render_1_1_texture_render_options.html#afb753bb15d19057409f1d916961e6183", null ], 4 | [ "TextureRenderOptions", "dc/d32/structpu_1_1ui_1_1render_1_1_texture_render_options.html#ac6ce5cbad29ec80cb7749e8ad2baba02", null ], 5 | [ "alpha_mod", "dc/d32/structpu_1_1ui_1_1render_1_1_texture_render_options.html#a4b579ab4b2bb90df8ad49d633a03e22a", null ], 6 | [ "height", "dc/d32/structpu_1_1ui_1_1render_1_1_texture_render_options.html#aaf5207a4ee7b5198863579ac8da5ba66", null ], 7 | [ "NoAlpha", "dc/d32/structpu_1_1ui_1_1render_1_1_texture_render_options.html#a66db5065001cf2ba752c7bb18c17300b", null ], 8 | [ "NoHeight", "dc/d32/structpu_1_1ui_1_1render_1_1_texture_render_options.html#aefa877cc8f0002335d30eb93d1faa4e3", null ], 9 | [ "NoRotation", "dc/d32/structpu_1_1ui_1_1render_1_1_texture_render_options.html#ac4399ad9cab23155bd9d5b6e9c30b015", null ], 10 | [ "NoSourceX", "dc/d32/structpu_1_1ui_1_1render_1_1_texture_render_options.html#a84634c42885aef1f0fd1b1baa0c41b07", null ], 11 | [ "NoSourceY", "dc/d32/structpu_1_1ui_1_1render_1_1_texture_render_options.html#ab6d1ea815394bfba5e2513dabe07a845", null ], 12 | [ "NoWidth", "dc/d32/structpu_1_1ui_1_1render_1_1_texture_render_options.html#a308031ec24474b88bd71242522c42a5b", null ], 13 | [ "rot_angle", "dc/d32/structpu_1_1ui_1_1render_1_1_texture_render_options.html#a01880124bb058e56d5830254fe8eed01", null ], 14 | [ "src_x", "dc/d32/structpu_1_1ui_1_1render_1_1_texture_render_options.html#a6b6ae474ac202595552053f733d9f809", null ], 15 | [ "src_y", "dc/d32/structpu_1_1ui_1_1render_1_1_texture_render_options.html#ad786862bcb59754ea6708f8ab1392f47", null ], 16 | [ "width", "dc/d32/structpu_1_1ui_1_1render_1_1_texture_render_options.html#a8b2642bbebad684c07f9e692d053952b", null ] 17 | ]; -------------------------------------------------------------------------------- /docs/dc/d49/classpu_1_1ui_1_1extras_1_1_toast.js: -------------------------------------------------------------------------------- 1 | var classpu_1_1ui_1_1extras_1_1_toast = 2 | [ 3 | [ "Toast", "dc/d49/classpu_1_1ui_1_1extras_1_1_toast.html#ad7b4c3b3f634b8ea00a7e3588151c37c", null ], 4 | [ "OnPostRender", "dc/d49/classpu_1_1ui_1_1extras_1_1_toast.html#ad7dcaf60b7d87c347cd4519b26841c71", null ], 5 | [ "OnPreRender", "dc/d49/classpu_1_1ui_1_1extras_1_1_toast.html#afa43c401515e588174a9b9a3775791fa", null ], 6 | [ "SetText", "dc/d49/classpu_1_1ui_1_1extras_1_1_toast.html#a4c3a98bda1991664cb73542e8047c67a", null ], 7 | [ "DefaulBaseAlpha", "dc/d49/classpu_1_1ui_1_1extras_1_1_toast.html#ab93c15cb6d9119cad10b23692414a3d2", null ], 8 | [ "DefaulHeightAndTextHeightFactor", "dc/d49/classpu_1_1ui_1_1extras_1_1_toast.html#a4a02f09cf41d4dad3692bf66406f7742", null ], 9 | [ "DefaulHorizontalMargin", "dc/d49/classpu_1_1ui_1_1extras_1_1_toast.html#a624c5433d8457126cd998cde2cd44c92", null ], 10 | [ "DefaultY", "dc/d49/classpu_1_1ui_1_1extras_1_1_toast.html#a23747403d5048ab9d1eb985f45942ee2", null ] 11 | ]; -------------------------------------------------------------------------------- /docs/dc/d49/classpu_1_1ui_1_1extras_1_1_toast.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XorTroll/Plutonium/700f0c3063b3a55d396f766d43b526613ea180b9/docs/dc/d49/classpu_1_1ui_1_1extras_1_1_toast.png -------------------------------------------------------------------------------- /docs/dc/d6c/classpu_1_1ui_1_1elm_1_1_menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XorTroll/Plutonium/700f0c3063b3a55d396f766d43b526613ea180b9/docs/dc/d6c/classpu_1_1ui_1_1elm_1_1_menu.png -------------------------------------------------------------------------------- /docs/dc/dcd/classpu_1_1ui_1_1_container.js: -------------------------------------------------------------------------------- 1 | var classpu_1_1ui_1_1_container = 2 | [ 3 | [ "Container", "dc/dcd/classpu_1_1ui_1_1_container.html#a2ff66728ca4ad1640d6f3993b727a35e", null ], 4 | [ "Add", "dc/dcd/classpu_1_1ui_1_1_container.html#ad05f397ce7e1a6029eff10884406c019", null ], 5 | [ "Clear", "dc/dcd/classpu_1_1ui_1_1_container.html#a2a123855380966b76b7904ffe94b7fc5", null ], 6 | [ "GetElements", "dc/dcd/classpu_1_1ui_1_1_container.html#a2cf755d2f357748363e0ab1944409bfc", null ], 7 | [ "Has", "dc/dcd/classpu_1_1ui_1_1_container.html#a207e830a8cb788fa3737a6f0f536fb8c", null ], 8 | [ "PreRender", "dc/dcd/classpu_1_1ui_1_1_container.html#a9a72b95abf9aaf98500384a7a3258b4e", null ], 9 | [ "elems", "dc/dcd/classpu_1_1ui_1_1_container.html#a0e8fcdecac68cddf4c9baa90599569c6", null ], 10 | [ "h", "dc/dcd/classpu_1_1ui_1_1_container.html#a908e50723784ef3d1e0fea0c8ce65cad", null ], 11 | [ "w", "dc/dcd/classpu_1_1ui_1_1_container.html#a1cfc135e2bb905b57a4be3b9294e812f", null ], 12 | [ "x", "dc/dcd/classpu_1_1ui_1_1_container.html#a0611d8d500db31fe2c83a29ab2089f5e", null ], 13 | [ "y", "dc/dcd/classpu_1_1ui_1_1_container.html#a3470636cdd7eb6dfea4b40b22e0e12c7", null ] 14 | ]; -------------------------------------------------------------------------------- /docs/dc/dcd/classpu_1_1ui_1_1_container.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XorTroll/Plutonium/700f0c3063b3a55d396f766d43b526613ea180b9/docs/dc/dcd/classpu_1_1ui_1_1_container.png -------------------------------------------------------------------------------- /docs/dc/dd2/audio___audio_8hpp.js: -------------------------------------------------------------------------------- 1 | var audio___audio_8hpp = 2 | [ 3 | [ "pu::audio::Finalize", "d8/d8f/namespacepu_1_1audio.html#a5de6847d072fed02a39a2c54500353ea", null ], 4 | [ "pu::audio::Initialize", "d8/d8f/namespacepu_1_1audio.html#afb158e3bba22e580c6838574b4c7c71e", null ], 5 | [ "pu::audio::MixerAllFlags", "d8/d8f/namespacepu_1_1audio.html#af1ce28c1023a2fc63e459591e35397ae", null ] 6 | ]; -------------------------------------------------------------------------------- /docs/dd/d39/ui___dialog_8hpp.js: -------------------------------------------------------------------------------- 1 | var ui___dialog_8hpp = 2 | [ 3 | [ "pu::ui::Dialog", "d6/de9/classpu_1_1ui_1_1_dialog.html", "d6/de9/classpu_1_1ui_1_1_dialog" ] 4 | ]; -------------------------------------------------------------------------------- /docs/dd/d76/classpu_1_1ttf_1_1_font.js: -------------------------------------------------------------------------------- 1 | var classpu_1_1ttf_1_1_font = 2 | [ 3 | [ "Font", "dd/d76/classpu_1_1ttf_1_1_font.html#a63675bb8b909a87e66062ea30c4f4800", null ], 4 | [ "~Font", "dd/d76/classpu_1_1ttf_1_1_font.html#a5013c818d4c511e5a90e261e9c5e3323", null ], 5 | [ "EmptyFontFaceDisposingFunction", "dd/d76/classpu_1_1ttf_1_1_font.html#a11cb4d9c0e5a4a89327a2c08d211c27b", null ], 6 | [ "FindValidFontFor", "dd/d76/classpu_1_1ttf_1_1_font.html#a7eb374e69e8adf953145f9152c103f01", null ], 7 | [ "GetFontSize", "dd/d76/classpu_1_1ttf_1_1_font.html#a75155cdaaa058dc76401839b6643ebfb", null ], 8 | [ "GetTextDimensions", "dd/d76/classpu_1_1ttf_1_1_font.html#abbc63fb6298a64bbc1b1a77aed9d9bcb", null ], 9 | [ "IsValidFontFaceIndex", "dd/d76/classpu_1_1ttf_1_1_font.html#a4ef6ac7fb8235ce9300ba1ed1ef3772e", null ], 10 | [ "LoadFromFile", "dd/d76/classpu_1_1ttf_1_1_font.html#abc42d4e4b572dcbf58a08aaa47072447", null ], 11 | [ "LoadFromMemory", "dd/d76/classpu_1_1ttf_1_1_font.html#a6a2263ba4a27b17ef74487abae08dea6", null ], 12 | [ "RenderText", "dd/d76/classpu_1_1ttf_1_1_font.html#a354db03885d56e9410462b07c86c3dcd", null ], 13 | [ "Unload", "dd/d76/classpu_1_1ttf_1_1_font.html#a98a7831f03ab482ff7914a68efb39fb6", null ], 14 | [ "DefaultFontSize", "dd/d76/classpu_1_1ttf_1_1_font.html#abb4ac46c73eaefd27282a6b3460d2a28", null ], 15 | [ "InvalidFontFaceIndex", "dd/d76/classpu_1_1ttf_1_1_font.html#a99ce50e78019ea5a048d5f2f040e0f43", null ] 16 | ]; -------------------------------------------------------------------------------- /docs/de/dbb/classpu_1_1ui_1_1elm_1_1_menu_item.js: -------------------------------------------------------------------------------- 1 | var classpu_1_1ui_1_1elm_1_1_menu_item = 2 | [ 3 | [ "OnKeyCallback", "de/dbb/classpu_1_1ui_1_1elm_1_1_menu_item.html#a8e77055d6b85df04010739767c61c48d", null ], 4 | [ "MenuItem", "de/dbb/classpu_1_1ui_1_1elm_1_1_menu_item.html#a83c50c4ca5f49289da2026fe0f662d7c", null ], 5 | [ "AddOnKey", "de/dbb/classpu_1_1ui_1_1elm_1_1_menu_item.html#a5b7f483bde86cd3237f7e3bdb21ba437", null ], 6 | [ "GetIconTexture", "de/dbb/classpu_1_1ui_1_1elm_1_1_menu_item.html#a52978183a7500be006210baf7fed64eb", null ], 7 | [ "GetName", "de/dbb/classpu_1_1ui_1_1elm_1_1_menu_item.html#ab6e9f3a65809763aa70b11ba66abc251", null ], 8 | [ "GetOnKeyCallback", "de/dbb/classpu_1_1ui_1_1elm_1_1_menu_item.html#a03f6178e976d10a565f3d8e2317399d6", null ], 9 | [ "GetOnKeyCallbackCount", "de/dbb/classpu_1_1ui_1_1elm_1_1_menu_item.html#a5270ea2bc69202c6e9941c94f87f0415", null ], 10 | [ "GetOnKeyCallbackKey", "de/dbb/classpu_1_1ui_1_1elm_1_1_menu_item.html#a6461d54cebde45de6cb57e986cf3c406", null ], 11 | [ "HasIcon", "de/dbb/classpu_1_1ui_1_1elm_1_1_menu_item.html#a32324239744b25ddf9256887069b554c", null ], 12 | [ "SetIcon", "de/dbb/classpu_1_1ui_1_1elm_1_1_menu_item.html#a7b667bf45e3348b62b545d7fade71fea", null ], 13 | [ "SetName", "de/dbb/classpu_1_1ui_1_1elm_1_1_menu_item.html#a3182a41b6b6d604d8692cc4d0338f1b7", null ], 14 | [ "DefaultColor", "de/dbb/classpu_1_1ui_1_1elm_1_1_menu_item.html#a62b160e43a24fa6466a0f3081a2d12b1", null ] 15 | ]; -------------------------------------------------------------------------------- /docs/de/de5/audio___music_8hpp.js: -------------------------------------------------------------------------------- 1 | var audio___music_8hpp = 2 | [ 3 | [ "pu::audio::Music", "d8/d8f/namespacepu_1_1audio.html#ad2bc0719898a3c96c00d86780f9d8c11", null ], 4 | [ "pu::audio::DestroyMusic", "d8/d8f/namespacepu_1_1audio.html#a1f7671249f422dca75905b3becfe0a24", null ], 5 | [ "pu::audio::FadeOutMusic", "d8/d8f/namespacepu_1_1audio.html#a098cffcb0be617c46c12dcde55aeb98a", null ], 6 | [ "pu::audio::GetMusicVolume", "d8/d8f/namespacepu_1_1audio.html#a00fd980306751af01d7946a7d6da2044", null ], 7 | [ "pu::audio::IsPlayingMusic", "d8/d8f/namespacepu_1_1audio.html#a07bae3d9442a509f1729c72ba4b4c92c", null ], 8 | [ "pu::audio::OpenMusic", "d8/d8f/namespacepu_1_1audio.html#a2fe76d5af6270ea315c156b161514187", null ], 9 | [ "pu::audio::PauseMusic", "d8/d8f/namespacepu_1_1audio.html#a1a16cf110068c643338a686d06fc0311", null ], 10 | [ "pu::audio::PlayMusic", "d8/d8f/namespacepu_1_1audio.html#ad15df98e8b6086d6206be0e6621c30ef", null ], 11 | [ "pu::audio::PlayMusicWithFadeIn", "d8/d8f/namespacepu_1_1audio.html#a1833245e640421b1cacc338d5ab5ff2b", null ], 12 | [ "pu::audio::ResumeMusic", "d8/d8f/namespacepu_1_1audio.html#a293674d2948d7a79e2cde7796c661848", null ], 13 | [ "pu::audio::RewindMusic", "d8/d8f/namespacepu_1_1audio.html#a2f34c8478347186d0209fef078d41582", null ], 14 | [ "pu::audio::SetMusicPosition", "d8/d8f/namespacepu_1_1audio.html#a6e481d116277d3b2772432b0b320c103", null ], 15 | [ "pu::audio::SetMusicVolume", "d8/d8f/namespacepu_1_1audio.html#a43442b845da131f6403113828d44b9d7", null ], 16 | [ "pu::audio::StopMusic", "d8/d8f/namespacepu_1_1audio.html#adefbe54b078d8a9f1db1d50e9dfcaa7c", null ] 17 | ]; -------------------------------------------------------------------------------- /docs/df/d13/ui___types_8hpp.js: -------------------------------------------------------------------------------- 1 | var ui___types_8hpp = 2 | [ 3 | [ "pu::ui::Color", "d7/d0c/structpu_1_1ui_1_1_color.html", "d7/d0c/structpu_1_1ui_1_1_color" ], 4 | [ "pu::ui::TouchPoint", "d7/d55/structpu_1_1ui_1_1_touch_point.html", "d7/d55/structpu_1_1ui_1_1_touch_point" ], 5 | [ "pu::ui::SigmoidIncrementer< T >", "d2/d96/classpu_1_1ui_1_1_sigmoid_incrementer.html", "d2/d96/classpu_1_1ui_1_1_sigmoid_incrementer" ], 6 | [ "pu::ui::DefaultFontSize", "d9/d7f/namespacepu_1_1ui.html#ad3aa8662a33d0c410412b1cd1d2984f0", [ 7 | [ "pu::ui::DefaultFontSize::Small", "d9/d7f/namespacepu_1_1ui.html#ad3aa8662a33d0c410412b1cd1d2984f0a2660064e68655415da2628c2ae2f7592", null ], 8 | [ "pu::ui::DefaultFontSize::Medium", "d9/d7f/namespacepu_1_1ui.html#ad3aa8662a33d0c410412b1cd1d2984f0a87f8a6ab85c9ced3702b4ea641ad4bb5", null ], 9 | [ "pu::ui::DefaultFontSize::MediumLarge", "d9/d7f/namespacepu_1_1ui.html#ad3aa8662a33d0c410412b1cd1d2984f0a5c44044dc65cd33c6cbd48595f688ef9", null ], 10 | [ "pu::ui::DefaultFontSize::Large", "d9/d7f/namespacepu_1_1ui.html#ad3aa8662a33d0c410412b1cd1d2984f0a3a69b34ce86dacb205936a8094f6c743", null ], 11 | [ "pu::ui::DefaultFontSize::Count", "d9/d7f/namespacepu_1_1ui.html#ad3aa8662a33d0c410412b1cd1d2984f0ae93f994f01c537c4e2f7d8528c3eb5e9", null ] 12 | ] ], 13 | [ "pu::ui::GetDefaultFont", "d9/d7f/namespacepu_1_1ui.html#a84163ed7a0814736bafbcc6a35cf53bb", null ], 14 | [ "pu::ui::GetDefaultFontSize", "d9/d7f/namespacepu_1_1ui.html#a68b017e053d7b2de2fd2eabaa4395d09", null ], 15 | [ "pu::ui::MakeDefaultFontName", "d9/d7f/namespacepu_1_1ui.html#a2dc46745a47dfcca22fbd18451a7dfd3", null ], 16 | [ "pu::ui::TouchHitsRegion", "d9/d7f/namespacepu_1_1ui.html#a24a793f56cfb1058002a3a5d805d454f", null ], 17 | [ "pu::ui::DefaultFontSizes", "d9/d7f/namespacepu_1_1ui.html#a129f8b5dc52755208a66894a05b718cb", null ], 18 | [ "pu::ui::TouchPseudoKey", "d9/d7f/namespacepu_1_1ui.html#a66f25a7f79116138f33ff92bfe628c0a", null ] 19 | ]; -------------------------------------------------------------------------------- /docs/df/d21/classpu_1_1ui_1_1elm_1_1_text_block.js: -------------------------------------------------------------------------------- 1 | var classpu_1_1ui_1_1elm_1_1_text_block = 2 | [ 3 | [ "TextBlock", "df/d21/classpu_1_1ui_1_1elm_1_1_text_block.html#a53765fda58529ef8f6c0012729a98f66", null ], 4 | [ "~TextBlock", "df/d21/classpu_1_1ui_1_1elm_1_1_text_block.html#a50a27767538bd5f5d11dfe8917df2462", null ], 5 | [ "GetHeight", "df/d21/classpu_1_1ui_1_1elm_1_1_text_block.html#a70d4c6bb076406752fe4ac82dcf8de3f", null ], 6 | [ "GetText", "df/d21/classpu_1_1ui_1_1elm_1_1_text_block.html#a611edbe4430f49292f55c83c409bf52a", null ], 7 | [ "GetWidth", "df/d21/classpu_1_1ui_1_1elm_1_1_text_block.html#aaf3acb29e652f73e96d2bbc39bb56b02", null ], 8 | [ "GetX", "df/d21/classpu_1_1ui_1_1elm_1_1_text_block.html#ad3443e65c22d339d774ccbb65bd51c40", null ], 9 | [ "GetY", "df/d21/classpu_1_1ui_1_1elm_1_1_text_block.html#a81fc9e373ad39f42ab9d8b2bd9552352", null ], 10 | [ "OnInput", "df/d21/classpu_1_1ui_1_1elm_1_1_text_block.html#a2b8c187956510b6794cb741441561d41", null ], 11 | [ "OnRender", "df/d21/classpu_1_1ui_1_1elm_1_1_text_block.html#a5639bd0b9800c87b124e6cffc22a3932", null ], 12 | [ "ResetClamp", "df/d21/classpu_1_1ui_1_1elm_1_1_text_block.html#a7da610c1b5a3ea923ce16ab46056169b", null ], 13 | [ "SetColor", "df/d21/classpu_1_1ui_1_1elm_1_1_text_block.html#a770dba61aee470eb151d0dc8c4566073", null ], 14 | [ "SetFont", "df/d21/classpu_1_1ui_1_1elm_1_1_text_block.html#a9f04c7d87296736c67a5a5964c03ee32", null ], 15 | [ "SetText", "df/d21/classpu_1_1ui_1_1elm_1_1_text_block.html#a71e8dea5cbd362d3847940fb3e5391c8", null ], 16 | [ "SetX", "df/d21/classpu_1_1ui_1_1elm_1_1_text_block.html#a2bac7d345f87901579ffaeab325074d7", null ], 17 | [ "SetY", "df/d21/classpu_1_1ui_1_1elm_1_1_text_block.html#ab51da76bb08921802e7cc31b1fd8034f", null ], 18 | [ "DefaultClampSpeedSteps", "df/d21/classpu_1_1ui_1_1elm_1_1_text_block.html#ad5ce7b68a4cd0f18d734e7f37af1f42f", null ], 19 | [ "DefaultClampStaticDelaySteps", "df/d21/classpu_1_1ui_1_1elm_1_1_text_block.html#a155f3da2e5ce2331568ea7e1040bb7f1", null ], 20 | [ "DefaultColor", "df/d21/classpu_1_1ui_1_1elm_1_1_text_block.html#a22026d87a80576dd41eb1074097cb0f1", null ], 21 | [ "NoClamp", "df/d21/classpu_1_1ui_1_1elm_1_1_text_block.html#a571d312767e5b06a79e47224e120a66a", null ] 22 | ]; -------------------------------------------------------------------------------- /docs/df/d21/classpu_1_1ui_1_1elm_1_1_text_block.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XorTroll/Plutonium/700f0c3063b3a55d396f766d43b526613ea180b9/docs/df/d21/classpu_1_1ui_1_1elm_1_1_text_block.png -------------------------------------------------------------------------------- /docs/dir_17be5089da37cb69d78f8c5e394ec1ef.js: -------------------------------------------------------------------------------- 1 | var dir_17be5089da37cb69d78f8c5e394ec1ef = 2 | [ 3 | [ "extras_Toast.hpp", "d4/d16/extras___toast_8hpp.html", "d4/d16/extras___toast_8hpp" ] 4 | ]; -------------------------------------------------------------------------------- /docs/dir_33cd9e5da6de888daf2daa2cc3681da9.js: -------------------------------------------------------------------------------- 1 | var dir_33cd9e5da6de888daf2daa2cc3681da9 = 2 | [ 3 | [ "ttf_Font.hpp", "d6/ddd/ttf___font_8hpp.html", "d6/ddd/ttf___font_8hpp" ] 4 | ]; -------------------------------------------------------------------------------- /docs/dir_3e32bc87794f4c3a1bffbf65b6e30fa0.js: -------------------------------------------------------------------------------- 1 | var dir_3e32bc87794f4c3a1bffbf65b6e30fa0 = 2 | [ 3 | [ "audio", "dir_5f40385c74880ea2ff624017833b6602.html", "dir_5f40385c74880ea2ff624017833b6602" ], 4 | [ "sdl2", "dir_c56977794eda337641b99df1140d49e6.html", "dir_c56977794eda337641b99df1140d49e6" ], 5 | [ "ttf", "dir_33cd9e5da6de888daf2daa2cc3681da9.html", "dir_33cd9e5da6de888daf2daa2cc3681da9" ], 6 | [ "ui", "dir_e7fde04134964d158a479396baa8a22f.html", "dir_e7fde04134964d158a479396baa8a22f" ], 7 | [ "pu_Include.hpp", "d1/d52/pu___include_8hpp.html", "d1/d52/pu___include_8hpp" ] 8 | ]; -------------------------------------------------------------------------------- /docs/dir_5f40385c74880ea2ff624017833b6602.js: -------------------------------------------------------------------------------- 1 | var dir_5f40385c74880ea2ff624017833b6602 = 2 | [ 3 | [ "audio_Audio.hpp", "dc/dd2/audio___audio_8hpp.html", "dc/dd2/audio___audio_8hpp" ], 4 | [ "audio_Music.hpp", "de/de5/audio___music_8hpp.html", "de/de5/audio___music_8hpp" ], 5 | [ "audio_Sfx.hpp", "d0/d98/audio___sfx_8hpp.html", "d0/d98/audio___sfx_8hpp" ] 6 | ]; -------------------------------------------------------------------------------- /docs/dir_89a404d1d17e2b511b2195eff3f10426.js: -------------------------------------------------------------------------------- 1 | var dir_89a404d1d17e2b511b2195eff3f10426 = 2 | [ 3 | [ "pu", "dir_3e32bc87794f4c3a1bffbf65b6e30fa0.html", "dir_3e32bc87794f4c3a1bffbf65b6e30fa0" ] 4 | ]; -------------------------------------------------------------------------------- /docs/dir_8fb01eea200176b300268894688b4495.js: -------------------------------------------------------------------------------- 1 | var dir_8fb01eea200176b300268894688b4495 = 2 | [ 3 | [ "render_Renderer.hpp", "d4/dbe/render___renderer_8hpp.html", "d4/dbe/render___renderer_8hpp" ], 4 | [ "render_SDL2.hpp", "db/db1/render___s_d_l2_8hpp.html", "db/db1/render___s_d_l2_8hpp" ] 5 | ]; -------------------------------------------------------------------------------- /docs/dir_9cdebf0ee729e1c59321e289709dba63.js: -------------------------------------------------------------------------------- 1 | var dir_9cdebf0ee729e1c59321e289709dba63 = 2 | [ 3 | [ "include", "dir_89a404d1d17e2b511b2195eff3f10426.html", "dir_89a404d1d17e2b511b2195eff3f10426" ] 4 | ]; -------------------------------------------------------------------------------- /docs/dir_c56977794eda337641b99df1140d49e6.js: -------------------------------------------------------------------------------- 1 | var dir_c56977794eda337641b99df1140d49e6 = 2 | [ 3 | [ "sdl2_CustomTtf.h", "de/dfe/sdl2___custom_ttf_8h.html", "de/dfe/sdl2___custom_ttf_8h" ], 4 | [ "sdl2_Types.hpp", "d0/d29/sdl2___types_8hpp.html", "d0/d29/sdl2___types_8hpp" ] 5 | ]; -------------------------------------------------------------------------------- /docs/dir_db07433c06ed2bf7b5f4eabd443f7fba.js: -------------------------------------------------------------------------------- 1 | var dir_db07433c06ed2bf7b5f4eabd443f7fba = 2 | [ 3 | [ "elm_Button.hpp", "d9/de9/elm___button_8hpp.html", "d9/de9/elm___button_8hpp" ], 4 | [ "elm_Element.hpp", "d9/d3b/elm___element_8hpp.html", "d9/d3b/elm___element_8hpp" ], 5 | [ "elm_Image.hpp", "d6/d74/elm___image_8hpp.html", "d6/d74/elm___image_8hpp" ], 6 | [ "elm_Menu.hpp", "d1/dd0/elm___menu_8hpp.html", "d1/dd0/elm___menu_8hpp" ], 7 | [ "elm_ProgressBar.hpp", "d3/dd7/elm___progress_bar_8hpp.html", "d3/dd7/elm___progress_bar_8hpp" ], 8 | [ "elm_Rectangle.hpp", "d4/dd2/elm___rectangle_8hpp.html", "d4/dd2/elm___rectangle_8hpp" ], 9 | [ "elm_TextBlock.hpp", "d7/d3f/elm___text_block_8hpp.html", "d7/d3f/elm___text_block_8hpp" ], 10 | [ "elm_Toggle.hpp", "d0/db0/elm___toggle_8hpp.html", "d0/db0/elm___toggle_8hpp" ] 11 | ]; -------------------------------------------------------------------------------- /docs/dir_e7fde04134964d158a479396baa8a22f.js: -------------------------------------------------------------------------------- 1 | var dir_e7fde04134964d158a479396baa8a22f = 2 | [ 3 | [ "elm", "dir_db07433c06ed2bf7b5f4eabd443f7fba.html", "dir_db07433c06ed2bf7b5f4eabd443f7fba" ], 4 | [ "extras", "dir_17be5089da37cb69d78f8c5e394ec1ef.html", "dir_17be5089da37cb69d78f8c5e394ec1ef" ], 5 | [ "render", "dir_8fb01eea200176b300268894688b4495.html", "dir_8fb01eea200176b300268894688b4495" ], 6 | [ "ui_Application.hpp", "db/d52/ui___application_8hpp.html", "db/d52/ui___application_8hpp" ], 7 | [ "ui_Container.hpp", "d9/dc7/ui___container_8hpp.html", "d9/dc7/ui___container_8hpp" ], 8 | [ "ui_Dialog.hpp", "dd/d39/ui___dialog_8hpp.html", "dd/d39/ui___dialog_8hpp" ], 9 | [ "ui_Layout.hpp", "d5/d04/ui___layout_8hpp.html", "d5/d04/ui___layout_8hpp" ], 10 | [ "ui_Overlay.hpp", "d6/d08/ui___overlay_8hpp.html", "d6/d08/ui___overlay_8hpp" ], 11 | [ "ui_Types.hpp", "df/d13/ui___types_8hpp.html", "df/d13/ui___types_8hpp" ] 12 | ]; -------------------------------------------------------------------------------- /docs/doc.svg: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/docd.svg: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/files_dup.js: -------------------------------------------------------------------------------- 1 | var files_dup = 2 | [ 3 | [ "Plutonium", "dir_9cdebf0ee729e1c59321e289709dba63.html", "dir_9cdebf0ee729e1c59321e289709dba63" ] 4 | ]; -------------------------------------------------------------------------------- /docs/folderclosed.svg: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/folderclosedd.svg: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/functions_dup.js: -------------------------------------------------------------------------------- 1 | var functions_dup = 2 | [ 3 | [ "a", "functions.html", null ], 4 | [ "b", "functions_b.html", null ], 5 | [ "c", "functions_c.html", null ], 6 | [ "d", "functions_d.html", null ], 7 | [ "e", "functions_e.html", null ], 8 | [ "f", "functions_f.html", null ], 9 | [ "g", "functions_g.html", null ], 10 | [ "h", "functions_h.html", null ], 11 | [ "i", "functions_i.html", null ], 12 | [ "l", "functions_l.html", null ], 13 | [ "m", "functions_m.html", null ], 14 | [ "n", "functions_n.html", null ], 15 | [ "o", "functions_o.html", null ], 16 | [ "p", "functions_p.html", null ], 17 | [ "r", "functions_r.html", null ], 18 | [ "s", "functions_s.html", null ], 19 | [ "t", "functions_t.html", null ], 20 | [ "u", "functions_u.html", null ], 21 | [ "v", "functions_v.html", null ], 22 | [ "w", "functions_w.html", null ], 23 | [ "x", "functions_x.html", null ], 24 | [ "y", "functions_y.html", null ], 25 | [ "~", "functions_~.html", null ] 26 | ]; -------------------------------------------------------------------------------- /docs/functions_func.js: -------------------------------------------------------------------------------- 1 | var functions_func = 2 | [ 3 | [ "a", "functions_func.html", null ], 4 | [ "b", "functions_func_b.html", null ], 5 | [ "c", "functions_func_c.html", null ], 6 | [ "d", "functions_func_d.html", null ], 7 | [ "e", "functions_func_e.html", null ], 8 | [ "f", "functions_func_f.html", null ], 9 | [ "g", "functions_func_g.html", null ], 10 | [ "h", "functions_func_h.html", null ], 11 | [ "i", "functions_func_i.html", null ], 12 | [ "l", "functions_func_l.html", null ], 13 | [ "m", "functions_func_m.html", null ], 14 | [ "n", "functions_func_n.html", null ], 15 | [ "o", "functions_func_o.html", null ], 16 | [ "p", "functions_func_p.html", null ], 17 | [ "r", "functions_func_r.html", null ], 18 | [ "s", "functions_func_s.html", null ], 19 | [ "t", "functions_func_t.html", null ], 20 | [ "u", "functions_func_u.html", null ], 21 | [ "w", "functions_func_w.html", null ], 22 | [ "~", "functions_func_~.html", null ] 23 | ]; -------------------------------------------------------------------------------- /docs/hierarchy.js: -------------------------------------------------------------------------------- 1 | var hierarchy = 2 | [ 3 | [ "pu::ui::Application", "da/dc0/classpu_1_1ui_1_1_application.html", null ], 4 | [ "pu::ui::Color", "d7/d0c/structpu_1_1ui_1_1_color.html", null ], 5 | [ "pu::ui::Container", "dc/dcd/classpu_1_1ui_1_1_container.html", [ 6 | [ "pu::ui::Layout", "d6/d11/classpu_1_1ui_1_1_layout.html", null ], 7 | [ "pu::ui::Overlay", "d6/d8f/classpu_1_1ui_1_1_overlay.html", [ 8 | [ "pu::ui::extras::Toast", "dc/d49/classpu_1_1ui_1_1extras_1_1_toast.html", null ] 9 | ] ] 10 | ] ], 11 | [ "pu::ui::Dialog", "d6/de9/classpu_1_1ui_1_1_dialog.html", null ], 12 | [ "pu::ui::elm::Element", "d9/d0e/classpu_1_1ui_1_1elm_1_1_element.html", [ 13 | [ "pu::ui::elm::Button", "d4/de7/classpu_1_1ui_1_1elm_1_1_button.html", null ], 14 | [ "pu::ui::elm::Image", "d6/d63/classpu_1_1ui_1_1elm_1_1_image.html", null ], 15 | [ "pu::ui::elm::Menu", "dc/d6c/classpu_1_1ui_1_1elm_1_1_menu.html", null ], 16 | [ "pu::ui::elm::ProgressBar", "d2/dcc/classpu_1_1ui_1_1elm_1_1_progress_bar.html", null ], 17 | [ "pu::ui::elm::Rectangle", "d5/dea/classpu_1_1ui_1_1elm_1_1_rectangle.html", null ], 18 | [ "pu::ui::elm::TextBlock", "df/d21/classpu_1_1ui_1_1elm_1_1_text_block.html", null ], 19 | [ "pu::ui::elm::Toggle", "d5/d51/classpu_1_1ui_1_1elm_1_1_toggle.html", null ] 20 | ] ], 21 | [ "pu::ttf::Font", "dd/d76/classpu_1_1ttf_1_1_font.html", null ], 22 | [ "pu::ui::elm::MenuItem", "de/dbb/classpu_1_1ui_1_1elm_1_1_menu_item.html", null ], 23 | [ "pu::ui::render::Renderer", "d0/d27/classpu_1_1ui_1_1render_1_1_renderer.html", null ], 24 | [ "pu::ui::render::RendererInitOptions", "df/d6f/structpu_1_1ui_1_1render_1_1_renderer_init_options.html", null ], 25 | [ "pu::ui::SigmoidIncrementer< T >", "d2/d96/classpu_1_1ui_1_1_sigmoid_incrementer.html", null ], 26 | [ "pu::sdl2::TextureHandle", "d4/da3/classpu_1_1sdl2_1_1_texture_handle.html", null ], 27 | [ "pu::ui::render::TextureRenderOptions", "dc/d32/structpu_1_1ui_1_1render_1_1_texture_render_options.html", null ], 28 | [ "pu::ui::TouchPoint", "d7/d55/structpu_1_1ui_1_1_touch_point.html", null ] 29 | ]; -------------------------------------------------------------------------------- /docs/minus.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /docs/minusd.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /docs/namespaces_dup.js: -------------------------------------------------------------------------------- 1 | var namespaces_dup = 2 | [ 3 | [ "pu", "da/df2/namespacepu.html", "da/df2/namespacepu" ] 4 | ]; -------------------------------------------------------------------------------- /docs/nav_f.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XorTroll/Plutonium/700f0c3063b3a55d396f766d43b526613ea180b9/docs/nav_f.png -------------------------------------------------------------------------------- /docs/nav_fd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XorTroll/Plutonium/700f0c3063b3a55d396f766d43b526613ea180b9/docs/nav_fd.png -------------------------------------------------------------------------------- /docs/nav_g.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XorTroll/Plutonium/700f0c3063b3a55d396f766d43b526613ea180b9/docs/nav_g.png -------------------------------------------------------------------------------- /docs/nav_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XorTroll/Plutonium/700f0c3063b3a55d396f766d43b526613ea180b9/docs/nav_h.png -------------------------------------------------------------------------------- /docs/nav_hd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XorTroll/Plutonium/700f0c3063b3a55d396f766d43b526613ea180b9/docs/nav_hd.png -------------------------------------------------------------------------------- /docs/navtree.css: -------------------------------------------------------------------------------- 1 | #nav-tree .children_ul { 2 | margin:0; 3 | padding:4px; 4 | } 5 | 6 | #nav-tree ul { 7 | list-style:none outside none; 8 | margin:0px; 9 | padding:0px; 10 | } 11 | 12 | #nav-tree li { 13 | white-space:nowrap; 14 | margin:0px; 15 | padding:0px; 16 | } 17 | 18 | #nav-tree .plus { 19 | margin:0px; 20 | } 21 | 22 | #nav-tree .selected { 23 | background-image: url('tab_a.png'); 24 | background-repeat:repeat-x; 25 | color: var(--nav-text-active-color); 26 | text-shadow: var(--nav-text-active-shadow); 27 | } 28 | 29 | #nav-tree .selected .arrow { 30 | color: var(--nav-arrow-selected-color); 31 | text-shadow: none; 32 | } 33 | 34 | #nav-tree img { 35 | margin:0px; 36 | padding:0px; 37 | border:0px; 38 | vertical-align: middle; 39 | } 40 | 41 | #nav-tree a { 42 | text-decoration:none; 43 | padding:0px; 44 | margin:0px; 45 | } 46 | 47 | #nav-tree .label { 48 | margin:0px; 49 | padding:0px; 50 | font: 12px var(--font-family-nav); 51 | } 52 | 53 | #nav-tree .label a { 54 | padding:2px; 55 | } 56 | 57 | #nav-tree .selected a { 58 | text-decoration:none; 59 | color:var(--nav-text-active-color); 60 | } 61 | 62 | #nav-tree .children_ul { 63 | margin:0px; 64 | padding:0px; 65 | } 66 | 67 | #nav-tree .item { 68 | margin:0px; 69 | padding:0px; 70 | } 71 | 72 | #nav-tree { 73 | padding: 0px 0px; 74 | font-size:14px; 75 | overflow:auto; 76 | } 77 | 78 | #doc-content { 79 | overflow:auto; 80 | display:block; 81 | padding:0px; 82 | margin:0px; 83 | -webkit-overflow-scrolling : touch; /* iOS 5+ */ 84 | } 85 | 86 | #side-nav { 87 | padding:0 6px 0 0; 88 | margin: 0px; 89 | display:block; 90 | position: absolute; 91 | left: 0px; 92 | width: $width; 93 | overflow : hidden; 94 | } 95 | 96 | .ui-resizable .ui-resizable-handle { 97 | display:block; 98 | } 99 | 100 | .ui-resizable-e { 101 | background-image:var(--nav-splitbar-image); 102 | background-size:100%; 103 | background-repeat:repeat-y; 104 | background-attachment: scroll; 105 | cursor:ew-resize; 106 | height:100%; 107 | right:0; 108 | top:0; 109 | width:6px; 110 | } 111 | 112 | .ui-resizable-handle { 113 | display:none; 114 | font-size:0.1px; 115 | position:absolute; 116 | z-index:1; 117 | } 118 | 119 | #nav-tree-contents { 120 | margin: 6px 0px 0px 0px; 121 | } 122 | 123 | #nav-tree { 124 | background-repeat:repeat-x; 125 | background-color: var(--nav-background-color); 126 | -webkit-overflow-scrolling : touch; /* iOS 5+ */ 127 | } 128 | 129 | #nav-sync { 130 | position:absolute; 131 | top:5px; 132 | right:24px; 133 | z-index:0; 134 | } 135 | 136 | #nav-sync img { 137 | opacity:0.3; 138 | } 139 | 140 | #nav-sync img:hover { 141 | opacity:0.9; 142 | } 143 | 144 | @media print 145 | { 146 | #nav-tree { display: none; } 147 | div.ui-resizable-handle { display: none; position: relative; } 148 | } 149 | 150 | -------------------------------------------------------------------------------- /docs/open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XorTroll/Plutonium/700f0c3063b3a55d396f766d43b526613ea180b9/docs/open.png -------------------------------------------------------------------------------- /docs/plus.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /docs/plusd.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /docs/search/all_1.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['b_0',['b',['../d7/d0c/structpu_1_1ui_1_1_color.html#ae55e2a30e1796df374dd677d31d83342',1,'pu::ui::Color']]], 4 | ['basescreenheight_1',['BaseScreenHeight',['../da/d54/namespacepu_1_1ui_1_1render.html#a946cfa807d6452bb288d6a619211d962',1,'pu::ui::render']]], 5 | ['basescreenwidth_2',['BaseScreenWidth',['../da/d54/namespacepu_1_1ui_1_1render.html#a7a90721ab0edd200b5587049de359727',1,'pu::ui::render']]], 6 | ['button_3',['Button',['../d4/de7/classpu_1_1ui_1_1elm_1_1_button.html',1,'pu::ui::elm::Button'],['../d4/de7/classpu_1_1ui_1_1elm_1_1_button.html#a5f0c0c8ebb428045c252982e41b272d3',1,'pu::ui::elm::Button::Button()']]] 7 | ]; 8 | -------------------------------------------------------------------------------- /docs/search/all_11.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['ui_5fapplication_2ehpp_0',['ui_Application.hpp',['../db/d52/ui___application_8hpp.html',1,'']]], 4 | ['ui_5fcontainer_2ehpp_1',['ui_Container.hpp',['../d9/dc7/ui___container_8hpp.html',1,'']]], 5 | ['ui_5fdialog_2ehpp_2',['ui_Dialog.hpp',['../dd/d39/ui___dialog_8hpp.html',1,'']]], 6 | ['ui_5flayout_2ehpp_3',['ui_Layout.hpp',['../d5/d04/ui___layout_8hpp.html',1,'']]], 7 | ['ui_5foverlay_2ehpp_4',['ui_Overlay.hpp',['../d6/d08/ui___overlay_8hpp.html',1,'']]], 8 | ['ui_5ftypes_2ehpp_5',['ui_Types.hpp',['../df/d13/ui___types_8hpp.html',1,'']]], 9 | ['unicode_5fbom_5fnative_6',['UNICODE_BOM_NATIVE',['../de/dfe/sdl2___custom_ttf_8h.html#a98e376b293c26e85ae636e518fb27822',1,'sdl2_CustomTtf.h']]], 10 | ['unicode_5fbom_5fswapped_7',['UNICODE_BOM_SWAPPED',['../de/dfe/sdl2___custom_ttf_8h.html#ad519362832048f87d7050108bac69098',1,'sdl2_CustomTtf.h']]], 11 | ['unload_8',['Unload',['../dd/d76/classpu_1_1ttf_1_1_font.html#a98a7831f03ab482ff7914a68efb39fb6',1,'pu::ttf::Font']]], 12 | ['unlockrender_9',['UnlockRender',['../da/dc0/classpu_1_1ui_1_1_application.html#af59d657428cb512cc5c94a31e15e6267',1,'pu::ui::Application']]], 13 | ['up_10',['Up',['../d2/d5e/namespacepu_1_1ui_1_1elm.html#ac33e06ac84db60b2dd5b56b4a1276e92a258f49887ef8d14ac268c92b02503aaa',1,'pu::ui::elm']]], 14 | ['updateinput_11',['UpdateInput',['../d0/d27/classpu_1_1ui_1_1render_1_1_renderer.html#ae045f36af002b20bea971da1e6c2ad8f',1,'pu::ui::render::Renderer']]], 15 | ['useimage_12',['UseImage',['../df/d6f/structpu_1_1ui_1_1render_1_1_renderer_init_options.html#a6dfb38e3ef01df347bb01cc457701d1a',1,'pu::ui::render::RendererInitOptions']]], 16 | ['usercancelled_13',['UserCancelled',['../d6/de9/classpu_1_1ui_1_1_dialog.html#a0b16de4fe2a9ccbacb001fc72d224ee6',1,'pu::ui::Dialog']]], 17 | ['useromfs_14',['UseRomfs',['../df/d6f/structpu_1_1ui_1_1render_1_1_renderer_init_options.html#acbe8272f338247638d1a603dc00de07f',1,'pu::ui::render::RendererInitOptions']]] 18 | ]; 19 | -------------------------------------------------------------------------------- /docs/search/all_12.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['v_5falign_0',['v_align',['../d9/d0e/classpu_1_1ui_1_1elm_1_1_element.html#ac9085dcbc1b4061b22075bc1cd32cedd',1,'pu::ui::elm::Element']]], 4 | ['verticalalign_1',['VerticalAlign',['../d2/d5e/namespacepu_1_1ui_1_1elm.html#ac33e06ac84db60b2dd5b56b4a1276e92',1,'pu::ui::elm']]], 5 | ['visible_2',['visible',['../d9/d0e/classpu_1_1ui_1_1elm_1_1_element.html#ad46fad870d47414f843f2f35d099f1da',1,'pu::ui::elm::Element']]] 6 | ]; 7 | -------------------------------------------------------------------------------- /docs/search/all_13.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['w_0',['w',['../dc/dcd/classpu_1_1ui_1_1_container.html#a1cfc135e2bb905b57a4be3b9294e812f',1,'pu::ui::Container']]], 4 | ['width_1',['width',['../df/d6f/structpu_1_1ui_1_1render_1_1_renderer_init_options.html#aa042751d8759c060e7b845832cc00ef0',1,'pu::ui::render::RendererInitOptions::width'],['../dc/d32/structpu_1_1ui_1_1render_1_1_texture_render_options.html#a8b2642bbebad684c07f9e692d053952b',1,'pu::ui::render::TextureRenderOptions::width']]], 5 | ['window_2',['Window',['../d1/d78/namespacepu_1_1sdl2.html#af25620a2e82c56dc48a4abc6e5f0b31f',1,'pu::sdl2']]], 6 | ['withalpha_3',['WithAlpha',['../d7/d0c/structpu_1_1ui_1_1_color.html#accf25c5f26c61b0950827eb099528899',1,'pu::ui::Color']]] 7 | ]; 8 | -------------------------------------------------------------------------------- /docs/search/all_14.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['x_0',['x',['../dc/dcd/classpu_1_1ui_1_1_container.html#a0611d8d500db31fe2c83a29ab2089f5e',1,'pu::ui::Container::x'],['../d7/d55/structpu_1_1ui_1_1_touch_point.html#a911f7a0d75d0b3e8ea256a0ba5530956',1,'pu::ui::TouchPoint::x']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /docs/search/all_15.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['y_0',['y',['../dc/dcd/classpu_1_1ui_1_1_container.html#a3470636cdd7eb6dfea4b40b22e0e12c7',1,'pu::ui::Container::y'],['../d7/d55/structpu_1_1ui_1_1_touch_point.html#a1b490a4531448177279248ec32286074',1,'pu::ui::TouchPoint::y']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /docs/search/all_16.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['_7eapplication_0',['~Application',['../da/dc0/classpu_1_1ui_1_1_application.html#a0bec04396b77ba71645c9f6333db9276',1,'pu::ui::Application']]], 4 | ['_7ebutton_1',['~Button',['../d4/de7/classpu_1_1ui_1_1elm_1_1_button.html#ad83b1b31e145b3aef21244c2ae0765b4',1,'pu::ui::elm::Button']]], 5 | ['_7edialog_2',['~Dialog',['../d6/de9/classpu_1_1ui_1_1_dialog.html#a4dcf88722bf75361b54cb2cb6c91ba16',1,'pu::ui::Dialog']]], 6 | ['_7eelement_3',['~Element',['../d9/d0e/classpu_1_1ui_1_1elm_1_1_element.html#a56d6fc9e9a6924ac904cb380d8c38909',1,'pu::ui::elm::Element']]], 7 | ['_7efont_4',['~Font',['../dd/d76/classpu_1_1ttf_1_1_font.html#a5013c818d4c511e5a90e261e9c5e3323',1,'pu::ttf::Font']]], 8 | ['_7elayout_5',['~Layout',['../d6/d11/classpu_1_1ui_1_1_layout.html#a6d5d2d47764c2b5d84cf265a7e1e6c1e',1,'pu::ui::Layout']]], 9 | ['_7etextblock_6',['~TextBlock',['../df/d21/classpu_1_1ui_1_1elm_1_1_text_block.html#a50a27767538bd5f5d11dfe8917df2462',1,'pu::ui::elm::TextBlock']]], 10 | ['_7etexturehandle_7',['~TextureHandle',['../d4/da3/classpu_1_1sdl2_1_1_texture_handle.html#a83b918124d9f618c7c6d3dd664a4130c',1,'pu::sdl2::TextureHandle']]], 11 | ['_7etoggle_8',['~Toggle',['../d5/d51/classpu_1_1ui_1_1elm_1_1_toggle.html#a28cb352af8e25b4e1a3539e67d49dcd4',1,'pu::ui::elm::Toggle']]] 12 | ]; 13 | -------------------------------------------------------------------------------- /docs/search/all_2.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['callforrender_0',['CallForRender',['../da/dc0/classpu_1_1ui_1_1_application.html#a2d0a2aff83ad9142c7d0869a32b10fd7',1,'pu::ui::Application']]], 4 | ['callforrenderwithrenderover_1',['CallForRenderWithRenderOver',['../da/dc0/classpu_1_1ui_1_1_application.html#acf4c82b3926475fdda7fcde4eb6e434a',1,'pu::ui::Application']]], 5 | ['canbeshown_2',['CanBeShown',['../da/dc0/classpu_1_1ui_1_1_application.html#a5b80802e3217a2eaef820c95bc3a9a6e',1,'pu::ui::Application']]], 6 | ['center_3',['Center',['../d2/d5e/namespacepu_1_1ui_1_1elm.html#ac2066021dbc53818c251c446b6d7f864a4f1f6016fc9f3f2353c0cc7c67b292bd',1,'pu::ui::elm::Center'],['../d2/d5e/namespacepu_1_1ui_1_1elm.html#ac33e06ac84db60b2dd5b56b4a1276e92a4f1f6016fc9f3f2353c0cc7c67b292bd',1,'pu::ui::elm::Center']]], 7 | ['clear_4',['Clear',['../dc/dcd/classpu_1_1ui_1_1_container.html#a2a123855380966b76b7904ffe94b7fc5',1,'pu::ui::Container']]], 8 | ['clearitems_5',['ClearItems',['../dc/d6c/classpu_1_1ui_1_1elm_1_1_menu.html#abf94e076df3b81e5f35a22afcf8e59a2',1,'pu::ui::elm::Menu']]], 9 | ['clearprogress_6',['ClearProgress',['../d2/dcc/classpu_1_1ui_1_1elm_1_1_progress_bar.html#a4cfaf7feebb4e8a2178d794a36d45d6e',1,'pu::ui::elm::ProgressBar']]], 10 | ['close_7',['Close',['../da/dc0/classpu_1_1ui_1_1_application.html#ab9cd21955174c5448bf4f72e9e27974a',1,'pu::ui::Application']]], 11 | ['closewithfadeout_8',['CloseWithFadeOut',['../da/dc0/classpu_1_1ui_1_1_application.html#a7b4b44d1a24bb663627f6d8025af0031',1,'pu::ui::Application']]], 12 | ['color_9',['Color',['../d7/d0c/structpu_1_1ui_1_1_color.html',1,'pu::ui::Color'],['../d7/d0c/structpu_1_1ui_1_1_color.html#adef2f6a421806d673966db29846da573',1,'pu::ui::Color::Color()'],['../d7/d0c/structpu_1_1ui_1_1_color.html#ae82d21739871896b29969910b7f48623',1,'pu::ui::Color::Color(const u8 r, const u8 g, const u8 b, const u8 a)']]], 13 | ['consumesimulatedtouchposition_10',['ConsumeSimulatedTouchPosition',['../d6/d11/classpu_1_1ui_1_1_layout.html#a3a3b80c19c80bd51fb6fbf60b744d702',1,'pu::ui::Layout']]], 14 | ['container_11',['Container',['../dc/dcd/classpu_1_1ui_1_1_container.html',1,'pu::ui::Container'],['../dc/dcd/classpu_1_1ui_1_1_container.html#a2ff66728ca4ad1640d6f3993b727a35e',1,'pu::ui::Container::Container()']]], 15 | ['converttotexture_12',['ConvertToTexture',['../da/d54/namespacepu_1_1ui_1_1render.html#ae4fc689be6e2b1052e0a3197fe5cd1a6',1,'pu::ui::render']]], 16 | ['count_13',['Count',['../d9/d7f/namespacepu_1_1ui.html#ad3aa8662a33d0c410412b1cd1d2984f0ae93f994f01c537c4e2f7d8528c3eb5e9',1,'pu::ui']]], 17 | ['createshowdialog_14',['CreateShowDialog',['../da/dc0/classpu_1_1ui_1_1_application.html#acd44dc6e6d4d40094984cc768dbe1ab4',1,'pu::ui::Application']]] 18 | ]; 19 | -------------------------------------------------------------------------------- /docs/search/all_4.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['element_0',['Element',['../d9/d0e/classpu_1_1ui_1_1elm_1_1_element.html',1,'pu::ui::elm::Element'],['../d9/d0e/classpu_1_1ui_1_1elm_1_1_element.html#ace42a2334b07d91fe497afd19d9d0309',1,'pu::ui::elm::Element::Element()']]], 4 | ['elems_1',['elems',['../dc/dcd/classpu_1_1ui_1_1_container.html#a0e8fcdecac68cddf4c9baa90599569c6',1,'pu::ui::Container']]], 5 | ['elm_5fbutton_2ehpp_2',['elm_Button.hpp',['../d9/de9/elm___button_8hpp.html',1,'']]], 6 | ['elm_5felement_2ehpp_3',['elm_Element.hpp',['../d9/d3b/elm___element_8hpp.html',1,'']]], 7 | ['elm_5fimage_2ehpp_4',['elm_Image.hpp',['../d6/d74/elm___image_8hpp.html',1,'']]], 8 | ['elm_5fmenu_2ehpp_5',['elm_Menu.hpp',['../d1/dd0/elm___menu_8hpp.html',1,'']]], 9 | ['elm_5fprogressbar_2ehpp_6',['elm_ProgressBar.hpp',['../d3/dd7/elm___progress_bar_8hpp.html',1,'']]], 10 | ['elm_5frectangle_2ehpp_7',['elm_Rectangle.hpp',['../d4/dd2/elm___rectangle_8hpp.html',1,'']]], 11 | ['elm_5ftextblock_2ehpp_8',['elm_TextBlock.hpp',['../d7/d3f/elm___text_block_8hpp.html',1,'']]], 12 | ['elm_5ftoggle_2ehpp_9',['elm_Toggle.hpp',['../d0/db0/elm___toggle_8hpp.html',1,'']]], 13 | ['emptyfontfacedisposingfunction_10',['EmptyFontFaceDisposingFunction',['../dd/d76/classpu_1_1ttf_1_1_font.html#a11cb4d9c0e5a4a89327a2c08d211c27b',1,'pu::ttf::Font']]], 14 | ['endoverlay_11',['EndOverlay',['../da/dc0/classpu_1_1ui_1_1_application.html#a88a356add56c9d77f2b257ffb1b04c74',1,'pu::ui::Application']]], 15 | ['extra_5fdefault_5ffont_5fsizes_12',['extra_default_font_sizes',['../df/d6f/structpu_1_1ui_1_1render_1_1_renderer_init_options.html#a18a9ec1702ef30964391be62f777a1ad',1,'pu::ui::render::RendererInitOptions']]], 16 | ['extras_5ftoast_2ehpp_13',['extras_Toast.hpp',['../d4/d16/extras___toast_8hpp.html',1,'']]] 17 | ]; 18 | -------------------------------------------------------------------------------- /docs/search/all_5.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['fade_5falpha_0',['fade_alpha',['../da/dc0/classpu_1_1ui_1_1_application.html#a8d109c462aa687642e446ec811a18d9c',1,'pu::ui::Application']]], 4 | ['fade_5falpha_5fincr_1',['fade_alpha_incr',['../da/dc0/classpu_1_1ui_1_1_application.html#a3d8ae34fd4b35a2f1fe02339bb9203ce',1,'pu::ui::Application']]], 5 | ['fade_5falpha_5fincrement_5fsteps_2',['fade_alpha_increment_steps',['../da/dc0/classpu_1_1ui_1_1_application.html#a42170fe4e5519a3760bf9a9642133d84',1,'pu::ui::Application']]], 6 | ['fade_5fbg_5fclr_3',['fade_bg_clr',['../da/dc0/classpu_1_1ui_1_1_application.html#ab20124479d832aaa6a6cd9875f876abb',1,'pu::ui::Application']]], 7 | ['fade_5fbg_5ftex_4',['fade_bg_tex',['../da/dc0/classpu_1_1ui_1_1_application.html#a144c1ae9fbe69bdc1b9cdaafd9b167fd',1,'pu::ui::Application']]], 8 | ['fadein_5',['FadeIn',['../da/dc0/classpu_1_1ui_1_1_application.html#a5e4ce9356c5a450b89dfe13ef222c7e1',1,'pu::ui::Application']]], 9 | ['fadeout_6',['FadeOut',['../da/dc0/classpu_1_1ui_1_1_application.html#a5c81b0f1930c4f66288c4c1587e48ef9',1,'pu::ui::Application']]], 10 | ['fadeoutmusic_7',['FadeOutMusic',['../d8/d8f/namespacepu_1_1audio.html#a098cffcb0be617c46c12dcde55aeb98a',1,'pu::audio']]], 11 | ['fillprogress_8',['FillProgress',['../d2/dcc/classpu_1_1ui_1_1elm_1_1_progress_bar.html#abbb7edaaf5b35ed7a0bb1ed39cea4dff',1,'pu::ui::elm::ProgressBar']]], 12 | ['finalize_9',['Finalize',['../d0/d27/classpu_1_1ui_1_1render_1_1_renderer.html#a15df7905cffacb178961b93b87d990dc',1,'pu::ui::render::Renderer::Finalize()'],['../d8/d8f/namespacepu_1_1audio.html#a5de6847d072fed02a39a2c54500353ea',1,'pu::audio::Finalize()']]], 13 | ['finalizerender_10',['FinalizeRender',['../d0/d27/classpu_1_1ui_1_1render_1_1_renderer.html#ab6e04837ac0ea0a08eeab90ec1d27df6',1,'pu::ui::render::Renderer']]], 14 | ['findvalidfontfor_11',['FindValidFontFor',['../dd/d76/classpu_1_1ttf_1_1_font.html#a7eb374e69e8adf953145f9152c103f01',1,'pu::ttf::Font']]], 15 | ['font_12',['Font',['../dd/d76/classpu_1_1ttf_1_1_font.html',1,'pu::ttf::Font'],['../dd/d76/classpu_1_1ttf_1_1_font.html#a63675bb8b909a87e66062ea30c4f4800',1,'pu::ttf::Font::Font()'],['../d1/d78/namespacepu_1_1sdl2.html#a047543c75bc366131d8e3a89126ef08f',1,'pu::sdl2::Font']]], 16 | ['forcereloaditems_13',['ForceReloadItems',['../dc/d6c/classpu_1_1ui_1_1elm_1_1_menu.html#adb26790d0555b4c39fe831143ba634cc',1,'pu::ui::elm::Menu']]], 17 | ['fromhex_14',['FromHex',['../d7/d0c/structpu_1_1ui_1_1_color.html#a36c556d915a95745227672074bd8f95a',1,'pu::ui::Color']]] 18 | ]; 19 | -------------------------------------------------------------------------------- /docs/search/all_7.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['h_0',['h',['../dc/dcd/classpu_1_1ui_1_1_container.html#a908e50723784ef3d1e0fea0c8ce65cad',1,'pu::ui::Container']]], 4 | ['h_5falign_1',['h_align',['../d9/d0e/classpu_1_1ui_1_1elm_1_1_element.html#a27117765b66cf5a7bcc6d272fac1bf48',1,'pu::ui::elm::Element']]], 5 | ['has_2',['Has',['../dc/dcd/classpu_1_1ui_1_1_container.html#a207e830a8cb788fa3737a6f0f536fb8c',1,'pu::ui::Container']]], 6 | ['hasbackgroundimage_3',['HasBackgroundImage',['../d6/d11/classpu_1_1ui_1_1_layout.html#a162283529f76efb15db628752da72876',1,'pu::ui::Layout']]], 7 | ['hascanceloption_4',['HasCancelOption',['../d6/de9/classpu_1_1ui_1_1_dialog.html#a13c6ba3d67a7f552b43557928c2b6ea3',1,'pu::ui::Dialog']]], 8 | ['haschildren_5',['HasChildren',['../d6/d11/classpu_1_1ui_1_1_layout.html#a66240d9592d4264ea6a8472da6794ff5',1,'pu::ui::Layout']]], 9 | ['hasfadebackgroundimage_6',['HasFadeBackgroundImage',['../da/dc0/classpu_1_1ui_1_1_application.html#a8dc4882d14f248d483312979c961a5c1',1,'pu::ui::Application']]], 10 | ['hasicon_7',['HasIcon',['../de/dbb/classpu_1_1ui_1_1elm_1_1_menu_item.html#a32324239744b25ddf9256887069b554c',1,'pu::ui::elm::MenuItem::HasIcon()'],['../d6/de9/classpu_1_1ui_1_1_dialog.html#ababc82b54fb3a8be17107a52a0a0158d',1,'pu::ui::Dialog::HasIcon()']]], 11 | ['hasinitialized_8',['HasInitialized',['../d0/d27/classpu_1_1ui_1_1render_1_1_renderer.html#afea5a6b3fe4e8b149fe97a3d6678e144',1,'pu::ui::render::Renderer']]], 12 | ['hasradius_9',['HasRadius',['../d6/d8f/classpu_1_1ui_1_1_overlay.html#a6675ad98ae18c84f0f424bf77870353e',1,'pu::ui::Overlay']]], 13 | ['height_10',['height',['../df/d6f/structpu_1_1ui_1_1render_1_1_renderer_init_options.html#a072f8793d8e3e2e670dc782554abc131',1,'pu::ui::render::RendererInitOptions::height'],['../dc/d32/structpu_1_1ui_1_1render_1_1_texture_render_options.html#aaf5207a4ee7b5198863579ac8da5ba66',1,'pu::ui::render::TextureRenderOptions::height']]], 14 | ['hitsregion_11',['HitsRegion',['../d7/d55/structpu_1_1ui_1_1_touch_point.html#a7797241cb367e5ffbbd2f5d9e7c59929',1,'pu::ui::TouchPoint']]], 15 | ['horizontalalign_12',['HorizontalAlign',['../d2/d5e/namespacepu_1_1ui_1_1elm.html#ac2066021dbc53818c251c446b6d7f864',1,'pu::ui::elm']]] 16 | ]; 17 | -------------------------------------------------------------------------------- /docs/search/all_9.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['large_0',['Large',['../d9/d7f/namespacepu_1_1ui.html#ad3aa8662a33d0c410412b1cd1d2984f0a3a69b34ce86dacb205936a8094f6c743',1,'pu::ui']]], 4 | ['layout_1',['Layout',['../d6/d11/classpu_1_1ui_1_1_layout.html',1,'pu::ui::Layout'],['../d6/d11/classpu_1_1ui_1_1_layout.html#ad49ec6b80ed4f53fe77a5d5cc480f460',1,'pu::ui::Layout::Layout()']]], 5 | ['left_2',['Left',['../d2/d5e/namespacepu_1_1ui_1_1elm.html#ac2066021dbc53818c251c446b6d7f864a945d5e233cf7d6240f6b783b36a374ff',1,'pu::ui::elm']]], 6 | ['load_3',['Load',['../da/dc0/classpu_1_1ui_1_1_application.html#a3956df3d53e23d3ffb518046c5e94f1c',1,'pu::ui::Application']]], 7 | ['loadallsharedfontsinfont_4',['LoadAllSharedFontsInFont',['../da/d54/namespacepu_1_1ui_1_1render.html#a157c7ab180459e6a95ff0055632a0294',1,'pu::ui::render']]], 8 | ['loaded_5',['loaded',['../da/dc0/classpu_1_1ui_1_1_application.html#aab06d178dbe6d404fe274b18824cfc3c',1,'pu::ui::Application']]], 9 | ['loadfromfile_6',['LoadFromFile',['../dd/d76/classpu_1_1ttf_1_1_font.html#abc42d4e4b572dcbf58a08aaa47072447',1,'pu::ttf::Font']]], 10 | ['loadfrommemory_7',['LoadFromMemory',['../dd/d76/classpu_1_1ttf_1_1_font.html#a6a2263ba4a27b17ef74487abae08dea6',1,'pu::ttf::Font']]], 11 | ['loadimage_8',['LoadImage',['../da/d54/namespacepu_1_1ui_1_1render.html#ac6a58de115048eb3260a085d5fcfc3f0',1,'pu::ui::render']]], 12 | ['loadlayout_9',['LoadLayout',['../da/dc0/classpu_1_1ui_1_1_application.html#adfde79d1bcbd14fba0a33239855ca320',1,'pu::ui::Application']]], 13 | ['loadsfx_10',['LoadSfx',['../d8/d8f/namespacepu_1_1audio.html#ac9c66b4e55fe192f7ba5f39899513d47',1,'pu::audio']]], 14 | ['loadsinglesharedfontinfont_11',['LoadSingleSharedFontInFont',['../da/d54/namespacepu_1_1ui_1_1render.html#a5475c0b73257113285b5845b9938e3a0',1,'pu::ui::render']]], 15 | ['lockrender_12',['LockRender',['../da/dc0/classpu_1_1ui_1_1_application.html#a4e2d543bd2de159c575ef09c691559bb',1,'pu::ui::Application']]], 16 | ['lyt_13',['lyt',['../da/dc0/classpu_1_1ui_1_1_application.html#a43fefd09f752dc74936c2c079c45a533',1,'pu::ui::Application']]] 17 | ]; 18 | -------------------------------------------------------------------------------- /docs/search/all_a.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['makedefaultfontname_0',['MakeDefaultFontName',['../d9/d7f/namespacepu_1_1ui.html#a2dc46745a47dfcca22fbd18451a7dfd3',1,'pu::ui']]], 4 | ['medium_1',['Medium',['../d9/d7f/namespacepu_1_1ui.html#ad3aa8662a33d0c410412b1cd1d2984f0a87f8a6ab85c9ced3702b4ea641ad4bb5',1,'pu::ui']]], 5 | ['mediumlarge_2',['MediumLarge',['../d9/d7f/namespacepu_1_1ui.html#ad3aa8662a33d0c410412b1cd1d2984f0a5c44044dc65cd33c6cbd48595f688ef9',1,'pu::ui']]], 6 | ['menu_3',['Menu',['../dc/d6c/classpu_1_1ui_1_1elm_1_1_menu.html',1,'pu::ui::elm::Menu'],['../dc/d6c/classpu_1_1ui_1_1elm_1_1_menu.html#aefeac0d8d523984cd8a96840fd1441a8',1,'pu::ui::elm::Menu::Menu()']]], 7 | ['menuitem_4',['MenuItem',['../de/dbb/classpu_1_1ui_1_1elm_1_1_menu_item.html',1,'pu::ui::elm::MenuItem'],['../de/dbb/classpu_1_1ui_1_1elm_1_1_menu_item.html#a83c50c4ca5f49289da2026fe0f662d7c',1,'pu::ui::elm::MenuItem::MenuItem()']]], 8 | ['mixerallflags_5',['MixerAllFlags',['../d8/d8f/namespacepu_1_1audio.html#af1ce28c1023a2fc63e459591e35397ae',1,'pu::audio']]], 9 | ['module_6',['Module',['../da/df2/namespacepu.html#a6acbbb8b82eb5892651e22cdc457970a',1,'pu']]], 10 | ['music_7',['Music',['../d8/d8f/namespacepu_1_1audio.html#ad2bc0719898a3c96c00d86780f9d8c11',1,'pu::audio']]] 11 | ]; 12 | -------------------------------------------------------------------------------- /docs/search/all_b.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['needsplservice_0',['NeedsPlService',['../df/d6f/structpu_1_1ui_1_1render_1_1_renderer_init_options.html#a392fa5edc373267be357fc182536d868',1,'pu::ui::render::RendererInitOptions']]], 4 | ['needsttf_1',['NeedsTtf',['../df/d6f/structpu_1_1ui_1_1render_1_1_renderer_init_options.html#afa44d492bf0423eb632ae43e362f2741',1,'pu::ui::render::RendererInitOptions']]], 5 | ['noalpha_2',['NoAlpha',['../dc/d32/structpu_1_1ui_1_1render_1_1_texture_render_options.html#a66db5065001cf2ba752c7bb18c17300b',1,'pu::ui::render::TextureRenderOptions']]], 6 | ['noclamp_3',['NoClamp',['../df/d21/classpu_1_1ui_1_1elm_1_1_text_block.html#a571d312767e5b06a79e47224e120a66a',1,'pu::ui::elm::TextBlock']]], 7 | ['noheight_4',['NoHeight',['../dc/d32/structpu_1_1ui_1_1render_1_1_texture_render_options.html#aefa877cc8f0002335d30eb93d1faa4e3',1,'pu::ui::render::TextureRenderOptions']]], 8 | ['norotation_5',['NoRotation',['../dc/d32/structpu_1_1ui_1_1render_1_1_texture_render_options.html#ac4399ad9cab23155bd9d5b6e9c30b015',1,'pu::ui::render::TextureRenderOptions']]], 9 | ['nosourcex_6',['NoSourceX',['../dc/d32/structpu_1_1ui_1_1render_1_1_texture_render_options.html#a84634c42885aef1f0fd1b1baa0c41b07',1,'pu::ui::render::TextureRenderOptions']]], 10 | ['nosourcey_7',['NoSourceY',['../dc/d32/structpu_1_1ui_1_1render_1_1_texture_render_options.html#ab6d1ea815394bfba5e2513dabe07a845',1,'pu::ui::render::TextureRenderOptions']]], 11 | ['notifyending_8',['NotifyEnding',['../d6/d8f/classpu_1_1ui_1_1_overlay.html#a099a0e84e2e7173429ab9c93c9962be2',1,'pu::ui::Overlay']]], 12 | ['nowidth_9',['NoWidth',['../dc/d32/structpu_1_1ui_1_1render_1_1_texture_render_options.html#a308031ec24474b88bd71242522c42a5b',1,'pu::ui::render::TextureRenderOptions']]] 13 | ]; 14 | -------------------------------------------------------------------------------- /docs/search/classes_0.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['application_0',['Application',['../da/dc0/classpu_1_1ui_1_1_application.html',1,'pu::ui']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /docs/search/classes_1.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['button_0',['Button',['../d4/de7/classpu_1_1ui_1_1elm_1_1_button.html',1,'pu::ui::elm']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /docs/search/classes_2.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['color_0',['Color',['../d7/d0c/structpu_1_1ui_1_1_color.html',1,'pu::ui']]], 4 | ['container_1',['Container',['../dc/dcd/classpu_1_1ui_1_1_container.html',1,'pu::ui']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /docs/search/classes_3.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['dialog_0',['Dialog',['../d6/de9/classpu_1_1ui_1_1_dialog.html',1,'pu::ui']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /docs/search/classes_4.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['element_0',['Element',['../d9/d0e/classpu_1_1ui_1_1elm_1_1_element.html',1,'pu::ui::elm']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /docs/search/classes_5.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['font_0',['Font',['../dd/d76/classpu_1_1ttf_1_1_font.html',1,'pu::ttf']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /docs/search/classes_6.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['image_0',['Image',['../d6/d63/classpu_1_1ui_1_1elm_1_1_image.html',1,'pu::ui::elm']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /docs/search/classes_7.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['layout_0',['Layout',['../d6/d11/classpu_1_1ui_1_1_layout.html',1,'pu::ui']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /docs/search/classes_8.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['menu_0',['Menu',['../dc/d6c/classpu_1_1ui_1_1elm_1_1_menu.html',1,'pu::ui::elm']]], 4 | ['menuitem_1',['MenuItem',['../de/dbb/classpu_1_1ui_1_1elm_1_1_menu_item.html',1,'pu::ui::elm']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /docs/search/classes_9.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['overlay_0',['Overlay',['../d6/d8f/classpu_1_1ui_1_1_overlay.html',1,'pu::ui']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /docs/search/classes_a.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['progressbar_0',['ProgressBar',['../d2/dcc/classpu_1_1ui_1_1elm_1_1_progress_bar.html',1,'pu::ui::elm']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /docs/search/classes_b.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['rectangle_0',['Rectangle',['../d5/dea/classpu_1_1ui_1_1elm_1_1_rectangle.html',1,'pu::ui::elm']]], 4 | ['renderer_1',['Renderer',['../d0/d27/classpu_1_1ui_1_1render_1_1_renderer.html',1,'pu::ui::render']]], 5 | ['rendererinitoptions_2',['RendererInitOptions',['../df/d6f/structpu_1_1ui_1_1render_1_1_renderer_init_options.html',1,'pu::ui::render']]] 6 | ]; 7 | -------------------------------------------------------------------------------- /docs/search/classes_c.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['sigmoidincrementer_0',['SigmoidIncrementer',['../d2/d96/classpu_1_1ui_1_1_sigmoid_incrementer.html',1,'pu::ui']]], 4 | ['sigmoidincrementer_3c_20i32_20_3e_1',['SigmoidIncrementer< i32 >',['../d2/d96/classpu_1_1ui_1_1_sigmoid_incrementer.html',1,'pu::ui']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /docs/search/classes_d.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['textblock_0',['TextBlock',['../df/d21/classpu_1_1ui_1_1elm_1_1_text_block.html',1,'pu::ui::elm']]], 4 | ['texturehandle_1',['TextureHandle',['../d4/da3/classpu_1_1sdl2_1_1_texture_handle.html',1,'pu::sdl2']]], 5 | ['texturerenderoptions_2',['TextureRenderOptions',['../dc/d32/structpu_1_1ui_1_1render_1_1_texture_render_options.html',1,'pu::ui::render']]], 6 | ['toast_3',['Toast',['../dc/d49/classpu_1_1ui_1_1extras_1_1_toast.html',1,'pu::ui::extras']]], 7 | ['toggle_4',['Toggle',['../d5/d51/classpu_1_1ui_1_1elm_1_1_toggle.html',1,'pu::ui::elm']]], 8 | ['touchpoint_5',['TouchPoint',['../d7/d55/structpu_1_1ui_1_1_touch_point.html',1,'pu::ui']]] 9 | ]; 10 | -------------------------------------------------------------------------------- /docs/search/close.svg: -------------------------------------------------------------------------------- 1 | 2 | 4 | 12 | 14 | 18 | 19 | -------------------------------------------------------------------------------- /docs/search/defines_0.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['pu_5fclass_5fpod_5fget_0',['PU_CLASS_POD_GET',['../d1/d52/pu___include_8hpp.html#a90bf828b2932c6bf28a5838b8adc2fa9',1,'pu_Include.hpp']]], 4 | ['pu_5fclass_5fpod_5fgetset_1',['PU_CLASS_POD_GETSET',['../d1/d52/pu___include_8hpp.html#a498d0ec5fbd56ccced06abe66bba590e',1,'pu_Include.hpp']]], 5 | ['pu_5fclass_5fpod_5fset_2',['PU_CLASS_POD_SET',['../d1/d52/pu___include_8hpp.html#a52dbcb33e9eb4fc24c1f8510e98f846e',1,'pu_Include.hpp']]], 6 | ['pu_5frc_5ftry_3',['PU_RC_TRY',['../d1/d52/pu___include_8hpp.html#ab1028334d33d38cb4abdb8b6e5ad231c',1,'pu_Include.hpp']]], 7 | ['pu_5fsmart_5fctor_4',['PU_SMART_CTOR',['../d1/d52/pu___include_8hpp.html#a2655f4e800efdd50e106951c6667d8d1',1,'pu_Include.hpp']]] 8 | ]; 9 | -------------------------------------------------------------------------------- /docs/search/defines_1.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['sdl_5fttf_5fmajor_5fversion_0',['SDL_TTF_MAJOR_VERSION',['../de/dfe/sdl2___custom_ttf_8h.html#a895f91173346a028d25202ced75b549e',1,'sdl2_CustomTtf.h']]], 4 | ['sdl_5fttf_5fminor_5fversion_1',['SDL_TTF_MINOR_VERSION',['../de/dfe/sdl2___custom_ttf_8h.html#ae192fcc5f145ad3ffb3652fe4ab768bb',1,'sdl2_CustomTtf.h']]], 5 | ['sdl_5fttf_5fpatchlevel_2',['SDL_TTF_PATCHLEVEL',['../de/dfe/sdl2___custom_ttf_8h.html#a6c438d5ec0bddd2361845ac5d4f7f30b',1,'sdl2_CustomTtf.h']]], 6 | ['sdl_5fttf_5fversion_3',['SDL_TTF_VERSION',['../de/dfe/sdl2___custom_ttf_8h.html#ae9baeafdf603e01fdd7f52ef71d7a1e8',1,'sdl2_CustomTtf.h']]] 7 | ]; 8 | -------------------------------------------------------------------------------- /docs/search/defines_2.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['tmp_5flog_0',['TMP_LOG',['../de/dfe/sdl2___custom_ttf_8h.html#ab2c3d9ef4492e1a489a12e22440a58d4',1,'sdl2_CustomTtf.h']]], 4 | ['ttf_5fgeterror_1',['TTF_GetError',['../de/dfe/sdl2___custom_ttf_8h.html#a2279ed6996e43f75966ef7765b7aff1f',1,'sdl2_CustomTtf.h']]], 5 | ['ttf_5fhinting_5flight_2',['TTF_HINTING_LIGHT',['../de/dfe/sdl2___custom_ttf_8h.html#abc9c7c175a1d7d16a561ef2151b50cc4',1,'sdl2_CustomTtf.h']]], 6 | ['ttf_5fhinting_5fmono_3',['TTF_HINTING_MONO',['../de/dfe/sdl2___custom_ttf_8h.html#aef7571e561ac5f72b1c87eef3ec8844c',1,'sdl2_CustomTtf.h']]], 7 | ['ttf_5fhinting_5fnone_4',['TTF_HINTING_NONE',['../de/dfe/sdl2___custom_ttf_8h.html#a5156c8d96e605a4001fefb6438bbdba0',1,'sdl2_CustomTtf.h']]], 8 | ['ttf_5fhinting_5fnormal_5',['TTF_HINTING_NORMAL',['../de/dfe/sdl2___custom_ttf_8h.html#a2227f3c1c83d70f2cb665b7f3b6855c4',1,'sdl2_CustomTtf.h']]], 9 | ['ttf_5fmajor_5fversion_6',['TTF_MAJOR_VERSION',['../de/dfe/sdl2___custom_ttf_8h.html#aba8b8a98dd3909c5524907f5977ea2d2',1,'sdl2_CustomTtf.h']]], 10 | ['ttf_5fminor_5fversion_7',['TTF_MINOR_VERSION',['../de/dfe/sdl2___custom_ttf_8h.html#adf546d001be35fab9c98a490feb4eb1f',1,'sdl2_CustomTtf.h']]], 11 | ['ttf_5fpatchlevel_8',['TTF_PATCHLEVEL',['../de/dfe/sdl2___custom_ttf_8h.html#a362f41bc8d0a8250f1b9f0b243a052dd',1,'sdl2_CustomTtf.h']]], 12 | ['ttf_5frendertext_9',['TTF_RenderText',['../de/dfe/sdl2___custom_ttf_8h.html#aa976ff0751d7df9259015ea30fa6f35c',1,'sdl2_CustomTtf.h']]], 13 | ['ttf_5frenderunicode_10',['TTF_RenderUNICODE',['../de/dfe/sdl2___custom_ttf_8h.html#ad05ede3045200e9a8e8dfe2c492eaec7',1,'sdl2_CustomTtf.h']]], 14 | ['ttf_5frenderutf8_11',['TTF_RenderUTF8',['../de/dfe/sdl2___custom_ttf_8h.html#a68b3fc53f8cc04d8e7e9c78ac27efc6e',1,'sdl2_CustomTtf.h']]], 15 | ['ttf_5fseterror_12',['TTF_SetError',['../de/dfe/sdl2___custom_ttf_8h.html#a1633de56d6e306be805a7ee0f9e8c0a8',1,'sdl2_CustomTtf.h']]], 16 | ['ttf_5fstyle_5fbold_13',['TTF_STYLE_BOLD',['../de/dfe/sdl2___custom_ttf_8h.html#a5b7025df3aea05ea0249b2c1a04d136e',1,'sdl2_CustomTtf.h']]], 17 | ['ttf_5fstyle_5fitalic_14',['TTF_STYLE_ITALIC',['../de/dfe/sdl2___custom_ttf_8h.html#a1258b233d1d0c4e2cfd2c16633ce9105',1,'sdl2_CustomTtf.h']]], 18 | ['ttf_5fstyle_5fnormal_15',['TTF_STYLE_NORMAL',['../de/dfe/sdl2___custom_ttf_8h.html#a9088f514038770c5a37cc1d90eaa753f',1,'sdl2_CustomTtf.h']]], 19 | ['ttf_5fstyle_5fstrikethrough_16',['TTF_STYLE_STRIKETHROUGH',['../de/dfe/sdl2___custom_ttf_8h.html#a09dcbfb234033df961c1f4e265f8caf3',1,'sdl2_CustomTtf.h']]], 20 | ['ttf_5fstyle_5funderline_17',['TTF_STYLE_UNDERLINE',['../de/dfe/sdl2___custom_ttf_8h.html#ab27048c94a69566e8eb7e70a281858ab',1,'sdl2_CustomTtf.h']]], 21 | ['ttf_5fversion_18',['TTF_VERSION',['../de/dfe/sdl2___custom_ttf_8h.html#acf616d2162b67777b8706216d3d1257e',1,'sdl2_CustomTtf.h']]] 22 | ]; 23 | -------------------------------------------------------------------------------- /docs/search/defines_3.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['unicode_5fbom_5fnative_0',['UNICODE_BOM_NATIVE',['../de/dfe/sdl2___custom_ttf_8h.html#a98e376b293c26e85ae636e518fb27822',1,'sdl2_CustomTtf.h']]], 4 | ['unicode_5fbom_5fswapped_1',['UNICODE_BOM_SWAPPED',['../de/dfe/sdl2___custom_ttf_8h.html#ad519362832048f87d7050108bac69098',1,'sdl2_CustomTtf.h']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /docs/search/enums_0.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['defaultfontsize_0',['DefaultFontSize',['../d9/d7f/namespacepu_1_1ui.html#ad3aa8662a33d0c410412b1cd1d2984f0',1,'pu::ui']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /docs/search/enums_1.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['horizontalalign_0',['HorizontalAlign',['../d2/d5e/namespacepu_1_1ui_1_1elm.html#ac2066021dbc53818c251c446b6d7f864',1,'pu::ui::elm']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /docs/search/enums_2.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['verticalalign_0',['VerticalAlign',['../d2/d5e/namespacepu_1_1ui_1_1elm.html#ac33e06ac84db60b2dd5b56b4a1276e92',1,'pu::ui::elm']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /docs/search/enums_3.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['verticalalign_0',['VerticalAlign',['../d2/d5e/namespacepu_1_1ui_1_1elm.html#ac33e06ac84db60b2dd5b56b4a1276e92',1,'pu::ui::elm']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /docs/search/enumvalues_0.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['center_0',['Center',['../d2/d5e/namespacepu_1_1ui_1_1elm.html#ac2066021dbc53818c251c446b6d7f864a4f1f6016fc9f3f2353c0cc7c67b292bd',1,'pu::ui::elm::Center'],['../d2/d5e/namespacepu_1_1ui_1_1elm.html#ac33e06ac84db60b2dd5b56b4a1276e92a4f1f6016fc9f3f2353c0cc7c67b292bd',1,'pu::ui::elm::Center']]], 4 | ['count_1',['Count',['../d9/d7f/namespacepu_1_1ui.html#ad3aa8662a33d0c410412b1cd1d2984f0ae93f994f01c537c4e2f7d8528c3eb5e9',1,'pu::ui']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /docs/search/enumvalues_1.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['down_0',['Down',['../d2/d5e/namespacepu_1_1ui_1_1elm.html#ac33e06ac84db60b2dd5b56b4a1276e92a08a38277b0309070706f6652eeae9a53',1,'pu::ui::elm']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /docs/search/enumvalues_2.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['large_0',['Large',['../d9/d7f/namespacepu_1_1ui.html#ad3aa8662a33d0c410412b1cd1d2984f0a3a69b34ce86dacb205936a8094f6c743',1,'pu::ui']]], 4 | ['left_1',['Left',['../d2/d5e/namespacepu_1_1ui_1_1elm.html#ac2066021dbc53818c251c446b6d7f864a945d5e233cf7d6240f6b783b36a374ff',1,'pu::ui::elm']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /docs/search/enumvalues_3.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['medium_0',['Medium',['../d9/d7f/namespacepu_1_1ui.html#ad3aa8662a33d0c410412b1cd1d2984f0a87f8a6ab85c9ced3702b4ea641ad4bb5',1,'pu::ui']]], 4 | ['mediumlarge_1',['MediumLarge',['../d9/d7f/namespacepu_1_1ui.html#ad3aa8662a33d0c410412b1cd1d2984f0a5c44044dc65cd33c6cbd48595f688ef9',1,'pu::ui']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /docs/search/enumvalues_4.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['right_0',['Right',['../d2/d5e/namespacepu_1_1ui_1_1elm.html#ac2066021dbc53818c251c446b6d7f864a92b09c7c48c520c3c55e497875da437c',1,'pu::ui::elm']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /docs/search/enumvalues_5.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['small_0',['Small',['../d9/d7f/namespacepu_1_1ui.html#ad3aa8662a33d0c410412b1cd1d2984f0a2660064e68655415da2628c2ae2f7592',1,'pu::ui']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /docs/search/enumvalues_6.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['up_0',['Up',['../d2/d5e/namespacepu_1_1ui_1_1elm.html#ac33e06ac84db60b2dd5b56b4a1276e92a258f49887ef8d14ac268c92b02503aaa',1,'pu::ui::elm']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /docs/search/enumvalues_7.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['up_0',['Up',['../d2/d5e/namespacepu_1_1ui_1_1elm.html#ac33e06ac84db60b2dd5b56b4a1276e92a258f49887ef8d14ac268c92b02503aaa',1,'pu::ui::elm']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /docs/search/enumvalues_8.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['waitingdown_0',['WaitingDown',['../dc/d6c/classpu_1_1ui_1_1elm_1_1_menu.html#a4fe72d0f6be7bcdcc7c2f35283d35bd5a8496a3d763901f1ba2de9c38e73d6730',1,'pu::ui::elm::Menu']]], 4 | ['waitingup_1',['WaitingUp',['../dc/d6c/classpu_1_1ui_1_1elm_1_1_menu.html#a4fe72d0f6be7bcdcc7c2f35283d35bd5a8b0e578f17b6d9a01ef38543cbea9860',1,'pu::ui::elm::Menu']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /docs/search/files_0.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['audio_5faudio_2ehpp_0',['audio_Audio.hpp',['../dc/dd2/audio___audio_8hpp.html',1,'']]], 4 | ['audio_5fmusic_2ehpp_1',['audio_Music.hpp',['../de/de5/audio___music_8hpp.html',1,'']]], 5 | ['audio_5fsfx_2ehpp_2',['audio_Sfx.hpp',['../d0/d98/audio___sfx_8hpp.html',1,'']]] 6 | ]; 7 | -------------------------------------------------------------------------------- /docs/search/files_1.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['elm_5fbutton_2ehpp_0',['elm_Button.hpp',['../d9/de9/elm___button_8hpp.html',1,'']]], 4 | ['elm_5felement_2ehpp_1',['elm_Element.hpp',['../d9/d3b/elm___element_8hpp.html',1,'']]], 5 | ['elm_5fimage_2ehpp_2',['elm_Image.hpp',['../d6/d74/elm___image_8hpp.html',1,'']]], 6 | ['elm_5fmenu_2ehpp_3',['elm_Menu.hpp',['../d1/dd0/elm___menu_8hpp.html',1,'']]], 7 | ['elm_5fprogressbar_2ehpp_4',['elm_ProgressBar.hpp',['../d3/dd7/elm___progress_bar_8hpp.html',1,'']]], 8 | ['elm_5frectangle_2ehpp_5',['elm_Rectangle.hpp',['../d4/dd2/elm___rectangle_8hpp.html',1,'']]], 9 | ['elm_5ftextblock_2ehpp_6',['elm_TextBlock.hpp',['../d7/d3f/elm___text_block_8hpp.html',1,'']]], 10 | ['elm_5ftoggle_2ehpp_7',['elm_Toggle.hpp',['../d0/db0/elm___toggle_8hpp.html',1,'']]], 11 | ['extras_5ftoast_2ehpp_8',['extras_Toast.hpp',['../d4/d16/extras___toast_8hpp.html',1,'']]] 12 | ]; 13 | -------------------------------------------------------------------------------- /docs/search/files_2.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['pu_5finclude_2ehpp_0',['pu_Include.hpp',['../d1/d52/pu___include_8hpp.html',1,'']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /docs/search/files_3.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['render_5frenderer_2ehpp_0',['render_Renderer.hpp',['../d4/dbe/render___renderer_8hpp.html',1,'']]], 4 | ['render_5fsdl2_2ehpp_1',['render_SDL2.hpp',['../db/db1/render___s_d_l2_8hpp.html',1,'']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /docs/search/files_4.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['sdl2_5fcustomttf_2eh_0',['sdl2_CustomTtf.h',['../de/dfe/sdl2___custom_ttf_8h.html',1,'']]], 4 | ['sdl2_5ftypes_2ehpp_1',['sdl2_Types.hpp',['../d0/d29/sdl2___types_8hpp.html',1,'']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /docs/search/files_5.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['ttf_5ffont_2ehpp_0',['ttf_Font.hpp',['../d6/ddd/ttf___font_8hpp.html',1,'']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /docs/search/files_6.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['ui_5fapplication_2ehpp_0',['ui_Application.hpp',['../db/d52/ui___application_8hpp.html',1,'']]], 4 | ['ui_5fcontainer_2ehpp_1',['ui_Container.hpp',['../d9/dc7/ui___container_8hpp.html',1,'']]], 5 | ['ui_5fdialog_2ehpp_2',['ui_Dialog.hpp',['../dd/d39/ui___dialog_8hpp.html',1,'']]], 6 | ['ui_5flayout_2ehpp_3',['ui_Layout.hpp',['../d5/d04/ui___layout_8hpp.html',1,'']]], 7 | ['ui_5foverlay_2ehpp_4',['ui_Overlay.hpp',['../d6/d08/ui___overlay_8hpp.html',1,'']]], 8 | ['ui_5ftypes_2ehpp_5',['ui_Types.hpp',['../df/d13/ui___types_8hpp.html',1,'']]] 9 | ]; 10 | -------------------------------------------------------------------------------- /docs/search/functions_0.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['add_0',['Add',['../dc/dcd/classpu_1_1ui_1_1_container.html#ad05f397ce7e1a6029eff10884406c019',1,'pu::ui::Container']]], 4 | ['adddefaultallsharedfonts_1',['AddDefaultAllSharedFonts',['../df/d6f/structpu_1_1ui_1_1render_1_1_renderer_init_options.html#ad31a07bb9da2447f4b51d838988894fa',1,'pu::ui::render::RendererInitOptions']]], 5 | ['adddefaultfont_2',['AddDefaultFont',['../da/d54/namespacepu_1_1ui_1_1render.html#ae1fbe3b141fbb4a9139e4535495c471c',1,'pu::ui::render']]], 6 | ['adddefaultfontpath_3',['AddDefaultFontPath',['../df/d6f/structpu_1_1ui_1_1render_1_1_renderer_init_options.html#a4c0b21020561c4156a2a5297c1b05743',1,'pu::ui::render::RendererInitOptions']]], 7 | ['adddefaultsharedfont_4',['AddDefaultSharedFont',['../df/d6f/structpu_1_1ui_1_1render_1_1_renderer_init_options.html#ad7ac5f0d7796882fe17db08ff5700321',1,'pu::ui::render::RendererInitOptions']]], 8 | ['addextradefaultfontsize_5',['AddExtraDefaultFontSize',['../df/d6f/structpu_1_1ui_1_1render_1_1_renderer_init_options.html#a3b009c161c5c355944a60c3632918377',1,'pu::ui::render::RendererInitOptions']]], 9 | ['addfont_6',['AddFont',['../da/d54/namespacepu_1_1ui_1_1render.html#a5413fa88d36a087f5b8ce31eecb8c63e',1,'pu::ui::render']]], 10 | ['addinputnpadidtype_7',['AddInputNpadIdType',['../df/d6f/structpu_1_1ui_1_1render_1_1_renderer_init_options.html#a87a722244db2fe7f40f2c7dc8216261d',1,'pu::ui::render::RendererInitOptions']]], 11 | ['addinputnpadstyletag_8',['AddInputNpadStyleTag',['../df/d6f/structpu_1_1ui_1_1render_1_1_renderer_init_options.html#adea697bd0a0613f5dad99fb7b9e73198',1,'pu::ui::render::RendererInitOptions']]], 12 | ['additem_9',['AddItem',['../dc/d6c/classpu_1_1ui_1_1elm_1_1_menu.html#a29a820f09597fef7e363cfaacf6d4f7a',1,'pu::ui::elm::Menu']]], 13 | ['addonkey_10',['AddOnKey',['../de/dbb/classpu_1_1ui_1_1elm_1_1_menu_item.html#a5b7f483bde86cd3237f7e3bdb21ba437',1,'pu::ui::elm::MenuItem']]], 14 | ['addoption_11',['AddOption',['../d6/de9/classpu_1_1ui_1_1_dialog.html#aaacd3a9c44331859a4087c48df856c53',1,'pu::ui::Dialog']]], 15 | ['addrendercallback_12',['AddRenderCallback',['../da/dc0/classpu_1_1ui_1_1_application.html#a66423e53db87dbdd007a3bad01bc2469',1,'pu::ui::Application::AddRenderCallback()'],['../d6/d11/classpu_1_1ui_1_1_layout.html#a0702b749dd67172c62e60256235a89d1',1,'pu::ui::Layout::AddRenderCallback()']]], 16 | ['application_13',['Application',['../da/dc0/classpu_1_1ui_1_1_application.html#a3833437526232f5a507a45ab538c4fb9',1,'pu::ui::Application']]] 17 | ]; 18 | -------------------------------------------------------------------------------- /docs/search/functions_1.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['button_0',['Button',['../d4/de7/classpu_1_1ui_1_1elm_1_1_button.html#a5f0c0c8ebb428045c252982e41b272d3',1,'pu::ui::elm::Button']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /docs/search/functions_11.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['unload_0',['Unload',['../dd/d76/classpu_1_1ttf_1_1_font.html#a98a7831f03ab482ff7914a68efb39fb6',1,'pu::ttf::Font']]], 4 | ['unlockrender_1',['UnlockRender',['../da/dc0/classpu_1_1ui_1_1_application.html#af59d657428cb512cc5c94a31e15e6267',1,'pu::ui::Application']]], 5 | ['updateinput_2',['UpdateInput',['../d0/d27/classpu_1_1ui_1_1render_1_1_renderer.html#ae045f36af002b20bea971da1e6c2ad8f',1,'pu::ui::render::Renderer']]], 6 | ['useimage_3',['UseImage',['../df/d6f/structpu_1_1ui_1_1render_1_1_renderer_init_options.html#a6dfb38e3ef01df347bb01cc457701d1a',1,'pu::ui::render::RendererInitOptions']]], 7 | ['usercancelled_4',['UserCancelled',['../d6/de9/classpu_1_1ui_1_1_dialog.html#a0b16de4fe2a9ccbacb001fc72d224ee6',1,'pu::ui::Dialog']]], 8 | ['useromfs_5',['UseRomfs',['../df/d6f/structpu_1_1ui_1_1render_1_1_renderer_init_options.html#acbe8272f338247638d1a603dc00de07f',1,'pu::ui::render::RendererInitOptions']]] 9 | ]; 10 | -------------------------------------------------------------------------------- /docs/search/functions_12.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['withalpha_0',['WithAlpha',['../d7/d0c/structpu_1_1ui_1_1_color.html#accf25c5f26c61b0950827eb099528899',1,'pu::ui::Color']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /docs/search/functions_13.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['_7eapplication_0',['~Application',['../da/dc0/classpu_1_1ui_1_1_application.html#a0bec04396b77ba71645c9f6333db9276',1,'pu::ui::Application']]], 4 | ['_7ebutton_1',['~Button',['../d4/de7/classpu_1_1ui_1_1elm_1_1_button.html#ad83b1b31e145b3aef21244c2ae0765b4',1,'pu::ui::elm::Button']]], 5 | ['_7edialog_2',['~Dialog',['../d6/de9/classpu_1_1ui_1_1_dialog.html#a4dcf88722bf75361b54cb2cb6c91ba16',1,'pu::ui::Dialog']]], 6 | ['_7eelement_3',['~Element',['../d9/d0e/classpu_1_1ui_1_1elm_1_1_element.html#a56d6fc9e9a6924ac904cb380d8c38909',1,'pu::ui::elm::Element']]], 7 | ['_7efont_4',['~Font',['../dd/d76/classpu_1_1ttf_1_1_font.html#a5013c818d4c511e5a90e261e9c5e3323',1,'pu::ttf::Font']]], 8 | ['_7elayout_5',['~Layout',['../d6/d11/classpu_1_1ui_1_1_layout.html#a6d5d2d47764c2b5d84cf265a7e1e6c1e',1,'pu::ui::Layout']]], 9 | ['_7etextblock_6',['~TextBlock',['../df/d21/classpu_1_1ui_1_1elm_1_1_text_block.html#a50a27767538bd5f5d11dfe8917df2462',1,'pu::ui::elm::TextBlock']]], 10 | ['_7etexturehandle_7',['~TextureHandle',['../d4/da3/classpu_1_1sdl2_1_1_texture_handle.html#a83b918124d9f618c7c6d3dd664a4130c',1,'pu::sdl2::TextureHandle']]], 11 | ['_7etoggle_8',['~Toggle',['../d5/d51/classpu_1_1ui_1_1elm_1_1_toggle.html#a28cb352af8e25b4e1a3539e67d49dcd4',1,'pu::ui::elm::Toggle']]] 12 | ]; 13 | -------------------------------------------------------------------------------- /docs/search/functions_2.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['callforrender_0',['CallForRender',['../da/dc0/classpu_1_1ui_1_1_application.html#a2d0a2aff83ad9142c7d0869a32b10fd7',1,'pu::ui::Application']]], 4 | ['callforrenderwithrenderover_1',['CallForRenderWithRenderOver',['../da/dc0/classpu_1_1ui_1_1_application.html#acf4c82b3926475fdda7fcde4eb6e434a',1,'pu::ui::Application']]], 5 | ['canbeshown_2',['CanBeShown',['../da/dc0/classpu_1_1ui_1_1_application.html#a5b80802e3217a2eaef820c95bc3a9a6e',1,'pu::ui::Application']]], 6 | ['clear_3',['Clear',['../dc/dcd/classpu_1_1ui_1_1_container.html#a2a123855380966b76b7904ffe94b7fc5',1,'pu::ui::Container']]], 7 | ['clearitems_4',['ClearItems',['../dc/d6c/classpu_1_1ui_1_1elm_1_1_menu.html#abf94e076df3b81e5f35a22afcf8e59a2',1,'pu::ui::elm::Menu']]], 8 | ['clearprogress_5',['ClearProgress',['../d2/dcc/classpu_1_1ui_1_1elm_1_1_progress_bar.html#a4cfaf7feebb4e8a2178d794a36d45d6e',1,'pu::ui::elm::ProgressBar']]], 9 | ['close_6',['Close',['../da/dc0/classpu_1_1ui_1_1_application.html#ab9cd21955174c5448bf4f72e9e27974a',1,'pu::ui::Application']]], 10 | ['closewithfadeout_7',['CloseWithFadeOut',['../da/dc0/classpu_1_1ui_1_1_application.html#a7b4b44d1a24bb663627f6d8025af0031',1,'pu::ui::Application']]], 11 | ['color_8',['Color',['../d7/d0c/structpu_1_1ui_1_1_color.html#adef2f6a421806d673966db29846da573',1,'pu::ui::Color::Color()'],['../d7/d0c/structpu_1_1ui_1_1_color.html#ae82d21739871896b29969910b7f48623',1,'pu::ui::Color::Color(const u8 r, const u8 g, const u8 b, const u8 a)']]], 12 | ['consumesimulatedtouchposition_9',['ConsumeSimulatedTouchPosition',['../d6/d11/classpu_1_1ui_1_1_layout.html#a3a3b80c19c80bd51fb6fbf60b744d702',1,'pu::ui::Layout']]], 13 | ['container_10',['Container',['../dc/dcd/classpu_1_1ui_1_1_container.html#a2ff66728ca4ad1640d6f3993b727a35e',1,'pu::ui::Container']]], 14 | ['converttotexture_11',['ConvertToTexture',['../da/d54/namespacepu_1_1ui_1_1render.html#ae4fc689be6e2b1052e0a3197fe5cd1a6',1,'pu::ui::render']]], 15 | ['createshowdialog_12',['CreateShowDialog',['../da/dc0/classpu_1_1ui_1_1_application.html#acd44dc6e6d4d40094984cc768dbe1ab4',1,'pu::ui::Application']]] 16 | ]; 17 | -------------------------------------------------------------------------------- /docs/search/functions_3.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['decrementprogress_0',['DecrementProgress',['../d2/dcc/classpu_1_1ui_1_1elm_1_1_progress_bar.html#aad4260e21dd970ff7cd74ca77810550d',1,'pu::ui::elm::ProgressBar']]], 4 | ['deletetexture_1',['DeleteTexture',['../da/d54/namespacepu_1_1ui_1_1render.html#a687992204d83230da27780900cc882a1',1,'pu::ui::render']]], 5 | ['destroymusic_2',['DestroyMusic',['../d8/d8f/namespacepu_1_1audio.html#a1f7671249f422dca75905b3becfe0a24',1,'pu::audio']]], 6 | ['destroysfx_3',['DestroySfx',['../d8/d8f/namespacepu_1_1audio.html#ac3d79067485a253473beeae7691fea65',1,'pu::audio']]], 7 | ['dialog_4',['Dialog',['../d6/de9/classpu_1_1ui_1_1_dialog.html#afc67f186d26698c0d5c3d15f644cd501',1,'pu::ui::Dialog']]] 8 | ]; 9 | -------------------------------------------------------------------------------- /docs/search/functions_4.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['element_0',['Element',['../d9/d0e/classpu_1_1ui_1_1elm_1_1_element.html#ace42a2334b07d91fe497afd19d9d0309',1,'pu::ui::elm::Element']]], 4 | ['emptyfontfacedisposingfunction_1',['EmptyFontFaceDisposingFunction',['../dd/d76/classpu_1_1ttf_1_1_font.html#a11cb4d9c0e5a4a89327a2c08d211c27b',1,'pu::ttf::Font']]], 5 | ['endoverlay_2',['EndOverlay',['../da/dc0/classpu_1_1ui_1_1_application.html#a88a356add56c9d77f2b257ffb1b04c74',1,'pu::ui::Application']]] 6 | ]; 7 | -------------------------------------------------------------------------------- /docs/search/functions_5.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['fadein_0',['FadeIn',['../da/dc0/classpu_1_1ui_1_1_application.html#a5e4ce9356c5a450b89dfe13ef222c7e1',1,'pu::ui::Application']]], 4 | ['fadeout_1',['FadeOut',['../da/dc0/classpu_1_1ui_1_1_application.html#a5c81b0f1930c4f66288c4c1587e48ef9',1,'pu::ui::Application']]], 5 | ['fadeoutmusic_2',['FadeOutMusic',['../d8/d8f/namespacepu_1_1audio.html#a098cffcb0be617c46c12dcde55aeb98a',1,'pu::audio']]], 6 | ['fillprogress_3',['FillProgress',['../d2/dcc/classpu_1_1ui_1_1elm_1_1_progress_bar.html#abbb7edaaf5b35ed7a0bb1ed39cea4dff',1,'pu::ui::elm::ProgressBar']]], 7 | ['finalize_4',['Finalize',['../d0/d27/classpu_1_1ui_1_1render_1_1_renderer.html#a15df7905cffacb178961b93b87d990dc',1,'pu::ui::render::Renderer::Finalize()'],['../d8/d8f/namespacepu_1_1audio.html#a5de6847d072fed02a39a2c54500353ea',1,'pu::audio::Finalize()']]], 8 | ['finalizerender_5',['FinalizeRender',['../d0/d27/classpu_1_1ui_1_1render_1_1_renderer.html#ab6e04837ac0ea0a08eeab90ec1d27df6',1,'pu::ui::render::Renderer']]], 9 | ['findvalidfontfor_6',['FindValidFontFor',['../dd/d76/classpu_1_1ttf_1_1_font.html#a7eb374e69e8adf953145f9152c103f01',1,'pu::ttf::Font']]], 10 | ['font_7',['Font',['../dd/d76/classpu_1_1ttf_1_1_font.html#a63675bb8b909a87e66062ea30c4f4800',1,'pu::ttf::Font']]], 11 | ['forcereloaditems_8',['ForceReloadItems',['../dc/d6c/classpu_1_1ui_1_1elm_1_1_menu.html#adb26790d0555b4c39fe831143ba634cc',1,'pu::ui::elm::Menu']]], 12 | ['fromhex_9',['FromHex',['../d7/d0c/structpu_1_1ui_1_1_color.html#a36c556d915a95745227672074bd8f95a',1,'pu::ui::Color']]] 13 | ]; 14 | -------------------------------------------------------------------------------- /docs/search/functions_7.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['has_0',['Has',['../dc/dcd/classpu_1_1ui_1_1_container.html#a207e830a8cb788fa3737a6f0f536fb8c',1,'pu::ui::Container']]], 4 | ['hasbackgroundimage_1',['HasBackgroundImage',['../d6/d11/classpu_1_1ui_1_1_layout.html#a162283529f76efb15db628752da72876',1,'pu::ui::Layout']]], 5 | ['hascanceloption_2',['HasCancelOption',['../d6/de9/classpu_1_1ui_1_1_dialog.html#a13c6ba3d67a7f552b43557928c2b6ea3',1,'pu::ui::Dialog']]], 6 | ['haschildren_3',['HasChildren',['../d6/d11/classpu_1_1ui_1_1_layout.html#a66240d9592d4264ea6a8472da6794ff5',1,'pu::ui::Layout']]], 7 | ['hasfadebackgroundimage_4',['HasFadeBackgroundImage',['../da/dc0/classpu_1_1ui_1_1_application.html#a8dc4882d14f248d483312979c961a5c1',1,'pu::ui::Application']]], 8 | ['hasicon_5',['HasIcon',['../de/dbb/classpu_1_1ui_1_1elm_1_1_menu_item.html#a32324239744b25ddf9256887069b554c',1,'pu::ui::elm::MenuItem::HasIcon()'],['../d6/de9/classpu_1_1ui_1_1_dialog.html#ababc82b54fb3a8be17107a52a0a0158d',1,'pu::ui::Dialog::HasIcon()']]], 9 | ['hasinitialized_6',['HasInitialized',['../d0/d27/classpu_1_1ui_1_1render_1_1_renderer.html#afea5a6b3fe4e8b149fe97a3d6678e144',1,'pu::ui::render::Renderer']]], 10 | ['hasradius_7',['HasRadius',['../d6/d8f/classpu_1_1ui_1_1_overlay.html#a6675ad98ae18c84f0f424bf77870353e',1,'pu::ui::Overlay']]], 11 | ['hitsregion_8',['HitsRegion',['../d7/d55/structpu_1_1ui_1_1_touch_point.html#a7797241cb367e5ffbbd2f5d9e7c59929',1,'pu::ui::TouchPoint']]] 12 | ]; 13 | -------------------------------------------------------------------------------- /docs/search/functions_8.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['image_0',['Image',['../d6/d63/classpu_1_1ui_1_1elm_1_1_image.html#acd13196ae1953736753090f4268bba78',1,'pu::ui::elm::Image']]], 4 | ['increment_1',['Increment',['../d2/d96/classpu_1_1ui_1_1_sigmoid_incrementer.html#a7f684f19a95cd0f403f21512ceb882f0',1,'pu::ui::SigmoidIncrementer']]], 5 | ['incrementprogress_2',['IncrementProgress',['../d2/dcc/classpu_1_1ui_1_1elm_1_1_progress_bar.html#a895e5f81b485ca6d672cc6a120c4ebe5',1,'pu::ui::elm::ProgressBar']]], 6 | ['initialize_3',['Initialize',['../d0/d27/classpu_1_1ui_1_1render_1_1_renderer.html#a7d7c797930c6c9f52cc9ed2d97af0e12',1,'pu::ui::render::Renderer::Initialize()'],['../d8/d8f/namespacepu_1_1audio.html#afb158e3bba22e580c6838574b4c7c71e',1,'pu::audio::Initialize()']]], 7 | ['initializerender_4',['InitializeRender',['../d0/d27/classpu_1_1ui_1_1render_1_1_renderer.html#af8848fa4a8a13ec522d778d98955864c',1,'pu::ui::render::Renderer']]], 8 | ['iscompleted_5',['IsCompleted',['../d2/dcc/classpu_1_1ui_1_1elm_1_1_progress_bar.html#a9392e6e224b8460a12caf6ca80117063',1,'pu::ui::elm::ProgressBar']]], 9 | ['isdone_6',['IsDone',['../d2/d96/classpu_1_1ui_1_1_sigmoid_incrementer.html#a2a2c71702e7e976d7cdf7431b78cbace',1,'pu::ui::SigmoidIncrementer']]], 10 | ['isempty_7',['IsEmpty',['../d7/d55/structpu_1_1ui_1_1_touch_point.html#ad1919bedf08cd88f0f0b5d085f435910',1,'pu::ui::TouchPoint']]], 11 | ['isfadingorfadedin_8',['IsFadingOrFadedIn',['../da/dc0/classpu_1_1ui_1_1_application.html#a8f415d5ad5db21975a92f9454f700873',1,'pu::ui::Application']]], 12 | ['isimagevalid_9',['IsImageValid',['../d6/d63/classpu_1_1ui_1_1elm_1_1_image.html#a32e2affbb15090756c757d818f44f56d',1,'pu::ui::elm::Image']]], 13 | ['isok_10',['IsOk',['../d6/de9/classpu_1_1ui_1_1_dialog.html#af2086ba386105a84cfcf65f8f9430562',1,'pu::ui::Dialog']]], 14 | ['isplayingmusic_11',['IsPlayingMusic',['../d8/d8f/namespacepu_1_1audio.html#a07bae3d9442a509f1729c72ba4b4c92c',1,'pu::audio']]], 15 | ['isshown_12',['IsShown',['../da/dc0/classpu_1_1ui_1_1_application.html#a04f910e1f6ac91784093220b38433a06',1,'pu::ui::Application']]], 16 | ['isvalidfontfaceindex_13',['IsValidFontFaceIndex',['../dd/d76/classpu_1_1ttf_1_1_font.html#a4ef6ac7fb8235ce9300ba1ed1ef3772e',1,'pu::ttf::Font']]], 17 | ['isvisible_14',['IsVisible',['../d9/d0e/classpu_1_1ui_1_1elm_1_1_element.html#a767a3e3f7456881f039e393018f7a11e',1,'pu::ui::elm::Element']]] 18 | ]; 19 | -------------------------------------------------------------------------------- /docs/search/functions_9.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['layout_0',['Layout',['../d6/d11/classpu_1_1ui_1_1_layout.html#ad49ec6b80ed4f53fe77a5d5cc480f460',1,'pu::ui::Layout']]], 4 | ['load_1',['Load',['../da/dc0/classpu_1_1ui_1_1_application.html#a3956df3d53e23d3ffb518046c5e94f1c',1,'pu::ui::Application']]], 5 | ['loadallsharedfontsinfont_2',['LoadAllSharedFontsInFont',['../da/d54/namespacepu_1_1ui_1_1render.html#a157c7ab180459e6a95ff0055632a0294',1,'pu::ui::render']]], 6 | ['loadfromfile_3',['LoadFromFile',['../dd/d76/classpu_1_1ttf_1_1_font.html#abc42d4e4b572dcbf58a08aaa47072447',1,'pu::ttf::Font']]], 7 | ['loadfrommemory_4',['LoadFromMemory',['../dd/d76/classpu_1_1ttf_1_1_font.html#a6a2263ba4a27b17ef74487abae08dea6',1,'pu::ttf::Font']]], 8 | ['loadimage_5',['LoadImage',['../da/d54/namespacepu_1_1ui_1_1render.html#ac6a58de115048eb3260a085d5fcfc3f0',1,'pu::ui::render']]], 9 | ['loadlayout_6',['LoadLayout',['../da/dc0/classpu_1_1ui_1_1_application.html#adfde79d1bcbd14fba0a33239855ca320',1,'pu::ui::Application']]], 10 | ['loadsfx_7',['LoadSfx',['../d8/d8f/namespacepu_1_1audio.html#ac9c66b4e55fe192f7ba5f39899513d47',1,'pu::audio']]], 11 | ['loadsinglesharedfontinfont_8',['LoadSingleSharedFontInFont',['../da/d54/namespacepu_1_1ui_1_1render.html#a5475c0b73257113285b5845b9938e3a0',1,'pu::ui::render']]], 12 | ['lockrender_9',['LockRender',['../da/dc0/classpu_1_1ui_1_1_application.html#a4e2d543bd2de159c575ef09c691559bb',1,'pu::ui::Application']]] 13 | ]; 14 | -------------------------------------------------------------------------------- /docs/search/functions_a.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['makedefaultfontname_0',['MakeDefaultFontName',['../d9/d7f/namespacepu_1_1ui.html#a2dc46745a47dfcca22fbd18451a7dfd3',1,'pu::ui']]], 4 | ['menu_1',['Menu',['../dc/d6c/classpu_1_1ui_1_1elm_1_1_menu.html#aefeac0d8d523984cd8a96840fd1441a8',1,'pu::ui::elm::Menu']]], 5 | ['menuitem_2',['MenuItem',['../de/dbb/classpu_1_1ui_1_1elm_1_1_menu_item.html#a83c50c4ca5f49289da2026fe0f662d7c',1,'pu::ui::elm::MenuItem']]] 6 | ]; 7 | -------------------------------------------------------------------------------- /docs/search/functions_b.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['needsplservice_0',['NeedsPlService',['../df/d6f/structpu_1_1ui_1_1render_1_1_renderer_init_options.html#a392fa5edc373267be357fc182536d868',1,'pu::ui::render::RendererInitOptions']]], 4 | ['needsttf_1',['NeedsTtf',['../df/d6f/structpu_1_1ui_1_1render_1_1_renderer_init_options.html#afa44d492bf0423eb632ae43e362f2741',1,'pu::ui::render::RendererInitOptions']]], 5 | ['notifyending_2',['NotifyEnding',['../d6/d8f/classpu_1_1ui_1_1_overlay.html#a099a0e84e2e7173429ab9c93c9962be2',1,'pu::ui::Overlay']]] 6 | ]; 7 | -------------------------------------------------------------------------------- /docs/search/functions_c.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['oninput_0',['OnInput',['../d4/de7/classpu_1_1ui_1_1elm_1_1_button.html#a64bbcf78f31d506eec6e11589cbf8af0',1,'pu::ui::elm::Button::OnInput()'],['../d9/d0e/classpu_1_1ui_1_1elm_1_1_element.html#aeb6bc0689cdd91019565e8b0ed58b079',1,'pu::ui::elm::Element::OnInput()'],['../d6/d63/classpu_1_1ui_1_1elm_1_1_image.html#a55f842074d50cb2e66200fca44453971',1,'pu::ui::elm::Image::OnInput()'],['../dc/d6c/classpu_1_1ui_1_1elm_1_1_menu.html#a8513f7fc66b938d0cbaec4dc7e42f986',1,'pu::ui::elm::Menu::OnInput()'],['../d2/dcc/classpu_1_1ui_1_1elm_1_1_progress_bar.html#a4ae51238a8831a7c6234fc356e5da3da',1,'pu::ui::elm::ProgressBar::OnInput()'],['../d5/dea/classpu_1_1ui_1_1elm_1_1_rectangle.html#a751498cc3b96d1227bfeae4f511a923a',1,'pu::ui::elm::Rectangle::OnInput()'],['../df/d21/classpu_1_1ui_1_1elm_1_1_text_block.html#a2b8c187956510b6794cb741441561d41',1,'pu::ui::elm::TextBlock::OnInput()'],['../d5/d51/classpu_1_1ui_1_1elm_1_1_toggle.html#a4a6ddbe6286b2e7780a2bc947730adf2',1,'pu::ui::elm::Toggle::OnInput()']]], 4 | ['onload_1',['OnLoad',['../da/dc0/classpu_1_1ui_1_1_application.html#a293c44edb540457ba28f96be672fecb2',1,'pu::ui::Application']]], 5 | ['onpostrender_2',['OnPostRender',['../dc/d49/classpu_1_1ui_1_1extras_1_1_toast.html#ad7dcaf60b7d87c347cd4519b26841c71',1,'pu::ui::extras::Toast::OnPostRender()'],['../d6/d8f/classpu_1_1ui_1_1_overlay.html#a1c8129b7b18c3394f1ae89a6b18587ac',1,'pu::ui::Overlay::OnPostRender()']]], 6 | ['onprerender_3',['OnPreRender',['../dc/d49/classpu_1_1ui_1_1extras_1_1_toast.html#afa43c401515e588174a9b9a3775791fa',1,'pu::ui::extras::Toast::OnPreRender()'],['../d6/d8f/classpu_1_1ui_1_1_overlay.html#ab2789bf02ae80a066f83a901af33f540',1,'pu::ui::Overlay::OnPreRender()']]], 7 | ['onrender_4',['OnRender',['../d4/de7/classpu_1_1ui_1_1elm_1_1_button.html#a532dfac675c372aa56a2445c4a08f8ee',1,'pu::ui::elm::Button::OnRender()'],['../d9/d0e/classpu_1_1ui_1_1elm_1_1_element.html#a022d9e188640ec7ce186186a96f4a1a1',1,'pu::ui::elm::Element::OnRender()'],['../d6/d63/classpu_1_1ui_1_1elm_1_1_image.html#a222ed0a039047e7dee7da39e9d061f36',1,'pu::ui::elm::Image::OnRender()'],['../dc/d6c/classpu_1_1ui_1_1elm_1_1_menu.html#ab00c239a39190158a37866235e9b87d5',1,'pu::ui::elm::Menu::OnRender()'],['../d2/dcc/classpu_1_1ui_1_1elm_1_1_progress_bar.html#a12ffccd4bc28ad8452b344d84c042d7e',1,'pu::ui::elm::ProgressBar::OnRender()'],['../d5/dea/classpu_1_1ui_1_1elm_1_1_rectangle.html#ad27ed33f82d1137a442cada048127a70',1,'pu::ui::elm::Rectangle::OnRender()'],['../df/d21/classpu_1_1ui_1_1elm_1_1_text_block.html#a5639bd0b9800c87b124e6cffc22a3932',1,'pu::ui::elm::TextBlock::OnRender()'],['../d5/d51/classpu_1_1ui_1_1elm_1_1_toggle.html#a38f0f65de3e93674d90d332d73c2e505',1,'pu::ui::elm::Toggle::OnRender()']]], 8 | ['openmusic_5',['OpenMusic',['../d8/d8f/namespacepu_1_1audio.html#a2fe76d5af6270ea315c156b161514187',1,'pu::audio']]], 9 | ['overlay_6',['Overlay',['../d6/d8f/classpu_1_1ui_1_1_overlay.html#a3cd45e71324be29b015463404e956a7e',1,'pu::ui::Overlay']]] 10 | ]; 11 | -------------------------------------------------------------------------------- /docs/search/functions_d.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['pausemusic_0',['PauseMusic',['../d8/d8f/namespacepu_1_1audio.html#a1a16cf110068c643338a686d06fc0311',1,'pu::audio']]], 4 | ['playmusic_1',['PlayMusic',['../d8/d8f/namespacepu_1_1audio.html#ad15df98e8b6086d6206be0e6621c30ef',1,'pu::audio']]], 5 | ['playmusicwithfadein_2',['PlayMusicWithFadeIn',['../d8/d8f/namespacepu_1_1audio.html#a1833245e640421b1cacc338d5ab5ff2b',1,'pu::audio']]], 6 | ['playsfx_3',['PlaySfx',['../d8/d8f/namespacepu_1_1audio.html#a38344de3e19215b9d8125e6971c7f6cd',1,'pu::audio']]], 7 | ['prerender_4',['PreRender',['../dc/dcd/classpu_1_1ui_1_1_container.html#a9a72b95abf9aaf98500384a7a3258b4e',1,'pu::ui::Container']]], 8 | ['progressbar_5',['ProgressBar',['../d2/dcc/classpu_1_1ui_1_1elm_1_1_progress_bar.html#a6cf28de683bc5e197bc95eee2093246e',1,'pu::ui::elm::ProgressBar']]] 9 | ]; 10 | -------------------------------------------------------------------------------- /docs/search/mag.svg: -------------------------------------------------------------------------------- 1 | 2 | 4 | 12 | 14 | 20 | 24 | 25 | -------------------------------------------------------------------------------- /docs/search/mag_d.svg: -------------------------------------------------------------------------------- 1 | 2 | 4 | 12 | 14 | 20 | 24 | 25 | -------------------------------------------------------------------------------- /docs/search/mag_sel.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 13 | 15 | 21 | 26 | 31 | 32 | -------------------------------------------------------------------------------- /docs/search/mag_seld.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 13 | 15 | 21 | 26 | 31 | 32 | -------------------------------------------------------------------------------- /docs/search/namespaces_0.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['pu_0',['pu',['../da/df2/namespacepu.html',1,'']]], 4 | ['pu_3a_3aaudio_1',['audio',['../d8/d8f/namespacepu_1_1audio.html',1,'pu']]], 5 | ['pu_3a_3asdl2_2',['sdl2',['../d1/d78/namespacepu_1_1sdl2.html',1,'pu']]], 6 | ['pu_3a_3attf_3',['ttf',['../d5/d72/namespacepu_1_1ttf.html',1,'pu']]], 7 | ['pu_3a_3aui_4',['ui',['../d9/d7f/namespacepu_1_1ui.html',1,'pu']]], 8 | ['pu_3a_3aui_3a_3aelm_5',['elm',['../d2/d5e/namespacepu_1_1ui_1_1elm.html',1,'pu::ui']]], 9 | ['pu_3a_3aui_3a_3aextras_6',['extras',['../d6/d78/namespacepu_1_1ui_1_1extras.html',1,'pu::ui']]], 10 | ['pu_3a_3aui_3a_3arender_7',['render',['../da/d54/namespacepu_1_1ui_1_1render.html',1,'pu::ui']]] 11 | ]; 12 | -------------------------------------------------------------------------------- /docs/search/searchdata.js: -------------------------------------------------------------------------------- 1 | var indexSectionsWithContent = 2 | { 3 | 0: "abcdefghilmnoprstuvwxy~", 4 | 1: "abcdefilmoprst", 5 | 2: "p", 6 | 3: "aeprstu", 7 | 4: "abcdefghilmnoprstuw~", 8 | 5: "abdefghilmnoprstvwxy", 9 | 6: "dfimorstw", 10 | 7: "dhv", 11 | 8: "cdlmrsu", 12 | 9: "pstu" 13 | }; 14 | 15 | var indexSectionNames = 16 | { 17 | 0: "all", 18 | 1: "classes", 19 | 2: "namespaces", 20 | 3: "files", 21 | 4: "functions", 22 | 5: "variables", 23 | 6: "typedefs", 24 | 7: "enums", 25 | 8: "enumvalues", 26 | 9: "defines" 27 | }; 28 | 29 | var indexSectionLabels = 30 | { 31 | 0: "All", 32 | 1: "Classes", 33 | 2: "Namespaces", 34 | 3: "Files", 35 | 4: "Functions", 36 | 5: "Variables", 37 | 6: "Typedefs", 38 | 7: "Enumerations", 39 | 8: "Enumerator", 40 | 9: "Macros" 41 | }; 42 | 43 | -------------------------------------------------------------------------------- /docs/search/typedefs_0.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['dialogpreparecallback_0',['DialogPrepareCallback',['../da/dc0/classpu_1_1ui_1_1_application.html#ab5ffc6305fac5a8da0d44e2d312b1855',1,'pu::ui::Application']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /docs/search/typedefs_1.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['font_0',['Font',['../d1/d78/namespacepu_1_1sdl2.html#a047543c75bc366131d8e3a89126ef08f',1,'pu::sdl2']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /docs/search/typedefs_2.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['i32_0',['i32',['../da/df2/namespacepu.html#abd11f97b8b05a9c48f1aebeb941a9aca',1,'pu']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /docs/search/typedefs_3.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['music_0',['Music',['../d8/d8f/namespacepu_1_1audio.html#ad2bc0719898a3c96c00d86780f9d8c11',1,'pu::audio']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /docs/search/typedefs_4.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['onclickcallback_0',['OnClickCallback',['../d4/de7/classpu_1_1ui_1_1elm_1_1_button.html#aa95f57228b0de124787f510e2ded931e',1,'pu::ui::elm::Button']]], 4 | ['oninputcallback_1',['OnInputCallback',['../da/dc0/classpu_1_1ui_1_1_application.html#aa467ae329caa68a7ce48806f143ef4d1',1,'pu::ui::Application::OnInputCallback'],['../d6/d11/classpu_1_1ui_1_1_layout.html#a7fe919970eca6881db907d85142abe09',1,'pu::ui::Layout::OnInputCallback']]], 5 | ['onkeycallback_2',['OnKeyCallback',['../de/dbb/classpu_1_1ui_1_1elm_1_1_menu_item.html#a8e77055d6b85df04010739767c61c48d',1,'pu::ui::elm::MenuItem']]], 6 | ['onselectionchangedcallback_3',['OnSelectionChangedCallback',['../dc/d6c/classpu_1_1ui_1_1elm_1_1_menu.html#af1b77782418095762505bbd1d3022451',1,'pu::ui::elm::Menu']]] 7 | ]; 8 | -------------------------------------------------------------------------------- /docs/search/typedefs_5.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['rendercallback_0',['RenderCallback',['../da/dc0/classpu_1_1ui_1_1_application.html#a875fd12dc58069ead6176a47c553ce05',1,'pu::ui::Application::RenderCallback'],['../d6/d11/classpu_1_1ui_1_1_layout.html#a8cb44afa8209bc3f748614c58e1126f2',1,'pu::ui::Layout::RenderCallback']]], 4 | ['renderer_1',['Renderer',['../d1/d78/namespacepu_1_1sdl2.html#aa0c4e634637db654441e537fabc75125',1,'pu::sdl2']]], 5 | ['renderoverfunction_2',['RenderOverFunction',['../da/dc0/classpu_1_1ui_1_1_application.html#a374a778ba740283e918269bda6cf33ee',1,'pu::ui::Application']]] 6 | ]; 7 | -------------------------------------------------------------------------------- /docs/search/typedefs_6.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['sfx_0',['Sfx',['../d8/d8f/namespacepu_1_1audio.html#a88fc28259e6dad775921efd1d384966c',1,'pu::audio']]], 4 | ['surface_1',['Surface',['../d1/d78/namespacepu_1_1sdl2.html#a7b87c4dd0744d10e5bb57d274c10f7ac',1,'pu::sdl2']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /docs/search/typedefs_7.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['texture_0',['Texture',['../d1/d78/namespacepu_1_1sdl2.html#a880d1002237395b299353a9d6c501d4e',1,'pu::sdl2']]], 4 | ['ttf_5ffont_1',['TTF_Font',['../de/dfe/sdl2___custom_ttf_8h.html#ac3b14e1c2946c0cf19776fe568d9abcf',1,'sdl2_CustomTtf.h']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /docs/search/typedefs_8.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['window_0',['Window',['../d1/d78/namespacepu_1_1sdl2.html#af25620a2e82c56dc48a4abc6e5f0b31f',1,'pu::sdl2']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /docs/search/variables_0.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['a_0',['a',['../d7/d0c/structpu_1_1ui_1_1_color.html#a5c34ea431e3f4bdeb80c2bf6a2cf0950',1,'pu::ui::Color']]], 4 | ['allowederror_1',['AllowedError',['../d2/d96/classpu_1_1ui_1_1_sigmoid_incrementer.html#af44762c1a03b838c29b6fd882fc40eeb',1,'pu::ui::SigmoidIncrementer']]], 5 | ['alpha_5fmod_2',['alpha_mod',['../dc/d32/structpu_1_1ui_1_1render_1_1_texture_render_options.html#a4b579ab4b2bb90df8ad49d633a03e22a',1,'pu::ui::render::TextureRenderOptions']]] 6 | ]; 7 | -------------------------------------------------------------------------------- /docs/search/variables_1.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['b_0',['b',['../d7/d0c/structpu_1_1ui_1_1_color.html#ae55e2a30e1796df374dd677d31d83342',1,'pu::ui::Color']]], 4 | ['basescreenheight_1',['BaseScreenHeight',['../da/d54/namespacepu_1_1ui_1_1render.html#a946cfa807d6452bb288d6a619211d962',1,'pu::ui::render']]], 5 | ['basescreenwidth_2',['BaseScreenWidth',['../da/d54/namespacepu_1_1ui_1_1render.html#a7a90721ab0edd200b5587049de359727',1,'pu::ui::render']]] 6 | ]; 7 | -------------------------------------------------------------------------------- /docs/search/variables_10.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['v_5falign_0',['v_align',['../d9/d0e/classpu_1_1ui_1_1elm_1_1_element.html#ac9085dcbc1b4061b22075bc1cd32cedd',1,'pu::ui::elm::Element']]], 4 | ['visible_1',['visible',['../d9/d0e/classpu_1_1ui_1_1elm_1_1_element.html#ad46fad870d47414f843f2f35d099f1da',1,'pu::ui::elm::Element']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /docs/search/variables_11.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['w_0',['w',['../dc/dcd/classpu_1_1ui_1_1_container.html#a1cfc135e2bb905b57a4be3b9294e812f',1,'pu::ui::Container']]], 4 | ['width_1',['width',['../df/d6f/structpu_1_1ui_1_1render_1_1_renderer_init_options.html#aa042751d8759c060e7b845832cc00ef0',1,'pu::ui::render::RendererInitOptions::width'],['../dc/d32/structpu_1_1ui_1_1render_1_1_texture_render_options.html#a8b2642bbebad684c07f9e692d053952b',1,'pu::ui::render::TextureRenderOptions::width']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /docs/search/variables_12.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['x_0',['x',['../dc/dcd/classpu_1_1ui_1_1_container.html#a0611d8d500db31fe2c83a29ab2089f5e',1,'pu::ui::Container::x'],['../d7/d55/structpu_1_1ui_1_1_touch_point.html#a911f7a0d75d0b3e8ea256a0ba5530956',1,'pu::ui::TouchPoint::x']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /docs/search/variables_13.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['y_0',['y',['../dc/dcd/classpu_1_1ui_1_1_container.html#a3470636cdd7eb6dfea4b40b22e0e12c7',1,'pu::ui::Container::y'],['../d7/d55/structpu_1_1ui_1_1_touch_point.html#a1b490a4531448177279248ec32286074',1,'pu::ui::TouchPoint::y']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /docs/search/variables_3.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['elems_0',['elems',['../dc/dcd/classpu_1_1ui_1_1_container.html#a0e8fcdecac68cddf4c9baa90599569c6',1,'pu::ui::Container']]], 4 | ['extra_5fdefault_5ffont_5fsizes_1',['extra_default_font_sizes',['../df/d6f/structpu_1_1ui_1_1render_1_1_renderer_init_options.html#a18a9ec1702ef30964391be62f777a1ad',1,'pu::ui::render::RendererInitOptions']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /docs/search/variables_4.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['fade_5falpha_0',['fade_alpha',['../da/dc0/classpu_1_1ui_1_1_application.html#a8d109c462aa687642e446ec811a18d9c',1,'pu::ui::Application']]], 4 | ['fade_5falpha_5fincr_1',['fade_alpha_incr',['../da/dc0/classpu_1_1ui_1_1_application.html#a3d8ae34fd4b35a2f1fe02339bb9203ce',1,'pu::ui::Application']]], 5 | ['fade_5falpha_5fincrement_5fsteps_2',['fade_alpha_increment_steps',['../da/dc0/classpu_1_1ui_1_1_application.html#a42170fe4e5519a3760bf9a9642133d84',1,'pu::ui::Application']]], 6 | ['fade_5fbg_5fclr_3',['fade_bg_clr',['../da/dc0/classpu_1_1ui_1_1_application.html#ab20124479d832aaa6a6cd9875f876abb',1,'pu::ui::Application']]], 7 | ['fade_5fbg_5ftex_4',['fade_bg_tex',['../da/dc0/classpu_1_1ui_1_1_application.html#a144c1ae9fbe69bdc1b9cdaafd9b167fd',1,'pu::ui::Application']]] 8 | ]; 9 | -------------------------------------------------------------------------------- /docs/search/variables_5.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['g_0',['g',['../d7/d0c/structpu_1_1ui_1_1_color.html#a4674bc7b15dea3d689f6310185347586',1,'pu::ui::Color']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /docs/search/variables_6.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['h_0',['h',['../dc/dcd/classpu_1_1ui_1_1_container.html#a908e50723784ef3d1e0fea0c8ce65cad',1,'pu::ui::Container']]], 4 | ['h_5falign_1',['h_align',['../d9/d0e/classpu_1_1ui_1_1elm_1_1_element.html#a27117765b66cf5a7bcc6d272fac1bf48',1,'pu::ui::elm::Element']]], 5 | ['height_2',['height',['../df/d6f/structpu_1_1ui_1_1render_1_1_renderer_init_options.html#a072f8793d8e3e2e670dc782554abc131',1,'pu::ui::render::RendererInitOptions::height'],['../dc/d32/structpu_1_1ui_1_1render_1_1_texture_render_options.html#aaf5207a4ee7b5198863579ac8da5ba66',1,'pu::ui::render::TextureRenderOptions::height']]] 6 | ]; 7 | -------------------------------------------------------------------------------- /docs/search/variables_7.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['imgallflags_0',['ImgAllFlags',['../da/d54/namespacepu_1_1ui_1_1render.html#a43fb290f1b8085ce1dac53e7506c1993',1,'pu::ui::render']]], 4 | ['in_5frender_5fover_1',['in_render_over',['../da/dc0/classpu_1_1ui_1_1_application.html#a8a1650a14277160860e10b1df2a2e7b4',1,'pu::ui::Application']]], 5 | ['init_5fimg_2',['init_img',['../df/d6f/structpu_1_1ui_1_1render_1_1_renderer_init_options.html#a90f6cc91a32d2d12a8d3b1c99b8cf403',1,'pu::ui::render::RendererInitOptions']]], 6 | ['init_5fromfs_3',['init_romfs',['../df/d6f/structpu_1_1ui_1_1render_1_1_renderer_init_options.html#a7aeb5c4f0f793bfd13590668cd43235a',1,'pu::ui::render::RendererInitOptions']]], 7 | ['invalidfontfaceindex_4',['InvalidFontFaceIndex',['../dd/d76/classpu_1_1ttf_1_1_font.html#a99ce50e78019ea5a048d5f2f040e0f43',1,'pu::ttf::Font']]], 8 | ['is_5fshown_5',['is_shown',['../da/dc0/classpu_1_1ui_1_1_application.html#a089a01967c0885355a0f671219351696',1,'pu::ui::Application']]] 9 | ]; 10 | -------------------------------------------------------------------------------- /docs/search/variables_8.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['loaded_0',['loaded',['../da/dc0/classpu_1_1ui_1_1_application.html#aab06d178dbe6d404fe274b18824cfc3c',1,'pu::ui::Application']]], 4 | ['lyt_1',['lyt',['../da/dc0/classpu_1_1ui_1_1_application.html#a43fefd09f752dc74936c2c079c45a533',1,'pu::ui::Application']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /docs/search/variables_9.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['mixerallflags_0',['MixerAllFlags',['../d8/d8f/namespacepu_1_1audio.html#af1ce28c1023a2fc63e459591e35397ae',1,'pu::audio']]], 4 | ['module_1',['Module',['../da/df2/namespacepu.html#a6acbbb8b82eb5892651e22cdc457970a',1,'pu']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /docs/search/variables_a.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['noalpha_0',['NoAlpha',['../dc/d32/structpu_1_1ui_1_1render_1_1_texture_render_options.html#a66db5065001cf2ba752c7bb18c17300b',1,'pu::ui::render::TextureRenderOptions']]], 4 | ['noclamp_1',['NoClamp',['../df/d21/classpu_1_1ui_1_1elm_1_1_text_block.html#a571d312767e5b06a79e47224e120a66a',1,'pu::ui::elm::TextBlock']]], 5 | ['noheight_2',['NoHeight',['../dc/d32/structpu_1_1ui_1_1render_1_1_texture_render_options.html#aefa877cc8f0002335d30eb93d1faa4e3',1,'pu::ui::render::TextureRenderOptions']]], 6 | ['norotation_3',['NoRotation',['../dc/d32/structpu_1_1ui_1_1render_1_1_texture_render_options.html#ac4399ad9cab23155bd9d5b6e9c30b015',1,'pu::ui::render::TextureRenderOptions']]], 7 | ['nosourcex_4',['NoSourceX',['../dc/d32/structpu_1_1ui_1_1render_1_1_texture_render_options.html#a84634c42885aef1f0fd1b1baa0c41b07',1,'pu::ui::render::TextureRenderOptions']]], 8 | ['nosourcey_5',['NoSourceY',['../dc/d32/structpu_1_1ui_1_1render_1_1_texture_render_options.html#ab6d1ea815394bfba5e2513dabe07a845',1,'pu::ui::render::TextureRenderOptions']]], 9 | ['nowidth_6',['NoWidth',['../dc/d32/structpu_1_1ui_1_1render_1_1_texture_render_options.html#a308031ec24474b88bd71242522c42a5b',1,'pu::ui::render::TextureRenderOptions']]] 10 | ]; 11 | -------------------------------------------------------------------------------- /docs/search/variables_b.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['on_5fipt_5fcb_0',['on_ipt_cb',['../da/dc0/classpu_1_1ui_1_1_application.html#a2df6f0e62e24af013b1e64b7de63a3cb',1,'pu::ui::Application']]], 4 | ['ovl_1',['ovl',['../da/dc0/classpu_1_1ui_1_1_application.html#abc8b77634ba4b551e42d69e66f6bacf4',1,'pu::ui::Application']]], 5 | ['ovl_5fstart_5ftime_2',['ovl_start_time',['../da/dc0/classpu_1_1ui_1_1_application.html#afe27eca2727bc7808b5832a879a915bd',1,'pu::ui::Application']]], 6 | ['ovl_5ftimeout_5fms_3',['ovl_timeout_ms',['../da/dc0/classpu_1_1ui_1_1_application.html#acc362b64289bf6cdfa81c81df610f315',1,'pu::ui::Application']]] 7 | ]; 8 | -------------------------------------------------------------------------------- /docs/search/variables_c.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['pad_5fid_5fmask_0',['pad_id_mask',['../df/d6f/structpu_1_1ui_1_1render_1_1_renderer_init_options.html#a463a72964b4abaa7379f52059649b3e8',1,'pu::ui::render::RendererInitOptions']]], 4 | ['pad_5fplayer_5fcount_1',['pad_player_count',['../df/d6f/structpu_1_1ui_1_1render_1_1_renderer_init_options.html#a4e2df4475432aa7ef44daee8225d4c3f',1,'pu::ui::render::RendererInitOptions']]], 5 | ['pad_5fstyle_5ftag_2',['pad_style_tag',['../df/d6f/structpu_1_1ui_1_1render_1_1_renderer_init_options.html#a265cdf30f8438a2b40cf273fc8aafb89',1,'pu::ui::render::RendererInitOptions']]], 6 | ['parent_5fcontainer_3',['parent_container',['../d9/d0e/classpu_1_1ui_1_1elm_1_1_element.html#a2e6c995d5a409815b11e15f1f895534a',1,'pu::ui::elm::Element']]], 7 | ['pl_5fsrv_5ftype_4',['pl_srv_type',['../df/d6f/structpu_1_1ui_1_1render_1_1_renderer_init_options.html#a66412b7bb580c289b35120d6ecb78081',1,'pu::ui::render::RendererInitOptions']]] 8 | ]; 9 | -------------------------------------------------------------------------------- /docs/search/variables_d.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['r_0',['r',['../d7/d0c/structpu_1_1ui_1_1_color.html#a85b0f2161d79f9260d7fbbe5db89a07b',1,'pu::ui::Color']]], 4 | ['render_5fcbs_1',['render_cbs',['../da/dc0/classpu_1_1ui_1_1_application.html#a1e64ead3b8e6935e866c32f015d5e287',1,'pu::ui::Application']]], 5 | ['render_5flock_2',['render_lock',['../da/dc0/classpu_1_1ui_1_1_application.html#aa82267cbf397dbbc97732e53032a0873',1,'pu::ui::Application']]], 6 | ['render_5fover_5ffn_3',['render_over_fn',['../da/dc0/classpu_1_1ui_1_1_application.html#abd0bc4d0efa786751527f59c23961dfe',1,'pu::ui::Application']]], 7 | ['renderer_4',['renderer',['../da/dc0/classpu_1_1ui_1_1_application.html#ad21fef299cbbc0a83cc79b4282210514',1,'pu::ui::Application']]], 8 | ['rendererhardwareflags_5',['RendererHardwareFlags',['../da/d54/namespacepu_1_1ui_1_1render.html#ae9f1375477d6776bad834896952ecaf2',1,'pu::ui::render']]], 9 | ['renderersoftwareflags_6',['RendererSoftwareFlags',['../da/d54/namespacepu_1_1ui_1_1render.html#aaedd6a7faa3d79a5e6cf58120fe8626b',1,'pu::ui::render']]], 10 | ['resultimginitfailed_7',['ResultImgInitFailed',['../da/df2/namespacepu.html#a057c5f0f044145a0ce7d4fcdca9017ee',1,'pu']]], 11 | ['resultsdlcreaterendererfailed_8',['ResultSdlCreateRendererFailed',['../da/df2/namespacepu.html#a55201d4f8c64c23fe7c772d3480faeda',1,'pu']]], 12 | ['resultsdlcreatewindowfailed_9',['ResultSdlCreateWindowFailed',['../da/df2/namespacepu.html#a6157114367515585c4a87a9a8d3cb28b',1,'pu']]], 13 | ['resultsdlinitfailed_10',['ResultSdlInitFailed',['../da/df2/namespacepu.html#aee2dc52b693f94b5f242e7c15942c977',1,'pu']]], 14 | ['resultttfinitfailed_11',['ResultTtfInitFailed',['../da/df2/namespacepu.html#a7fdef1309928fca9976c7cbd5647885e',1,'pu']]], 15 | ['rot_5fangle_12',['rot_angle',['../dc/d32/structpu_1_1ui_1_1render_1_1_texture_render_options.html#a01880124bb058e56d5830254fe8eed01',1,'pu::ui::render::TextureRenderOptions']]] 16 | ]; 17 | -------------------------------------------------------------------------------- /docs/search/variables_e.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['screenfactor_0',['ScreenFactor',['../da/d54/namespacepu_1_1ui_1_1render.html#ae3cf1b4af112241c6f3de6a58659c23a',1,'pu::ui::render']]], 4 | ['screenheight_1',['ScreenHeight',['../da/d54/namespacepu_1_1ui_1_1render.html#af387b6301a55da00e921539845d9f357',1,'pu::ui::render']]], 5 | ['screenwidth_2',['ScreenWidth',['../da/d54/namespacepu_1_1ui_1_1render.html#ae5920eeeae0aa4c3eac8073c2471ebb6',1,'pu::ui::render']]], 6 | ['sdl_5fflags_3',['sdl_flags',['../df/d6f/structpu_1_1ui_1_1render_1_1_renderer_init_options.html#afa4665c4893bdfd09b3d039c1e3a7e86',1,'pu::ui::render::RendererInitOptions']]], 7 | ['sdl_5fimg_5fflags_4',['sdl_img_flags',['../df/d6f/structpu_1_1ui_1_1render_1_1_renderer_init_options.html#a98fc68e3428426c4ffe923f67b68399d',1,'pu::ui::render::RendererInitOptions']]], 8 | ['sdl_5frender_5fflags_5',['sdl_render_flags',['../df/d6f/structpu_1_1ui_1_1render_1_1_renderer_init_options.html#a3d91fb198cc5867cdb6ae8aadd0281e8',1,'pu::ui::render::RendererInitOptions']]], 9 | ['src_5fx_6',['src_x',['../dc/d32/structpu_1_1ui_1_1render_1_1_texture_render_options.html#a6b6ae474ac202595552053f733d9f809',1,'pu::ui::render::TextureRenderOptions']]], 10 | ['src_5fy_7',['src_y',['../dc/d32/structpu_1_1ui_1_1render_1_1_texture_render_options.html#ad786862bcb59754ea6708f8ab1392f47',1,'pu::ui::render::TextureRenderOptions']]] 11 | ]; 12 | -------------------------------------------------------------------------------- /docs/search/variables_f.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['touchpseudokey_0',['TouchPseudoKey',['../d9/d7f/namespacepu_1_1ui.html#a66f25a7f79116138f33ff92bfe628c0a',1,'pu::ui']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /docs/splitbar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XorTroll/Plutonium/700f0c3063b3a55d396f766d43b526613ea180b9/docs/splitbar.png -------------------------------------------------------------------------------- /docs/splitbard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XorTroll/Plutonium/700f0c3063b3a55d396f766d43b526613ea180b9/docs/splitbard.png -------------------------------------------------------------------------------- /docs/sync_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XorTroll/Plutonium/700f0c3063b3a55d396f766d43b526613ea180b9/docs/sync_off.png -------------------------------------------------------------------------------- /docs/sync_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XorTroll/Plutonium/700f0c3063b3a55d396f766d43b526613ea180b9/docs/sync_on.png -------------------------------------------------------------------------------- /docs/tab_a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XorTroll/Plutonium/700f0c3063b3a55d396f766d43b526613ea180b9/docs/tab_a.png -------------------------------------------------------------------------------- /docs/tab_ad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XorTroll/Plutonium/700f0c3063b3a55d396f766d43b526613ea180b9/docs/tab_ad.png -------------------------------------------------------------------------------- /docs/tab_b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XorTroll/Plutonium/700f0c3063b3a55d396f766d43b526613ea180b9/docs/tab_b.png -------------------------------------------------------------------------------- /docs/tab_bd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XorTroll/Plutonium/700f0c3063b3a55d396f766d43b526613ea180b9/docs/tab_bd.png -------------------------------------------------------------------------------- /docs/tab_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XorTroll/Plutonium/700f0c3063b3a55d396f766d43b526613ea180b9/docs/tab_h.png -------------------------------------------------------------------------------- /docs/tab_hd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XorTroll/Plutonium/700f0c3063b3a55d396f766d43b526613ea180b9/docs/tab_hd.png -------------------------------------------------------------------------------- /docs/tab_s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XorTroll/Plutonium/700f0c3063b3a55d396f766d43b526613ea180b9/docs/tab_s.png -------------------------------------------------------------------------------- /docs/tab_sd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XorTroll/Plutonium/700f0c3063b3a55d396f766d43b526613ea180b9/docs/tab_sd.png -------------------------------------------------------------------------------- /example/include/MainApplication.hpp: -------------------------------------------------------------------------------- 1 | 2 | #pragma once 3 | 4 | // Include Plutonium's main header 5 | #include 6 | 7 | // Define your main layout as a class inheriting from pu::Layout 8 | class CustomLayout : public pu::ui::Layout { 9 | private: 10 | 11 | // An easy way to keep objects is to have them as private members 12 | // Using ::Ref (of a Plutonium built-in object or any class having PU_SMART_CTOR) is an alias to a shared_ptr of the instance. 13 | pu::ui::elm::TextBlock::Ref helloText; 14 | 15 | public: 16 | 17 | CustomLayout(); 18 | 19 | // Have ::Ref alias and ::New() static constructor 20 | PU_SMART_CTOR(CustomLayout) 21 | }; 22 | 23 | // Define your application (can't instantiate base class, so need to make a derived one) 24 | class MainApplication : public pu::ui::Application { 25 | private: 26 | 27 | // Layout instance 28 | CustomLayout::Ref layout; 29 | 30 | public: 31 | using Application::Application; 32 | PU_SMART_CTOR(MainApplication) 33 | 34 | // We need to define this, and use it to initialize everything 35 | void OnLoad() override; 36 | }; 37 | -------------------------------------------------------------------------------- /example/source/Main.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | /* 4 | 5 | // If you would like to initialize and finalize stuff before or after Plutonium, you can use libnx's userAppInit/userAppExit 6 | 7 | extern "C" void userAppInit() { 8 | // Initialize stuff 9 | } 10 | 11 | extern "C" void userAppExit() { 12 | // Cleanup/finalize stuff 13 | } 14 | 15 | */ 16 | 17 | int main() { 18 | // First create our renderer, where one can customize SDL2 or other stuff's initialization 19 | auto renderer_opts = pu::ui::render::RendererInitOptions(SDL_INIT_EVERYTHING, pu::ui::render::RendererHardwareFlags); 20 | renderer_opts.UseImage(pu::ui::render::ImgAllFlags); 21 | 22 | // For text rendering, just use the system shared font (including all types, thus supporting multiple symbols) 23 | renderer_opts.SetPlServiceType(PlServiceType_User); 24 | renderer_opts.AddDefaultAllSharedFonts(); 25 | 26 | // Player input: accept only input from Player 1, whether it is handheld or a regular controller 27 | renderer_opts.SetInputPlayerCount(1); 28 | renderer_opts.AddInputNpadStyleTag(HidNpadStyleSet_NpadStandard); 29 | renderer_opts.AddInputNpadIdType(HidNpadIdType_Handheld); 30 | renderer_opts.AddInputNpadIdType(HidNpadIdType_No1); 31 | 32 | auto renderer = pu::ui::render::Renderer::New(renderer_opts); 33 | 34 | // Create our main application from the renderer 35 | auto main = MainApplication::New(renderer); 36 | 37 | // Load the application. This MUST be called or Show() will exit and nothing will be rendered 38 | const auto rc = main->Load(); 39 | if(R_FAILED(rc)) { 40 | diagAbortWithResult(rc); 41 | } 42 | 43 | // Show: start rendering in an "infinite" loop 44 | // If wou would like to show with a "fade in" from black-screen to the UI, use instead ShowWithFadeIn(); 45 | main->Show(); 46 | 47 | // Plutonium will handle all disposing of UI and renderer/application when Close is called 48 | 49 | return 0; 50 | } 51 | -------------------------------------------------------------------------------- /example/source/MainApplication.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | // Implement all the layout/application functions here 4 | 5 | CustomLayout::CustomLayout() : Layout::Layout() { 6 | // Create the TextBlock instance with the text we want 7 | this->helloText = pu::ui::elm::TextBlock::New(300, 300, "Press X to answer my question"); 8 | 9 | // Add the instance to the layout. IMPORTANT! this MUST be done for them to be used, having them as members is not enough (just a simple way to keep them) 10 | this->Add(this->helloText); 11 | } 12 | 13 | void MainApplication::OnLoad() { 14 | // Create the layout (calling the smart constructor above) 15 | this->layout = CustomLayout::New(); 16 | 17 | // Load the layout. In applications layouts are loaded, not added into a container (you don't select an added layout, just load it from this function) 18 | // Simply explained: loading layout = the application will render that layout in the very next frame 19 | this->LoadLayout(this->layout); 20 | 21 | // Set a function when input is caught. This input handling will be the first one to be handled (before Layout or any Elements) 22 | // Using a lambda function here to simplify things 23 | // You can use member functions via std::bind() C++ wrapper 24 | this->SetOnInput([&](const u64 keys_down, const u64 keys_up, const u64 keys_held, const pu::ui::TouchPoint touch_pos) { 25 | // If X is pressed, start with our dialog questions! 26 | if(keys_down & HidNpadButton_X) { 27 | int opt = this->CreateShowDialog("Question", "Do you like apples?", { "Yes!", "No...", "Cancel" }, true); // (using latest option as cancel option) 28 | // -1 and -2 are similar, but if the user cancels manually -1 is set, other types or cancel should be -2. 29 | if((opt == -1) || (opt == -2)) { 30 | this->CreateShowDialog("Cancel", "Last question was canceled.", { "Ok" }, true); // If we will ignore the option, it doesn't matter if this is true or false 31 | } 32 | else { 33 | // Otherwise, opt will be the index of the options we passed to the dialog 34 | switch(opt) { 35 | // "Yes!" was selected 36 | case 0: { 37 | this->CreateShowDialog("Answer", "Really? I like apples too!", { "Ok" }, true); // Same here ^ 38 | break; 39 | } 40 | // "No..." was selected 41 | case 1: { 42 | this->CreateShowDialog("Answer", "Oh, bad news then...", { "Ok" }, true); // And here ^ 43 | break; 44 | } 45 | } 46 | } 47 | } 48 | // If + is pressed, exit application 49 | else if(keys_down & HidNpadButton_Plus) { 50 | this->Close(); 51 | } 52 | }); 53 | } 54 | --------------------------------------------------------------------------------