#include <pageblk.h>
Inheritance diagram for GRAPHICS_BLOCK:
Definition at line 258 of file pageblk.h.
GRAPHICS_BLOCK::GRAPHICS_BLOCK | ( | ) | [inline] |
GRAPHICS_BLOCK::GRAPHICS_BLOCK | ( | ICOORDELT_LIST * | points, | |
BOOL8 | backg[NUM_BACKGROUNDS], | |||
INT8 | foreg | |||
) |
Init a BLAH, where BLAH is GRAPHICS_BLOCK.
Definition at line 707 of file pageblk.cpp.
References background, foreground, and BITS16::set_bit().
00707 :PAGE_BLOCK (points, 00708 PB_GRAPHICS) { 00709 int 00710 i; 00711 00712 for (i = 0; i < NUM_BACKGROUNDS; i++) 00713 background.set_bit (i, backg[i]); 00714 00715 foreground = foreg; 00716 }
void GRAPHICS_BLOCK::de_serialise_asc | ( | FILE * | f | ) |
Convert BLAH from ascii file, where BLAH is GRAPHICS_BLOCK.
Definition at line 755 of file pageblk.cpp.
References background, de_serialise_INT32(), foreground, and BITS16::val.
00757 { 00758 ((PAGE_BLOCK *) this)->de_serialise_asc (f); 00759 background.val = de_serialise_INT32 (f); 00760 foreground = de_serialise_INT32 (f); 00761 }
GRAPHICS_BLOCK::make_serialise | ( | GRAPHICS_BLOCK | ) |
Definition at line 720 of file pageblk.cpp.
References background, foreground, and BITS16::set_bit().
00720 { 00721 int i; 00722 00723 for (i = 0; i < NUM_BACKGROUNDS; i++) 00724 background.set_bit (i, backg[i]); 00725 00726 foreground = foreg; 00727 }
void GRAPHICS_BLOCK::show_attrs | ( | DEBUG_WIN * | debug | ) |
Print info about BLAH, where BLAH is GRAPHICS_BLOCK.
Definition at line 733 of file pageblk.cpp.
References background, blabel, f, foreground, G_START, and print_background().
00733 { 00734 f->dprintf ("GRAPHICS BLOCK with attribute %s\n", 00735 blabel[G_START][foreground]); 00736 print_background(f, background); 00737 }
BITS16 GRAPHICS_BLOCK::background [private] |
FIX:.
Definition at line 278 of file pageblk.h.
Referenced by de_serialise_asc(), GRAPHICS_BLOCK(), set_attrs(), and show_attrs().
INT8 GRAPHICS_BLOCK::foreground [private] |
FIX:.
Definition at line 280 of file pageblk.h.
Referenced by de_serialise_asc(), GRAPHICS_BLOCK(), set_attrs(), and show_attrs().