diff options
| author | Manolo Gouy <Manolo> | 2016-09-22 13:22:03 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-09-22 13:22:03 +0000 |
| commit | 0e336558537bd0af1c3bb2434a277091824e637c (patch) | |
| tree | c0ead65b0cd6f0f43f5e0fe514946d6edfb1cb62 /src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.cxx | |
| parent | 02535d122296b00a99fa30e0253f83c82f177894 (diff) | |
Fl_Screen_Driver class: its platform dependent member functions should not be static.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11966 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.cxx')
| -rw-r--r-- | src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.cxx | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.cxx b/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.cxx index 7d177de98..232750adf 100644 --- a/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.cxx +++ b/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.cxx @@ -511,19 +511,15 @@ int Fl_WinAPI_Screen_Driver::compose(int &del) { return 1; } -struct Fl_Fontdesc *Fl_Screen_Driver::calc_fl_fonts() { - return NULL; -} - -unsigned Fl_Screen_Driver::font_desc_size() { +unsigned Fl_WinAPI_Screen_Driver::font_desc_size() { return (unsigned)sizeof(Fl_Fontdesc); } -const char *Fl_Screen_Driver::font_name(int num) { +const char *Fl_WinAPI_Screen_Driver::font_name(int num) { return fl_fonts[num].name; } -void Fl_Screen_Driver::font_name(int num, const char *name) { +void Fl_WinAPI_Screen_Driver::font_name(int num, const char *name) { Fl_Fontdesc *s = fl_fonts + num; if (s->name) { if (!strcmp(s->name, name)) {s->name = name; return;} |
