Subversion Repositories Kolibri OS

Rev

Rev 6282 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
5352 serge 1
 
2
3
 
4
{
5
    kobj_t     header;
6
7
 
8
    uint32_t   hot_x;
9
    uint32_t   hot_y;
10
11
 
12
    void      *cobj;
13
}cursor_t;
14
15
 
16
#define KMS_CURSOR_HEIGHT 64
17
18
 
19
{
20
    u32   x;
21
    u32   y;
22
    u32   width;
23
    u32   height;
24
    u32   bpp;
25
    u32   vrefresh;
26
    void *lfb;
27
    u32   lfb_pitch;
28
29
 
30
    void *win_map;
31
    u32   win_map_pitch;
32
    u32   win_map_size;
33
34
 
35
    struct drm_device    *ddev;
36
    struct drm_connector *connector;
37
    struct drm_crtc      *crtc;
38
39
 
40
41
 
42
    int       (*init_cursor)(cursor_t*);
43
    cursor_t* (__stdcall *select_cursor)(cursor_t*);
44
    void      (*show_cursor)(int show);
45
    void      (__stdcall *move_cursor)(cursor_t *cursor, int x, int y);
46
    void      (__stdcall *restore_cursor)(int x, int y);
47
    void      (*disable_mouse)(void);
48
    u32  mask_seqno;
49
    u32  check_mouse;
50
    u32  check_m_pixel;
51
52
 
53
};
54
55
 
56
57
 
58
void  __stdcall restore_cursor(int x, int y);
59