~hikiko/nux/arb-srgba-shader

12 by Neil Jagdish Patel
Initial Nux integration
1
/*
2
 * Copyright 2010 Inalogic Inc.
3
 *
4
 * This program is free software: you can redistribute it and/or modify it 
5
 * under the terms of the GNU Lesser General Public License version 3, as
6
 * published by the  Free Software Foundation.
7
 *
8
 * This program is distributed in the hope that it will be useful, but 
9
 * WITHOUT ANY WARRANTY; without even the implied warranties of 
10
 * MERCHANTABILITY, SATISFACTORY QUALITY or FITNESS FOR A PARTICULAR 
11
 * PURPOSE.  See the applicable version of the GNU Lesser General Public 
12
 * License for more details.
13
 * 
14
 * You should have received a copy of both the GNU Lesser General Public 
15
 * License version 3 along with this program.  If not, see 
16
 * <http://www.gnu.org/licenses/>
17
 *
18
 * Authored by: Jay Taoko <jay.taoko_AT_gmail_DOT_com>
19
 *
20
 */
21
22
20 by Neil Jagdish Patel
Remove Win EOL chars
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