Updated libs/xassets/xlistboxdef.h
This commit is contained in:
parent
6c0a111c09
commit
5c9868c435
43
libs/xassets/xlistboxdef.h
Normal file
43
libs/xassets/xlistboxdef.h
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
#ifndef XLISTBOXDEF_H
|
||||||
|
#define XLISTBOXDEF_H
|
||||||
|
|
||||||
|
#include "xasset.h"
|
||||||
|
#include "xcolumninfo.h"
|
||||||
|
#include "xmaterial.h"
|
||||||
|
|
||||||
|
class XListBoxDef : public XAsset
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
explicit XListBoxDef();
|
||||||
|
~XListBoxDef();
|
||||||
|
|
||||||
|
void ParseData(QDataStream *aStream) override;
|
||||||
|
void Clear() override;
|
||||||
|
|
||||||
|
private:
|
||||||
|
QVector<int> mStartPos;
|
||||||
|
QVector<int> mEndPos;
|
||||||
|
int mDrawPadding;
|
||||||
|
float mElementWidth;
|
||||||
|
float mElementHeight;
|
||||||
|
int mElementStyle;
|
||||||
|
int mNumColumns;
|
||||||
|
QVector<XColumnInfo> mColumnInfo;
|
||||||
|
QString mDoubleClick;
|
||||||
|
int mNotselectable;
|
||||||
|
int mNoScrollBars;
|
||||||
|
int mUsePaging;
|
||||||
|
QVector<float> mSelectBorder;
|
||||||
|
QVector<float> mDisableColor;
|
||||||
|
XMaterial *mSelectIcon;
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif // XLISTBOXDEF_H
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user