Struct

PurpleWhiteboardOps

Description [src]

struct PurpleWhiteboardOps {
  void (* start) (
    PurpleWhiteboard* wb
  );;
  void (* end) (
    PurpleWhiteboard* wb
  );;
  void (* get_dimensions) (
    const PurpleWhiteboard* wb,
    int* width,
    int* height
  );;
  void (* set_dimensions) (
    PurpleWhiteboard* wb,
    int width,
    int height
  );;
  void (* get_brush) (
    const PurpleWhiteboard* wb,
    int* size,
    int* color
  );;
  void (* set_brush) (
    PurpleWhiteboard* wb,
    int size,
    int color
  );;
  void (* send_draw_list) (
    PurpleWhiteboard* wb,
    GList* draw_list
  );;
  void (* clear) (
    PurpleWhiteboard* wb
  );;
}

Whiteboard protocol operations.

Structure members
start: void (* start) ( PurpleWhiteboard* wb )

Start function.

end: void (* end) ( PurpleWhiteboard* wb )

End function.

get_dimensions: void (* get_dimensions) ( const PurpleWhiteboard* wb, int* width, int* height )

Get whiteboard dimensions.

set_dimensions: void (* set_dimensions) ( PurpleWhiteboard* wb, int width, int height )

Set whiteboard dimensions.

get_brush: void (* get_brush) ( const PurpleWhiteboard* wb, int* size, int* color )

Get the brush size and color.

set_brush: void (* set_brush) ( PurpleWhiteboard* wb, int size, int color )

Set the brush size and color.

send_draw_list: void (* send_draw_list) ( PurpleWhiteboard* wb, GList* draw_list )

Send_draw_list function.

clear: void (* clear) ( PurpleWhiteboard* wb )

Clear whiteboard.