~hikiko/nux/arb-srgba-shader

« back to all changes in this revision

Viewing changes to Nux/PropertyItem/ComboBoxPropertyItem.h

  • Committer: Neil Jagdish Patel
  • Date: 2010-09-02 03:28:11 UTC
  • Revision ID: neil.patel@canonical.com-20100902032811-i2m18tfb6pkasnvt
Remove Win EOL chars

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 */
21
21
 
22
22
 
23
 
#ifndef COMBOBOXPROPERTYITEM_H
24
 
#define COMBOBOXPROPERTYITEM_H
25
 
 
26
 
NAMESPACE_BEGIN_GUI
27
 
 
28
 
class ComboBoxSimple;
29
 
 
30
 
class ComboBoxPropertyItem: public SectionProperty, public ComboBoxSimple
31
 
{
32
 
    NODE_XML_CLASS_MEMBER(ComboBoxPropertyItem);
33
 
    NODE_SKIP_CHILD(true);
34
 
    NODE_SIG_RECEIVER(RecvPropertyChange, const weaksmptr(ComboBoxSimple));
35
 
public:
36
 
    ComboBoxPropertyItem(const TCHAR* name);
37
 
    virtual ~ComboBoxPropertyItem();
38
 
 
39
 
    virtual long ProcessPropertyEvent(IEvent &ievent, long TraverseInfo, long ProcessEventInfo);
40
 
    virtual void DrawProperty(GraphicsContext& GfxContext, TableCtrl* table, bool force_draw, Geometry geo, const BasePainter& Painter, RowHeader* row, const std::vector<header2>& column_vector, Color ItemBackgroundColor = Color(0x0));
41
 
    virtual void ComputePropertyLayout(int x, int y, RowHeader* row, const std::vector<header2>& column_vector);
42
 
    virtual int GetItemBestHeight();
43
 
private:
44
 
    //RangeValue m_range_value;
45
 
};
46
 
 
47
 
 
48
 
NAMESPACE_END_GUI
49
 
 
50
 
#endif // COMBOBOXPROPERTYITEM_H
 
23
#ifndef COMBOBOXPROPERTYITEM_H
 
24
#define COMBOBOXPROPERTYITEM_H
 
25
 
 
26
NAMESPACE_BEGIN_GUI
 
27
 
 
28
class ComboBoxSimple;
 
29
 
 
30
class ComboBoxPropertyItem: public SectionProperty, public ComboBoxSimple
 
31
{
 
32
    NODE_XML_CLASS_MEMBER(ComboBoxPropertyItem);
 
33
    NODE_SKIP_CHILD(true);
 
34
    NODE_SIG_RECEIVER(RecvPropertyChange, const weaksmptr(ComboBoxSimple));
 
35
public:
 
36
    ComboBoxPropertyItem(const TCHAR* name);
 
37
    virtual ~ComboBoxPropertyItem();
 
38
 
 
39
    virtual long ProcessPropertyEvent(IEvent &ievent, long TraverseInfo, long ProcessEventInfo);
 
40
    virtual void DrawProperty(GraphicsContext& GfxContext, TableCtrl* table, bool force_draw, Geometry geo, const BasePainter& Painter, RowHeader* row, const std::vector<header2>& column_vector, Color ItemBackgroundColor = Color(0x0));
 
41
    virtual void ComputePropertyLayout(int x, int y, RowHeader* row, const std::vector<header2>& column_vector);
 
42
    virtual int GetItemBestHeight();
 
43
private:
 
44
    //RangeValue m_range_value;
 
45
};
 
46
 
 
47
 
 
48
NAMESPACE_END_GUI
 
49
 
 
50
#endif // COMBOBOXPROPERTYITEM_H