Remove unused struct

This commit is contained in:
Gunter Labes 2024-08-18 20:03:27 +02:00
parent c8a477383d
commit e0a424d675
No known key found for this signature in database
GPG key ID: C0C7B971CC910216
2 changed files with 0 additions and 9 deletions

View file

@ -996,9 +996,6 @@ int main(int argc, char** argv)
} catch(const config::error& e) {
PLAIN_LOG << e.message;
error_exit(1);
} catch(const gui::button::error&) {
PLAIN_LOG << "Could not create button: Image could not be found";
error_exit(1);
} catch(const video::quit&) {
// just means the game should quit
} catch(const return_to_play_side_exception&) {

View file

@ -26,12 +26,6 @@ namespace gui {
class button : public widget
{
public:
struct error : public game::error {
error()
: game::error("GUI1 button error")
{}
};
enum TYPE { TYPE_PRESS, TYPE_CHECK, TYPE_TURBO, TYPE_IMAGE, TYPE_RADIO };
TYPE get_type() const { return type_; }