Fixed missing config.h includes in X11 after QD removal.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6426 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Fabien Costantini
2008-10-13 23:44:22 +00:00
parent 097c3cd91e
commit 025290929d
4 changed files with 4 additions and 8 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ void Fl_Double_Window::show() {
Fl_Window::show();
}
#if defined(X11)
#if defined(USE_X11)
// maybe someone feels inclined to implement alpha blending on X11?
char fl_can_do_alpha_blending() {
-2
View File
@@ -38,9 +38,7 @@
#include <FL/Fl.H>
#include <FL/x.H>
#ifdef __APPLE__
#include <config.h>
#endif
void Fl_Window::border(int b) {
if (b) {
+1 -3
View File
@@ -45,9 +45,7 @@
#ifdef WIN32
# include <FL/math.h>
#endif
#ifdef __APPLE__
# include <config.h>
#endif
#include <config.h>
/**
Draw ellipse sections using integer coordinates.
+2 -2
View File
@@ -114,7 +114,7 @@ int fl_correct_encoding(const char* name) {
return (*c++ && !strcmp(c,fl_encoding));
}
static char *find_best_font(const char *fname, int size) {
static const char *find_best_font(const char *fname, int size) {
int cnt;
static char **list = NULL;
// locate or create an Fl_Font_Descriptor for a given Fl_Fontdesc and size:
@@ -189,7 +189,7 @@ static char *put_font_size(const char *n, int size)
int i = 0;
char *buf;
const char *ptr;
char *f;
const char *f;
char *name;
int nbf = 1;
name = strdup(n);