mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-26 18:14:13 +00:00
Use a waiting cursor when loading the game.
This commit is contained in:
parent
dc9feae2a2
commit
2181d521c7
@ -16,6 +16,7 @@
|
||||
#include "marked-up_text.hpp"
|
||||
#include "gettext.hpp"
|
||||
#include "filesystem.hpp"
|
||||
#include "cursor.hpp"
|
||||
|
||||
#include <iostream>
|
||||
|
||||
@ -38,6 +39,7 @@ loadscreen::loadscreen(CVideo &screen, const int &percent):
|
||||
std::cerr << "loadscreen: Failed to load the logo: " << path << std::endl;
|
||||
}
|
||||
textarea_.x = textarea_.y = textarea_.w = textarea_.h = 0;
|
||||
cursor::set(cursor::WAIT);
|
||||
}
|
||||
void loadscreen::set_progress(const int percentage, const std::string &text, const bool commit)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user