diff --git a/libstarlight/source/starlight/Application.cpp b/libstarlight/source/starlight/Application.cpp index e3758cc..c979da1 100644 --- a/libstarlight/source/starlight/Application.cpp +++ b/libstarlight/source/starlight/Application.cpp @@ -94,7 +94,7 @@ void Application::_mainLoop() { forms.sort(Form::OrderedCompare); // reconstruct ui container heirarchy - bool otouch, otop; + bool otouch = false, otop = false; formTouchScreen->RemoveAll(); formTopScreen->RemoveAll(); diff --git a/libstarlight/source/starlight/ui/Form.cpp b/libstarlight/source/starlight/ui/Form.cpp index de82983..ec100c4 100644 --- a/libstarlight/source/starlight/ui/Form.cpp +++ b/libstarlight/source/starlight/ui/Form.cpp @@ -30,6 +30,8 @@ using starlight::ui::Form; // STATIC MEMBERS // //////////////////// +unsigned int Form::nextShowCounter = 0; + bool Form::OrderedCompare(std::shared_ptr