diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2008-04-23 19:09:28 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2008-04-23 19:09:28 +0000 |
| commit | 7c8f5cc888725d061bcae9d0d5c53ff912639ac4 (patch) | |
| tree | 407d6027b29f1cf30a4a56bd72d2ddb79fd37709 /src/fl_ask.cxx | |
| parent | 88c0d727aa89b650611ce8c677d4ed26e2fc1f4a (diff) | |
First attempt at consistently using Fl_Font as a type for the font index and Fl_Font_Size as a type to measure font height (or rather size).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6113 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/fl_ask.cxx')
| -rw-r--r-- | src/fl_ask.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fl_ask.cxx b/src/fl_ask.cxx index 753fc72c0..dbd165b1c 100644 --- a/src/fl_ask.cxx +++ b/src/fl_ask.cxx @@ -54,7 +54,7 @@ static Fl_Button *button[3]; static Fl_Input *input; static const char *iconlabel = "?"; Fl_Font fl_message_font_ = FL_HELVETICA; -uchar fl_message_size_ = 14; +Fl_Font_Size fl_message_size_ = 14; static Fl_Window *makeform() { if (message_form) { @@ -156,7 +156,7 @@ void resizeform() { message->resize(20 + icon_size, 10, message_w, message_h); icon->resize(10, 10, icon_size, icon_size); - icon->labelsize((uchar)(icon_size - 10)); + icon->labelsize(icon_size - 10); input->resize(20 + icon_size, 10 + message_h, message_w, 25); for (x = w, i = 0; i < 3; i ++) |
