mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-11 05:07:00 -04:00
b6f1a9aac7
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@84 0fc631ac-6414-0410-93d0-97cfa31319b6
43 lines
1.4 KiB
C++
43 lines
1.4 KiB
C++
//+----------------------------------------------------------------------------+
|
|
//| Description: Magic Set Editor - Program to make Magic (tm) cards |
|
|
//| Copyright: (C) 2001 - 2006 Twan van Laarhoven |
|
|
//| License: GNU General Public License 2 or later (see file COPYING) |
|
|
//+----------------------------------------------------------------------------+
|
|
|
|
#ifndef HEADER_GUI_SET_STATS_PANEL
|
|
#define HEADER_GUI_SET_STATS_PANEL
|
|
|
|
// ----------------------------------------------------------------------------- : Includes
|
|
|
|
#include <util/prec.hpp>
|
|
#include <gui/set/panel.hpp>
|
|
|
|
class StatCategoryList;
|
|
class GraphControl;
|
|
class FilteredCardList;
|
|
|
|
// ----------------------------------------------------------------------------- : StatsPanel
|
|
|
|
class StatsPanel : public SetWindowPanel {
|
|
public:
|
|
StatsPanel(Window* parent, int id);
|
|
|
|
// --------------------------------------------------- : UI
|
|
|
|
virtual void onChangeSet();
|
|
virtual void onCommand(int id);
|
|
|
|
// --------------------------------------------------- : Selection
|
|
virtual CardP selectedCard() const;
|
|
virtual void selectCard(const CardP& card);
|
|
|
|
// --------------------------------------------------- : Data
|
|
private:
|
|
StatCategoryList* categories;
|
|
GraphControl* graph;
|
|
FilteredCardList* card_list;
|
|
};
|
|
|
|
// ----------------------------------------------------------------------------- : EOF
|
|
#endif
|