summaryrefslogtreecommitdiff
path: root/amiga/font.h
diff options
context:
space:
mode:
Diffstat (limited to 'amiga/font.h')
-rwxr-xr-xamiga/font.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/amiga/font.h b/amiga/font.h
index e0799ea05..da23b5989 100755
--- a/amiga/font.h
+++ b/amiga/font.h
@@ -23,10 +23,14 @@
#include <graphics/rastport.h>
#include <graphics/text.h>
-void ami_font_setdevicedpi(int id);
void ami_font_init(void);
void ami_font_fini(void);
+/* DPI stuff */
+void ami_font_setdevicedpi(int id);
+ULONG ami_font_dpi_get_devicedpi(void);
+ULONG ami_font_dpi_get_xdpi(void);
+
/* Simple diskfont functions for graphics.library use (not page rendering) */
struct TextFont *ami_font_open_disk_font(struct TextAttr *tattr);
void ami_font_close_disk_font(struct TextFont *tfont);
@@ -50,9 +54,6 @@ struct ami_font_functions {
ULONG x, ULONG y, bool aa);
};
-ULONG ami_devicedpi;
-ULONG ami_xdpi;
-
const struct ami_font_functions *ami_nsfont;
#endif