ultimatepp/reference/GridCtrlTest/Panel.h
unodgs a123aaf505 .GridCtrlTest: initial version
git-svn-id: svn://ultimatepp.org/upp/trunk@2659 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2010-09-06 21:00:49 +00:00

32 lines
626 B
C++

#ifndef _GridTest_Panel_h_
#define _GridTest_Panel_h_
#include <CtrlLib/CtrlLib.h>
#include <GridCtrl/GridCtrl.h>
using namespace Upp;
#define LAYOUTFILE <GridCtrlTest/Panel.lay>
#include <CtrlCore/lay.h>
struct Panel : WithPanelLayout<ParentCtrl>
{
GridCtrl* grid;
WithEditOptionsLayout<ParentCtrl> editopt;
WithLookOptionsLayout<ParentCtrl> lookopt;
WithColorsOptionsLayout<ParentCtrl> colsopt;
WithNumberLayout<ParentCtrl> numsopt;
void LookOptions(int n);
void ColorsOptions(int n);
void EditOptions(int n);
void Actions(int n);
void Init(GridCtrl& g);
Panel();
typedef Panel CLASSNAME;
};
#endif