Remove unused struct
This commit is contained in:
parent
c8a477383d
commit
e0a424d675
2 changed files with 0 additions and 9 deletions
|
@ -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&) {
|
||||
|
|
|
@ -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_; }
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue