Fix a ton of run-time warnings about UI.
Cleans up some related code, probably looks nicer with space changes off.. though this is a pretty straightforward change. Comments out code that still exists in xmls or might likely be added in future. Each piece tested quite a bit.
This commit is contained in:
@@ -84,8 +84,11 @@ BOOL AORemoteCtrl::postBuild()
|
||||
{
|
||||
|
||||
childSetAction("ao_btn", onClickToggleAO, this);
|
||||
childSetAction("ao_sit_btn", onClickToggleAOSit, this);
|
||||
childSetAction("ao_show_btn", onClickShowAO, this);
|
||||
if (gSavedSettings.getBOOL("ShowAOSitPopup"))
|
||||
{
|
||||
childSetAction("ao_sit_btn", onClickToggleAOSit, this);
|
||||
//childSetAction("ao_show_btn", onClickShowAO, this);
|
||||
}
|
||||
childSetAction("popup_btn", onClickPopupBtn, this);
|
||||
|
||||
return TRUE;
|
||||
|
||||
Reference in New Issue
Block a user