summaryrefslogtreecommitdiff
path: root/src/gui/gui.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-01-16 22:35:06 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-01-16 22:35:06 +0000
commit12356c8b5b7002cdffaa6a737f54806f52241bfb (patch)
tree8c2f46d37296420839b5cb3b9a231b5af94b31e5 /src/gui/gui.h
parentc6ee43355e49e4099fdb2e1b26bf29eddcee130a (diff)
downloadmana-client-12356c8b5b7002cdffaa6a737f54806f52241bfb.tar.gz
mana-client-12356c8b5b7002cdffaa6a737f54806f52241bfb.tar.bz2
mana-client-12356c8b5b7002cdffaa6a737f54806f52241bfb.tar.xz
mana-client-12356c8b5b7002cdffaa6a737f54806f52241bfb.zip
Removed datafile and configfile and any leftover old GUI drawing code.
Diffstat (limited to 'src/gui/gui.h')
-rw-r--r--src/gui/gui.h38
1 files changed, 0 insertions, 38 deletions
diff --git a/src/gui/gui.h b/src/gui/gui.h
index 64b17b8c..3d42087b 100644
--- a/src/gui/gui.h
+++ b/src/gui/gui.h
@@ -24,10 +24,6 @@
#ifndef _TMW_GUI
#define _TMW_GUI
-#ifdef WIN32
- #pragma warning (disable:4312)
-#endif
-
#include <guichan.hpp>
#include <guichan/allegro.hpp>
#include <allegro.h>
@@ -89,34 +85,6 @@ class Gui
gcn::FocusHandler* focusHandler;
};
-typedef struct {
- BITMAP *grid[9];
-} LexSkinnedRect;
-
-typedef struct {
- LexSkinnedRect background[4];
- int textcolor[4];
-} LexButton;
-
-typedef struct {
- LexSkinnedRect bg;
- int textcolor[2];
-} LexTextbox;
-
-typedef struct {
- LexSkinnedRect bg;
- LexSkinnedRect vscroll;
- int textcolor[4];
-} LexListbox;
-
-typedef struct {
- LexButton button;
- LexTextbox textbox;
- LexListbox listbox;
-} LexSkin;
-
-extern LexSkin gui_skin;
-
extern Gui* gui;
extern WindowContainer* guiTop; // The top container
extern gcn::AllegroGraphics* guiGraphics; // Graphics driver
@@ -125,11 +93,5 @@ extern gcn::AllegroGraphics* guiGraphics; // Graphics driver
void init_gui(Graphics *graphics);
void gui_exit();
-int gui_load_skin(const char* skinname);
-void gui_shutdown(void);
-
-/** Helper procedure to draw skinned rectangles */
-void draw_skinned_rect(BITMAP *dst, LexSkinnedRect *skin,
- int x, int y, int w, int h);
#endif