Quantcast
Channel: Cemetech
Viewing all articles
Browse latest Browse all 75370

Casio Prizm/FX Development & Programming :: RE: On the Need for PrizmSDK 0.4

$
0
0
Author: Tari
Posted: 25 Dec 2012 09:40:47 am (GMT -5)

No, don't typedef any of them. Just qualify them as structs where necessary.
For example:

Code:
struct display_fill {
    int x1;
    int y1;
    int x2;
    int y2;
    unsigned char mode;
};

struct display_shape {
   int dx;
   int dy;
   int wx;
   int wy;
   int color;
   struct display_fill saved;
};

void Bdisp_ShapeBase(unsigned char *work, struct display_shape *shape, int color, int line_width, int zero1, int zero2);

_________________


Ask questions the smart way· タリ


Viewing all articles
Browse latest Browse all 75370

Trending Articles