Project

General

Profile

Revision 165

renamed graph stuff

View differences:

graphics.h
42 42

  
43 43
int (vbe_get_controller_information)(vg_vbe_contr_info_t *info_p);
44 44

  
45
phys_bytes (get_phys_addr)    (void);
46
unsigned   (get_vram_size)    (void);
47
uint16_t   (get_XRes)         (void);
48
uint16_t   (get_YRes)         (void);
49
uint16_t   (get_bits_pixel)   (void);
50
uint16_t   (get_bytes_pixel)  (void);
51
uint16_t   (get_RedMaskSize)  (void);
52
uint16_t   (get_GreenMaskSize)(void);
53
uint16_t   (get_BlueMaskSize) (void);
45
phys_bytes (graph_get_phys_addr)    (void);
46
unsigned   (graph_get_vram_size)    (void);
47
uint16_t   (graph_get_XRes)         (void);
48
uint16_t   (graph_get_YRes)         (void);
49
uint16_t   (graph_get_bits_pixel)   (void);
50
uint16_t   (graph_get_bytes_pixel)  (void);
51
uint16_t   (graph_get_RedMaskSize)  (void);
52
uint16_t   (graph_get_GreenMaskSize)(void);
53
uint16_t   (graph_get_BlueMaskSize) (void);
54 54

  
55
int (map_vram)(void);
55
int (graph_map_vram)(void);
56 56

  
57
int (free_memory_map)(void);
57
int (graph_free_memory_map)(void);
58 58

  
59
int (set_pixel)      (uint16_t x, uint16_t y, uint32_t color);
60
int (set_pixel_alpha)(uint16_t x, uint16_t y, uint32_t color, uint8_t alpha);
59
int (graph_set_pixel)      (uint16_t x, uint16_t y, uint32_t color);
60
int (graph_set_pixel_alpha)(uint16_t x, uint16_t y, uint32_t color, uint8_t alpha);
61 61

  
62 62
/**
63 63
 * @brief
64 64
 * @param mode
65 65
 * @return
66 66
 */
67
int (set_graphics_mode)(uint16_t mode);
67
int (graph_set_mode)(uint16_t mode);
68 68

  
69
int (draw_hline)(uint16_t x, uint16_t y, uint16_t len, uint32_t color);
69
int (graph_draw_hline)(uint16_t x, uint16_t y, uint16_t len, uint32_t color);
70 70

  
71
int (draw_rectangle)(uint16_t x, uint16_t y,uint16_t width, uint16_t height, uint32_t color);
71
int (graph_draw_rectangle)(uint16_t x, uint16_t y,uint16_t width, uint16_t height, uint32_t color);
72 72

  
73
int (paint_screen)(uint32_t color);
73
int (graph_paint_screen)(uint32_t color);
74 74

  
75
int (clear_screen)();
75
int (graph_clear_screen)(void);
76 76

  
77
int (graph_draw)(void);
78

  
77 79
#endif /* end of include guard: GRAPHICS_H_INCLUDED */

Also available in: Unified diff