_paint Struct Reference

Base of paint types. More...

#include <mb_types.h>

List of all members.

Public Member Functions

 STAILQ (shnode_t) members

Public Attributes

int flags
void(* prepare )(paint_t *paint, cairo_t *cr)
void(* free )(struct _redraw_man *rdman, paint_t *paint)
paint_tpnt_next
 Collect all paints of a rdman.


Detailed Description

Base of paint types.

Paints should be freed by users by calling rdman_paint_free() of the paint.

Todo:
move member functions to a seperate structure and setup a singleton for each paint type.

Definition at line 25 of file mb_types.h.


Member Function Documentation

_paint::STAILQ ( shnode_t   ) 


Member Data Documentation

Definition at line 26 of file mb_types.h.

void(* _paint::prepare)(paint_t *paint, cairo_t *cr)

void(* _paint::free)(struct _redraw_man *rdman, paint_t *paint)

Collect all paints of a rdman.

Definition at line 30 of file mb_types.h.


The documentation for this struct was generated from the following file:
SourceForge.net Logo