mirror of
https://github.com/jummy0/sb2-decomp
synced 2025-03-15 04:24:48 +01:00
42 lines
883 B
C
42 lines
883 B
C
// Text.h
|
|
|
|
#pragma once
|
|
|
|
#define FONTWHITE 0
|
|
#define FONTRED 1
|
|
#define FONTSLIM 2
|
|
#define FONTLITTLE 10
|
|
|
|
extern
|
|
void DrawText(CPixmap *pPixmap, POINT pos, char *pText, int font=0);
|
|
|
|
extern
|
|
void DrawTextNew(CPixmap *pPixmap, POINT pos, char* pText, int font = 0);
|
|
|
|
extern
|
|
void DrawChar(CPixmap* pPixmap, POINT pos, char* pText, int font = 0);
|
|
|
|
extern
|
|
void DrawTextPente(CPixmap *pPixmap, POINT pos, char *pText,
|
|
int pente, int font=0);
|
|
|
|
extern
|
|
void DrawTextRect(CPixmap *pPixmap, POINT pos, char *pText,
|
|
int pente, int font=0, int part=-1);
|
|
|
|
extern
|
|
void DrawTextCenter(CPixmap *pPixmap, POINT pos, char *pText, int font=0);
|
|
|
|
extern
|
|
int GetTextHeight(char *pText, int font=0, int part=-1);
|
|
|
|
extern
|
|
int GetTextWidth(char *pText, int font=0);
|
|
|
|
extern
|
|
void DrawBignum(CPixmap *pPixmap, POINT pos, int num);
|
|
|
|
extern
|
|
int GetBignumWidth(int num);
|
|
|