Add missing PicoSDL functions for command line build.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11313 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
00750d4c33
commit
ca54afe5f4
@ -25,6 +25,8 @@
|
||||
#endif // !Fl_X_H
|
||||
|
||||
|
||||
typedef void *Window;
|
||||
|
||||
#if !(defined(FL_LIBRARY) || defined(FL_INTERNALS)) // this part is used when compiling an application program
|
||||
# include <FL/Fl_Widget.H>
|
||||
|
||||
@ -43,8 +45,6 @@ typedef void *Fl_Offscreen;
|
||||
struct XPoint { int x, y; };
|
||||
struct XRectangle {int x, y, width, height;};
|
||||
|
||||
typedef void *Window;
|
||||
|
||||
//typedef float CGFloat;
|
||||
|
||||
inline Fl_Region XRectangleRegion(int x, int y, int w, int h) {
|
||||
|
@ -156,6 +156,22 @@ Window fl_window;
|
||||
//void Fl_Image_Surface::translate(int x, int y) { }
|
||||
//void Fl_Image_Surface::untranslate() { }
|
||||
|
||||
void Fl::add_fd(int, void (*)(int, void*), void*)
|
||||
{
|
||||
}
|
||||
|
||||
void Fl::remove_fd(int)
|
||||
{
|
||||
}
|
||||
|
||||
int Fl_Window::decorated_h()
|
||||
{
|
||||
}
|
||||
|
||||
int Fl_Window::decorated_w()
|
||||
{
|
||||
}
|
||||
|
||||
/*
|
||||
#define __APPLE__
|
||||
#include <SDL2/SDL.h>
|
||||
|
Loading…
Reference in New Issue
Block a user