Subversion Repositories AndroidProjects

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
244 chris 1
#ifndef __SCROLLBUTTONWIDGET_H__
2
#define __SCROLLBUTTONWIDGET_H__
3
 
4
#include "..\SexyAppFramework\ButtonWidget.h"
5
 
6
namespace Sexy
7
{
8
 
9
class ButtonListener;
10
 
11
class ScrollbuttonWidget : public ButtonWidget
12
{
13
public:
14
        bool                            mHorizontal;
15
 
16
        // mType is a new way of doing things (1 = up, 2 = down, 3 = left, 4 = right).  
17
        // This overrides mHorizontal and mId.
18
        int                                     mType;
19
 
20
public:
21
        ScrollbuttonWidget(int theId, ButtonListener *theButtonListener, int theType = 0);
22
        virtual ~ScrollbuttonWidget();
23
 
24
        void                            Draw(Graphics *g);
25
};
26
 
27
}
28
 
29
#endif //__SCROLLBUTTONWIDGET_H__