Contiki 2.6

ctk-draw.h File Reference

CTK screen drawing module interface, ctk-draw. More...

#include "ctk/ctk.h"
#include "contiki-conf.h"

Go to the source code of this file.

Functions

void ctk_draw_init (void)
 The initialization function.
void ctk_draw_clear (unsigned char clipy1, unsigned char clipy2)
 Clear the screen between the clip bounds.
void ctk_draw_clear_window (struct ctk_window *window, unsigned char focus, unsigned char clipy1, unsigned char clipy2)
 Draw the window background.
void ctk_draw_window (struct ctk_window *window, unsigned char focus, unsigned char clipy1, unsigned char clipy2, unsigned char draw_borders)
 Draw a window onto the screen.
void ctk_draw_dialog (struct ctk_window *dialog)
 Draw a dialog onto the screen.
void ctk_draw_widget (struct ctk_widget *w, unsigned char focus, unsigned char clipy1, unsigned char clipy2)
 Draw a widget on a window.
void ctk_draw_menus (struct ctk_menus *menus)
 Draw the menus on the virtual VNC desktop.
CCIF unsigned char ctk_draw_width (void)
 Obtain the height of the VNC desktop.
CCIF unsigned char ctk_draw_height (void)
 Obtain the height of the VNC desktop.

Detailed Description

CTK screen drawing module interface, ctk-draw.

Author:
Adam Dunkels <adam@dunkels.com>

This file contains the interface for the ctk-draw module.The ctk-draw module takes care of the actual screen drawing for CTK by implementing a handful of functions that are called by CTK.

Definition in file ctk-draw.h.