GUI cleanup.
Point out missing functionality and unused properties in the implementation of checkboxes. Don't specify a useless font tag for checkboxes in the templates. This was SVN commit r18419.
This commit is contained in:
parent
9e526614be
commit
0f807c643a
@ -103,7 +103,7 @@
|
||||
<object name="rightPanel" size="100%-250 30 100%-20 100%-20" >
|
||||
|
||||
<!-- Compatibility Filter Checkbox -->
|
||||
<object name="compatibilityFilter" type="checkbox" checked="true" style="ModernTickBox" size="0 4 20 100%" font="sans-bold-13">
|
||||
<object name="compatibilityFilter" type="checkbox" checked="true" style="ModernTickBox" size="0 4 20 100%">
|
||||
<action on="Press">displayReplayList();</action>
|
||||
</object>
|
||||
|
||||
@ -212,7 +212,7 @@
|
||||
</object>
|
||||
|
||||
<!-- "Show Spoiler" Checkbox -->
|
||||
<object name="showSpoiler" type="checkbox" checked="false" style="ModernTickBox" size="10 100%-27 30 100%" font="sans-bold-13">
|
||||
<object name="showSpoiler" type="checkbox" checked="false" style="ModernTickBox" size="10 100%-27 30 100%">
|
||||
<action on="Press">displayReplayDetails();</action>
|
||||
</object>
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
<object name="optionFollowPlayer" size="50%+64 4 50%+256 100%" hidden="true">
|
||||
|
||||
<!-- Checkbox -->
|
||||
<object name="followPlayer" type="checkbox" checked="false" style="ModernTickBox" size="0 4 20 100%" font="sans-bold-13">
|
||||
<object name="followPlayer" type="checkbox" checked="false" style="ModernTickBox" size="0 4 20 100%">
|
||||
<action on="Press">g_FollowPlayer = !g_FollowPlayer;</action>
|
||||
</object>
|
||||
|
||||
|
@ -23,6 +23,10 @@
|
||||
#include "ps/CLogger.h"
|
||||
#include "ps/CStrIntern.h"
|
||||
|
||||
/**
|
||||
* TODO: Since there is no call to DrawText, the checkbox won't render any text.
|
||||
* Thus the font, caption, textcolor and other settings have no effect.
|
||||
*/
|
||||
CCheckBox::CCheckBox()
|
||||
{
|
||||
AddSetting(GUIST_float, "buffer_zone");
|
||||
|
Loading…
Reference in New Issue
Block a user