diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-02-21 13:19:21 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-02-21 13:19:21 +0000 |
commit | e9a6d4270d37d455ab4ea88fb59351ed9c5ca430 (patch) | |
tree | 97f4a95e806c1e772919a5ca4e9f36b7039a6e1a | |
parent | bd32eb1e636b38e8af5e4ce7260a13e0e1901653 (diff) | |
download | mana-client-e9a6d4270d37d455ab4ea88fb59351ed9c5ca430.tar.gz mana-client-e9a6d4270d37d455ab4ea88fb59351ed9c5ca430.tar.bz2 mana-client-e9a6d4270d37d455ab4ea88fb59351ed9c5ca430.tar.xz mana-client-e9a6d4270d37d455ab4ea88fb59351ed9c5ca430.zip |
Removed some old GUI graphics and introduced new vertical scrollbar.
-rw-r--r-- | data/core/graphics/gui/dialog_left.png | bin | 534 -> 0 bytes | |||
-rw-r--r-- | data/core/graphics/gui/dialog_middle.png | bin | 444 -> 0 bytes | |||
-rw-r--r-- | data/core/graphics/gui/dialog_right.png | bin | 624 -> 0 bytes | |||
-rw-r--r-- | data/core/graphics/gui/vscroll.png | bin | 421 -> 0 bytes | |||
-rw-r--r-- | src/gui/scrollarea.cpp | 10 |
5 files changed, 5 insertions, 5 deletions
diff --git a/data/core/graphics/gui/dialog_left.png b/data/core/graphics/gui/dialog_left.png Binary files differdeleted file mode 100644 index e6304285..00000000 --- a/data/core/graphics/gui/dialog_left.png +++ /dev/null diff --git a/data/core/graphics/gui/dialog_middle.png b/data/core/graphics/gui/dialog_middle.png Binary files differdeleted file mode 100644 index 54dc54c4..00000000 --- a/data/core/graphics/gui/dialog_middle.png +++ /dev/null diff --git a/data/core/graphics/gui/dialog_right.png b/data/core/graphics/gui/dialog_right.png Binary files differdeleted file mode 100644 index 42f46f80..00000000 --- a/data/core/graphics/gui/dialog_right.png +++ /dev/null diff --git a/data/core/graphics/gui/vscroll.png b/data/core/graphics/gui/vscroll.png Binary files differdeleted file mode 100644 index acb2f8d0..00000000 --- a/data/core/graphics/gui/vscroll.png +++ /dev/null diff --git a/src/gui/scrollarea.cpp b/src/gui/scrollarea.cpp index 8bdcae70..664630c3 100644 --- a/src/gui/scrollarea.cpp +++ b/src/gui/scrollarea.cpp @@ -59,17 +59,17 @@ void ScrollArea::init() } // Load vertical scrollbar skin - Image *vscroll = resman->getImage("core/graphics/gui/vscroll.png"); - int vsgridx[4] = {0, 4, 8, 11}; - int vsgridy[4] = {0, 4, 13, 19}; + Image *vscroll = resman->getImage("core/graphics/gui/vscroll_grey.png"); + int vsgridx[4] = {0, 4, 7, 11}; + int vsgridy[4] = {0, 4, 15, 19}; a = 0; for (y = 0; y < 3; y++) { for (x = 0; x < 3; x++) { vMarker.grid[a] = vscroll->getSubImage( vsgridx[x], vsgridy[y], - vsgridx[x + 1] - vsgridx[x] + 1, - vsgridy[y + 1] - vsgridy[y] + 1); + vsgridx[x + 1] - vsgridx[x], + vsgridy[y + 1] - vsgridy[y]); a++; } } |