diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2004-12-16 00:38:41 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2004-12-16 00:38:41 +0000 |
commit | dc7b347b0d77a8c74f302e48ea980ec8014df3dd (patch) | |
tree | 02fb1f04df782a265e8a2a5ca8ce0b1a544b3e5a /src/gui/mw_checkbox.h | |
parent | 8d7e6dab6f6251b599741ef2f94a398dace2bca7 (diff) | |
download | mana-client-dc7b347b0d77a8c74f302e48ea980ec8014df3dd.tar.gz mana-client-dc7b347b0d77a8c74f302e48ea980ec8014df3dd.tar.bz2 mana-client-dc7b347b0d77a8c74f302e48ea980ec8014df3dd.tar.xz mana-client-dc7b347b0d77a8c74f302e48ea980ec8014df3dd.zip |
Skinned checkbox similar to what it used to be.
Diffstat (limited to 'src/gui/mw_checkbox.h')
-rw-r--r-- | src/gui/mw_checkbox.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/gui/mw_checkbox.h b/src/gui/mw_checkbox.h new file mode 100644 index 00000000..427d943a --- /dev/null +++ b/src/gui/mw_checkbox.h @@ -0,0 +1,36 @@ +/* + * The Mana World + * Copyright 2004 The Mana World Development Team + * + * This file is part of The Mana World. + * + * The Mana World is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * any later version. + * + * The Mana World is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with The Mana World; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +#ifndef _TMW_CHECKBOX_H +#define _TMW_CHECKBOX_H + +#include "gui.h" + +class MWCheckBox : public gcn::CheckBox { + public: + MWCheckBox(const std::string& caption, bool marked = false); + + // Inherited from Widget + + void draw(gcn::Graphics* graphics); +}; + +#endif |