From 43f84a5a22423b831b1d3a4b3572546803324dd4 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 18 Oct 2012 02:00:19 +0300 Subject: Extend dropdown theming. New options in dropdown.xml: padding - text padding from all sides imagePadding - image padding from right frameSize - frame size --- src/gui/chatwindow.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/gui/chatwindow.h') diff --git a/src/gui/chatwindow.h b/src/gui/chatwindow.h index 1d21b248e..911b1b1ff 100644 --- a/src/gui/chatwindow.h +++ b/src/gui/chatwindow.h @@ -45,17 +45,13 @@ class ChatTab; class Channel; class ChatInput; class ColorListModel; +class DropDown; class ScrollArea; class TabbedArea; class ItemLinkHandler; class Tab; class WhisperTab; -namespace gcn -{ - class DropDown; -} - const int DEFAULT_CHAT_WINDOW_SCROLL = 7; enum Own @@ -354,7 +350,7 @@ class ChatWindow final : public Window, StringVect mTradeFilter; ColorListModel *mColorListModel; - gcn::DropDown *mColorPicker; + DropDown *mColorPicker; int mChatColor; unsigned int mChatHistoryIndex; std::list mAwayLog; -- cgit v1.2.3-70-g09d2