00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032 #ifndef __SCROLLER_H
00033 #define __SCROLLER_H
00034
00035
00036 #include "Gadget.h"
00037 #include "Bases.h"
00038 #include "Module.h"
00039
00040
00041 #define SCR_VERTICAL 0
00042 #define SCR_HORIZONTAL 1
00043
00044
00045 #define TAG_SCR_TOTAL (GADGET_TAGBASE+CLASS_SCROLLER_ID+1)
00046 #define TAG_SCR_VISIBLE (GADGET_TAGBASE+CLASS_SCROLLER_ID+2)
00047 #define TAG_SCR_POSITION (GADGET_TAGBASE+CLASS_SCROLLER_ID+3)
00048 #define TAG_SCR_ORIENTATION (GADGET_TAGBASE+CLASS_SCROLLER_ID+4)
00049 #define TAG_SCR_OTHERSIZE (GADGET_TAGBASE+CLASS_SCROLLER_ID+5)
00050
00051 #define SCR_CUS_KNOBUP (0)
00052 #define SCR_CUS_KNOBDOWN (1)
00053
00054
00055 #define MET_SCROLLER_SET_PROPERTY (GADGET_METHOD_BASE+0)
00056 #define MET_SCROLLER_GET_PROPERTY (GADGET_METHOD_BASE+1)
00057
00058
00059 typedef struct _scroller scroller;
00060
00061
00062 EXPORT int module_Init(u32 module, bases_Modules_t *bases);
00063
00064
00065
00066 #endif