1.1 --- a/include/display.h Fri Nov 09 00:33:42 2018 +0100
1.2 +++ b/include/display.h Fri Nov 09 01:08:41 2018 +0100
1.3 @@ -97,33 +97,31 @@
1.4
1.5 void init_display_properties(display_config_t *cfg, uint32_t offset);
1.6
1.7 -void select_frame(display_config_t *cfg, int frame, uint32_t offset);
1.8 +void display_select_frame(display_config_t *cfg, int frame, uint32_t offset);
1.9
1.10 -void set_frames(display_config_t *cfg, int frames);
1.11 +void display_set_frames(display_config_t *cfg, int frames);
1.12
1.13 -uint32_t get_start_offset(display_config_t *cfg);
1.14 +uint32_t display_get_start_offset(display_config_t *cfg);
1.15
1.16 /* Access functions. */
1.17
1.18 -int get_position(display_config_t *cfg, int x);
1.19 +int display_get_position(display_config_t *cfg, int x);
1.20
1.21 -void test_linedata(display_config_t *cfg);
1.22 -
1.23 -void copy_display(display_config_t *cfg, uint8_t *store,
1.24 +void display_copy(display_config_t *cfg, uint8_t *store,
1.25 int width, int height, int ystep,
1.26 int x, int y, int key, int to_display);
1.27
1.28 -void copy_display_section(display_config_t *cfg, uint8_t *store,
1.29 +void display_copy_section(display_config_t *cfg, uint8_t *store,
1.30 int width, int height,
1.31 int xstart, int ystart, int xsize, int ysize, int ystep,
1.32 int x, int y, int key, int to_display);
1.33
1.34 -void scroll_display(display_config_t *cfg, int x, int y);
1.35 +void display_scroll(display_config_t *cfg, int x, int y);
1.36 +
1.37 +void display_test_linedata(display_config_t *cfg);
1.38
1.39 /* Address-related functions. */
1.40
1.41 -uint8_t *wrap_pointer(uint8_t *ptr, uint8_t *lower, uint8_t *upper);
1.42 -
1.43 -uint8_t *wrap_screen_pointer(display_config_t *cfg, uint8_t *ptr);
1.44 +uint8_t *display_wrap_pointer(display_config_t *cfg, uint8_t *ptr);
1.45
1.46 #endif /* __DISPLAY_H__ */