diff options
Diffstat (limited to 'test/dw_table.cc')
-rw-r--r-- | test/dw_table.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/dw_table.cc b/test/dw_table.cc index b0e9c4db..1d4ae368 100644 --- a/test/dw_table.cc +++ b/test/dw_table.cc @@ -19,8 +19,8 @@ -#include <fltk/Window.h> -#include <fltk/run.h> +#include <FL/Fl.H> +#include <FL/Fl_Window.H> #include "../dw/core.hh" #include "../dw/fltkcore.hh" @@ -38,7 +38,7 @@ int main(int argc, char **argv) FltkPlatform *platform = new FltkPlatform (); Layout *layout = new Layout (platform); - ::fltk::Window *window = new ::fltk::Window(300, 300, "Dw Table"); + Fl_Window *window = new Fl_Window(300, 300, "Dw Table"); window->begin(); FltkViewport *viewport = new FltkViewport (0, 0, 300, 300); @@ -62,7 +62,7 @@ int main(int argc, char **argv) fontAttrs.weight = 400; fontAttrs.style = FONT_STYLE_NORMAL; fontAttrs.letterSpacing = 0; - styleAttrs.font = Font::create (layout, &fontAttrs); + styleAttrs.font = dw::core::style::Font::create (layout, &fontAttrs); Style *tableStyle = Style::create (layout, &styleAttrs); @@ -107,7 +107,7 @@ int main(int argc, char **argv) window->resizable(viewport); window->show(); - int errorCode = ::fltk::run(); + int errorCode = Fl::run(); delete layout; |