MCPcopy Create free account
hub / github.com/RGAA-Software/GoDesk / RefreshIndicatorState

Method RefreshIndicatorState

src/render_panel/ui/tab_server_status.cpp:510–518  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

508 }
509
510 void TabServerStatus::RefreshIndicatorState(TcLabel* indicator, bool ok) {
511 if (ok) {
512 indicator->setStyleSheet("font-size: 13px; font-weight: bold; color:#ffffff; background:#00cc00; border-radius:13px");
513 indicator->setText("OK");
514 } else {
515 indicator->setStyleSheet("font-size: 13px; font-weight: bold; color:#ffffff; background:#cc0000; border-radius:13px");
516 indicator->setText("ERROR");
517 }
518 }
519
520 void TabServerStatus::RefreshUIEverySecond() {
521 if (!this->lbl_audio_format_) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected