Rev 6482 | Rev 6612 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6482 | Rev 6589 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | #ifndef KOLIBRI_SCROLLBAR_H |
1 | #ifndef KOLIBRI_SCROLLBAR_H |
2 | #define KOLIBRI_SCROLLBAR_H |
2 | #define KOLIBRI_SCROLLBAR_H |
Line 3... | Line 3... | ||
3 | 3 | ||
4 | typedef struct { |
4 | typedef struct __attribute__ ((__packed__)) { |
5 | // uint16_t xsize; |
5 | // uint16_t xsize; |
6 | // uint16_t xpos; |
6 | // uint16_t xpos; |
7 | // uint16_t ysize; |
7 | // uint16_t ysize; |
8 | // uint16_t ypos; |
8 | // uint16_t ypos; |
9 | uint32_t x_w; |
9 | uint32_t x_w; |
10 | uint32_t y_h; |
10 | uint32_t y_h; |
11 | uint32_t btn_height; |
11 | uint32_t btn_height; |
12 | uint32_t type; |
12 | uint32_t type; // type 1 - stylish frame, type 2 - ?, type 0 - ? |
13 | uint32_t max_area; |
13 | uint32_t max_area; |
14 | uint32_t cur_area; |
14 | uint32_t cur_area; |
15 | uint32_t position; |
15 | uint32_t position; |
16 | uint32_t back_color; |
16 | uint32_t back_color; |