summaryrefslogtreecommitdiff
path: root/include/shape.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/shape.h')
-rw-r--r--include/shape.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/shape.h b/include/shape.h
index 72feba2..b5c3d91 100644
--- a/include/shape.h
+++ b/include/shape.h
@@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/* $Id: shape.h,v 1.16 2004-11-27 21:48:01 pixel Exp $ */
+/* $Id: shape.h,v 1.17 2005-12-01 13:48:12 pixel Exp $ */
#ifndef __SHAPE_H__
#define __SHAPE_H__
@@ -27,6 +27,7 @@
#include <BString.h>
#include <mcolor.h>
#include <texture.h>
+#include <font.h>
namespace mogltk {
typedef enum {
@@ -143,13 +144,13 @@ namespace mogltk {
ColorP shade2 = DOS_GRAY);
virtual void text(int x, int y, const String &,
ColorP textcolor = DOS_HIGH_WHITE,
- align_t align = LEFT);
+ align_t align = LEFT, mogltk::font * = mogltk::SystemFont);
virtual void text3d(int x, int y, const String &,
ColorP textcolor = DOS_BLACK,
ColorP shade1 = DOS_HIGH_WHITE,
ColorP shade2 = DOS_GRAY,
align_t align = LEFT,
- bool bevel = false);
+ bool bevel = false, mogltk::font * = mogltk::SystemFont);
virtual void button(int x1, int y1, int x2, int y2, const String &,
bool bevel = false,
ColorP front = DOS_WHITE,