#include <pageblk.h>
Inheritance diagram for SCRIBBLE_BLOCK:
Probably destined for 'overlayed' scribble/highlight block
Definition at line 320 of file pageblk.h.
SCRIBBLE_BLOCK::SCRIBBLE_BLOCK | ( | ) | [inline] |
SCRIBBLE_BLOCK::SCRIBBLE_BLOCK | ( | ICOORDELT_LIST * | points, | |
BOOL8 | backg[NUM_BACKGROUNDS], | |||
INT8 | foreg | |||
) |
Set attributes for BLAH, where BLAH is SCRIBBLE_BLOCK.
Definition at line 819 of file pageblk.cpp.
References background, foreground, and BITS16::set_bit().
00819 :PAGE_BLOCK (points, 00820 PB_SCRIBBLE) { 00821 int 00822 i; 00823 00824 for (i = 0; i < NUM_BACKGROUNDS; i++) 00825 background.set_bit (i, backg[i]); 00826 00827 foreground = foreg; 00828 }
void SCRIBBLE_BLOCK::de_serialise_asc | ( | FILE * | f | ) |
Convert BLAH from ascii file, where BLAH is SCRIBBLE_BLOCK.
Definition at line 867 of file pageblk.cpp.
References background, de_serialise_INT32(), foreground, and BITS16::val.
00869 { 00870 ((PAGE_BLOCK *) this)->de_serialise_asc (f); 00871 background.val = de_serialise_INT32 (f); 00872 foreground = de_serialise_INT32 (f); 00873 }
SCRIBBLE_BLOCK::make_serialise | ( | SCRIBBLE_BLOCK | ) |
Definition at line 832 of file pageblk.cpp.
References background, foreground, and BITS16::set_bit().
00832 { 00833 int i; 00834 00835 for (i = 0; i < NUM_BACKGROUNDS; i++) 00836 background.set_bit (i, backg[i]); 00837 00838 foreground = foreg; 00839 }
void SCRIBBLE_BLOCK::show_attrs | ( | DEBUG_WIN * | debug | ) |
Print info about BLAH, where BLAH is SCRIBBLE_BLOCK.
Definition at line 845 of file pageblk.cpp.
References background, blabel, f, foreground, print_background(), and S_START.
00845 { 00846 f->dprintf ("SCRIBBLE BLOCK with attributes %s\n", 00847 blabel[S_START][foreground]); 00848 print_background(f, background); 00849 }
BITS16 SCRIBBLE_BLOCK::background [private] |
FIX:.
Definition at line 340 of file pageblk.h.
Referenced by de_serialise_asc(), SCRIBBLE_BLOCK(), set_attrs(), and show_attrs().
INT8 SCRIBBLE_BLOCK::foreground [private] |
FIX:.
Definition at line 342 of file pageblk.h.
Referenced by de_serialise_asc(), SCRIBBLE_BLOCK(), set_attrs(), and show_attrs().