2002-12-23 00:00:00 +00:00
|
|
|
|
//========= Copyright <20> 1996-2002, Valve LLC, All rights reserved. ============
|
2001-11-08 00:00:00 +00:00
|
|
|
|
//
|
|
|
|
|
// Purpose:
|
|
|
|
|
//
|
|
|
|
|
// $NoKeywords: $
|
|
|
|
|
//=============================================================================
|
2000-06-05 00:00:00 +00:00
|
|
|
|
|
|
|
|
|
#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);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endif
|