#include <cstring>
#include <stdio.h>
#include <errno.h>
#include <stdarg.h>
#include <stdlib.h>
#include <math.h>
#include "global.h"
#include "newfont.h"
#include "stack.h"
#include "basestrm.h"
#include "misc.h"
#include "basegfx.h"
Include dependency graph for newfont.cpp:

Go to the source code of this file.
Defines | |
| #define | blockread(a, b, c) fread(b,1,c,a) |
| #define | seek(a, b) fseek(a,b,SEEK_SET) |
| #define | spacewidthkey (int('n')) |
Typedefs | |
| typedef dacpalette256 | dacpal |
Functions | |
| void | expand (void *p1, void *q1, int size) |
| pfont | loadfont (pnstream stream) |
| void | shrinkfont (pfont font, int diff) |
| int | gettextwdth (const char *txt, pfont font) |
| void | showtext3 (const char *txt, int xpos, int ypos) |
| void | showtext3c (const char *txt, int xpos, int ypos) |
| void | showtext4 (const char *TextToOutput, int x1, int y1,...) |
| void | showtext4c (const char *TextToOutput, int x1, int y1,...) |
| char * | int2string (int i, char *buf) |
Variables | |
| const char * | fontid = "I\'m a font file on your Disk. Leave me alone !\x01A\x0A0" |
| tfontsettings | activefontsettings |
| InitNewfont | initnewfont |
The routines for displaying fonts can be found in basegfx.cpp (function showtext ). Although the file name contains is called newfont, the time when this was actually the case is long past (1993)...
Definition in file newfont.cpp.
|
|
Definition at line 42 of file newfont.cpp. |
|
|
Definition at line 43 of file newfont.cpp. |
|
|
Definition at line 47 of file newfont.cpp. Referenced by loadfont(). |
|
|
Definition at line 49 of file newfont.cpp. |
|
||||||||||||||||
|
Definition at line 53 of file newfont.cpp. Referenced by loadfont(). |
|
||||||||||||
|
Definition at line 215 of file newfont.cpp. References tfont::character, tfontsettings::font, tfont::kerning, and tcharacter::width. Referenced by tviewtext::displaysingleline(), tviewtext::displaytext(), tdialogbox::gettextwdth_stredit(), tdisplaymessage::init(), tchoice_dlg::init(), int2string(), tdialogbox::intedit(), tdialogbox::lne(), tdialogbox::rahmen3(), showtext3(), and showtext3c(). |
|
||||||||||||
|
Definition at line 446 of file newfont.cpp. References digit, gettextwdth(), itoa(), tfontsettings::length, and strrr(). |
|
|
||||||||||||||||
|
Definition at line 244 of file newfont.cpp. References tfontsettings::background, centertext, tfontsettings::color, gettextwdth(), tfontsettings::justify, lefttext, tfontsettings::length, tfontsettings::markcolor, npop, npush, righttext, s2, s3, and showtext2(). Referenced by tdialogbox::enablebutton(). |
|
||||||||||||||||
|
Definition at line 335 of file newfont.cpp. References tfontsettings::background, centertext, tfontsettings::font, gettextwdth(), tfontsettings::justify, lefttext, tfontsettings::length, tfontsettings::markfont, npop, npush, righttext, s2, s3, and showtext2c(). Referenced by infomessage(). |
|
||||||||||||||||||||
|
Definition at line 414 of file newfont.cpp. References showtext2(). |
|
||||||||||||||||||||
|
Definition at line 426 of file newfont.cpp. References showtext2c(). |
|
||||||||||||
|
Definition at line 204 of file newfont.cpp. References tfont::character, tfont::kerning, and tcharacter::size. Referenced by loaddata(). |
|
|
|
Definition at line 45 of file newfont.cpp. Referenced by loadfont(). |
|
|
|
1.4.2