diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-01-16 16:04:16 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-01-16 16:04:16 +0000 |
commit | cf815e520dda01b291a8020db04c67c4ff1ebfbf (patch) | |
tree | 0d14d20493b314ee0d53afd3dbd2a74a9db14e6b /src/gui/gui.cpp | |
parent | cd5625304014f70e063e524cfd1bbb8125d9a3a5 (diff) | |
download | mana-cf815e520dda01b291a8020db04c67c4ff1ebfbf.tar.gz mana-cf815e520dda01b291a8020db04c67c4ff1ebfbf.tar.bz2 mana-cf815e520dda01b291a8020db04c67c4ff1ebfbf.tar.xz mana-cf815e520dda01b291a8020db04c67c4ff1ebfbf.zip |
More GUI image location changes and chat displays longer.
Diffstat (limited to 'src/gui/gui.cpp')
-rw-r--r-- | src/gui/gui.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index eab34a4b..451c6fac 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -420,23 +420,6 @@ void loadListboxSkin() { } -void loadBarSkin() { - BITMAP *temp1 = load_bitmap("data/bar.bmp", NULL); - BITMAP *temp2 = load_bitmap("data/bar_filled.bmp", NULL); - gui_skin.bar.bg.grid[0] = create_bitmap(3,11); - gui_skin.bar.bg.grid[1] = create_bitmap(1,11); - gui_skin.bar.bg.grid[2] = create_bitmap(3,11); - blit(temp1, gui_skin.bar.bg.grid[0], 0, 0, 0, 0, 3, 11); - blit(temp1, gui_skin.bar.bg.grid[1], 4, 0, 0, 0, 1, 11); - blit(temp1, gui_skin.bar.bg.grid[2], 13, 0, 0, 0, 3, 11); - gui_skin.bar.bg.grid[3] = create_bitmap(3,11); - gui_skin.bar.bg.grid[4] = create_bitmap(1,11); - gui_skin.bar.bg.grid[5] = create_bitmap(3,11); - blit(temp2, gui_skin.bar.bg.grid[3], 0, 0, 0, 0, 3, 11); - blit(temp2, gui_skin.bar.bg.grid[4], 4, 0, 0, 0, 1, 11); - blit(temp2, gui_skin.bar.bg.grid[5], 13, 0, 0, 0, 3, 11); -} - void loadDialogSkin() { char **tokens; int tokenCount; @@ -518,7 +501,6 @@ int gui_load_skin(const char* skinname) { loadTextboxSkin(); loadListboxSkin(); loadDialogSkin(); - loadBarSkin(); pop_config_state(); set_mouse_sprite((BITMAP *)gui_gfx[7].dat); |