summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2016-03-03 00:07:17 +0000
committerMatthias Melcher <fltk@matthiasm.com>2016-03-03 00:07:17 +0000
commitfcdc7f1212f2b1cc44375f2764d2752dd257a40d (patch)
tree43e3e903a1a55f082e10a66d25305b7dd90d8ee3 /FL
parent2d52a3494dcf1574287fed0c5ad89009de2b59e0 (diff)
Made Pico/SDL setup compile and run some minimal code.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11274 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_Device.H2
-rw-r--r--FL/Fl_Widget_Surface.H2
-rw-r--r--FL/porting.H91
3 files changed, 2 insertions, 93 deletions
diff --git a/FL/Fl_Device.H b/FL/Fl_Device.H
index 3a5e56699..8d847d6c7 100644
--- a/FL/Fl_Device.H
+++ b/FL/Fl_Device.H
@@ -72,7 +72,7 @@ public:
return _surface ? _surface : default_surface();
};
/** \brief The destructor. */
- virtual ~Fl_Surface_Device() {}
+ virtual ~Fl_Surface_Device();
};
/**
diff --git a/FL/Fl_Widget_Surface.H b/FL/Fl_Widget_Surface.H
index 6f2df9b1c..95bcd4c4f 100644
--- a/FL/Fl_Widget_Surface.H
+++ b/FL/Fl_Widget_Surface.H
@@ -41,7 +41,7 @@ public:
Each translate() call must be matched by an untranslate() call.
Successive translate() calls add up their effects.
*/
- virtual void translate(int x, int y) {}
+ virtual void translate(int x, int y);
/**
Undoes the effect of a previous translate() call.
*/
diff --git a/FL/porting.H b/FL/porting.H
index ec3029049..7b0830189 100644
--- a/FL/porting.H
+++ b/FL/porting.H
@@ -155,97 +155,6 @@ extern void fl_end_offscreen();
extern int fl_parse_color(const char* p, uchar& r, uchar& g, uchar& b);
extern void fl_open_display();
-/*
-
- The following symbols are not found if we naively compile the core modules and
- no specific platform implementations. This list is a hint at all the functions
- and methods that probably need to be refactored into the driver system.
-
- Undefined symbols for architecture x86_64:
- "fl_set_spot(int, int, int, int, int, int, Fl_Window*)", referenced from:
- Fl_Input_::drawtext(int, int, int, int) in libfltkd.a(Fl_Input_.o)
- Fl_Input_::handletext(int, int, int, int, int) in libfltkd.a(Fl_Input_.o)
- "fl_reset_spot()", referenced from:
- Fl_Input_::handletext(int, int, int, int, int) in libfltkd.a(Fl_Input_.o)
- "fl_filename_name(char const*)", referenced from:
- Fl_Window::show(int, char**) in libfltkd.a(Fl_arg.o)
- "fl_clipboard_notify_change()", referenced from:
- Fl::add_clipboard_notify(void (*)(int, void*), void*) in libfltkd.a(Fl.o)
- Fl::remove_clipboard_notify(void (*)(int, void*)) in libfltkd.a(Fl.o)
- "Fl_Screen_Driver::newScreenDriver()", referenced from:
- Fl::screen_driver() in libfltkd.a(Fl.o)
- "Fl_Graphics_Driver::newMainGraphicsDriver()", referenced from:
- Fl_Display_Device::display_device() in libfltkd.a(Fl_Device.o)
- "Fl_Graphics_Driver::global_gc()", referenced from:
- Fl_Surface_Device::set_current() in libfltkd.a(Fl_Device.o)
- "Fl::dnd()", referenced from:
- Fl_Input::handle(int) in libfltkd.a(Fl_Input.o)
- "Fl::copy(char const*, int, int, char const*)", referenced from:
- Fl::selection(Fl_Widget&, char const*, int) in libfltkd.a(Fl.o)
- Fl_Input_::copy(int) in libfltkd.a(Fl_Input_.o)
- Fl_Input_::copy_cuts() in libfltkd.a(Fl_Input_.o)
- "Fl::paste(Fl_Widget&, int, char const*)", referenced from:
- Fl::paste(Fl_Widget&) in libfltkd.a(Fl.o)
- Fl_Input::kf_paste() in libfltkd.a(Fl_Input.o)
- Fl_Input::handle(int) in libfltkd.a(Fl_Input.o)
- "Fl::get_mouse(int&, int&)", referenced from:
- Fl_Screen_Driver::screen_xywh(int&, int&, int&, int&) in libfltkd.a(Fl_Screen_Driver.o)
- Fl_Screen_Driver::screen_work_area(int&, int&, int&, int&) in libfltkd.a(Fl_Screen_Driver.o)
- Fl_Window::hotspot(int, int, int) in libfltkd.a(Fl_Window_hotspot.o)
- "Fl::set_color(unsigned int, unsigned int)", referenced from:
- Fl::set_color(unsigned int, unsigned char, unsigned char, unsigned char) in libfltkd.a(fl_color.o)
- Fl::background2(unsigned char, unsigned char, unsigned char) in libfltkd.a(Fl_get_system_colors.o)
- "Fl_X::set_cursor(Fl_Cursor)", referenced from:
- Fl_Window::cursor(Fl_Cursor) in libfltkd.a(fl_cursor.o)
- "Fl_X::set_cursor(Fl_RGB_Image const*, int, int)", referenced from:
- Fl_Window::cursor(Fl_RGB_Image const*, int, int) in libfltkd.a(fl_cursor.o)
- "Fl_X::set_default_icons(Fl_RGB_Image const**, int)", referenced from:
- Fl_Window::default_icons(Fl_RGB_Image const**, int) in libfltkd.a(Fl_Window.o)
- "Fl_X::flush()", referenced from:
- Fl::flush() in libfltkd.a(Fl.o)
- "Fl_X::set_icons()", referenced from:
- Fl_Window::icons(Fl_RGB_Image const**, int) in libfltkd.a(Fl_Window.o)
- "Fl_Window::size_range_()", referenced from:
- Fl_Window::size_range(int, int, int, int, int, int, int) in libfltkd.a(fl_ask.o)
- "Fl_Window::fullscreen_x()", referenced from:
- Fl_Window::fullscreen() in libfltkd.a(Fl_Window_fullscreen.o)
- Fl_Window::fullscreen_screens(int, int, int, int) in libfltkd.a(Fl_Window_fullscreen.o)
- "Fl_Window::make_current()", referenced from:
- Fl_Window::flush() in libfltkd.a(Fl.o)
- Fl_Double_Window::flush(int) in libfltkd.a(Fl_Double_Window.o)
- traverse_to_gl_subwindows(Fl_Group*, unsigned char*, int, int, int, int, int, Fl_RGB_Image*) in libfltkd.a(fl_read_image.o)
- Fl_Widget_Surface::print_window_part(Fl_Window*, int, int, int, int, int, int) in libfltkd.a(Fl_Widget_Surface.o)
- "Fl_Window::fullscreen_off_x(int, int, int, int)", referenced from:
- Fl_Window::fullscreen_off(int, int, int, int) in libfltkd.a(Fl_Window_fullscreen.o)
- "Fl_Window::show()", referenced from:
- vtable for Fl_Window in libfltkd.a(Fl_Window_shape.o)
- Fl_Double_Window::show() in libfltkd.a(Fl_Double_Window.o)
- Fl_Single_Window::show() in libfltkd.a(Fl_Single_Window.o)
- "Fl_Window::label(char const*, char const*)", referenced from:
- Fl_Window::label(char const*) in libfltkd.a(Fl_Window.o)
- Fl_Window::copy_label(char const*) in libfltkd.a(Fl_Window.o)
- Fl_Window::iconlabel(char const*) in libfltkd.a(Fl_Window.o)
- "Fl_Window::resize(int, int, int, int)", referenced from:
- vtable for Fl_TooltipBox in libfltkd.a(Fl_Tooltip.o)
- vtable for Fl_Window in libfltkd.a(Fl_Window_shape.o)
- vtable for Fl_Menu_Window in libfltkd.a(Fl_Menu_Window.o)
- Fl_Double_Window::resize(int, int, int, int) in libfltkd.a(Fl_Double_Window.o)
- vtable for menutitle in libfltkd.a(Fl_Menu.o)
- vtable for menuwindow in libfltkd.a(Fl_Menu.o)
- vtable for Fl_Single_Window in libfltkd.a(Fl_Single_Window.o)
- ...
- "Fl_Window::current_", referenced from:
- Fl_Window::current() in libfltkd.a(Fl_Window.o)
- "vtable for Fl_Image_Surface", referenced from:
- Fl_Image_Surface::Fl_Image_Surface(int, int, int) in libfltkd.a(Fl_Image_Surface.o)
- NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
- "_fl_show_iconic", referenced from:
- Fl::arg(int, char**, int&) in libfltkd.a(Fl_arg.o)
- "_fl_window", referenced from:
- fl_read_image(unsigned char*, int, int, int, int, int) in libfltkd.a(fl_read_image.o)
- Fl_Image_Surface::set_current() in libfltkd.a(Fl_Image_Surface.o)
- Fl_Image_Surface::end_current() in libfltkd.a(Fl_Image_Surface.o)
-*/
//
// End of "$Id$".