Bump version info to 1.1.0rc1.

Force full redraw in Fl_Input when using Xft or OSX anti-aliased text.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2094 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet
2002-04-16 17:11:11 +00:00
parent 8964212393
commit c2521c01da
4 changed files with 25 additions and 15 deletions
+2
View File
@@ -1,5 +1,7 @@
CHANGES IN FLTK 1.1.0rc1 CHANGES IN FLTK 1.1.0rc1
- Fixed redraw problem with Fl_Input and anti-aliased
text.
- Added threading support for MacOS X and Darwin. - Added threading support for MacOS X and Darwin.
- The filesystem list in the file chooser now works under - The filesystem list in the file chooser now works under
MacOS X and Darwin. MacOS X and Darwin.
+12 -9
View File
@@ -1,7 +1,7 @@
dnl -*- sh -*- dnl -*- sh -*-
dnl the "configure" script is made from this by running GNU "autoconf" dnl the "configure" script is made from this by running GNU "autoconf"
dnl dnl
dnl "$Id: configure.in,v 1.33.2.31.2.60 2002/04/16 15:49:06 easysw Exp $" dnl "$Id: configure.in,v 1.33.2.31.2.61 2002/04/16 17:11:11 easysw Exp $"
dnl dnl
dnl Configuration script for the Fast Light Tool Kit (FLTK). dnl Configuration script for the Fast Light Tool Kit (FLTK).
dnl dnl
@@ -35,7 +35,7 @@ dnl FLTK library versions...
FL_MAJOR_VERSION=1 FL_MAJOR_VERSION=1
FL_MINOR_VERSION=1 FL_MINOR_VERSION=1
FL_PATCH_VERSION=0 FL_PATCH_VERSION=0
FL_RELEASE_VERSION=b13 FL_RELEASE_VERSION=rc1
FL_API_VERSION=${FL_MAJOR_VERSION}.${FL_MINOR_VERSION} FL_API_VERSION=${FL_MAJOR_VERSION}.${FL_MINOR_VERSION}
AC_SUBST(FL_MAJOR_VERSION) AC_SUBST(FL_MAJOR_VERSION)
@@ -59,9 +59,10 @@ OPTIM="${OPTIM:=}"
AC_SUBST(OPTIM) AC_SUBST(OPTIM)
dnl Handle Cygwin option *first*, before all other tests. dnl OS-specific pre-tests...
case $uname in case $uname in
CYGWIN*) CYGWIN*)
# Handle Cygwin option *first*, before all other tests.
AC_ARG_ENABLE(cygwin, [ --enable-cygwin use the CygWin libraries [default=no]]) AC_ARG_ENABLE(cygwin, [ --enable-cygwin use the CygWin libraries [default=no]])
if test x$enable_cygwin != xyes; then if test x$enable_cygwin != xyes; then
CFLAGS="$CFLAGS -mno-cygwin" CFLAGS="$CFLAGS -mno-cygwin"
@@ -101,7 +102,7 @@ AC_ARG_ENABLE(shared, [ --enable-shared turn on shared libraries [defau
if test x$enable_shared = xyes; then if test x$enable_shared = xyes; then
PICFLAG=1 PICFLAG=1
case $uname in case $uname in
*BSD* | Darwin*) Darwin*)
DSONAME="libfltk.$FL_API_VERSION.dylib" DSONAME="libfltk.$FL_API_VERSION.dylib"
FLDSONAME="libfltk_forms.$FL_API_VERSION.dylib" FLDSONAME="libfltk_forms.$FL_API_VERSION.dylib"
GLDSONAME="libfltk_gl.$FL_API_VERSION.dylib" GLDSONAME="libfltk_gl.$FL_API_VERSION.dylib"
@@ -138,7 +139,7 @@ if test x$enable_shared = xyes; then
DSOLINK="-Wl,-rpath,$libdir" DSOLINK="-Wl,-rpath,$libdir"
fi fi
;; ;;
Linux*) Linux* | *BSD*)
DSONAME="libfltk.so.$FL_API_VERSION" DSONAME="libfltk.so.$FL_API_VERSION"
FLDSONAME="libfltk_forms.so.$FL_API_VERSION" FLDSONAME="libfltk_forms.so.$FL_API_VERSION"
GLDSONAME="libfltk_gl.so.$FL_API_VERSION" GLDSONAME="libfltk_gl.so.$FL_API_VERSION"
@@ -348,7 +349,7 @@ case $uname in
GLDEMOS="" GLDEMOS=""
fi fi
if test $have_pthread = yes; then if test x$have_pthread = xyes; then
AC_DEFINE(HAVE_PTHREAD) AC_DEFINE(HAVE_PTHREAD)
THREADS="threads.exe" THREADS="threads.exe"
fi fi
@@ -356,11 +357,12 @@ case $uname in
# Don't make symlinks since Windows is not case sensitive. # Don't make symlinks since Windows is not case sensitive.
HLINKS="#" HLINKS="#"
;; ;;
Darwin*) Darwin*)
# MacOS X uses Carbon for graphics... # MacOS X uses Carbon for graphics...
LIBS="$LIBS -framework Carbon -framework ApplicationServices" LIBS="$LIBS -framework Carbon -framework ApplicationServices"
if test $have_pthread = yes; then if test x$have_pthread = xyes; then
AC_DEFINE(HAVE_PTHREAD) AC_DEFINE(HAVE_PTHREAD)
THREADS="threads" THREADS="threads"
fi fi
@@ -382,9 +384,10 @@ case $uname in
# Add a postbuild step after linking applications # Add a postbuild step after linking applications
POSTBUILD="/Developer/Tools/Rez -t APPL -o" POSTBUILD="/Developer/Tools/Rez -t APPL -o"
;; ;;
*) *)
# All others are UNIX/X11... # All others are UNIX/X11...
if test $have_pthread = yes; then if test x$have_pthread = xyes; then
AC_DEFINE(HAVE_PTHREAD) AC_DEFINE(HAVE_PTHREAD)
THREADS="threads" THREADS="threads"
fi fi
@@ -717,5 +720,5 @@ dnl Make sure the fltk-config script is executable...
chmod +x fltk-config chmod +x fltk-config
dnl dnl
dnl End of "$Id: configure.in,v 1.33.2.31.2.60 2002/04/16 15:49:06 easysw Exp $". dnl End of "$Id: configure.in,v 1.33.2.31.2.61 2002/04/16 17:11:11 easysw Exp $".
dnl dnl
+3 -3
View File
@@ -1,5 +1,5 @@
# #
# "$Id: fltk.spec,v 1.1.2.9.2.9 2002/04/10 16:26:33 easysw Exp $" # "$Id: fltk.spec,v 1.1.2.9.2.10 2002/04/16 17:11:11 easysw Exp $"
# #
# RPM spec file for FLTK. # RPM spec file for FLTK.
# #
@@ -23,7 +23,7 @@
# Please report all bugs and problems to "fltk-bugs@fltk.org". # Please report all bugs and problems to "fltk-bugs@fltk.org".
# #
%define version 1.1.0b13 %define version 1.1.0rc1
%define release 0 %define release 0
%define prefix /usr %define prefix /usr
@@ -99,5 +99,5 @@ rm -rf $RPM_BUILD_ROOT
%{prefix}/share/doc/fltk/* %{prefix}/share/doc/fltk/*
# #
# End of "$Id: fltk.spec,v 1.1.2.9.2.9 2002/04/10 16:26:33 easysw Exp $". # End of "$Id: fltk.spec,v 1.1.2.9.2.10 2002/04/16 17:11:11 easysw Exp $".
# #
+8 -3
View File
@@ -1,5 +1,5 @@
// //
// "$Id: Fl_Input_.cxx,v 1.21.2.11.2.10 2002/04/11 11:52:41 easysw Exp $" // "$Id: Fl_Input_.cxx,v 1.21.2.11.2.11 2002/04/16 17:11:11 easysw Exp $"
// //
// Common input widget routines for the Fast Light Tool Kit (FLTK). // Common input widget routines for the Fast Light Tool Kit (FLTK).
// //
@@ -145,8 +145,13 @@ void Fl_Input_::minimal_update(int p) {
} else { } else {
mu_p = p; mu_p = p;
} }
#if defined(__APPLE__) || USE_XFT
redraw();
#else
damage(FL_DAMAGE_EXPOSE); damage(FL_DAMAGE_EXPOSE);
erase_cursor_only = 0; erase_cursor_only = 0;
#endif // __APPLE__ || USE_XFT
} }
void Fl_Input_::minimal_update(int p, int q) { void Fl_Input_::minimal_update(int p, int q) {
@@ -164,8 +169,8 @@ void Fl_Input_::setfont() const {
} }
void Fl_Input_::drawtext(int X, int Y, int W, int H) { void Fl_Input_::drawtext(int X, int Y, int W, int H) {
int do_mu = !(damage()&FL_DAMAGE_ALL); int do_mu = !(damage()&FL_DAMAGE_ALL);
if (Fl::focus()!=this && !size()) { if (Fl::focus()!=this && !size()) {
if (do_mu) { // we have to erase it if cursor was there if (do_mu) { // we have to erase it if cursor was there
fl_color(color()); fl_color(color());
@@ -864,5 +869,5 @@ Fl_Input_::~Fl_Input_() {
} }
// //
// End of "$Id: Fl_Input_.cxx,v 1.21.2.11.2.10 2002/04/11 11:52:41 easysw Exp $". // End of "$Id: Fl_Input_.cxx,v 1.21.2.11.2.11 2002/04/16 17:11:11 easysw Exp $".
// //