Rev 6589 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6589 | Rev 8581 | ||
---|---|---|---|
Line 15... | Line 15... | ||
15 | uint32_t temp_text_length; |
15 | uint32_t temp_text_length; |
16 | } pathview; |
16 | } pathview; |
Line 17... | Line 17... | ||
17 | 17 | ||
18 | 18 | ||
19 | 19 | ||
20 | inline pathview* kolibri_pathview(pathview* p, uint32_t x_y, uint32_t width, uint32_t font_number, uint32_t is_bkgr, char* text, char* temp_buf, color_t font, color_t bkgr) |
20 | static inline pathview* kolibri_pathview(pathview* p, uint32_t x_y, uint32_t width, uint32_t font_number, uint32_t is_bkgr, char* text, char* temp_buf, color_t font, color_t bkgr) |
21 | { |
21 | { |
22 | p->type = p->temp_text_length = 0; |
22 | p->type = p->temp_text_length = 0; |
Line 31... | Line 31... | ||
31 | p->background_color = bkgr; |
31 | p->background_color = bkgr; |
Line 32... | Line 32... | ||
32 | 32 | ||
33 | return p; |
33 | return p; |
Line 34... | Line 34... | ||
34 | } |
34 | } |
35 | 35 | ||
36 | inline pathview* kolibri_new_pathview(pathview* p, uint32_t x_y, uint32_t width, uint32_t font_number, uint32_t is_bkgr, char* text, char* temp_buf, color_t font, color_t bkgr) |
36 | static inline pathview* kolibri_new_pathview(pathview* p, uint32_t x_y, uint32_t width, uint32_t font_number, uint32_t is_bkgr, char* text, char* temp_buf, color_t font, color_t bkgr) |
37 | { |
37 | { |
38 | pathview *new_pv = (pathview *)malloc(sizeof(pathview)); |
38 | pathview *new_pv = (pathview *)malloc(sizeof(pathview)); |
Line 39... | Line 39... | ||
39 | return kolibri_pathview(new_pv, x_y, width, font_number, is_bkgr, text, temp_buf, font, bkgr); |
39 | return kolibri_pathview(new_pv, x_y, width, font_number, is_bkgr, text, temp_buf, font, bkgr); |
40 | } |
40 | } |
41 | 41 | ||
42 | inline void gui_add_pathview(kolibri_window *wnd, pathview* pv) |
42 | static inline void gui_add_pathview(kolibri_window *wnd, pathview* pv) |