summaryrefslogtreecommitdiffstats
path: root/api.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'api.hpp')
-rw-r--r--api.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/api.hpp b/api.hpp
index 2f88d9f..3e0dbbd 100644
--- a/api.hpp
+++ b/api.hpp
@@ -39,6 +39,9 @@ class Api {
void init();
// Control the display's power (on or off)
void display_power(bool mode);
+ // Set the display's contrast.
+ // \param contrast Between 0 and 255
+ void display_set_contrast(unsigned char contrast);
int display_write_string(int iScrollX, int x, int y, const char *szMsg, int iSize, int bInvert, int bRender);
void display_fill(unsigned char ucData, int bRender);
void display_draw_line(int x1, int y1, int x2, int y2, int bRender);