partially re-enable webserver status ui

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6266 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: a9bb1cd2a9502cb345754983ee98315230c1508b
Former-commit-id: fcb85faab2cd856e6fd7501e98037806f7ff0fce
This commit is contained in:
madbad 2015-11-23 19:44:05 +00:00
parent c2ba6d3c56
commit bc00ad8cd3

View file

@ -114,7 +114,7 @@ void NotificationManager::updateStatus(){
}
//update webserver status icon
// this->updateWebserverStatusUi();
this->updateWebserverStatusUi();
//remember the current screen for the next run
this->prevScreenHandle = this->screenHandle;
@ -337,14 +337,14 @@ void NotificationManager::createUi(){
GfParmSetNum(this->menuXMLDescHdle, "dynamic controls/slide", "y", "null", ypos);
}
void NotificationManager::updateWebserverStatusUi(){
/* //todo: this was causing some random crash
//if there is some prev ui around hide it
if(this->notifyUiIdBusyIcon > 0){
GfuiVisibilitySet(this->prevScreenHandle, this->notifyUiIdBusyIcon, GFUI_INVISIBLE);
}
*/
if(this->screenHandle > 0){
//if webserver is busy display busy icon
std::string webServerIcon = "busyicon";