*
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
#ifndef GUIToolStrip_h__
|
||||
#define GUIToolStrip_h__
|
||||
|
||||
#include "GUIButton.h"
|
||||
#include "GUIToolStripItem.h"
|
||||
#include <vector>
|
||||
|
||||
namespace LifeGUI
|
||||
{
|
||||
class GUIToolStrip : public GUIPlane
|
||||
{
|
||||
public:
|
||||
GUIToolStrip();
|
||||
~GUIToolStrip();
|
||||
void AddItem(GUIToolStripItem* itm);
|
||||
void SetIsVertical(bool state);
|
||||
private:
|
||||
void UpdateLayout(GUIWindow* wnd);
|
||||
protected:
|
||||
typedef std::vector<GUIToolStripItem*> ItemCollection;
|
||||
typedef std::vector<GUIToolStripItem*>::iterator ItemCollectionIter;
|
||||
ItemCollection Items;
|
||||
bool isVertical;
|
||||
};
|
||||
}
|
||||
|
||||
#endif // GUIToolStrip_h__
|
||||
Reference in New Issue
Block a user