91 /** |
91 /** |
92 * @brief Draw a horizontal line on the display. |
92 * @brief Draw a horizontal line on the display. |
93 * @param x1 Start horizontal position. |
93 * @param x1 Start horizontal position. |
94 * @param x2 End of the horizontal position. |
94 * @param x2 End of the horizontal position. |
95 * @param y The vertical position of the line. |
95 * @param y The vertical position of the line. |
96 * @param colour The RGB color of the line. |
96 * @param color The RGB color of the line. |
97 */ |
97 */ |
98 void VncDrawHorzLine(uint16_t x1, uint16_t x2, uint16_t y, vnc_color_t color); |
98 void VncDrawHorzLine(uint16_t x1, uint16_t x2, uint16_t y, vnc_color_t color); |
99 |
99 |
100 /** |
100 /** |
101 * @brief Draw a vertical line on the display. |
101 * @brief Draw a vertical line on the display. |
120 * @brief Sound the bell on the client computer. |
120 * @brief Sound the bell on the client computer. |
121 */ |
121 */ |
122 void VncSoundBell(void); |
122 void VncSoundBell(void); |
123 |
123 |
124 |
124 |
125 /* Macro to convert from RGB to colour values */ |
125 /** |
|
126 * @brief Macro to convert from RGB to colour values |
|
127 */ |
126 #define VNC_RGB2COL(r,g,b) (vnc_color_t)(((((uint8_t)r)&0xE0) >> 0) | ((((uint8_t)g)&0xE0) >> 3) | ((((uint8_t)b)&0xC0) >> 6)) |
128 #define VNC_RGB2COL(r,g,b) (vnc_color_t)(((((uint8_t)r)&0xE0) >> 0) | ((((uint8_t)g)&0xE0) >> 3) | ((((uint8_t)b)&0xC0) >> 6)) |
127 |
129 |
128 |
130 |
129 /** |
131 /** |
130 * @brief Start task for a websocket client. |
132 * @brief Start task for a websocket client. |