[RLVa] rlva strings floater!

Generalized toggle() visible() call pattern of rlv floaters to a template struct.
This commit is contained in:
Inusaito Sayori
2014-01-31 00:47:19 -05:00
parent 0c33c0de2e
commit bceaee6e41
6 changed files with 408 additions and 13 deletions

View File

@@ -1656,6 +1656,7 @@ void init_debug_rlva_menu(LLMenuGL* menu)
menu->addChild(new LLMenuItemCheckGL("Restrictions...", &RlvFloaterBehaviours::toggle, NULL, &RlvFloaterBehaviours::visible, NULL));
menu->addChild(new LLMenuItemCheckGL("Locks...", &RlvFloaterLocks::toggle, NULL, &RlvFloaterLocks::visible, NULL));
menu->addChild(new LLMenuItemCheckGL("Strings...", &RlvFloaterStrings::toggle, NULL, &RlvFloaterStrings::visible, NULL));
}
// [/RLVa:KB]