diff options
author | Strangerke | 2015-12-08 11:27:34 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2015-12-23 21:33:55 +0100 |
commit | 2d0fab7f4c1e4c7f8e88aee6a867a98a8917de86 (patch) | |
tree | de8ee9c372ef39a938c7007c7fe05fba9455bc62 /engines/lab/graphics.h | |
parent | 21fc36bfad679426f19e77c4d783ba809038735c (diff) | |
download | scummvm-rg350-2d0fab7f4c1e4c7f8e88aee6a867a98a8917de86.tar.gz scummvm-rg350-2d0fab7f4c1e4c7f8e88aee6a867a98a8917de86.tar.bz2 scummvm-rg350-2d0fab7f4c1e4c7f8e88aee6a867a98a8917de86.zip |
LAB: Use // for comments
Diffstat (limited to 'engines/lab/graphics.h')
-rw-r--r-- | engines/lab/graphics.h | 71 |
1 files changed, 36 insertions, 35 deletions
diff --git a/engines/lab/graphics.h b/engines/lab/graphics.h index 8798718529..71c824618b 100644 --- a/engines/lab/graphics.h +++ b/engines/lab/graphics.h @@ -95,43 +95,44 @@ public: void setAPen(byte pennum); void rectFill(uint16 x1, uint16 y1, uint16 x2, uint16 y2); void rectFillScaled(uint16 x1, uint16 y1, uint16 x2, uint16 y2); - /* Window text stuff */ - uint32 flowText(void *font, /* the TextAttr pointer */ - int16 spacing, /* How much vertical spacing between the lines */ - byte pencolor, /* pen number to use for text */ - byte backpen, /* the background color */ - bool fillback, /* Whether to fill the background */ - bool centerh, /* Whether to center the text horizontally */ - bool centerv, /* Whether to center the text vertically */ - bool output, /* Whether to output any text */ - uint16 x1, uint16 y1, /* Cords */ - uint16 x2, uint16 y2, - const char *text); /* The text itself */ - - uint32 flowTextScaled(void *font, /* the TextAttr pointer */ - int16 spacing, /* How much vertical spacing between the lines */ - byte pencolor, /* pen number to use for text */ - byte backpen, /* the background color */ - bool fillback, /* Whether to fill the background */ - bool centerh, /* Whether to center the text horizontally */ - bool centerv, /* Whether to center the text vertically */ - bool output, /* Whether to output any text */ - uint16 x1, uint16 y1, /* Cords */ - uint16 x2, uint16 y2, - const char *text); /* The text itself */ + // Window text stuff + uint32 flowText(void *font, // the TextAttr pointer + int16 spacing, // How much vertical spacing between the lines + byte pencolor, // pen number to use for text + byte backpen, // the background color + bool fillback, // Whether to fill the background + bool centerh, // Whether to center the text horizontally + bool centerv, // Whether to center the text vertically + bool output, // Whether to output any text + uint16 x1, uint16 y1, // Cords + uint16 x2, uint16 y2, + const char *text); // The text itself + + uint32 flowTextScaled( + void *font, // the TextAttr pointer + int16 spacing, // How much vertical spacing between the lines + byte pencolor, // pen number to use for text + byte backpen, // the background color + bool fillback, // Whether to fill the background + bool centerh, // Whether to center the text horizontally + bool centerv, // Whether to center the text vertically + bool output, // Whether to output any text + uint16 x1, uint16 y1, // Cords + uint16 x2, uint16 y2, + const char *text); // The text itself uint32 flowTextToMem(Image *destIm, - void *font, /* the TextAttr pointer */ - int16 spacing, /* How much vertical spacing between the lines */ - byte pencolor, /* pen number to use for text */ - byte backpen, /* the background color */ - bool fillback, /* Whether to fill the background */ - bool centerh, /* Whether to center the text horizontally */ - bool centerv, /* Whether to center the text vertically */ - bool output, /* Whether to output any text */ - uint16 x1, uint16 y1, /* Cords */ - uint16 x2, uint16 y2, - const char *str); /* The text itself */ + void *font, // the TextAttr pointer + int16 spacing, // How much vertical spacing between the lines + byte pencolor, // pen number to use for text + byte backpen, // the background color + bool fillback, // Whether to fill the background + bool centerh, // Whether to center the text horizontally + bool centerv, // Whether to center the text vertically + bool output, // Whether to output any text + uint16 x1, uint16 y1, // Cords + uint16 x2, uint16 y2, + const char *str); // The text itself void drawHLine(uint16 x, uint16 y1, uint16 y2); void drawVLine(uint16 x1, uint16 y, uint16 x2); |