summaryrefslogtreecommitdiff
path: root/include/font.h
diff options
context:
space:
mode:
authorpixel <pixel>2006-10-28 16:50:46 +0000
committerpixel <pixel>2006-10-28 16:50:46 +0000
commit45e08ccde95c84932557701235558e72cdc95f1b (patch)
tree0c318c6f589002a8d486c107519b4cf4fd4be1cb /include/font.h
parenta13cd83fb51c2e744b8b80dc26696190ec9bff6d (diff)
Fixing caps in class names.
Diffstat (limited to 'include/font.h')
-rw-r--r--include/font.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/include/font.h b/include/font.h
index 6cf0e93..32d02dd 100644
--- a/include/font.h
+++ b/include/font.h
@@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/* $Id: font.h,v 1.11 2005-12-01 13:48:12 pixel Exp $ */
+/* $Id: font.h,v 1.12 2006-10-28 16:50:46 pixel Exp $ */
#ifndef __FONT_H__
#define __FONT_H__
@@ -26,22 +26,22 @@
#include <stdarg.h>
#include <BString.h>
#include <Handle.h>
-#include <texture.h>
+#include <Texture.h>
#include <mcolor.h>
#include <base.h>
namespace mogltk {
- class font : public Base {
+ class Font : public Base {
public:
- font(Handle *);
- virtual ~font();
+ Font(Handle *);
+ virtual ~Font();
virtual void drawentry(Uint16, int, int, ColorP = WHITE);
- void drawtotex(texture *, Uint16, int, int, ColorP = WHITE);
+ void drawtotex(Texture *, Uint16, int, int, ColorP = WHITE);
void putcursor(int, int);
void putentry(Uint16, ColorP = WHITE);
- void putentryontex(texture *, Uint16, ColorP = WHITE);
+ void putentryontex(Texture *, Uint16, ColorP = WHITE);
void drawchar(unsigned char, ColorP = WHITE);
- void drawcharontex(texture *, unsigned char, ColorP = WHITE);
+ void drawcharontex(Texture *, unsigned char, ColorP = WHITE);
void newline(void);
int printf(const ugly_string &, ...);
int printf(const char *, ...);
@@ -49,12 +49,12 @@ namespace mogltk {
rect size(const ugly_string &, ...);
rect size(const char *, ...);
rect size(const ugly_string &, va_list);
- rect printtotex(texture *, const ugly_string &, ...);
- rect printtotex(texture *, const char *, ...);
- rect printtotex(texture *, const ugly_string &, va_list);
- texture * printtex(rect *, const ugly_string &, ...);
- texture * printtex(rect *, const char *, ...);
- texture * printtex(rect *, const ugly_string &, va_list);
+ rect printtotex(Texture *, const ugly_string &, ...);
+ rect printtotex(Texture *, const char *, ...);
+ rect printtotex(Texture *, const ugly_string &, va_list);
+ Texture * printtex(rect *, const ugly_string &, ...);
+ Texture * printtex(rect *, const char *, ...);
+ Texture * printtex(rect *, const ugly_string &, va_list);
void setcolor(ColorP);
void setshadow(int);
void setwspace(int);
@@ -68,16 +68,16 @@ namespace mogltk {
int cx, cy, ox;
ColorP textcolor;
int shadow, wspace;
- texture * alloctexture();
+ Texture * alloctexture();
void Bind(int);
private:
void checknbind(int, ColorP);
- texture ** fonttex;
- texture ** fontcache[16];
+ Texture ** fonttex;
+ Texture ** fontcache[16];
Uint16 * corresp;
};
- extern font * SystemFont;
- extern font * FixedFont;
+ extern Font * SystemFont;
+ extern Font * FixedFont;
};
#endif