diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-01-14 13:50:25 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-01-14 13:50:25 +0000 |
commit | 976b4da70227ab97607c51be05a20f4ecfca9325 (patch) | |
tree | d77bfb869b6337f1747b34e8f053f3acddbc4b54 /src/gui/gui.cpp | |
parent | 5a1007fa3e827c03bb86db71cb26dfd4c485f28d (diff) | |
download | mana-client-976b4da70227ab97607c51be05a20f4ecfca9325.tar.gz mana-client-976b4da70227ab97607c51be05a20f4ecfca9325.tar.bz2 mana-client-976b4da70227ab97607c51be05a20f4ecfca9325.tar.xz mana-client-976b4da70227ab97607c51be05a20f4ecfca9325.zip |
Removed 9 cases of load_bitmap.
Diffstat (limited to 'src/gui/gui.cpp')
-rw-r--r-- | src/gui/gui.cpp | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index 1ca5dc8f..14e76efd 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -446,24 +446,6 @@ void loadBarSkin() { blit(temp2, gui_skin.bar.bg.grid[5], 13, 0, 0, 0, 3, 11); } -void loadRadioSkin() { - gui_skin.radiobutton.normal = load_bitmap("data/Skin/radioout.bmp", NULL); - gui_skin.radiobutton.checked = load_bitmap("data/Skin/radioin.bmp", NULL); - gui_skin.radiobutton.disabled = load_bitmap("data/Skin/radioout.bmp", NULL); - gui_skin.radiobutton.disabled_checked = load_bitmap("data/Skin/radioin.bmp", NULL); -} - -void loadPlusSkin() { - //BITMAP *temp1 = load_bitmap("data/bar.bmp", NULL); - //BITMAP *temp2 = load_bitmap("data/bar_filled.bmp", NULL); - gui_skin.plus.bg.grid[0] = load_bitmap("data/plus.bmp", NULL); - gui_skin.plus.bg.grid[1] = load_bitmap("data/plus_sel.bmp", NULL); - gui_skin.plus.bg.grid[2] = load_bitmap("data/plus_dis.bmp", NULL); - //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); -} - void loadDialogSkin() { char **tokens; int tokenCount; @@ -542,12 +524,10 @@ int gui_load_skin(const char* skinname) { loadButtonSkin(); loadSliderSkin(); loadCheckboxSkin(); - loadRadioSkin(); loadTextboxSkin(); loadListboxSkin(); loadDialogSkin(); loadBarSkin(); - loadPlusSkin(); pop_config_state(); set_mouse_sprite((BITMAP *)gui_gfx[7].dat); @@ -584,12 +564,6 @@ void gui_shutdown(void) { destroy_bitmap(gui_skin.checkbox.disabled); destroy_bitmap(gui_skin.checkbox.disabled_checked); - /* Radiobutton */ - destroy_bitmap(gui_skin.radiobutton.normal); - destroy_bitmap(gui_skin.radiobutton.checked); - destroy_bitmap(gui_skin.radiobutton.disabled); - destroy_bitmap(gui_skin.radiobutton.disabled_checked); - for (a = 0; a < GUI_BMP_COUNT; a++) { destroy_bitmap(gui__repository[a]); } |