diff options
author | Michał Konopacki <konopacki.m@gmail.com> | 2012-08-21 15:23:59 +0200 |
---|---|---|
committer | Michał Konopacki <konopacki.m@gmail.com> | 2012-08-21 15:23:59 +0200 |
commit | 199768280816d56a3356a6c3d137df0a73dba62b (patch) | |
tree | 0fc981f02275f6b28c8e2de502b7c65011688e85 /src/ui/shortcut.h | |
parent | 60950ce66bdb6f37d7272b97d5230d0a43303c30 (diff) | |
download | colobot-199768280816d56a3356a6c3d137df0a73dba62b.tar.gz colobot-199768280816d56a3356a6c3d137df0a73dba62b.tar.bz2 colobot-199768280816d56a3356a6c3d137df0a73dba62b.zip |
added ui/shortcut.*
Diffstat (limited to 'src/ui/shortcut.h')
-rw-r--r-- | src/ui/shortcut.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ui/shortcut.h b/src/ui/shortcut.h index d819bf2..9ee97e0 100644 --- a/src/ui/shortcut.h +++ b/src/ui/shortcut.h @@ -1,5 +1,6 @@ // * This file is part of the COLOBOT source code // * Copyright (C) 2001-2008, Daniel ROUX & EPSITEC SA, www.epsitec.ch +// * Copyright (C) 2012, Polish Portal of Colobot (PPC) // * // * This program is free software: you can redistribute it and/or modify // * it under the terms of the GNU General Public License as published by @@ -22,6 +23,7 @@ #include <common/event.h> +namespace Ui { class CShortcut : public CControl { @@ -29,7 +31,7 @@ class CShortcut : public CControl CShortcut(); ~CShortcut(); - bool Create(Math::Point pos, Math::Point dim, int icon, EventType eventMsg); + bool Create(Math::Point pos, Math::Point dim, int icon, EventType eventType); bool EventProcess(const Event &event); @@ -43,3 +45,4 @@ class CShortcut : public CControl }; +} |