|
@@ -277,7 +277,7 @@ void GUIFrontend::handleEvents()
|
|
|
|
|
|
void GUIFrontend::draw()
|
|
void GUIFrontend::draw()
|
|
{
|
|
{
|
|
- drawGUI();
|
|
|
|
|
|
+ window->clear(Color(200, 200, 200));
|
|
|
|
|
|
if (mapGenerated) {
|
|
if (mapGenerated) {
|
|
if (currentView == HEIGHTMAP)
|
|
if (currentView == HEIGHTMAP)
|
|
@@ -297,12 +297,12 @@ void GUIFrontend::draw()
|
|
|
|
|
|
window->draw(displaySprite);
|
|
window->draw(displaySprite);
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ drawGUI();
|
|
}
|
|
}
|
|
|
|
|
|
void GUIFrontend::drawGUI()
|
|
void GUIFrontend::drawGUI()
|
|
{
|
|
{
|
|
- window->clear(Color(200, 200, 200));
|
|
|
|
-
|
|
|
|
// Labels
|
|
// Labels
|
|
seedBox->draw(window);
|
|
seedBox->draw(window);
|
|
nameBox->draw(window);
|
|
nameBox->draw(window);
|