#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(XDataStream *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








