mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-04 18:45:05 +01:00
57f0ce0ed4
new vars are firstLine = 1; numLines = -1; totalLines = 1; totalLines is not changed until the text is set to wrap and Draw() is called 1 time. The other 2 are set with functions. new functions are void GuiText::SetNumLines(int n) void GuiText::SetFirstLine(int n) int GuiText::GetNumLines() int GuiText::GetFirstLine() int GuiText::GetTotalLines() int GuiText::GetLineHeight(int n) These should be self explanatory. GetLineHeight relies on total lines so it needs to be called after the first Draw(); Raised the chars[] to 3000 for the synopsis because people are writing books in there. Used those new fancy functions make the synopsis fit in the info window. Press up/down to scroll the text. Arrows may come later for the buttons. Also put a home buttononlytrigger on the game prompt. moved disable mainWindow to the beginning of the infoprompt to keep from loading images and stuff from the sd at the same time we are reading the xml file. |
||
---|---|---|
.. | ||
gui_banner.cpp | ||
gui_banner.h | ||
gui_button.cpp | ||
gui_customoptionbrowser.cpp | ||
gui_customoptionbrowser.h | ||
gui_diskcover.cpp | ||
gui_diskcover.h | ||
gui_element.cpp | ||
gui_gamebrowser.cpp | ||
gui_gamebrowser.h | ||
gui_gamecarousel.cpp | ||
gui_gamecarousel.h | ||
gui_gamegrid.cpp | ||
gui_gamegrid.h | ||
gui_image.cpp | ||
gui_imagedata.cpp | ||
gui_keyboard.cpp | ||
gui_optionbrowser.cpp | ||
gui_sound.cpp | ||
gui_text.cpp | ||
gui_tooltip.cpp | ||
gui_trigger.cpp | ||
gui_window.cpp | ||
gui.h |