2018-04-22 15:55:55 +00:00
|
|
|
|
//========= Copyright <20> 1996-2002, Valve LLC, All rights reserved. ============
|
|
|
|
|
//
|
|
|
|
|
// Purpose:
|
|
|
|
|
//
|
|
|
|
|
// $NoKeywords: $
|
|
|
|
|
//=============================================================================
|
|
|
|
|
|
|
|
|
|
#ifndef VGUI_STACKLAYOUT_H
|
|
|
|
|
#define VGUI_STACKLAYOUT_H
|
|
|
|
|
|
|
|
|
|
#include<VGUI.h>
|
|
|
|
|
#include<VGUI_Layout.h>
|
|
|
|
|
|
|
|
|
|
namespace vgui
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
class VGUIAPI StackLayout : public Layout
|
|
|
|
|
{
|
|
|
|
|
private:
|
|
|
|
|
int _vgap;
|
|
|
|
|
bool _fitWide;
|
|
|
|
|
public:
|
|
|
|
|
StackLayout(int vgap,bool fitWide);
|
|
|
|
|
public:
|
|
|
|
|
virtual void performLayout(Panel* panel);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
2014-06-02 10:22:49 +00:00
|
|
|
|
#endif
|