mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2026-06-03 14:35:03 -04:00
Add hover helptips, show hover helptips by default for new users.
This commit is contained in:
@@ -157,6 +157,11 @@ void InteractiveCanvas::OnMouseEnterWindow(wxMouseEvent& event) {
|
||||
|
||||
void InteractiveCanvas::setStatusText(std::string statusText) {
|
||||
wxGetApp().getAppFrame()->GetStatusBar()->SetStatusText(statusText);
|
||||
if (wxGetApp().getConfig()->getShowTips()) {
|
||||
this->SetToolTip(statusText);
|
||||
} else {
|
||||
this->SetToolTip("");
|
||||
}
|
||||
}
|
||||
|
||||
void InteractiveCanvas::setStatusText(std::string statusText, int value) {
|
||||
|
||||
Reference in New Issue
Block a user