This commit is contained in:
2025-05-13 02:46:21 +03:00
parent 143e16692e
commit 86914b7fcc
610 changed files with 92343 additions and 2 deletions
+27
View File
@@ -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__