Contiki 2.5
Functions
ctk-vncserver.c File Reference

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. More...
 
struct vnc_server_update * vnc_server_update_alloc (struct vnc_server_state *vs)
 Allocate an update request from the VNC connection state. More...
 
void vnc_server_update_free (struct vnc_server_state *vs, struct vnc_server_update *a)
 Deallocate an update request from the VNC connection state. More...
 
struct vnc_server_update * vnc_server_update_dequeue (struct vnc_server_state *vs)
 Dequeue the first update on the queue of updates. More...
 
void vnc_server_update_remove (struct vnc_server_state *vs, struct vnc_server_update *a)
 Remove a specific update on the queue of updates. More...
 
void ctk_draw_init (void)
 Initialize the VNC ctk-draw module. More...
 
void ctk_draw_widget (struct ctk_widget *w, unsigned char focus, unsigned char clipy1, unsigned char clipy2)
 Draw a widget on the VNC screen. More...
 
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. More...
 
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. More...
 
void ctk_draw_dialog (struct ctk_window *dialog)
 Draw a dialog on the VNC screen. More...
 
void ctk_draw_clear (unsigned char y1, unsigned char y2)
 Clear parts of the VNC desktop. More...
 
void ctk_draw_menus (struct ctk_menus *menus)
 Draw the menus on the virtual VNC desktop. More...
 
unsigned char ctk_draw_height (void)
 Obtain the height of the VNC desktop. More...
 
unsigned char ctk_draw_width (void)
 Obtain the height of the VNC desktop. More...
 
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. More...
 
unsigned char ctk_arch_keyavail (void)
 Checks the key press input queue to see if there are pending keys. More...
 
ctk_arch_key_t ctk_arch_getkey (void)
 Retrieves key presses from the VNC client. More...
 

Detailed Description

The ctk-draw implementation for the CTK VNC server.

Author
Adam Dunkels adam@.nosp@m.dunk.nosp@m.els.c.nosp@m.om

Definition in file ctk-vncserver.c.