
JUTF43 Initial Version
Embed:
(wiki syntax)
Show/hide line numbers
lcd_cmd.h
00001 #pragma once 00002 bool lcd_connect(int portnum); 00003 void lcd_disconnect(); 00004 bool lcd_is_open(); 00005 void set_receive_window(HWND h, UINT msg); 00006 00007 bool send_command(char* str); 00008 00009 bool lcd_connect_check(); 00010 bool lcd_set_double_buffer_mode(); 00011 bool lcd_set_single_buffer_mode(); 00012 bool lcd_brightness(int val); 00013 bool lcd_flip(); 00014 bool lcd_usb_mass_storage(); 00015 bool lcd_reset(); 00016 00017 bool lcd_set_color(unsigned char r, unsigned char g, unsigned char b); 00018 bool lcd_draw_line(int x, int y, int endx, int endy); 00019 bool lcd_draw_rect(int x, int y, int w, int h, bool bfill); 00020 bool lcd_draw_rect_gradient(int x, int y, int w, int h, unsigned char sr, unsigned char sg, unsigned char sb, unsigned char er, unsigned char eg, unsigned char eb); 00021 bool lcd_draw_rect_rounded(int x, int y, int w, int h, int rad, bool bfill); 00022 bool lcd_draw_thickline(int x, int y, int endx, int endy, int thick); 00023 bool lcd_draw_circle(int x, int y, int r, bool bfill); 00024 bool lcd_draw_ellipse(int x, int y, int rx, int ry, bool bfill); 00025 00026 bool lcd_image_load(int index, char* fname); 00027 bool lcd_image_draw(int index, int x, int y); 00028 bool lcd_image_draw_rect(int index, int x, int y, int sx, int sy, int w, int h); 00029 bool lcd_image_draw_scale(int index, int x, int y, int w, int h); 00030 bool lcd_image_draw_scale_rect(int index, int dx, int dy, int dw, int dh, int sx, int sy, int sw, int sh); 00031 bool lcd_image_release(int index); 00032 00033 bool lcd_textcolor(unsigned char r, unsigned char g, unsigned char b); 00034 bool lcd_textout(char* str, int x, int y); 00035 00036 bool lcd_set_touchmode(bool bAsync); 00037 bool lcd_get_touch(unsigned short *x, unsigned short *y); 00038 00039 bool lcd_run_script(char* fname); 00040 00041 int lcd_get_serial_data(unsigned char* buf);
Generated on Tue Jul 12 2022 14:15:16 by
