diff options
Diffstat (limited to 'src/gui/widgets/dropdown.cpp')
-rw-r--r-- | src/gui/widgets/dropdown.cpp | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/src/gui/widgets/dropdown.cpp b/src/gui/widgets/dropdown.cpp index 21fee368..21378772 100644 --- a/src/gui/widgets/dropdown.cpp +++ b/src/gui/widgets/dropdown.cpp @@ -1,9 +1,8 @@ /* - * Aethyra - * Copyright (C) 2008 The Mana World Development Team + * The Mana World + * Copyright (C) 2006 The Mana World Development Team * - * This file is part of Aethyra based on original code - * from The Mana World. + * This file is part of The Mana World. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -20,28 +19,28 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include <algorithm> +#include "gui/widgets/dropdown.h" -#include "dropdown.h" +#include "gui/listbox.h" +#include "gui/palette.h" +#include "gui/scrollarea.h" -#include "../listbox.h" -#include "../palette.h" -#include "../scrollarea.h" +#include "configuration.h" +#include "graphics.h" -#include "../../configuration.h" -#include "../../graphics.h" +#include "resources/image.h" +#include "resources/resourcemanager.h" -#include "../../resources/image.h" -#include "../../resources/resourcemanager.h" +#include "utils/dtor.h" -#include "../../utils/dtor.h" +#include <algorithm> int DropDown::instances = 0; Image *DropDown::buttons[2][2]; ImageRect DropDown::skin; float DropDown::mAlpha = config.getValue("guialpha", 0.8); -DropDown::DropDown(gcn::ListModel *listModel, gcn::ScrollArea *scrollArea, +DropDown::DropDown(gcn::ListModel *listModel, gcn::ScrollArea *scrollArea, gcn::ListBox *listBox, bool opacity): gcn::DropDown::DropDown(listModel, scrollArea, listBox), mOpaque(opacity) |