Contiki 2.6
|
The ctk-draw implementation for the CTK VNC server. More...
#include <string.h>
#include "ctk/ctk.h"
#include "ctk/ctk-draw.h"
#include "contiki-net.h"
#include "ctk/vnc-server.h"
#include "ctk/vnc-out.h"
#include "ctk/ctk-vncfont.h"
#include "ctk/ctk-vncserver.h"
#include "lib/libconio.h"
Go to the source code of this file.
Functions | |
void | vnc_server_update_add (struct vnc_server_state *vs, struct vnc_server_update *a) |
Add an update request from a client to the list of pending updates for the connection. | |
struct vnc_server_update * | vnc_server_update_alloc (struct vnc_server_state *vs) |
Allocate an update request from the VNC connection state. | |
void | vnc_server_update_free (struct vnc_server_state *vs, struct vnc_server_update *a) |
Deallocate an update request from the VNC connection state. | |
struct vnc_server_update * | vnc_server_update_dequeue (struct vnc_server_state *vs) |
Dequeue the first update on the queue of updates. | |
void | vnc_server_update_remove (struct vnc_server_state *vs, struct vnc_server_update *a) |
Remove a specific update on the queue of updates. | |
void | ctk_draw_init (void) |
Initialize the VNC ctk-draw module. | |
void | ctk_draw_widget (struct ctk_widget *w, unsigned char focus, unsigned char clipy1, unsigned char clipy2) |
Draw a widget on the VNC screen. | |
void | ctk_draw_clear_window (struct ctk_window *window, unsigned char focus, unsigned char clipy1, unsigned char clipy2) |
Clear a window on the VNC screen. | |
void | ctk_draw_window (struct ctk_window *window, unsigned char focus, unsigned char clipy1, unsigned char clipy2, unsigned char draw_borders) |
Draw a window on the VNC screen. | |
void | ctk_draw_dialog (struct ctk_window *dialog) |
Draw a dialog on the VNC screen. | |
void | ctk_draw_clear (unsigned char y1, unsigned char y2) |
Clear parts of the VNC desktop. | |
void | ctk_draw_menus (struct ctk_menus *menus) |
Draw the menus on the virtual VNC desktop. | |
unsigned char | ctk_draw_height (void) |
Obtain the height of the VNC desktop. | |
unsigned char | ctk_draw_width (void) |
Obtain the height of the VNC desktop. | |
void | ctk_arch_draw_char (char c, unsigned char xpos, unsigned char ypos, unsigned char reversedflag, unsigned char color) |
Draws a character on the virtual VNC screen. | |
unsigned char | ctk_arch_keyavail (void) |
Checks the key press input queue to see if there are pending keys. | |
ctk_arch_key_t | ctk_arch_getkey (void) |
Retrieves key presses from the VNC client. |
The ctk-draw implementation for the CTK VNC server.
Definition in file ctk-vncserver.c.