mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-23 03:39:16 +01:00
cf1a8fb5a0
*Fixed effect GOROUND so that it doesn't cause alignment issues anymore (the format for this effect is very different than it originally was, if you plan on using it for something, look at the documentation in gui.h. *Major revamp of gui_gamecarousel (everything is awesome and perfect, except it still can't launch games, and thus it is still not in the gui). **gui_gamecarousel Notes: *You can use the same technique as last time to test the carousel (except I recommend adding startat and offset to the line since I added support for it). *I realized not everyone will agree for my choice of curvature and spacing for the games on the carousel, so I made them variable. At the top of gui_gamecarousel.cpp are a bunch of definitions that set up these values. *SCALE determines the size of the game boxes. *DEG_OFFSET is the number of degrees between the boxes (remember, changing the RADIUS will affect the linear distance each degree represents). *RADIUS determines the curvature of the arc (higher radius makes it less curved). *IN_SPEED determines the speed at which the boxes come in (higher number makes it faster). *SHFIT_SPEED determines the speed at which the boxes move when you turn the carousel. *PAGESIZE determines how many boxes are drawn (remember, the number of visible boxes is determined by DEG_OFFSET and RADIUS, with the default values you can see 7). *Everything eles (the animations, position of the movement buttons, etc.) is automatically determined from these values (my 8th grade math teacher was right, trig isn't totally worthless), so you shouldn't need to change anything at all, except the aforementioned values (or the b0rken game launching code). *If you find a set of values you think looks better than mine, post a picture and the list of values in an issue or on IRC. *These will probably become theamable at some point, but I figure we should get this added to the gui first (I was hoping to do it tonight, but some stuff came up, and I need to go to bed). Wow I write really long commit notes. |
||
---|---|---|
.. | ||
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 |