forked from pyrite-dev/milsko
name
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@33 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
4597519598
commit
a1601bb0b4
10 changed files with 66 additions and 25 deletions
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
#include <Milsko/MachDep.h>
|
||||
|
||||
typedef struct _MilskoLLCallback *MilskoLLCallback, MilskoLLCallbackRec;
|
||||
typedef struct _MilskoLLHandler *MilskoLLHandler, MilskoLLHandlerRec;
|
||||
#ifdef _MILSKO
|
||||
typedef struct _MilskoLL * MilskoLL, MilskoLLRec;
|
||||
typedef struct _MilskoLLColor *MilskoLLColor, MilskoLLColorRec;
|
||||
|
|
@ -24,9 +24,9 @@ typedef void* MilskoLLColor;
|
|||
#include <Milsko/TypeDefs.h>
|
||||
|
||||
#define MilskoLLDispatch(x, y) \
|
||||
if(x->callback != NULL && x->callback->y != NULL) x->callback->y(x)
|
||||
if(x->handler != NULL && x->handler->y != NULL) x->handler->y(x)
|
||||
|
||||
struct _MilskoLLCallback {
|
||||
struct _MilskoLLHandler {
|
||||
void (*draw)(MilskoLL handle);
|
||||
void (*up)(MilskoLL handle);
|
||||
void (*down)(MilskoLL handle);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue