// static void LLPanelNetwork::onCommitWebProxyEnabled(LLUICtrl* ctrl, void* data) { LLPanelNetwork* self = (LLPanelNetwork*)data; LLCheckBoxCtrl* check = (LLCheckBoxCtrl*)ctrl; if (!self || !check) return; self->childSetEnabled("web_proxy_editor", check->get()); self->childSetEnabled("web_proxy_port", check->get()); self->childSetEnabled("proxy_text_label", check->get()); }
// static void LLPanelNetwork::onCommitPort(LLUICtrl* ctrl, void* data) { LLPanelNetwork* self = (LLPanelNetwork*)data; LLCheckBoxCtrl* check = (LLCheckBoxCtrl*)ctrl; if (!self || !check) return; self->childSetEnabled("connection_port", check->get()); LLNotifications::instance().add("ChangeConnectionPort"); }
// static void LLPanelNetwork::onCommitPort(LLUICtrl* ctrl, void* data) { LLPanelNetwork* self = (LLPanelNetwork*)data; LLCheckBoxCtrl* check = (LLCheckBoxCtrl*)ctrl; if (!self || !check) return; self->childSetEnabled("connection_port", check->get()); gViewerWindow->alertXml("ChangeConnectionPort"); }