summaryrefslogtreecommitdiff
path: root/FL/fl_draw.H
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2009-12-07 22:04:55 +0000
committerMatthias Melcher <fltk@matthiasm.com>2009-12-07 22:04:55 +0000
commit5bc48808b6aed5469c3e62e1402e10c797a5d02a (patch)
treee8e5909aab83b58dd498df789d113d05730b02ae /FL/fl_draw.H
parent43f16de4dea0ca3589fe2088f1aa9ca2edd1b354 (diff)
Removed typedef that simply renamed char* to Fl_String, as discussed in the mailing list.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6955 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/fl_draw.H')
-rw-r--r--FL/fl_draw.H6
1 files changed, 3 insertions, 3 deletions
diff --git a/FL/fl_draw.H b/FL/fl_draw.H
index 89e09198a..68ef2878b 100644
--- a/FL/fl_draw.H
+++ b/FL/fl_draw.H
@@ -216,7 +216,7 @@ FL_EXPORT double fl_width(const char* txt, int n);
/** Return the typographical width of a single character :
\note if a valid fl_gc is NOT found then it uses the first window gc,
or the screen gc if no fltk window is available when called. */
-FL_EXPORT double fl_width(Fl_Char);
+FL_EXPORT double fl_width(unsigned int);
/** Determine the minimum pixel dimensions of a nul-terminated string.
Usage: given a string "txt" drawn using fl_draw(txt, x, y) you would determine
@@ -441,8 +441,8 @@ FL_EXPORT int fl_measure_pixmap(const char* const* cdata, int &w, int &h);
// other:
FL_EXPORT void fl_scroll(int X, int Y, int W, int H, int dx, int dy,
void (*draw_area)(void*, int,int,int,int), void* data);
-FL_EXPORT const char* fl_shortcut_label(Fl_Shortcut shortcut);
-FL_EXPORT const char* fl_shortcut_label(Fl_Shortcut shortcut, const char **eom);
+FL_EXPORT const char* fl_shortcut_label(unsigned int shortcut);
+FL_EXPORT const char* fl_shortcut_label(unsigned int shortcut, const char **eom);
FL_EXPORT void fl_overlay_rect(int x,int y,int w,int h);
FL_EXPORT void fl_overlay_clear();
FL_EXPORT void fl_cursor(Fl_Cursor, Fl_Color fg=FL_BLACK, Fl_Color bg=FL_WHITE);