17 Commits

Author SHA1 Message Date
Iris Morelle
3cbe0a5ef7 gui2: Make GUI_LINE and GUI_POINT public macros
This detaches them from the GUI2 button definition.
2021-03-20 01:54:45 -03:00
Charles Dang
24c8c3bd01 GUI2/Button: restored vertically-offset text positioning
The "plain" centered text looks a little weird with buttons
2020-12-14 23:51:16 +11:00
Iris Morelle
fa08ff291b gui2/button: Fix highlight colour for the disabled state
It was apparently copy-pasted from the pressed state. This resulted in
disabled buttons looking like they are pressed.

[ci skip]
2020-07-27 06:02:53 -04:00
Glen Whitney
8ba16c972a Scale buttons and toggle buttons with screen pitch also. 2020-05-26 16:20:52 -05:00
Charles Dang
3b24361f1a Story Viewer: added proper nav button definitions 2017-04-07 12:19:40 +11:00
Charles Dang
6bb7bd1017 Use standard color macros for button code
Since we can now specify alpha in the standard ones, there's no need for the duplicates.
2017-03-28 01:07:51 +11:00
Charles Dang
320e85d907 GUI2: renamed text size macros
[ci skip]
2016-12-17 00:45:01 +11:00
Charles Dang
94b092fa9d Added a definition for a really large button 2016-09-17 01:54:41 +11:00
Charles Dang
eaf5ef96ed Buttons: refactored procedural drawing to avid alpha-corner hack
That hacked stopped being a thing in e993e2820b26
2016-09-10 21:44:28 +11:00
Charles Dang
1701031e1b Partially revert "Tweaks to the title screen, mainly for 800x600"
This reverts commit 2cde73888c91e599dcebaacdff1fc24ef701ed4d.
2016-08-25 21:05:11 +11:00
Celtic Minstrel
2cde73888c Tweaks to the title screen, mainly for 800x600
Also:
- Hide cores button if there are no addon cores installed
- Remove "failsafe" core since it didn't work as advertised
2016-08-25 04:36:50 -04:00
Charles Dang
2826881eef Bumped button text size by 1 point and fixed text centering. 2016-07-27 03:18:29 +11:00
Charles Dang
07fee4038b Improve visual design of buttons
A dark border was added to the left and bottom to add definition.
2016-05-16 22:58:19 +11:00
Charles Dang
1702f10360 tbutton: fix borders of disabled state buttons not being gray 2016-04-10 06:47:50 +11:00
Charles Dang
1df91e0119 tbutton: provide alpha color values to satisfy schema 2016-04-03 23:45:27 +11:00
Charles Dang
0cdd8b7180 GUI2: draw buttons procedurally and increase default size 2016-04-03 21:16:56 +11:00
Charles Dang
6304cca22a Moved data/gui/default to data/gui/ 2016-03-20 01:11:10 +11:00