22 #ifndef SCI_GRAPHICS_SCIFONT_H 23 #define SCI_GRAPHICS_SCIFONT_H 25 #include "sci/resource/resource.h" 26 #include "sci/graphics/helpers.h" 42 virtual GuiResourceId getResourceId() {
return 0; }
43 virtual byte getHeight() {
return 0; }
44 virtual bool isDoubleByte(uint16 chr) {
return false; }
45 virtual byte getCharWidth(uint16 chr) {
return 0; }
46 virtual byte getCharHeight(uint16 chr) {
return 0; }
47 virtual void draw(uint16 chr, int16 top, int16 left, byte color,
bool greyedOutput) {}
48 virtual void drawToBuffer(uint16 chr, int16 top, int16 left, byte color,
bool greyedOutput, byte *buffer, int16 width, int16 height) {}
61 GuiResourceId getResourceId()
override;
62 uint8 getHeight()
override;
63 uint8 getCharWidth(uint16 chr)
override;
64 void draw(uint16 chr, int16 top, int16 left, byte color,
bool greyedOutput)
override;
67 void drawToBuffer(uint16 chr, int16 top, int16 left, byte color,
bool greyedOutput, byte *buffer, int16 width, int16 height)
override;
71 uint8 getCharHeight(uint16 chr)
override;
79 GuiResourceId _resourceId;
93 #endif // SCI_GRAPHICS_SCIFONT_H
Definition: resource.h:327
Definition: resource.h:256