Commit Graph

15 Commits

Author SHA1 Message Date
giantpune
1d48d64f72 Change the URL for WiiTDB.zip. Now it only gets XML data for games on your drive rather than getting info for all 1500+ games every time. It is getting them based on the first 4 chars of the ID and there is a 2000 char limit on the URL set by lustar's over protective girlfriend so that translates to a 393 game limit on the XML downloaded from within the app. In case you didn't know, the xml is updated when you either update the full channel or "update all" with the dol.
also fixed one of the code dumps from the gameinfo page.
2009-07-15 00:57:37 +00:00
giantpune
57f0ce0ed4 Added functions/vars to GuiText to allow showing & hiding rows when it is wrapped.
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.
2009-07-13 11:19:31 +00:00
ardi@ist-einmalig.de
a5ec5c9d63 *add scrolling Text to the GuiCostomOptionBrowser (now shown full Paths)
*add GuiText::SetTextf(format, ...); Set formatet text like printf
2009-05-29 13:20:28 +00:00
ardi@ist-einmalig.de
45ae32f0cd commit my stuff again and fix it (no more codedumps on the Download) 2009-05-28 15:36:45 +00:00
dimok321
f793af2d39 *Added Update Button to the Settings which can Update to newer Revs (only seen when in UnlockMode)
**Big Thanks to CorneliousJD for Hosting the DOLs)**

*Reverted ardi's stuff which made codedumps on the Download (sorry ardi commit it again when its fixed)
2009-05-28 12:12:52 +00:00
ardi@ist-einmalig.de
516baef59f * some bugfixes in FreeTypeGX (no springing text by scrolling)
* add 4 FTGX_ALIGN_... Modes
* scrolling now pixel by pixel (softscrolling)
2009-05-26 21:54:30 +00:00
ardi@ist-einmalig.de
5cf5cd6ae7 * added two new wrapmodes for gui_text "DOTTED" & "SCROLL"
- DOTTED: cuts the text and appends "..."
  - SCROLL: scrolls the text
* added dotted/scrolled text for gamebrowser, gamepromt and so on (more will come later)
* remove CFG.maxcharacters and THEME.maxcharacters (no more needed)
2009-05-22 22:36:55 +00:00
ardi@ist-einmalig.de
52fbd15569 * add a nice effect for the GamePromt. To aktivate set in Setup: Flip-X=DiskFlip
* remove the Disk-Shadow from dialogue_box_startgame.png (themers will scream). The Shadow now drawing from Loader
* little changes for Widescreen-prompt-fix
2009-05-20 20:09:57 +00:00
ardi@ist-einmalig.de
fc20580add Fixed thi Install-Bug ... i think 2009-05-11 18:45:33 +00:00
ardi@ist-einmalig.de
6e3f50efeb new Tooltip-Handling, change Widescreen-sizing to mathematically correct value (0.75 alias 1.333), new Clock-Font 2009-05-07 22:46:54 +00:00
ardi@ist-einmalig.de
1768998644 Added mutex/mutexlock to synchronize the GuiThreads and the MainThread, again clockfont edited (bearing of "1") 2009-05-06 22:36:28 +00:00
ardi@ist-einmalig.de
28c51cd5e8 2009-05-05 18:17:59 +00:00
thedarkness1981
4db969442c Fixed CreditWíndow, changed sdcard logo size 2009-05-05 01:35:41 +00:00
ardi@ist-einmalig.de
a00104784f Added a special font for the clock 2009-05-04 21:50:46 +00:00
dimok321
c152f5c3d4 *Added Standard IOS option to global settings. This decides with what IOS the Loader is gonna boot next. 2009-05-03 18:53:31 +00:00