Compare commits
1 Commits
v2.4.3
...
wxPy_2_3_0
Author | SHA1 | Date | |
---|---|---|---|
|
9d288a9972 |
14
.cvsignore
14
.cvsignore
@@ -25,12 +25,6 @@ Release
|
|||||||
Debug
|
Debug
|
||||||
ReleaseDLL
|
ReleaseDLL
|
||||||
DebugDLL
|
DebugDLL
|
||||||
UnivRelease
|
|
||||||
UnivDebug
|
|
||||||
BaseRelease
|
|
||||||
BaseDebug
|
|
||||||
BaseReleaseDLL
|
|
||||||
BaseDebugDLL
|
|
||||||
robert
|
robert
|
||||||
stamp-h.in
|
stamp-h.in
|
||||||
Makefile
|
Makefile
|
||||||
@@ -41,13 +35,8 @@ libtool
|
|||||||
aclocal.m4
|
aclocal.m4
|
||||||
base
|
base
|
||||||
gtk
|
gtk
|
||||||
gtk2
|
|
||||||
motif
|
motif
|
||||||
win32
|
win32
|
||||||
x11
|
|
||||||
univ
|
|
||||||
univ-debug
|
|
||||||
univ-release
|
|
||||||
base-debug
|
base-debug
|
||||||
gtk-debug
|
gtk-debug
|
||||||
motif-debug
|
motif-debug
|
||||||
@@ -57,6 +46,3 @@ gtk-release
|
|||||||
motif-release
|
motif-release
|
||||||
win32-release
|
win32-release
|
||||||
*tags
|
*tags
|
||||||
log
|
|
||||||
univtags.cmd
|
|
||||||
.DS_Store
|
|
||||||
|
113
BuildCVS.txt
113
BuildCVS.txt
@@ -19,29 +19,30 @@ varaibles and PATH entries.
|
|||||||
Continue with item c) below.
|
Continue with item c) below.
|
||||||
|
|
||||||
|
|
||||||
b) If using the MinGW or Cygwin compilers
|
b) If using the GNU Mingw32 or GNU Cygwin32 compilers
|
||||||
|
|
||||||
You can get MinGW from http://www.mingw.org/
|
You can get Mingw32 from http://www.mingw.org
|
||||||
|
|
||||||
Cygwin is available at http://sources.redhat.com/cygwin/
|
Cygwin32 is available at http://www.cygwin.com
|
||||||
|
|
||||||
The makefile might have small problems with Cygwin's tools
|
The makefile might have small problems with Cygwin's tools
|
||||||
so it is recommended to use MinGW and its toolchain instead
|
so it is recommended to use Mingw32 and its toolchain instead
|
||||||
if possible.
|
if possible.
|
||||||
|
|
||||||
-> Set your path so that it includes the directory
|
-> Set your path so that it includes the directory
|
||||||
where your compiler and tools reside
|
where your compiler and tools reside
|
||||||
|
|
||||||
-> If your are using an old MinGW version (gcc-2.95 or older),
|
-> If your are using an old Mingw32 version (gcc-2.95 or older),
|
||||||
you might need to fix some headers with the patches contained
|
you might need to fix some headers with the patches contained
|
||||||
in the wxWin\Mingw32-gcc295.patches file. PLEASE APPLY THESE
|
in the wxWin\Mingw32-gcc295.patches file. PLEASE APPLY THESE
|
||||||
PATCHES BY HAND! There are apparently a few different versions
|
PATCHES BY HAND! There are apparently a few different versions
|
||||||
of the headers floating around. Note that these patches are
|
of the headers floating around. Note that these patches are
|
||||||
not needed if you are using MinGW gcc-2.95.2 or newer.
|
not needed if you are using Mingw32 gcc-2.95.2 or newer.
|
||||||
|
|
||||||
-> Edit wx/src/makeg95.env and set the MINGW32 variable at the top of
|
-> Edit wx/src/makeg95.env and set the MINGW32 variable at the top of
|
||||||
the file to either 1 (you have MinGW) or 0 (you have Cygwin).
|
the file to either 1 (you have Mingw32) or 0 (you have Cygwin32).
|
||||||
Also set the MINGW32VERSION variable appropiately.
|
If using MINGW32, also set the MINGW32VERSION variable
|
||||||
|
appropiately.
|
||||||
|
|
||||||
|
|
||||||
c) Build instructions
|
c) Build instructions
|
||||||
@@ -50,8 +51,19 @@ c) Build instructions
|
|||||||
into c:\wxWin
|
into c:\wxWin
|
||||||
-> Copy c:\wxWin\include\wx\msw\setup0.h
|
-> Copy c:\wxWin\include\wx\msw\setup0.h
|
||||||
to c:\wxWin\include\wx\msw\setup.h
|
to c:\wxWin\include\wx\msw\setup.h
|
||||||
-> Edit c:\wxWin\include\wx\msw\setup.h to choose
|
-> Edit c:\wxWin\include\wx\msw\setup.h so that
|
||||||
the features you would like to compile wxWindows with[out].
|
most features are enabled (i.e. defined to 1), for example:
|
||||||
|
#define wxUSE_ODBC 0
|
||||||
|
#define wxUSE_SOCKETS 1
|
||||||
|
#define wxUSE_HTML 1
|
||||||
|
#define wxUSE_THREADS 1
|
||||||
|
#define wxUSE_FS_INET 0
|
||||||
|
#define wxUSE_FS_ZIP 1
|
||||||
|
#define wxUSE_BUSYINFO 1
|
||||||
|
#define wxUSE_DYNLIB_CLASS 1
|
||||||
|
#define wxUSE_ZIPSTREAM 1
|
||||||
|
#define wxUSE_LIBJPEG 1
|
||||||
|
#define wxUSE_LIBPNG 1
|
||||||
|
|
||||||
and std iostreams are disabled with
|
and std iostreams are disabled with
|
||||||
#define wxUSE_STD_IOSTREAM 0
|
#define wxUSE_STD_IOSTREAM 0
|
||||||
@@ -60,16 +72,6 @@ c) Build instructions
|
|||||||
-> type: make -f makefile.g95 (if using GNU tools)
|
-> type: make -f makefile.g95 (if using GNU tools)
|
||||||
or type: nmake -f makefile.vc (if using MS VC++)
|
or type: nmake -f makefile.vc (if using MS VC++)
|
||||||
|
|
||||||
See also docs/msw/install.txt for additional compilation options.
|
|
||||||
|
|
||||||
d) Borland (including free command line tools)
|
|
||||||
Download tools from http://www.borland.com/downloads/
|
|
||||||
|
|
||||||
See docs/msw/install.txt for details; in brief
|
|
||||||
|
|
||||||
-> type set WXWIN=c:\wxwindows
|
|
||||||
-> type cd %WXWIN%\src\msw
|
|
||||||
-> type make -f makefile.b32
|
|
||||||
|
|
||||||
II) Unix ports
|
II) Unix ports
|
||||||
--------------
|
--------------
|
||||||
@@ -107,10 +109,11 @@ yet complete).
|
|||||||
III) Windows using configure
|
III) Windows using configure
|
||||||
----------------------------------------
|
----------------------------------------
|
||||||
|
|
||||||
wxWindows can be built on Windows using MSYS (see
|
Take a look at Unix->Windows cross compiling. With minor
|
||||||
http://www.mingw.org/), which is a POSIX build environment
|
modifications, this should work in Windows if you've got the cygnus
|
||||||
for Windows. With MSYS you can just ./configure && make (see also VII,
|
utilities (bash, GNU make, etc) and either mingw32 or cygwin32 installed.
|
||||||
Unix->Windows cross-compiling using configure).
|
See http://www.cygnus.com for these programs, or go straight to their
|
||||||
|
ftp server at ftp://sourceware.cygnus.com/pub/cygwin/.
|
||||||
|
|
||||||
Of course, you can also build the library using plain makefiles (see
|
Of course, you can also build the library using plain makefiles (see
|
||||||
section I).
|
section I).
|
||||||
@@ -122,15 +125,11 @@ Refer to the readme.txt and install.txt files in docs/mac to build
|
|||||||
wxWindows under Classic Mac OS using CodeWarrior.
|
wxWindows under Classic Mac OS using CodeWarrior.
|
||||||
|
|
||||||
If you are checking out the CVS sources using cvs under Mac OS X and
|
If you are checking out the CVS sources using cvs under Mac OS X and
|
||||||
compiling under Classic Mac OS:
|
compiling under Classic Mac OS, make sure that all text files have a
|
||||||
|
Mac OS type of 'TEXT' otherwise CodeWarrior may ignore them. Checking
|
||||||
- make sure that all text files have a Mac OS type of 'TEXT' otherwise
|
out the CVS sources using cvs under Mac OS X creates untyped files
|
||||||
CodeWarrior may ignore them. Checking out the CVS sources using cvs
|
which can lead to compialtion errors under CodeWarrior which are hard
|
||||||
under Mac OS X creates untyped files which can lead to compilation
|
to track down.
|
||||||
errors under CodeWarrior which are hard to track down.
|
|
||||||
|
|
||||||
- convert the xml files to CodeWarrior binary projects using the supplied
|
|
||||||
AppleScript in docs/mac (M5xml2mcp.applescript for CodeWarrior 5.3)
|
|
||||||
|
|
||||||
V) MacOS X using configure and the Developer Tools
|
V) MacOS X using configure and the Developer Tools
|
||||||
----------------------------------------
|
----------------------------------------
|
||||||
@@ -157,17 +156,15 @@ VI) OS/2
|
|||||||
VII) Unix->Windows cross-compiling using configure
|
VII) Unix->Windows cross-compiling using configure
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
|
|
||||||
First you'll need a cross-compiler; linux glibc binaries of MinGW and
|
First you'll need a cross-compiler; linux glibc binaries of mingw32 and
|
||||||
Cygwin (both based on egcs) can be found at
|
cygwin32 (both based on egcs) can be found at
|
||||||
ftp://ftp.objsw.com/pub/crossgcc/linux-x-win32. Alternative binaries,
|
ftp://ftp.objsw.com/pub/crossgcc/linux-x-win32. Otherwise you can
|
||||||
based on the latest MinGW release can be found at
|
compile one yourself. Check the relevant FAQs.
|
||||||
http://members.telering.at/jessich/mingw/mingwcross/mingw_cross.html
|
|
||||||
Otherwise you can compile one yourself.
|
|
||||||
|
|
||||||
[ A Note about Cygwin and MinGW: the main difference is that Cygwin
|
[ A Note about cygwin32 and mingw32: the main difference is that cygwin32
|
||||||
binaries are always linked against cygwin.dll. This dll encapsulates most
|
binaries are always linked against cygwin.dll. This dll encapsulates most
|
||||||
standard Unix C extensions, which is very handy if you're porting unix
|
standard Unix C extensions, which is very handy if you're porting unix
|
||||||
software to windows. However, wxMSW doesn't need this, so MinGW is
|
software to windows. However, wxMSW doesn't need this, so mingw32 is
|
||||||
preferable if you write portable C(++). ]
|
preferable if you write portable C(++). ]
|
||||||
|
|
||||||
You might want to build both Unix and Windows binaries in the same source
|
You might want to build both Unix and Windows binaries in the same source
|
||||||
@@ -182,7 +179,8 @@ To cross compile the windows library, do
|
|||||||
-> cd win32
|
-> cd win32
|
||||||
(or whatever you called it)
|
(or whatever you called it)
|
||||||
Now run configure. There are two ways to do this
|
Now run configure. There are two ways to do this
|
||||||
-> ../configure --host=i586-mingw32 --build=i586-linux --with-mingw
|
-> ../configure --host=i586-mingw32 --build=i586-linux --with-mingw \
|
||||||
|
--enable-dnd=no --without-odbc
|
||||||
where --build= should read whatever platform you're building on. Configure
|
where --build= should read whatever platform you're building on. Configure
|
||||||
will notice that build and host platforms differ, and automatically prepend
|
will notice that build and host platforms differ, and automatically prepend
|
||||||
i586-mingw32- to gcc, ar, ld, etc (make sure they're in the PATH!).
|
i586-mingw32- to gcc, ar, ld, etc (make sure they're in the PATH!).
|
||||||
@@ -190,22 +188,29 @@ The other way to run configure is by specifying the names of the binaries
|
|||||||
yourself:
|
yourself:
|
||||||
-> CC=i586-mingw32-gcc CXX=i586-mingw32-g++ RANLIB=i586-mingw32-ranlib \
|
-> CC=i586-mingw32-gcc CXX=i586-mingw32-g++ RANLIB=i586-mingw32-ranlib \
|
||||||
DLLTOOL=i586-mingw32-dlltool LD=i586-mingw32-ld NM=i586-mingw32-nm \
|
DLLTOOL=i586-mingw32-dlltool LD=i586-mingw32-ld NM=i586-mingw32-nm \
|
||||||
../configure --host=i586-mingw32 --with-mingw
|
../configure --host=i586-mingw32 --with-mingw --enable-dnd=no
|
||||||
|
|
||||||
(all assuming you're using MinGW)
|
(all assuming you're using mingw32)
|
||||||
By default this will compile a DLL, if you want a static library,
|
Drag'n'drop is disabled because mingw32 lacks (AFAIK) OLE headers.
|
||||||
specify --disable-shared.
|
|
||||||
|
[ Update: some new mingw32 versions now have a new set of windows header
|
||||||
|
files, which apparently can handle ole. Untested at the moment ]
|
||||||
|
|
||||||
|
ODBC files don't compile as of 13.10.99 - may be this will be fixed by the
|
||||||
|
moment you're reading these lines.
|
||||||
|
|
||||||
|
Configure will conclude that shared libraries are out of the question and
|
||||||
|
opt for a static one. I haven't looked into DLL creation yet.
|
||||||
|
|
||||||
Type
|
Type
|
||||||
-> make
|
-> make
|
||||||
and wait, wait, wait. Don't leave the room, because the minute you do there
|
and wait, wait, wait. Don't leave the room, because the minute you do there
|
||||||
will be a compile error :-)
|
will be a compile error :-)
|
||||||
|
|
||||||
NB: if you are using a very old compiler you risk to get quite a few warnings
|
NB: you risk to get quite a few warnings about "ANSI C++ forbids implicit
|
||||||
about "ANSI C++ forbids implicit conversion from 'void *'" in all places
|
conversion from 'void *'" in all places where va_arg macro is used. This
|
||||||
where va_arg macro is used. This is due to a bug in (some versions of)
|
is due to a bug in (some versions of) mingw32 headers which may be
|
||||||
MinGW headers which may be corrected by upgrading your compier,
|
corrected by editing the file
|
||||||
otherwise you might edit the file
|
|
||||||
|
|
||||||
${install_prefix}/lib/gcc-lib/i586-mingw32/egcs-2.91.57/include/stdarg.h
|
${install_prefix}/lib/gcc-lib/i586-mingw32/egcs-2.91.57/include/stdarg.h
|
||||||
|
|
||||||
@@ -226,9 +231,8 @@ typedef void *__gnuc_va_list;
|
|||||||
and adding "|| defined(_WIN32)" to the list of platforms on which
|
and adding "|| defined(_WIN32)" to the list of platforms on which
|
||||||
__gnuc_va_list is char *.
|
__gnuc_va_list is char *.
|
||||||
|
|
||||||
If this is successful, you end up with a wx23_2.dll/libwx23_2.a in win32/lib
|
If this is successful, you end up with a libwx_msw.a in win32/lib. Now try
|
||||||
(or just libwx_msw.a if you opted for a static build).
|
building the minimal sample:
|
||||||
Now try building the minimal sample:
|
|
||||||
|
|
||||||
-> cd samples/minimal
|
-> cd samples/minimal
|
||||||
-> make
|
-> make
|
||||||
@@ -248,5 +252,6 @@ Cross-compiling TODO:
|
|||||||
- resource compiling must be done manually for now (should/can we link the
|
- resource compiling must be done manually for now (should/can we link the
|
||||||
default wx resources into libwx_msw.a?) [ No we can't; the linker won't
|
default wx resources into libwx_msw.a?) [ No we can't; the linker won't
|
||||||
link it in... you have to supply an object file ]
|
link it in... you have to supply an object file ]
|
||||||
|
- dynamic libraries
|
||||||
- static executables are HUGE -- there must be room for improvement.
|
- static executables are HUGE -- there must be room for improvement.
|
||||||
|
|
||||||
|
863
Makefile.in
863
Makefile.in
File diff suppressed because it is too large
Load Diff
582
acinclude.m4
582
acinclude.m4
@@ -1,582 +0,0 @@
|
|||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
dnl
|
|
||||||
dnl Macros for configure.in for wxWindows by Robert Roebling, Phil Blecker,
|
|
||||||
dnl Vadim Zeitlin and Ron Lee
|
|
||||||
dnl
|
|
||||||
dnl This script is under the wxWindows licence.
|
|
||||||
dnl
|
|
||||||
dnl Version: $Id$
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
|
|
||||||
dnl ===========================================================================
|
|
||||||
dnl macros to find the a file in the list of include/lib paths
|
|
||||||
dnl ===========================================================================
|
|
||||||
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
dnl call WX_PATH_FIND_INCLUDES(search path, header name), sets ac_find_includes
|
|
||||||
dnl to the full name of the file that was found or leaves it empty if not found
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
AC_DEFUN([WX_PATH_FIND_INCLUDES],
|
|
||||||
[
|
|
||||||
ac_find_includes=
|
|
||||||
for ac_dir in $1 /usr/include;
|
|
||||||
do
|
|
||||||
if test -f "$ac_dir/$2"; then
|
|
||||||
ac_find_includes=$ac_dir
|
|
||||||
break
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
])
|
|
||||||
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
dnl call WX_PATH_FIND_LIBRARIES(search path, header name), sets ac_find_libraries
|
|
||||||
dnl to the full name of the file that was found or leaves it empty if not found
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
AC_DEFUN([WX_PATH_FIND_LIBRARIES],
|
|
||||||
[
|
|
||||||
ac_find_libraries=
|
|
||||||
for ac_dir in $1 /usr/lib;
|
|
||||||
do
|
|
||||||
for ac_extension in a so sl dylib; do
|
|
||||||
if test -f "$ac_dir/lib$2.$ac_extension"; then
|
|
||||||
ac_find_libraries=$ac_dir
|
|
||||||
break 2
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
done
|
|
||||||
])
|
|
||||||
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
dnl Path to include, already defined
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
AC_DEFUN([WX_INCLUDE_PATH_EXIST],
|
|
||||||
[
|
|
||||||
dnl never add -I/usr/include to the CPPFLAGS
|
|
||||||
if test "x$1" = "x/usr/include"; then
|
|
||||||
ac_path_to_include=""
|
|
||||||
else
|
|
||||||
echo "$2" | grep "\-I$1" > /dev/null
|
|
||||||
result=$?
|
|
||||||
if test $result = 0; then
|
|
||||||
ac_path_to_include=""
|
|
||||||
else
|
|
||||||
ac_path_to_include=" -I$1"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
])
|
|
||||||
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
dnl Path to link, already defined
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
AC_DEFUN([WX_LINK_PATH_EXIST],
|
|
||||||
[
|
|
||||||
echo "$2" | grep "\-L$1" > /dev/null
|
|
||||||
result=$?
|
|
||||||
if test $result = 0; then
|
|
||||||
ac_path_to_link=""
|
|
||||||
else
|
|
||||||
ac_path_to_link=" -L$1"
|
|
||||||
fi
|
|
||||||
])
|
|
||||||
|
|
||||||
dnl ===========================================================================
|
|
||||||
dnl C++ features test
|
|
||||||
dnl ===========================================================================
|
|
||||||
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
dnl WX_CPP_NEW_HEADERS checks whether the compiler has "new" <iostream> header
|
|
||||||
dnl or only the old <iostream.h> one - it may be generally assumed that if
|
|
||||||
dnl <iostream> exists, the other "new" headers (without .h) exist too.
|
|
||||||
dnl
|
|
||||||
dnl call WX_CPP_NEW_HEADERS(actiof-if-true, action-if-false-or-cross-compiling)
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
|
|
||||||
AC_DEFUN([WX_CPP_NEW_HEADERS],
|
|
||||||
[
|
|
||||||
if test "$cross_compiling" = "yes"; then
|
|
||||||
ifelse([$2], , :, [$2])
|
|
||||||
else
|
|
||||||
AC_LANG_SAVE
|
|
||||||
AC_LANG_CPLUSPLUS
|
|
||||||
|
|
||||||
AC_CHECK_HEADERS(iostream)
|
|
||||||
|
|
||||||
if test "$ac_cv_header_iostream" = "yes" ; then
|
|
||||||
ifelse([$1], , :, [$1])
|
|
||||||
else
|
|
||||||
ifelse([$2], , :, [$2])
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_LANG_RESTORE
|
|
||||||
fi
|
|
||||||
])
|
|
||||||
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
dnl WX_CPP_BOOL checks whether the C++ compiler has a built in bool type
|
|
||||||
dnl
|
|
||||||
dnl call WX_CPP_BOOL - will define HAVE_BOOL if the compiler supports bool
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
|
|
||||||
AC_DEFUN([WX_CPP_BOOL],
|
|
||||||
[
|
|
||||||
AC_CACHE_CHECK([if C++ compiler supports bool], wx_cv_cpp_bool,
|
|
||||||
[
|
|
||||||
AC_LANG_SAVE
|
|
||||||
AC_LANG_CPLUSPLUS
|
|
||||||
|
|
||||||
AC_TRY_COMPILE(
|
|
||||||
[
|
|
||||||
],
|
|
||||||
[
|
|
||||||
bool b = true;
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
],
|
|
||||||
[
|
|
||||||
wx_cv_cpp_bool=yes
|
|
||||||
],
|
|
||||||
[
|
|
||||||
wx_cv_cpp_bool=no
|
|
||||||
]
|
|
||||||
)
|
|
||||||
|
|
||||||
AC_LANG_RESTORE
|
|
||||||
])
|
|
||||||
|
|
||||||
if test "$wx_cv_cpp_bool" = "yes"; then
|
|
||||||
AC_DEFINE(HAVE_BOOL)
|
|
||||||
fi
|
|
||||||
])
|
|
||||||
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
dnl WX_CPP_EXPLICIT checks whether the C++ compiler support the explicit
|
|
||||||
dnl keyword and defines HAVE_EXPLICIT if this is the case
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
|
|
||||||
AC_DEFUN([WX_CPP_EXPLICIT],
|
|
||||||
[
|
|
||||||
AC_CACHE_CHECK([if C++ compiler supports the explicit keyword],
|
|
||||||
wx_cv_explicit,
|
|
||||||
[
|
|
||||||
AC_LANG_SAVE
|
|
||||||
AC_LANG_CPLUSPLUS
|
|
||||||
|
|
||||||
dnl do the test in 2 steps: first check that the compiler knows about the
|
|
||||||
dnl explicit keyword at all and then verify that it really honours it
|
|
||||||
AC_TRY_COMPILE(
|
|
||||||
[
|
|
||||||
class Foo { public: explicit Foo(int) {} };
|
|
||||||
],
|
|
||||||
[
|
|
||||||
return 0;
|
|
||||||
],
|
|
||||||
[
|
|
||||||
AC_TRY_COMPILE(
|
|
||||||
[
|
|
||||||
class Foo { public: explicit Foo(int) {} };
|
|
||||||
static void TakeFoo(const Foo& foo) { }
|
|
||||||
],
|
|
||||||
[
|
|
||||||
TakeFoo(17);
|
|
||||||
return 0;
|
|
||||||
],
|
|
||||||
wx_cv_explicit=no,
|
|
||||||
wx_cv_explicit=yes
|
|
||||||
)
|
|
||||||
],
|
|
||||||
wx_cv_explicit=no
|
|
||||||
)
|
|
||||||
|
|
||||||
AC_LANG_RESTORE
|
|
||||||
])
|
|
||||||
|
|
||||||
if test "$wx_cv_explicit" = "yes"; then
|
|
||||||
AC_DEFINE(HAVE_EXPLICIT)
|
|
||||||
fi
|
|
||||||
])
|
|
||||||
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
dnl a slightly better AC_C_BIGENDIAN macro which allows cross-compiling
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
|
|
||||||
AC_DEFUN([WX_C_BIGENDIAN],
|
|
||||||
[AC_CACHE_CHECK([whether byte ordering is bigendian], ac_cv_c_bigendian,
|
|
||||||
[ac_cv_c_bigendian=unknown
|
|
||||||
# See if sys/param.h defines the BYTE_ORDER macro.
|
|
||||||
AC_TRY_COMPILE([#include <sys/types.h>
|
|
||||||
#include <sys/param.h>], [
|
|
||||||
#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
|
|
||||||
bogus endian macros
|
|
||||||
#endif], [# It does; now see whether it defined to BIG_ENDIAN or not.
|
|
||||||
AC_TRY_COMPILE([#include <sys/types.h>
|
|
||||||
#include <sys/param.h>], [
|
|
||||||
#if BYTE_ORDER != BIG_ENDIAN
|
|
||||||
not big endian
|
|
||||||
#endif], ac_cv_c_bigendian=yes, ac_cv_c_bigendian=no)])
|
|
||||||
if test $ac_cv_c_bigendian = unknown; then
|
|
||||||
AC_TRY_RUN([main () {
|
|
||||||
/* Are we little or big endian? From Harbison&Steele. */
|
|
||||||
union
|
|
||||||
{
|
|
||||||
long l;
|
|
||||||
char c[sizeof (long)];
|
|
||||||
} u;
|
|
||||||
u.l = 1;
|
|
||||||
exit (u.c[sizeof (long) - 1] == 1);
|
|
||||||
}], [ac_cv_c_bigendian=no], [ac_cv_c_bigendian=yes], [ac_cv_c_bigendian=unknown])
|
|
||||||
fi])
|
|
||||||
if test $ac_cv_c_bigendian = unknown; then
|
|
||||||
AC_MSG_WARN([Assuming little-endian target machine - this may be overriden by adding the line "ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}" to config.cache file])
|
|
||||||
fi
|
|
||||||
if test $ac_cv_c_bigendian = yes; then
|
|
||||||
AC_DEFINE(WORDS_BIGENDIAN)
|
|
||||||
fi
|
|
||||||
])
|
|
||||||
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
dnl override AC_ARG_ENABLE/WITH to cache the results in .cache file
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
|
|
||||||
AC_DEFUN([WX_ARG_CACHE_INIT],
|
|
||||||
[
|
|
||||||
wx_arg_cache_file="configarg.cache"
|
|
||||||
echo "loading argument cache $wx_arg_cache_file"
|
|
||||||
rm -f ${wx_arg_cache_file}.tmp
|
|
||||||
touch ${wx_arg_cache_file}.tmp
|
|
||||||
touch ${wx_arg_cache_file}
|
|
||||||
])
|
|
||||||
|
|
||||||
AC_DEFUN([WX_ARG_CACHE_FLUSH],
|
|
||||||
[
|
|
||||||
echo "saving argument cache $wx_arg_cache_file"
|
|
||||||
mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
|
|
||||||
])
|
|
||||||
|
|
||||||
dnl this macro checks for a three-valued command line --with argument:
|
|
||||||
dnl possible arguments are 'yes', 'no', 'sys', or 'builtin'
|
|
||||||
dnl usage: WX_ARG_SYS_WITH(option, helpmessage, variable-name)
|
|
||||||
AC_DEFUN([WX_ARG_SYS_WITH],
|
|
||||||
[
|
|
||||||
AC_MSG_CHECKING([for --with-$1])
|
|
||||||
no_cache=0
|
|
||||||
AC_ARG_WITH($1, [$2],
|
|
||||||
[
|
|
||||||
if test "$withval" = yes; then
|
|
||||||
ac_cv_use_$1='$3=yes'
|
|
||||||
elif test "$withval" = no; then
|
|
||||||
ac_cv_use_$1='$3=no'
|
|
||||||
elif test "$withval" = sys; then
|
|
||||||
ac_cv_use_$1='$3=sys'
|
|
||||||
elif test "$withval" = builtin; then
|
|
||||||
ac_cv_use_$1='$3=builtin'
|
|
||||||
else
|
|
||||||
AC_MSG_ERROR([Invalid value for --with-$1: should be yes, no, sys, or builtin])
|
|
||||||
fi
|
|
||||||
],
|
|
||||||
[
|
|
||||||
LINE=`grep "$3" ${wx_arg_cache_file}`
|
|
||||||
if test "x$LINE" != x ; then
|
|
||||||
eval "DEFAULT_$LINE"
|
|
||||||
else
|
|
||||||
no_cache=1
|
|
||||||
fi
|
|
||||||
|
|
||||||
ac_cv_use_$1='$3='$DEFAULT_$3
|
|
||||||
])
|
|
||||||
|
|
||||||
eval "$ac_cv_use_$1"
|
|
||||||
if test "$no_cache" != 1; then
|
|
||||||
echo $ac_cv_use_$1 >> ${wx_arg_cache_file}.tmp
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test "$$3" = yes; then
|
|
||||||
AC_MSG_RESULT(yes)
|
|
||||||
elif test "$$3" = no; then
|
|
||||||
AC_MSG_RESULT(no)
|
|
||||||
elif test "$$3" = sys; then
|
|
||||||
AC_MSG_RESULT([system version])
|
|
||||||
elif test "$$3" = builtin; then
|
|
||||||
AC_MSG_RESULT([builtin version])
|
|
||||||
else
|
|
||||||
AC_MSG_ERROR([Invalid value for --with-$1: should be yes, no, sys, or builtin])
|
|
||||||
fi
|
|
||||||
])
|
|
||||||
|
|
||||||
dnl this macro checks for a command line argument and caches the result
|
|
||||||
dnl usage: WX_ARG_WITH(option, helpmessage, variable-name)
|
|
||||||
AC_DEFUN([WX_ARG_WITH],
|
|
||||||
[
|
|
||||||
AC_MSG_CHECKING([for --with-$1])
|
|
||||||
no_cache=0
|
|
||||||
AC_ARG_WITH($1, [$2],
|
|
||||||
[
|
|
||||||
if test "$withval" = yes; then
|
|
||||||
ac_cv_use_$1='$3=yes'
|
|
||||||
else
|
|
||||||
ac_cv_use_$1='$3=no'
|
|
||||||
fi
|
|
||||||
],
|
|
||||||
[
|
|
||||||
LINE=`grep "$3" ${wx_arg_cache_file}`
|
|
||||||
if test "x$LINE" != x ; then
|
|
||||||
eval "DEFAULT_$LINE"
|
|
||||||
else
|
|
||||||
no_cache=1
|
|
||||||
fi
|
|
||||||
|
|
||||||
ac_cv_use_$1='$3='$DEFAULT_$3
|
|
||||||
])
|
|
||||||
|
|
||||||
eval "$ac_cv_use_$1"
|
|
||||||
if test "$no_cache" != 1; then
|
|
||||||
echo $ac_cv_use_$1 >> ${wx_arg_cache_file}.tmp
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test "$$3" = yes; then
|
|
||||||
AC_MSG_RESULT(yes)
|
|
||||||
else
|
|
||||||
AC_MSG_RESULT(no)
|
|
||||||
fi
|
|
||||||
])
|
|
||||||
|
|
||||||
dnl like WX_ARG_WITH but uses AC_ARG_ENABLE instead of AC_ARG_WITH
|
|
||||||
dnl usage: WX_ARG_ENABLE(option, helpmessage, variable-name, enablestring)
|
|
||||||
dnl
|
|
||||||
dnl enablestring is a hack and allows to show "checking for --disable-foo"
|
|
||||||
dnl message when running configure instead of the default "checking for
|
|
||||||
dnl --enable-foo" one whih is useful for the options enabled by default
|
|
||||||
AC_DEFUN([WX_ARG_ENABLE],
|
|
||||||
[
|
|
||||||
enablestring=$4
|
|
||||||
AC_MSG_CHECKING([for --${enablestring:-enable}-$1])
|
|
||||||
no_cache=0
|
|
||||||
AC_ARG_ENABLE($1, [$2],
|
|
||||||
[
|
|
||||||
if test "$enableval" = yes; then
|
|
||||||
ac_cv_use_$1='$3=yes'
|
|
||||||
else
|
|
||||||
ac_cv_use_$1='$3=no'
|
|
||||||
fi
|
|
||||||
],
|
|
||||||
[
|
|
||||||
LINE=`grep "$3" ${wx_arg_cache_file}`
|
|
||||||
if test "x$LINE" != x ; then
|
|
||||||
eval "DEFAULT_$LINE"
|
|
||||||
else
|
|
||||||
no_cache=1
|
|
||||||
fi
|
|
||||||
|
|
||||||
ac_cv_use_$1='$3='$DEFAULT_$3
|
|
||||||
])
|
|
||||||
|
|
||||||
eval "$ac_cv_use_$1"
|
|
||||||
if test "$no_cache" != 1; then
|
|
||||||
echo $ac_cv_use_$1 >> ${wx_arg_cache_file}.tmp
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test "$$3" = yes; then
|
|
||||||
AC_MSG_RESULT(yes)
|
|
||||||
else
|
|
||||||
AC_MSG_RESULT(no)
|
|
||||||
fi
|
|
||||||
])
|
|
||||||
|
|
||||||
|
|
||||||
dnl ===========================================================================
|
|
||||||
dnl Linker features test
|
|
||||||
dnl ===========================================================================
|
|
||||||
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
dnl WX_VERSIONED_SYMBOLS checks whether the linker can create versioned
|
|
||||||
dnl symbols. If it can, sets LDFLAGS_VERSIONING to $CXX flags needed to use
|
|
||||||
dnl version script file named versionfile
|
|
||||||
dnl
|
|
||||||
dnl call WX_VERSIONED_SYMBOLS(versionfile)
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
AC_DEFUN([WX_VERSIONED_SYMBOLS],
|
|
||||||
[
|
|
||||||
found_versioning=no
|
|
||||||
|
|
||||||
dnl FIXME - doesn't work, Solaris linker doesn't accept wildcards
|
|
||||||
dnl in the script.
|
|
||||||
dnl dnl Check for known non-gcc cases:
|
|
||||||
dnl case "${host}" in
|
|
||||||
dnl *-*-solaris2* )
|
|
||||||
dnl if test "x$GCC" != "xyes" ; then
|
|
||||||
dnl LDFLAGS_VERSIONING="-M $1"
|
|
||||||
dnl found_versioning=yes
|
|
||||||
dnl fi
|
|
||||||
dnl ;;
|
|
||||||
dnl esac
|
|
||||||
|
|
||||||
dnl Generic check for GCC or GCC-like behaviour (Intel C++, GCC):
|
|
||||||
if test $found_versioning = no ; then
|
|
||||||
AC_CACHE_CHECK([if the linker accepts --version-script], wx_cv_version_script,
|
|
||||||
[
|
|
||||||
echo "VER_1 { *; };" >conftest.sym
|
|
||||||
echo "int main() { return 0; }" >conftest.cpp
|
|
||||||
|
|
||||||
if AC_TRY_COMMAND([
|
|
||||||
$CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
|
|
||||||
-Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr]) ; then
|
|
||||||
if test -s conftest.stderr ; then
|
|
||||||
wx_cv_version_script=no
|
|
||||||
else
|
|
||||||
wx_cv_version_script=yes
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
wx_cv_version_script=no
|
|
||||||
fi
|
|
||||||
rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
|
|
||||||
])
|
|
||||||
if test $wx_cv_version_script = yes ; then
|
|
||||||
LDFLAGS_VERSIONING="-Wl,--version-script,$1"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
])
|
|
||||||
|
|
||||||
|
|
||||||
dnl ===========================================================================
|
|
||||||
dnl "3rd party" macros included here because they are not widely available
|
|
||||||
dnl ===========================================================================
|
|
||||||
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
dnl test for availability of iconv()
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
|
|
||||||
dnl From Bruno Haible.
|
|
||||||
|
|
||||||
AC_DEFUN([AM_ICONV],
|
|
||||||
[
|
|
||||||
dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and
|
|
||||||
dnl those with the standalone portable GNU libiconv installed).
|
|
||||||
|
|
||||||
AC_ARG_WITH([libiconv-prefix],
|
|
||||||
[ --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib], [
|
|
||||||
for dir in `echo "$withval" | tr : ' '`; do
|
|
||||||
if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
|
|
||||||
if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
|
|
||||||
done
|
|
||||||
])
|
|
||||||
|
|
||||||
AC_CACHE_CHECK(for iconv, am_cv_func_iconv, [
|
|
||||||
am_cv_func_iconv="no, consider installing GNU libiconv"
|
|
||||||
am_cv_lib_iconv=no
|
|
||||||
AC_TRY_LINK([#include <stdlib.h>
|
|
||||||
#include <iconv.h>],
|
|
||||||
[iconv_t cd = iconv_open("","");
|
|
||||||
iconv(cd,NULL,NULL,NULL,NULL);
|
|
||||||
iconv_close(cd);],
|
|
||||||
am_cv_func_iconv=yes)
|
|
||||||
if test "$am_cv_func_iconv" != yes; then
|
|
||||||
am_save_LIBS="$LIBS"
|
|
||||||
LIBS="$LIBS -liconv"
|
|
||||||
AC_TRY_LINK([#include <stdlib.h>
|
|
||||||
#include <iconv.h>],
|
|
||||||
[iconv_t cd = iconv_open("","");
|
|
||||||
iconv(cd,NULL,NULL,NULL,NULL);
|
|
||||||
iconv_close(cd);],
|
|
||||||
am_cv_lib_iconv=yes
|
|
||||||
am_cv_func_iconv=yes)
|
|
||||||
LIBS="$am_save_LIBS"
|
|
||||||
fi
|
|
||||||
])
|
|
||||||
if test "$am_cv_func_iconv" = yes; then
|
|
||||||
AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.])
|
|
||||||
AC_CACHE_CHECK([if iconv needs const], wx_cv_func_iconv_const,
|
|
||||||
AC_TRY_COMPILE([
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <iconv.h>
|
|
||||||
extern
|
|
||||||
#ifdef __cplusplus
|
|
||||||
"C"
|
|
||||||
#endif
|
|
||||||
#if defined(__STDC__) || defined(__cplusplus)
|
|
||||||
size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
|
|
||||||
#else
|
|
||||||
size_t iconv();
|
|
||||||
#endif
|
|
||||||
],
|
|
||||||
[],
|
|
||||||
wx_cv_func_iconv_const="no",
|
|
||||||
wx_cv_func_iconv_const="yes"
|
|
||||||
)
|
|
||||||
)
|
|
||||||
|
|
||||||
iconv_const=
|
|
||||||
if test "x$wx_cv_func_iconv_const" = "xyes"; then
|
|
||||||
iconv_const="const"
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_DEFINE_UNQUOTED(ICONV_CONST, $iconv_const,
|
|
||||||
[Define as const if the declaration of iconv() needs const.])
|
|
||||||
fi
|
|
||||||
LIBICONV=
|
|
||||||
if test "$am_cv_lib_iconv" = yes; then
|
|
||||||
LIBICONV="-liconv"
|
|
||||||
fi
|
|
||||||
AC_SUBST(LIBICONV)
|
|
||||||
])
|
|
||||||
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
dnl AC_SYS_LARGEFILE (partly based on the code from autoconf 2.5x)
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
|
|
||||||
dnl WX_SYS_LARGEFILE_TEST
|
|
||||||
dnl
|
|
||||||
dnl NB: original autoconf test was checking if compiler supported 6 bit off_t
|
|
||||||
dnl arithmetic properly but this failed miserably with gcc under Linux
|
|
||||||
dnl whereas the system still supports 64 bit files, so now simply check
|
|
||||||
dnl that off_t is big enough
|
|
||||||
define(WX_SYS_LARGEFILE_TEST,
|
|
||||||
[typedef struct {
|
|
||||||
unsigned int field: sizeof(off_t) == 8;
|
|
||||||
} wxlf;
|
|
||||||
])
|
|
||||||
|
|
||||||
|
|
||||||
dnl WX_SYS_LARGEFILE_MACRO_VALUE(C-MACRO, VALUE, CACHE-VAR)
|
|
||||||
define(WX_SYS_LARGEFILE_MACRO_VALUE,
|
|
||||||
[
|
|
||||||
AC_CACHE_CHECK([for $1 value needed for large files], [$3],
|
|
||||||
[
|
|
||||||
AC_TRY_COMPILE([#define $1 $2
|
|
||||||
#include <sys/types.h>],
|
|
||||||
WX_SYS_LARGEFILE_TEST,
|
|
||||||
[$3=$2],
|
|
||||||
[$3=no])
|
|
||||||
]
|
|
||||||
)
|
|
||||||
|
|
||||||
if test "$$3" != no; then
|
|
||||||
wx_largefile=yes
|
|
||||||
AC_DEFINE_UNQUOTED([$1], [$$3])
|
|
||||||
fi
|
|
||||||
])
|
|
||||||
|
|
||||||
|
|
||||||
dnl AC_SYS_LARGEFILE
|
|
||||||
dnl ----------------
|
|
||||||
dnl By default, many hosts won't let programs access large files;
|
|
||||||
dnl one must use special compiler options to get large-file access to work.
|
|
||||||
dnl For more details about this brain damage please see:
|
|
||||||
dnl http://www.sas.com/standards/large.file/x_open.20Mar96.html
|
|
||||||
AC_DEFUN([AC_SYS_LARGEFILE],
|
|
||||||
[AC_ARG_ENABLE(largefile,
|
|
||||||
[ --disable-largefile omit support for large files])
|
|
||||||
if test "$enable_largefile" != no; then
|
|
||||||
dnl _FILE_OFFSET_BITS==64 is needed for Linux, Solaris, ...
|
|
||||||
dnl _LARGE_FILES -- for AIX
|
|
||||||
wx_largefile=no
|
|
||||||
WX_SYS_LARGEFILE_MACRO_VALUE(_FILE_OFFSET_BITS, 64, ac_cv_sys_file_offset_bits)
|
|
||||||
if test "x$wx_largefile" != "xyes"; then
|
|
||||||
WX_SYS_LARGEFILE_MACRO_VALUE(_LARGE_FILES, 1, ac_cv_sys_large_files)
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_MSG_CHECKING(if large file support is available)
|
|
||||||
if test "x$wx_largefile" = "xyes"; then
|
|
||||||
AC_DEFINE(HAVE_LARGEFILE_SUPPORT)
|
|
||||||
fi
|
|
||||||
AC_MSG_RESULT($wx_largefile)
|
|
||||||
fi
|
|
||||||
])
|
|
909
aclocal.m4
vendored
909
aclocal.m4
vendored
@@ -1,804 +1,12 @@
|
|||||||
dnl aclocal.m4 generated automatically by aclocal 1.4-p6
|
|
||||||
|
|
||||||
dnl Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
|
|
||||||
dnl This file is free software; the Free Software Foundation
|
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
|
||||||
dnl with or without modifications, as long as this notice is preserved.
|
|
||||||
|
|
||||||
dnl This program is distributed in the hope that it will be useful,
|
|
||||||
dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
|
||||||
dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
|
||||||
dnl PARTICULAR PURPOSE.
|
|
||||||
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
dnl
|
|
||||||
dnl Macros for configure.in for wxWindows by Robert Roebling, Phil Blecker,
|
|
||||||
dnl Vadim Zeitlin and Ron Lee
|
|
||||||
dnl
|
|
||||||
dnl This script is under the wxWindows licence.
|
|
||||||
dnl
|
|
||||||
dnl Version: $Id$
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
|
|
||||||
dnl ===========================================================================
|
|
||||||
dnl macros to find the a file in the list of include/lib paths
|
|
||||||
dnl ===========================================================================
|
|
||||||
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
dnl call WX_PATH_FIND_INCLUDES(search path, header name), sets ac_find_includes
|
|
||||||
dnl to the full name of the file that was found or leaves it empty if not found
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
AC_DEFUN([WX_PATH_FIND_INCLUDES],
|
|
||||||
[
|
|
||||||
ac_find_includes=
|
|
||||||
for ac_dir in $1 /usr/include;
|
|
||||||
do
|
|
||||||
if test -f "$ac_dir/$2"; then
|
|
||||||
ac_find_includes=$ac_dir
|
|
||||||
break
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
])
|
|
||||||
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
dnl call WX_PATH_FIND_LIBRARIES(search path, header name), sets ac_find_libraries
|
|
||||||
dnl to the full name of the file that was found or leaves it empty if not found
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
AC_DEFUN([WX_PATH_FIND_LIBRARIES],
|
|
||||||
[
|
|
||||||
ac_find_libraries=
|
|
||||||
for ac_dir in $1 /usr/lib;
|
|
||||||
do
|
|
||||||
for ac_extension in a so sl dylib; do
|
|
||||||
if test -f "$ac_dir/lib$2.$ac_extension"; then
|
|
||||||
ac_find_libraries=$ac_dir
|
|
||||||
break 2
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
done
|
|
||||||
])
|
|
||||||
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
dnl Path to include, already defined
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
AC_DEFUN([WX_INCLUDE_PATH_EXIST],
|
|
||||||
[
|
|
||||||
dnl never add -I/usr/include to the CPPFLAGS
|
|
||||||
if test "x$1" = "x/usr/include"; then
|
|
||||||
ac_path_to_include=""
|
|
||||||
else
|
|
||||||
echo "$2" | grep "\-I$1" > /dev/null
|
|
||||||
result=$?
|
|
||||||
if test $result = 0; then
|
|
||||||
ac_path_to_include=""
|
|
||||||
else
|
|
||||||
ac_path_to_include=" -I$1"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
])
|
|
||||||
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
dnl Path to link, already defined
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
AC_DEFUN([WX_LINK_PATH_EXIST],
|
|
||||||
[
|
|
||||||
echo "$2" | grep "\-L$1" > /dev/null
|
|
||||||
result=$?
|
|
||||||
if test $result = 0; then
|
|
||||||
ac_path_to_link=""
|
|
||||||
else
|
|
||||||
ac_path_to_link=" -L$1"
|
|
||||||
fi
|
|
||||||
])
|
|
||||||
|
|
||||||
dnl ===========================================================================
|
|
||||||
dnl C++ features test
|
|
||||||
dnl ===========================================================================
|
|
||||||
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
dnl WX_CPP_NEW_HEADERS checks whether the compiler has "new" <iostream> header
|
|
||||||
dnl or only the old <iostream.h> one - it may be generally assumed that if
|
|
||||||
dnl <iostream> exists, the other "new" headers (without .h) exist too.
|
|
||||||
dnl
|
|
||||||
dnl call WX_CPP_NEW_HEADERS(actiof-if-true, action-if-false-or-cross-compiling)
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
|
|
||||||
AC_DEFUN([WX_CPP_NEW_HEADERS],
|
|
||||||
[
|
|
||||||
if test "$cross_compiling" = "yes"; then
|
|
||||||
ifelse([$2], , :, [$2])
|
|
||||||
else
|
|
||||||
AC_LANG_SAVE
|
|
||||||
AC_LANG_CPLUSPLUS
|
|
||||||
|
|
||||||
AC_CHECK_HEADERS(iostream)
|
|
||||||
|
|
||||||
if test "$ac_cv_header_iostream" = "yes" ; then
|
|
||||||
ifelse([$1], , :, [$1])
|
|
||||||
else
|
|
||||||
ifelse([$2], , :, [$2])
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_LANG_RESTORE
|
|
||||||
fi
|
|
||||||
])
|
|
||||||
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
dnl WX_CPP_BOOL checks whether the C++ compiler has a built in bool type
|
|
||||||
dnl
|
|
||||||
dnl call WX_CPP_BOOL - will define HAVE_BOOL if the compiler supports bool
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
|
|
||||||
AC_DEFUN([WX_CPP_BOOL],
|
|
||||||
[
|
|
||||||
AC_CACHE_CHECK([if C++ compiler supports bool], wx_cv_cpp_bool,
|
|
||||||
[
|
|
||||||
AC_LANG_SAVE
|
|
||||||
AC_LANG_CPLUSPLUS
|
|
||||||
|
|
||||||
AC_TRY_COMPILE(
|
|
||||||
[
|
|
||||||
],
|
|
||||||
[
|
|
||||||
bool b = true;
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
],
|
|
||||||
[
|
|
||||||
wx_cv_cpp_bool=yes
|
|
||||||
],
|
|
||||||
[
|
|
||||||
wx_cv_cpp_bool=no
|
|
||||||
]
|
|
||||||
)
|
|
||||||
|
|
||||||
AC_LANG_RESTORE
|
|
||||||
])
|
|
||||||
|
|
||||||
if test "$wx_cv_cpp_bool" = "yes"; then
|
|
||||||
AC_DEFINE(HAVE_BOOL)
|
|
||||||
fi
|
|
||||||
])
|
|
||||||
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
dnl WX_CPP_EXPLICIT checks whether the C++ compiler support the explicit
|
|
||||||
dnl keyword and defines HAVE_EXPLICIT if this is the case
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
|
|
||||||
AC_DEFUN([WX_CPP_EXPLICIT],
|
|
||||||
[
|
|
||||||
AC_CACHE_CHECK([if C++ compiler supports the explicit keyword],
|
|
||||||
wx_cv_explicit,
|
|
||||||
[
|
|
||||||
AC_LANG_SAVE
|
|
||||||
AC_LANG_CPLUSPLUS
|
|
||||||
|
|
||||||
dnl do the test in 2 steps: first check that the compiler knows about the
|
|
||||||
dnl explicit keyword at all and then verify that it really honours it
|
|
||||||
AC_TRY_COMPILE(
|
|
||||||
[
|
|
||||||
class Foo { public: explicit Foo(int) {} };
|
|
||||||
],
|
|
||||||
[
|
|
||||||
return 0;
|
|
||||||
],
|
|
||||||
[
|
|
||||||
AC_TRY_COMPILE(
|
|
||||||
[
|
|
||||||
class Foo { public: explicit Foo(int) {} };
|
|
||||||
static void TakeFoo(const Foo& foo) { }
|
|
||||||
],
|
|
||||||
[
|
|
||||||
TakeFoo(17);
|
|
||||||
return 0;
|
|
||||||
],
|
|
||||||
wx_cv_explicit=no,
|
|
||||||
wx_cv_explicit=yes
|
|
||||||
)
|
|
||||||
],
|
|
||||||
wx_cv_explicit=no
|
|
||||||
)
|
|
||||||
|
|
||||||
AC_LANG_RESTORE
|
|
||||||
])
|
|
||||||
|
|
||||||
if test "$wx_cv_explicit" = "yes"; then
|
|
||||||
AC_DEFINE(HAVE_EXPLICIT)
|
|
||||||
fi
|
|
||||||
])
|
|
||||||
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
dnl a slightly better AC_C_BIGENDIAN macro which allows cross-compiling
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
|
|
||||||
AC_DEFUN([WX_C_BIGENDIAN],
|
|
||||||
[AC_CACHE_CHECK([whether byte ordering is bigendian], ac_cv_c_bigendian,
|
|
||||||
[ac_cv_c_bigendian=unknown
|
|
||||||
# See if sys/param.h defines the BYTE_ORDER macro.
|
|
||||||
AC_TRY_COMPILE([#include <sys/types.h>
|
|
||||||
#include <sys/param.h>], [
|
|
||||||
#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
|
|
||||||
bogus endian macros
|
|
||||||
#endif], [# It does; now see whether it defined to BIG_ENDIAN or not.
|
|
||||||
AC_TRY_COMPILE([#include <sys/types.h>
|
|
||||||
#include <sys/param.h>], [
|
|
||||||
#if BYTE_ORDER != BIG_ENDIAN
|
|
||||||
not big endian
|
|
||||||
#endif], ac_cv_c_bigendian=yes, ac_cv_c_bigendian=no)])
|
|
||||||
if test $ac_cv_c_bigendian = unknown; then
|
|
||||||
AC_TRY_RUN([main () {
|
|
||||||
/* Are we little or big endian? From Harbison&Steele. */
|
|
||||||
union
|
|
||||||
{
|
|
||||||
long l;
|
|
||||||
char c[sizeof (long)];
|
|
||||||
} u;
|
|
||||||
u.l = 1;
|
|
||||||
exit (u.c[sizeof (long) - 1] == 1);
|
|
||||||
}], [ac_cv_c_bigendian=no], [ac_cv_c_bigendian=yes], [ac_cv_c_bigendian=unknown])
|
|
||||||
fi])
|
|
||||||
if test $ac_cv_c_bigendian = unknown; then
|
|
||||||
AC_MSG_WARN([Assuming little-endian target machine - this may be overriden by adding the line "ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}" to config.cache file])
|
|
||||||
fi
|
|
||||||
if test $ac_cv_c_bigendian = yes; then
|
|
||||||
AC_DEFINE(WORDS_BIGENDIAN)
|
|
||||||
fi
|
|
||||||
])
|
|
||||||
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
dnl override AC_ARG_ENABLE/WITH to cache the results in .cache file
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
|
|
||||||
AC_DEFUN([WX_ARG_CACHE_INIT],
|
|
||||||
[
|
|
||||||
wx_arg_cache_file="configarg.cache"
|
|
||||||
echo "loading argument cache $wx_arg_cache_file"
|
|
||||||
rm -f ${wx_arg_cache_file}.tmp
|
|
||||||
touch ${wx_arg_cache_file}.tmp
|
|
||||||
touch ${wx_arg_cache_file}
|
|
||||||
])
|
|
||||||
|
|
||||||
AC_DEFUN([WX_ARG_CACHE_FLUSH],
|
|
||||||
[
|
|
||||||
echo "saving argument cache $wx_arg_cache_file"
|
|
||||||
mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
|
|
||||||
])
|
|
||||||
|
|
||||||
dnl this macro checks for a three-valued command line --with argument:
|
|
||||||
dnl possible arguments are 'yes', 'no', 'sys', or 'builtin'
|
|
||||||
dnl usage: WX_ARG_SYS_WITH(option, helpmessage, variable-name)
|
|
||||||
AC_DEFUN([WX_ARG_SYS_WITH],
|
|
||||||
[
|
|
||||||
AC_MSG_CHECKING([for --with-$1])
|
|
||||||
no_cache=0
|
|
||||||
AC_ARG_WITH($1, [$2],
|
|
||||||
[
|
|
||||||
if test "$withval" = yes; then
|
|
||||||
ac_cv_use_$1='$3=yes'
|
|
||||||
elif test "$withval" = no; then
|
|
||||||
ac_cv_use_$1='$3=no'
|
|
||||||
elif test "$withval" = sys; then
|
|
||||||
ac_cv_use_$1='$3=sys'
|
|
||||||
elif test "$withval" = builtin; then
|
|
||||||
ac_cv_use_$1='$3=builtin'
|
|
||||||
else
|
|
||||||
AC_MSG_ERROR([Invalid value for --with-$1: should be yes, no, sys, or builtin])
|
|
||||||
fi
|
|
||||||
],
|
|
||||||
[
|
|
||||||
LINE=`grep "$3" ${wx_arg_cache_file}`
|
|
||||||
if test "x$LINE" != x ; then
|
|
||||||
eval "DEFAULT_$LINE"
|
|
||||||
else
|
|
||||||
no_cache=1
|
|
||||||
fi
|
|
||||||
|
|
||||||
ac_cv_use_$1='$3='$DEFAULT_$3
|
|
||||||
])
|
|
||||||
|
|
||||||
eval "$ac_cv_use_$1"
|
|
||||||
if test "$no_cache" != 1; then
|
|
||||||
echo $ac_cv_use_$1 >> ${wx_arg_cache_file}.tmp
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test "$$3" = yes; then
|
|
||||||
AC_MSG_RESULT(yes)
|
|
||||||
elif test "$$3" = no; then
|
|
||||||
AC_MSG_RESULT(no)
|
|
||||||
elif test "$$3" = sys; then
|
|
||||||
AC_MSG_RESULT([system version])
|
|
||||||
elif test "$$3" = builtin; then
|
|
||||||
AC_MSG_RESULT([builtin version])
|
|
||||||
else
|
|
||||||
AC_MSG_ERROR([Invalid value for --with-$1: should be yes, no, sys, or builtin])
|
|
||||||
fi
|
|
||||||
])
|
|
||||||
|
|
||||||
dnl this macro checks for a command line argument and caches the result
|
|
||||||
dnl usage: WX_ARG_WITH(option, helpmessage, variable-name)
|
|
||||||
AC_DEFUN([WX_ARG_WITH],
|
|
||||||
[
|
|
||||||
AC_MSG_CHECKING([for --with-$1])
|
|
||||||
no_cache=0
|
|
||||||
AC_ARG_WITH($1, [$2],
|
|
||||||
[
|
|
||||||
if test "$withval" = yes; then
|
|
||||||
ac_cv_use_$1='$3=yes'
|
|
||||||
else
|
|
||||||
ac_cv_use_$1='$3=no'
|
|
||||||
fi
|
|
||||||
],
|
|
||||||
[
|
|
||||||
LINE=`grep "$3" ${wx_arg_cache_file}`
|
|
||||||
if test "x$LINE" != x ; then
|
|
||||||
eval "DEFAULT_$LINE"
|
|
||||||
else
|
|
||||||
no_cache=1
|
|
||||||
fi
|
|
||||||
|
|
||||||
ac_cv_use_$1='$3='$DEFAULT_$3
|
|
||||||
])
|
|
||||||
|
|
||||||
eval "$ac_cv_use_$1"
|
|
||||||
if test "$no_cache" != 1; then
|
|
||||||
echo $ac_cv_use_$1 >> ${wx_arg_cache_file}.tmp
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test "$$3" = yes; then
|
|
||||||
AC_MSG_RESULT(yes)
|
|
||||||
else
|
|
||||||
AC_MSG_RESULT(no)
|
|
||||||
fi
|
|
||||||
])
|
|
||||||
|
|
||||||
dnl like WX_ARG_WITH but uses AC_ARG_ENABLE instead of AC_ARG_WITH
|
|
||||||
dnl usage: WX_ARG_ENABLE(option, helpmessage, variable-name, enablestring)
|
|
||||||
dnl
|
|
||||||
dnl enablestring is a hack and allows to show "checking for --disable-foo"
|
|
||||||
dnl message when running configure instead of the default "checking for
|
|
||||||
dnl --enable-foo" one whih is useful for the options enabled by default
|
|
||||||
AC_DEFUN([WX_ARG_ENABLE],
|
|
||||||
[
|
|
||||||
enablestring=$4
|
|
||||||
AC_MSG_CHECKING([for --${enablestring:-enable}-$1])
|
|
||||||
no_cache=0
|
|
||||||
AC_ARG_ENABLE($1, [$2],
|
|
||||||
[
|
|
||||||
if test "$enableval" = yes; then
|
|
||||||
ac_cv_use_$1='$3=yes'
|
|
||||||
else
|
|
||||||
ac_cv_use_$1='$3=no'
|
|
||||||
fi
|
|
||||||
],
|
|
||||||
[
|
|
||||||
LINE=`grep "$3" ${wx_arg_cache_file}`
|
|
||||||
if test "x$LINE" != x ; then
|
|
||||||
eval "DEFAULT_$LINE"
|
|
||||||
else
|
|
||||||
no_cache=1
|
|
||||||
fi
|
|
||||||
|
|
||||||
ac_cv_use_$1='$3='$DEFAULT_$3
|
|
||||||
])
|
|
||||||
|
|
||||||
eval "$ac_cv_use_$1"
|
|
||||||
if test "$no_cache" != 1; then
|
|
||||||
echo $ac_cv_use_$1 >> ${wx_arg_cache_file}.tmp
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test "$$3" = yes; then
|
|
||||||
AC_MSG_RESULT(yes)
|
|
||||||
else
|
|
||||||
AC_MSG_RESULT(no)
|
|
||||||
fi
|
|
||||||
])
|
|
||||||
|
|
||||||
|
|
||||||
dnl ===========================================================================
|
|
||||||
dnl Linker features test
|
|
||||||
dnl ===========================================================================
|
|
||||||
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
dnl WX_VERSIONED_SYMBOLS checks whether the linker can create versioned
|
|
||||||
dnl symbols. If it can, sets LDFLAGS_VERSIONING to $CXX flags needed to use
|
|
||||||
dnl version script file named versionfile
|
|
||||||
dnl
|
|
||||||
dnl call WX_VERSIONED_SYMBOLS(versionfile)
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
AC_DEFUN([WX_VERSIONED_SYMBOLS],
|
|
||||||
[
|
|
||||||
found_versioning=no
|
|
||||||
|
|
||||||
dnl FIXME - doesn't work, Solaris linker doesn't accept wildcards
|
|
||||||
dnl in the script.
|
|
||||||
dnl dnl Check for known non-gcc cases:
|
|
||||||
dnl case "${host}" in
|
|
||||||
dnl *-*-solaris2* )
|
|
||||||
dnl if test "x$GCC" != "xyes" ; then
|
|
||||||
dnl LDFLAGS_VERSIONING="-M $1"
|
|
||||||
dnl found_versioning=yes
|
|
||||||
dnl fi
|
|
||||||
dnl ;;
|
|
||||||
dnl esac
|
|
||||||
|
|
||||||
dnl Generic check for GCC or GCC-like behaviour (Intel C++, GCC):
|
|
||||||
if test $found_versioning = no ; then
|
|
||||||
AC_CACHE_CHECK([if the linker accepts --version-script], wx_cv_version_script,
|
|
||||||
[
|
|
||||||
echo "VER_1 { *; };" >conftest.sym
|
|
||||||
echo "int main() { return 0; }" >conftest.cpp
|
|
||||||
|
|
||||||
if AC_TRY_COMMAND([
|
|
||||||
$CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
|
|
||||||
-Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr]) ; then
|
|
||||||
if test -s conftest.stderr ; then
|
|
||||||
wx_cv_version_script=no
|
|
||||||
else
|
|
||||||
wx_cv_version_script=yes
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
wx_cv_version_script=no
|
|
||||||
fi
|
|
||||||
rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
|
|
||||||
])
|
|
||||||
if test $wx_cv_version_script = yes ; then
|
|
||||||
LDFLAGS_VERSIONING="-Wl,--version-script,$1"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
])
|
|
||||||
|
|
||||||
|
|
||||||
dnl ===========================================================================
|
|
||||||
dnl "3rd party" macros included here because they are not widely available
|
|
||||||
dnl ===========================================================================
|
|
||||||
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
dnl test for availability of iconv()
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
|
|
||||||
dnl From Bruno Haible.
|
|
||||||
|
|
||||||
AC_DEFUN([AM_ICONV],
|
|
||||||
[
|
|
||||||
dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and
|
|
||||||
dnl those with the standalone portable GNU libiconv installed).
|
|
||||||
|
|
||||||
AC_ARG_WITH([libiconv-prefix],
|
|
||||||
[ --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib], [
|
|
||||||
for dir in `echo "$withval" | tr : ' '`; do
|
|
||||||
if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
|
|
||||||
if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
|
|
||||||
done
|
|
||||||
])
|
|
||||||
|
|
||||||
AC_CACHE_CHECK(for iconv, am_cv_func_iconv, [
|
|
||||||
am_cv_func_iconv="no, consider installing GNU libiconv"
|
|
||||||
am_cv_lib_iconv=no
|
|
||||||
AC_TRY_LINK([#include <stdlib.h>
|
|
||||||
#include <iconv.h>],
|
|
||||||
[iconv_t cd = iconv_open("","");
|
|
||||||
iconv(cd,NULL,NULL,NULL,NULL);
|
|
||||||
iconv_close(cd);],
|
|
||||||
am_cv_func_iconv=yes)
|
|
||||||
if test "$am_cv_func_iconv" != yes; then
|
|
||||||
am_save_LIBS="$LIBS"
|
|
||||||
LIBS="$LIBS -liconv"
|
|
||||||
AC_TRY_LINK([#include <stdlib.h>
|
|
||||||
#include <iconv.h>],
|
|
||||||
[iconv_t cd = iconv_open("","");
|
|
||||||
iconv(cd,NULL,NULL,NULL,NULL);
|
|
||||||
iconv_close(cd);],
|
|
||||||
am_cv_lib_iconv=yes
|
|
||||||
am_cv_func_iconv=yes)
|
|
||||||
LIBS="$am_save_LIBS"
|
|
||||||
fi
|
|
||||||
])
|
|
||||||
if test "$am_cv_func_iconv" = yes; then
|
|
||||||
AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.])
|
|
||||||
AC_CACHE_CHECK([if iconv needs const], wx_cv_func_iconv_const,
|
|
||||||
AC_TRY_COMPILE([
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <iconv.h>
|
|
||||||
extern
|
|
||||||
#ifdef __cplusplus
|
|
||||||
"C"
|
|
||||||
#endif
|
|
||||||
#if defined(__STDC__) || defined(__cplusplus)
|
|
||||||
size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
|
|
||||||
#else
|
|
||||||
size_t iconv();
|
|
||||||
#endif
|
|
||||||
],
|
|
||||||
[],
|
|
||||||
wx_cv_func_iconv_const="no",
|
|
||||||
wx_cv_func_iconv_const="yes"
|
|
||||||
)
|
|
||||||
)
|
|
||||||
|
|
||||||
iconv_const=
|
|
||||||
if test "x$wx_cv_func_iconv_const" = "xyes"; then
|
|
||||||
iconv_const="const"
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_DEFINE_UNQUOTED(ICONV_CONST, $iconv_const,
|
|
||||||
[Define as const if the declaration of iconv() needs const.])
|
|
||||||
fi
|
|
||||||
LIBICONV=
|
|
||||||
if test "$am_cv_lib_iconv" = yes; then
|
|
||||||
LIBICONV="-liconv"
|
|
||||||
fi
|
|
||||||
AC_SUBST(LIBICONV)
|
|
||||||
])
|
|
||||||
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
dnl AC_SYS_LARGEFILE (partly based on the code from autoconf 2.5x)
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
|
|
||||||
dnl WX_SYS_LARGEFILE_TEST
|
|
||||||
dnl
|
|
||||||
dnl NB: original autoconf test was checking if compiler supported 6 bit off_t
|
|
||||||
dnl arithmetic properly but this failed miserably with gcc under Linux
|
|
||||||
dnl whereas the system still supports 64 bit files, so now simply check
|
|
||||||
dnl that off_t is big enough
|
|
||||||
define(WX_SYS_LARGEFILE_TEST,
|
|
||||||
[typedef struct {
|
|
||||||
unsigned int field: sizeof(off_t) == 8;
|
|
||||||
} wxlf;
|
|
||||||
])
|
|
||||||
|
|
||||||
|
|
||||||
dnl WX_SYS_LARGEFILE_MACRO_VALUE(C-MACRO, VALUE, CACHE-VAR)
|
|
||||||
define(WX_SYS_LARGEFILE_MACRO_VALUE,
|
|
||||||
[
|
|
||||||
AC_CACHE_CHECK([for $1 value needed for large files], [$3],
|
|
||||||
[
|
|
||||||
AC_TRY_COMPILE([#define $1 $2
|
|
||||||
#include <sys/types.h>],
|
|
||||||
WX_SYS_LARGEFILE_TEST,
|
|
||||||
[$3=$2],
|
|
||||||
[$3=no])
|
|
||||||
]
|
|
||||||
)
|
|
||||||
|
|
||||||
if test "$$3" != no; then
|
|
||||||
wx_largefile=yes
|
|
||||||
AC_DEFINE_UNQUOTED([$1], [$$3])
|
|
||||||
fi
|
|
||||||
])
|
|
||||||
|
|
||||||
|
|
||||||
dnl AC_SYS_LARGEFILE
|
|
||||||
dnl ----------------
|
|
||||||
dnl By default, many hosts won't let programs access large files;
|
|
||||||
dnl one must use special compiler options to get large-file access to work.
|
|
||||||
dnl For more details about this brain damage please see:
|
|
||||||
dnl http://www.sas.com/standards/large.file/x_open.20Mar96.html
|
|
||||||
AC_DEFUN([AC_SYS_LARGEFILE],
|
|
||||||
[AC_ARG_ENABLE(largefile,
|
|
||||||
[ --disable-largefile omit support for large files])
|
|
||||||
if test "$enable_largefile" != no; then
|
|
||||||
dnl _FILE_OFFSET_BITS==64 is needed for Linux, Solaris, ...
|
|
||||||
dnl _LARGE_FILES -- for AIX
|
|
||||||
wx_largefile=no
|
|
||||||
WX_SYS_LARGEFILE_MACRO_VALUE(_FILE_OFFSET_BITS, 64, ac_cv_sys_file_offset_bits)
|
|
||||||
if test "x$wx_largefile" != "xyes"; then
|
|
||||||
WX_SYS_LARGEFILE_MACRO_VALUE(_LARGE_FILES, 1, ac_cv_sys_large_files)
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_MSG_CHECKING(if large file support is available)
|
|
||||||
if test "x$wx_largefile" = "xyes"; then
|
|
||||||
AC_DEFINE(HAVE_LARGEFILE_SUPPORT)
|
|
||||||
fi
|
|
||||||
AC_MSG_RESULT($wx_largefile)
|
|
||||||
fi
|
|
||||||
])
|
|
||||||
|
|
||||||
# Configure paths for GTK+
|
|
||||||
# Owen Taylor 1997-2001
|
|
||||||
|
|
||||||
dnl AM_PATH_GTK_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
|
|
||||||
dnl Test for GTK+, and define GTK_CFLAGS and GTK_LIBS, if gthread is specified in MODULES,
|
|
||||||
dnl pass to pkg-config
|
|
||||||
dnl
|
|
||||||
AC_DEFUN(AM_PATH_GTK_2_0,
|
|
||||||
[dnl
|
|
||||||
dnl Get the cflags and libraries from pkg-config
|
|
||||||
dnl
|
|
||||||
AC_ARG_ENABLE(gtktest, [ --disable-gtktest do not try to compile and run a test GTK+ program],
|
|
||||||
, enable_gtktest=yes)
|
|
||||||
|
|
||||||
pkg_config_args=gtk+-2.0
|
|
||||||
for module in . $4
|
|
||||||
do
|
|
||||||
case "$module" in
|
|
||||||
gthread)
|
|
||||||
pkg_config_args="$pkg_config_args gthread-2.0"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
|
|
||||||
no_gtk=""
|
|
||||||
|
|
||||||
AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
|
|
||||||
|
|
||||||
if test x$PKG_CONFIG != xno ; then
|
|
||||||
if pkg-config --atleast-pkgconfig-version 0.7 ; then
|
|
||||||
:
|
|
||||||
else
|
|
||||||
echo *** pkg-config too old; version 0.7 or better required.
|
|
||||||
no_gtk=yes
|
|
||||||
PKG_CONFIG=no
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
no_gtk=yes
|
|
||||||
fi
|
|
||||||
|
|
||||||
min_gtk_version=ifelse([$1], ,2.0.0,$1)
|
|
||||||
AC_MSG_CHECKING(for GTK+ - version >= $min_gtk_version)
|
|
||||||
|
|
||||||
if test x$PKG_CONFIG != xno ; then
|
|
||||||
## don't try to run the test against uninstalled libtool libs
|
|
||||||
if $PKG_CONFIG --uninstalled $pkg_config_args; then
|
|
||||||
echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
|
|
||||||
enable_gtktest=no
|
|
||||||
fi
|
|
||||||
|
|
||||||
if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
|
|
||||||
:
|
|
||||||
else
|
|
||||||
no_gtk=yes
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test x"$no_gtk" = x ; then
|
|
||||||
GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
|
|
||||||
GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
|
|
||||||
gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
|
|
||||||
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
|
|
||||||
gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
|
|
||||||
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
|
|
||||||
gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
|
|
||||||
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
|
|
||||||
if test "x$enable_gtktest" = "xyes" ; then
|
|
||||||
ac_save_CFLAGS="$CFLAGS"
|
|
||||||
ac_save_LIBS="$LIBS"
|
|
||||||
CFLAGS="$CFLAGS $GTK_CFLAGS"
|
|
||||||
LIBS="$GTK_LIBS $LIBS"
|
|
||||||
dnl
|
|
||||||
dnl Now check if the installed GTK+ is sufficiently new. (Also sanity
|
|
||||||
dnl checks the results of pkg-config to some extent)
|
|
||||||
dnl
|
|
||||||
rm -f conf.gtktest
|
|
||||||
AC_TRY_RUN([
|
|
||||||
#include <gtk/gtk.h>
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
|
|
||||||
int
|
|
||||||
main ()
|
|
||||||
{
|
|
||||||
int major, minor, micro;
|
|
||||||
char *tmp_version;
|
|
||||||
|
|
||||||
system ("touch conf.gtktest");
|
|
||||||
|
|
||||||
/* HP/UX 9 (%@#!) writes to sscanf strings */
|
|
||||||
tmp_version = g_strdup("$min_gtk_version");
|
|
||||||
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
|
|
||||||
printf("%s, bad version string\n", "$min_gtk_version");
|
|
||||||
exit(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
if ((gtk_major_version != $gtk_config_major_version) ||
|
|
||||||
(gtk_minor_version != $gtk_config_minor_version) ||
|
|
||||||
(gtk_micro_version != $gtk_config_micro_version))
|
|
||||||
{
|
|
||||||
printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
|
|
||||||
$gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
|
|
||||||
gtk_major_version, gtk_minor_version, gtk_micro_version);
|
|
||||||
printf ("*** was found! If pkg-config was correct, then it is best\n");
|
|
||||||
printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
|
|
||||||
printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
|
|
||||||
printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
|
|
||||||
printf("*** required on your system.\n");
|
|
||||||
printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
|
|
||||||
printf("*** to point to the correct configuration files\n");
|
|
||||||
}
|
|
||||||
else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
|
|
||||||
(gtk_minor_version != GTK_MINOR_VERSION) ||
|
|
||||||
(gtk_micro_version != GTK_MICRO_VERSION))
|
|
||||||
{
|
|
||||||
printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
|
|
||||||
GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
|
|
||||||
printf("*** library (version %d.%d.%d)\n",
|
|
||||||
gtk_major_version, gtk_minor_version, gtk_micro_version);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
if ((gtk_major_version > major) ||
|
|
||||||
((gtk_major_version == major) && (gtk_minor_version > minor)) ||
|
|
||||||
((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
|
|
||||||
{
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
|
|
||||||
gtk_major_version, gtk_minor_version, gtk_micro_version);
|
|
||||||
printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
|
|
||||||
major, minor, micro);
|
|
||||||
printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
|
|
||||||
printf("***\n");
|
|
||||||
printf("*** If you have already installed a sufficiently new version, this error\n");
|
|
||||||
printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
|
|
||||||
printf("*** being found. The easiest way to fix this is to remove the old version\n");
|
|
||||||
printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
|
|
||||||
printf("*** correct copy of pkg-config. (In this case, you will have to\n");
|
|
||||||
printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
|
|
||||||
printf("*** so that the correct libraries are found at run-time))\n");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
|
|
||||||
CFLAGS="$ac_save_CFLAGS"
|
|
||||||
LIBS="$ac_save_LIBS"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
if test "x$no_gtk" = x ; then
|
|
||||||
AC_MSG_RESULT(yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version))
|
|
||||||
ifelse([$2], , :, [$2])
|
|
||||||
else
|
|
||||||
AC_MSG_RESULT(no)
|
|
||||||
if test "$PKG_CONFIG" = "no" ; then
|
|
||||||
echo "*** A new enough version of pkg-config was not found."
|
|
||||||
echo "*** See http://pkgconfig.sourceforge.net"
|
|
||||||
else
|
|
||||||
if test -f conf.gtktest ; then
|
|
||||||
:
|
|
||||||
else
|
|
||||||
echo "*** Could not run GTK+ test program, checking why..."
|
|
||||||
ac_save_CFLAGS="$CFLAGS"
|
|
||||||
ac_save_LIBS="$LIBS"
|
|
||||||
CFLAGS="$CFLAGS $GTK_CFLAGS"
|
|
||||||
LIBS="$LIBS $GTK_LIBS"
|
|
||||||
AC_TRY_LINK([
|
|
||||||
#include <gtk/gtk.h>
|
|
||||||
#include <stdio.h>
|
|
||||||
], [ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ],
|
|
||||||
[ echo "*** The test program compiled, but did not run. This usually means"
|
|
||||||
echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
|
|
||||||
echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
|
|
||||||
echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
|
|
||||||
echo "*** to the installed location Also, make sure you have run ldconfig if that"
|
|
||||||
echo "*** is required on your system"
|
|
||||||
echo "***"
|
|
||||||
echo "*** If you have an old version installed, it is best to remove it, although"
|
|
||||||
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ],
|
|
||||||
[ echo "*** The test program failed to compile or link. See the file config.log for the"
|
|
||||||
echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."])
|
|
||||||
CFLAGS="$ac_save_CFLAGS"
|
|
||||||
LIBS="$ac_save_LIBS"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
GTK_CFLAGS=""
|
|
||||||
GTK_LIBS=""
|
|
||||||
ifelse([$3], , :, [$3])
|
|
||||||
fi
|
|
||||||
AC_SUBST(GTK_CFLAGS)
|
|
||||||
AC_SUBST(GTK_LIBS)
|
|
||||||
rm -f conf.gtktest
|
|
||||||
])
|
|
||||||
|
|
||||||
# Configure paths for GTK+
|
# Configure paths for GTK+
|
||||||
# Owen Taylor 97-11-3
|
# Owen Taylor 97-11-3
|
||||||
|
|
||||||
dnl AM_PATH_GTK([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
|
dnl AM_PATH_GTK_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
|
||||||
dnl Test for GTK, and define GTK_CFLAGS and GTK_LIBS
|
dnl Test for GTK, and define GTK_CFLAGS and GTK_LIBS
|
||||||
dnl
|
dnl
|
||||||
AC_DEFUN(AM_PATH_GTK,
|
AC_DEFUN(AM_PATH_GTK_2_0,
|
||||||
[dnl
|
[dnl
|
||||||
dnl Get the cflags and libraries from the gtk-config script
|
dnl Get the cflags and libraries from the gtk-config-2.0 script
|
||||||
dnl
|
dnl
|
||||||
AC_ARG_WITH(gtk-prefix,[ --with-gtk-prefix=PFX Prefix where GTK is installed (optional)],
|
AC_ARG_WITH(gtk-prefix,[ --with-gtk-prefix=PFX Prefix where GTK is installed (optional)],
|
||||||
gtk_config_prefix="$withval", gtk_config_prefix="")
|
gtk_config_prefix="$withval", gtk_config_prefix="")
|
||||||
@@ -818,31 +26,31 @@ AC_ARG_ENABLE(gtktest, [ --disable-gtktest Do not try to compile and run
|
|||||||
|
|
||||||
if test x$gtk_config_exec_prefix != x ; then
|
if test x$gtk_config_exec_prefix != x ; then
|
||||||
gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
|
gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
|
||||||
if test x${GTK_CONFIG+set} != xset ; then
|
if test x${GTK_CONFIG_2_0+set} != xset ; then
|
||||||
GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
|
GTK_CONFIG_2_0=$gtk_config_exec_prefix/bin/gtk-config-2.0
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if test x$gtk_config_prefix != x ; then
|
if test x$gtk_config_prefix != x ; then
|
||||||
gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
|
gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
|
||||||
if test x${GTK_CONFIG+set} != xset ; then
|
if test x${GTK_CONFIG_2_0+set} != xset ; then
|
||||||
GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
|
GTK_CONFIG_2_0=$gtk_config_prefix/bin/gtk-config-2.0
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_PATH_PROG(GTK_CONFIG, gtk-config, no)
|
AC_PATH_PROG(GTK_CONFIG_2_0, gtk-config-2.0, no)
|
||||||
min_gtk_version=ifelse([$1], ,0.99.7,$1)
|
min_gtk_version=ifelse([$1], ,1.3.1,$1)
|
||||||
AC_MSG_CHECKING(for GTK - version >= $min_gtk_version)
|
AC_MSG_CHECKING(for GTK - version >= $min_gtk_version)
|
||||||
no_gtk=""
|
no_gtk=""
|
||||||
if test "$GTK_CONFIG" = "no" ; then
|
if test "$GTK_CONFIG_2_0" = "no" ; then
|
||||||
no_gtk=yes
|
no_gtk=yes
|
||||||
else
|
else
|
||||||
GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
|
GTK_CFLAGS=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
|
||||||
GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
|
GTK_LIBS=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
|
||||||
gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
|
gtk_config_major_version=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
|
||||||
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
|
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
|
||||||
gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
|
gtk_config_minor_version=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
|
||||||
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
|
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
|
||||||
gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
|
gtk_config_micro_version=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
|
||||||
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
|
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
|
||||||
if test "x$enable_gtktest" = "xyes" ; then
|
if test "x$enable_gtktest" = "xyes" ; then
|
||||||
ac_save_CFLAGS="$CFLAGS"
|
ac_save_CFLAGS="$CFLAGS"
|
||||||
@@ -851,7 +59,7 @@ AC_ARG_ENABLE(gtktest, [ --disable-gtktest Do not try to compile and run
|
|||||||
LIBS="$GTK_LIBS $LIBS"
|
LIBS="$GTK_LIBS $LIBS"
|
||||||
dnl
|
dnl
|
||||||
dnl Now check if the installed GTK is sufficiently new. (Also sanity
|
dnl Now check if the installed GTK is sufficiently new. (Also sanity
|
||||||
dnl checks the results of gtk-config to some extent
|
dnl checks the results of gtk-config-2.0 to some extent
|
||||||
dnl
|
dnl
|
||||||
rm -f conf.gtktest
|
rm -f conf.gtktest
|
||||||
AC_TRY_RUN([
|
AC_TRY_RUN([
|
||||||
@@ -878,16 +86,16 @@ main ()
|
|||||||
(gtk_minor_version != $gtk_config_minor_version) ||
|
(gtk_minor_version != $gtk_config_minor_version) ||
|
||||||
(gtk_micro_version != $gtk_config_micro_version))
|
(gtk_micro_version != $gtk_config_micro_version))
|
||||||
{
|
{
|
||||||
printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
|
printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
|
||||||
$gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
|
$gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
|
||||||
gtk_major_version, gtk_minor_version, gtk_micro_version);
|
gtk_major_version, gtk_minor_version, gtk_micro_version);
|
||||||
printf ("*** was found! If gtk-config was correct, then it is best\n");
|
printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
|
||||||
printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
|
printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
|
||||||
printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
|
printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
|
||||||
printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
|
printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
|
||||||
printf("*** required on your system.\n");
|
printf("*** required on your system.\n");
|
||||||
printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
|
printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
|
||||||
printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
|
printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
|
||||||
printf("*** before re-running configure\n");
|
printf("*** before re-running configure\n");
|
||||||
}
|
}
|
||||||
#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
|
#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
|
||||||
@@ -918,10 +126,10 @@ main ()
|
|||||||
printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
|
printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
|
||||||
printf("***\n");
|
printf("***\n");
|
||||||
printf("*** If you have already installed a sufficiently new version, this error\n");
|
printf("*** If you have already installed a sufficiently new version, this error\n");
|
||||||
printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
|
printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
|
||||||
printf("*** being found. The easiest way to fix this is to remove the old version\n");
|
printf("*** being found. The easiest way to fix this is to remove the old version\n");
|
||||||
printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
|
printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
|
||||||
printf("*** correct copy of gtk-config. (In this case, you will have to\n");
|
printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
|
||||||
printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
|
printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
|
||||||
printf("*** so that the correct libraries are found at run-time))\n");
|
printf("*** so that the correct libraries are found at run-time))\n");
|
||||||
}
|
}
|
||||||
@@ -934,15 +142,15 @@ main ()
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if test "x$no_gtk" = x ; then
|
if test "x$no_gtk" = x ; then
|
||||||
AC_MSG_RESULT(yes)
|
AC_MSG_RESULT(yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version))
|
||||||
ifelse([$2], , :, [$2])
|
ifelse([$2], , :, [$2])
|
||||||
else
|
else
|
||||||
AC_MSG_RESULT(no)
|
AC_MSG_RESULT(no)
|
||||||
if test "$GTK_CONFIG" = "no" ; then
|
if test "$GTK_CONFIG_2_0" = "no" ; then
|
||||||
echo "*** The gtk-config script installed by GTK could not be found"
|
echo "*** The gtk-config-2.0 script installed by GTK could not be found"
|
||||||
echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
|
echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
|
||||||
echo "*** your path, or set the GTK_CONFIG environment variable to the"
|
echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
|
||||||
echo "*** full path to gtk-config."
|
echo "*** full path to gtk-config-2.0."
|
||||||
else
|
else
|
||||||
if test -f conf.gtktest ; then
|
if test -f conf.gtktest ; then
|
||||||
:
|
:
|
||||||
@@ -971,7 +179,7 @@ main ()
|
|||||||
[ echo "*** The test program failed to compile or link. See the file config.log for the"
|
[ echo "*** The test program failed to compile or link. See the file config.log for the"
|
||||||
echo "*** exact error that occured. This usually means GTK was incorrectly installed"
|
echo "*** exact error that occured. This usually means GTK was incorrectly installed"
|
||||||
echo "*** or that you have moved GTK since it was installed. In the latter case, you"
|
echo "*** or that you have moved GTK since it was installed. In the latter case, you"
|
||||||
echo "*** may want to edit the gtk-config script: $GTK_CONFIG" ])
|
echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0" ])
|
||||||
CFLAGS="$ac_save_CFLAGS"
|
CFLAGS="$ac_save_CFLAGS"
|
||||||
LIBS="$ac_save_LIBS"
|
LIBS="$ac_save_LIBS"
|
||||||
fi
|
fi
|
||||||
@@ -984,62 +192,3 @@ main ()
|
|||||||
AC_SUBST(GTK_LIBS)
|
AC_SUBST(GTK_LIBS)
|
||||||
rm -f conf.gtktest
|
rm -f conf.gtktest
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
dnl PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not)
|
|
||||||
dnl defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page
|
|
||||||
dnl also defines GSTUFF_PKG_ERRORS on error
|
|
||||||
AC_DEFUN(PKG_CHECK_MODULES, [
|
|
||||||
succeeded=no
|
|
||||||
|
|
||||||
if test -z "$PKG_CONFIG"; then
|
|
||||||
AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test "$PKG_CONFIG" = "no" ; then
|
|
||||||
echo "*** The pkg-config script could not be found. Make sure it is"
|
|
||||||
echo "*** in your path, or set the PKG_CONFIG environment variable"
|
|
||||||
echo "*** to the full path to pkg-config."
|
|
||||||
echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
|
|
||||||
else
|
|
||||||
PKG_CONFIG_MIN_VERSION=0.9.0
|
|
||||||
if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
|
|
||||||
AC_MSG_CHECKING(for $2)
|
|
||||||
|
|
||||||
if $PKG_CONFIG --exists "$2" ; then
|
|
||||||
AC_MSG_RESULT(yes)
|
|
||||||
succeeded=yes
|
|
||||||
|
|
||||||
AC_MSG_CHECKING($1_CFLAGS)
|
|
||||||
$1_CFLAGS=`$PKG_CONFIG --cflags "$2"`
|
|
||||||
AC_MSG_RESULT($$1_CFLAGS)
|
|
||||||
|
|
||||||
AC_MSG_CHECKING($1_LIBS)
|
|
||||||
$1_LIBS=`$PKG_CONFIG --libs "$2"`
|
|
||||||
AC_MSG_RESULT($$1_LIBS)
|
|
||||||
else
|
|
||||||
$1_CFLAGS=""
|
|
||||||
$1_LIBS=""
|
|
||||||
## If we have a custom action on failure, don't print errors, but
|
|
||||||
## do set a variable so people can do so.
|
|
||||||
$1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
|
|
||||||
ifelse([$4], ,echo $$1_PKG_ERRORS,)
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_SUBST($1_CFLAGS)
|
|
||||||
AC_SUBST($1_LIBS)
|
|
||||||
else
|
|
||||||
echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
|
|
||||||
echo "*** See http://www.freedesktop.org/software/pkgconfig"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test $succeeded = yes; then
|
|
||||||
ifelse([$3], , :, [$3])
|
|
||||||
else
|
|
||||||
ifelse([$4], , AC_MSG_ERROR([Library requirements ($2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.]), [$4])
|
|
||||||
fi
|
|
||||||
])
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@@ -1,24 +0,0 @@
|
|||||||
/* XPM */
|
|
||||||
static char *addbookm_xpm[] = {
|
|
||||||
/* columns rows colors chars-per-pixel */
|
|
||||||
"16 15 3 1",
|
|
||||||
". c Black",
|
|
||||||
"X c #00C000",
|
|
||||||
" c None",
|
|
||||||
/* pixels */
|
|
||||||
" ....... ",
|
|
||||||
" .XXXXX. ",
|
|
||||||
" .. .XXXXX. ",
|
|
||||||
" .. .XXXXX. ",
|
|
||||||
" ...... .XXXXX. ",
|
|
||||||
" ...... .XXXXX. ",
|
|
||||||
" .. .XXXXX. ",
|
|
||||||
" .. .XXXXX. ",
|
|
||||||
" .XXXXX. ",
|
|
||||||
" .XXXXX. ",
|
|
||||||
" .XXXXX. ",
|
|
||||||
" .XXXXX. ",
|
|
||||||
" .XX.XX. ",
|
|
||||||
" .X. .X. ",
|
|
||||||
" .. .. "
|
|
||||||
};
|
|
21
art/back.xpm
21
art/back.xpm
@@ -1,21 +0,0 @@
|
|||||||
/* XPM */
|
|
||||||
static char * back_xpm[] = {
|
|
||||||
"16 15 3 1",
|
|
||||||
" c None",
|
|
||||||
". c Black",
|
|
||||||
"X c Gray100",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" . ",
|
|
||||||
" .. ",
|
|
||||||
" .X. ",
|
|
||||||
" .XX........ ",
|
|
||||||
" .XXXXXXXXXX. ",
|
|
||||||
" .XXXXXXXXXXX. ",
|
|
||||||
" .XXXXXXXXXXX. ",
|
|
||||||
" .XXXXXXXXXX. ",
|
|
||||||
" .XX........ ",
|
|
||||||
" .X. ",
|
|
||||||
" .. ",
|
|
||||||
" . ",
|
|
||||||
" "};
|
|
@@ -1,83 +0,0 @@
|
|||||||
/* XPM */
|
|
||||||
static char *deffile_xpm[] = {
|
|
||||||
/* columns rows colors chars-per-pixel */
|
|
||||||
"16 16 61 1",
|
|
||||||
"% c #E8E8EC",
|
|
||||||
"k c #D9D9E0",
|
|
||||||
"= c #E8E8ED",
|
|
||||||
"V c #CACAD4",
|
|
||||||
"8 c #D9D9E1",
|
|
||||||
"h c #D2D2DA",
|
|
||||||
"y c #E1E1E7",
|
|
||||||
"l c #D2D2DB",
|
|
||||||
"< c #E9E9ED",
|
|
||||||
"t c #E9E9EE",
|
|
||||||
"e c #DADAE1",
|
|
||||||
"x c #E2E2E7",
|
|
||||||
"+ c #F1F1F4",
|
|
||||||
"m c #D3D3DB",
|
|
||||||
"1 c #E2E2E8",
|
|
||||||
"C c #D3D3DC",
|
|
||||||
"$ c #EAEAEE",
|
|
||||||
"4 c #DBDBE2",
|
|
||||||
"M c #CCCCD6",
|
|
||||||
"q c #E3E3E8",
|
|
||||||
"f c #D4D4DC",
|
|
||||||
"a c #E3E3E9",
|
|
||||||
"v c #D4D4DD",
|
|
||||||
"7 c #DCDCE2",
|
|
||||||
": c #EBEBEF",
|
|
||||||
"w c #DCDCE3",
|
|
||||||
" c None",
|
|
||||||
"O c #F3F3F5",
|
|
||||||
"> c #E4E4E9",
|
|
||||||
"& c #F3F3F6",
|
|
||||||
"n c #D5D5DD",
|
|
||||||
"6 c #E4E4EA",
|
|
||||||
". c #C6C6D5",
|
|
||||||
"g c #DDDDE3",
|
|
||||||
"# c #ECECF0",
|
|
||||||
"b c #CECED7",
|
|
||||||
"j c #DDDDE4",
|
|
||||||
"B c #CECED8",
|
|
||||||
"0 c #E5E5EA",
|
|
||||||
"p c #D6D6DE",
|
|
||||||
"; c #EDEDF0",
|
|
||||||
"3 c #DEDEE4",
|
|
||||||
", c #EDEDF1",
|
|
||||||
"Z c #CFCFD8",
|
|
||||||
"u c #DEDEE5",
|
|
||||||
"o c #F5F5F7",
|
|
||||||
"c c #D7D7DE",
|
|
||||||
"- c #E6E6EB",
|
|
||||||
"r c #D7D7DF",
|
|
||||||
"A c #C8C8D3",
|
|
||||||
"s c #DFDFE5",
|
|
||||||
"@ c #EEEEF2",
|
|
||||||
"z c #D0D0D9",
|
|
||||||
"X c #9494AD",
|
|
||||||
"5 c #E7E7EB",
|
|
||||||
"i c #D8D8DF",
|
|
||||||
"9 c #E7E7EC",
|
|
||||||
"d c #D8D8E0",
|
|
||||||
"* c #EFEFF2",
|
|
||||||
"2 c #E0E0E6",
|
|
||||||
"N c #D1D1DA",
|
|
||||||
/* pixels */
|
|
||||||
" ........X ",
|
|
||||||
" .oO+@#$%XX ",
|
|
||||||
" .&+*#$=-XXX ",
|
|
||||||
" .+*;:=->XXXX ",
|
|
||||||
" .*,:<->1234X ",
|
|
||||||
" .,:<5612378X ",
|
|
||||||
" .:<90q23werX ",
|
|
||||||
" .t90qyuweipX ",
|
|
||||||
" .90ayswedpfX ",
|
|
||||||
" .-aysg4dpfhX ",
|
|
||||||
" .>ysj4kpflzX ",
|
|
||||||
" .xsj4kcvlzbX ",
|
|
||||||
" .234krnmzbMX ",
|
|
||||||
" .378rnmNBMVX ",
|
|
||||||
" .wernCNZMVAX ",
|
|
||||||
" XXXXXXXXXXXX "
|
|
||||||
};
|
|
@@ -1,24 +0,0 @@
|
|||||||
/* XPM */
|
|
||||||
static char *delbookm_xpm[] = {
|
|
||||||
/* columns rows colors chars-per-pixel */
|
|
||||||
"16 15 3 1",
|
|
||||||
". c Black",
|
|
||||||
" c None",
|
|
||||||
"X c #FF4040",
|
|
||||||
/* pixels */
|
|
||||||
" ....... ",
|
|
||||||
" .XXXXX. ",
|
|
||||||
" . . .XXXXX. ",
|
|
||||||
" .. .. .XXXXX. ",
|
|
||||||
" ... .XXXXX. ",
|
|
||||||
" . .XXXXX. ",
|
|
||||||
" ... .XXXXX. ",
|
|
||||||
" .. .. .XXXXX. ",
|
|
||||||
" . . .XXXXX. ",
|
|
||||||
" .XXXXX. ",
|
|
||||||
" .XXXXX. ",
|
|
||||||
" .XXXXX. ",
|
|
||||||
" .XX.XX. ",
|
|
||||||
" .X. .X. ",
|
|
||||||
" .. .. "
|
|
||||||
};
|
|
21
art/down.xpm
21
art/down.xpm
@@ -1,21 +0,0 @@
|
|||||||
/* XPM */
|
|
||||||
static char * down_xpm[] = {
|
|
||||||
"16 15 3 1",
|
|
||||||
" c None",
|
|
||||||
". c Black",
|
|
||||||
"X c Gray100",
|
|
||||||
" ",
|
|
||||||
" ...... ",
|
|
||||||
" .XXXX. ",
|
|
||||||
" .XXXX. ",
|
|
||||||
" .XXXX. ",
|
|
||||||
" .XXXX. ",
|
|
||||||
" .XXXX. ",
|
|
||||||
" .XXXX. ",
|
|
||||||
" ....XXXX.... ",
|
|
||||||
" .XXXXXXXX. ",
|
|
||||||
" .XXXXXX. ",
|
|
||||||
" .XXXX. ",
|
|
||||||
" .XX. ",
|
|
||||||
" .. ",
|
|
||||||
" "};
|
|
@@ -1,73 +0,0 @@
|
|||||||
/* XPM */
|
|
||||||
static char *exefile_xpm[] = {
|
|
||||||
/* columns rows colors chars-per-pixel */
|
|
||||||
"16 16 51 1",
|
|
||||||
"% c #E8E8EC",
|
|
||||||
"= c #E8E8ED",
|
|
||||||
"z c #CACAD4",
|
|
||||||
"8 c #D9D9E1",
|
|
||||||
"p c #D2D2DA",
|
|
||||||
"u c #E1E1E7",
|
|
||||||
"a c #D2D2DB",
|
|
||||||
"< c #E9E9ED",
|
|
||||||
"q c #DADAE1",
|
|
||||||
"+ c #F1F1F4",
|
|
||||||
"g c #D3D3DB",
|
|
||||||
"1 c #E2E2E8",
|
|
||||||
"x c #D3D3DC",
|
|
||||||
"5 c #00A5FF",
|
|
||||||
"$ c #EAEAEE",
|
|
||||||
"4 c #DBDBE2",
|
|
||||||
"h c #CCCCD6",
|
|
||||||
"y c #D4D4DC",
|
|
||||||
"r c #E3E3E9",
|
|
||||||
"d c #D4D4DD",
|
|
||||||
"7 c #DCDCE2",
|
|
||||||
": c #EBEBEF",
|
|
||||||
"0 c #DCDCE3",
|
|
||||||
" c None",
|
|
||||||
"O c #F3F3F5",
|
|
||||||
"> c #E4E4E9",
|
|
||||||
"& c #F3F3F6",
|
|
||||||
"j c #D5D5DD",
|
|
||||||
"6 c #E4E4EA",
|
|
||||||
". c #C6C6D5",
|
|
||||||
"# c #ECECF0",
|
|
||||||
"f c #CECED7",
|
|
||||||
"l c #CECED8",
|
|
||||||
"e c #D6D6DE",
|
|
||||||
"; c #EDEDF0",
|
|
||||||
"3 c #DEDEE4",
|
|
||||||
", c #EDEDF1",
|
|
||||||
"c c #CFCFD8",
|
|
||||||
"o c #F5F5F7",
|
|
||||||
"- c #E6E6EB",
|
|
||||||
"w c #D7D7DF",
|
|
||||||
"v c #C8C8D3",
|
|
||||||
"i c #DFDFE5",
|
|
||||||
"@ c #EEEEF2",
|
|
||||||
"s c #D0D0D9",
|
|
||||||
"X c #9494AD",
|
|
||||||
"9 c #D8D8DF",
|
|
||||||
"t c #D8D8E0",
|
|
||||||
"* c #EFEFF2",
|
|
||||||
"2 c #E0E0E6",
|
|
||||||
"k c #D1D1DA",
|
|
||||||
/* pixels */
|
|
||||||
" ........X ",
|
|
||||||
" .oO+@#$%XX ",
|
|
||||||
" .&+*#$=-XXX ",
|
|
||||||
" .+*;:=->XXXX ",
|
|
||||||
" .*,:<->1234X ",
|
|
||||||
" .,5:5612378X ",
|
|
||||||
" 5,5559530qwX ",
|
|
||||||
" 55555550q9eX ",
|
|
||||||
" 5555r5555teyX ",
|
|
||||||
" 55rui559eypX ",
|
|
||||||
" 5555i5555yasX ",
|
|
||||||
" 5555555dasfX ",
|
|
||||||
" 5355595gsfhX ",
|
|
||||||
" .3595jgklhzX ",
|
|
||||||
" .0qwjxkchzvX ",
|
|
||||||
" XXXXXXXXXXXX "
|
|
||||||
};
|
|
@@ -1,26 +0,0 @@
|
|||||||
/* XPM */
|
|
||||||
static char *fileopen_xpm[] = {
|
|
||||||
/* columns rows colors chars-per-pixel */
|
|
||||||
"16 15 5 1",
|
|
||||||
" c None",
|
|
||||||
". c Black",
|
|
||||||
"X c Yellow",
|
|
||||||
"o c Gray100",
|
|
||||||
"O c #bfbf00",
|
|
||||||
/* pixels */
|
|
||||||
" ",
|
|
||||||
" ... ",
|
|
||||||
" . . .",
|
|
||||||
" ..",
|
|
||||||
" ... ...",
|
|
||||||
" .XoX....... ",
|
|
||||||
" .oXoXoXoXo. ",
|
|
||||||
" .XoXoXoXoX. ",
|
|
||||||
" .oXoX..........",
|
|
||||||
" .XoX.OOOOOOOOO.",
|
|
||||||
" .oo.OOOOOOOOO. ",
|
|
||||||
" .X.OOOOOOOOO. ",
|
|
||||||
" ..OOOOOOOOO. ",
|
|
||||||
" ........... ",
|
|
||||||
" "
|
|
||||||
};
|
|
@@ -1,21 +0,0 @@
|
|||||||
/* XPM */
|
|
||||||
static char * forward_xpm[] = {
|
|
||||||
"16 15 3 1",
|
|
||||||
" c None",
|
|
||||||
". c Black",
|
|
||||||
"X c Gray100",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" . ",
|
|
||||||
" .. ",
|
|
||||||
" .X. ",
|
|
||||||
" ........XX. ",
|
|
||||||
" .XXXXXXXXXX. ",
|
|
||||||
" .XXXXXXXXXXX. ",
|
|
||||||
" .XXXXXXXXXXX. ",
|
|
||||||
" .XXXXXXXXXX. ",
|
|
||||||
" ........XX. ",
|
|
||||||
" .X. ",
|
|
||||||
" .. ",
|
|
||||||
" . ",
|
|
||||||
" "};
|
|
@@ -1,58 +0,0 @@
|
|||||||
/* XPM */
|
|
||||||
static char *error_xpm[] = {
|
|
||||||
/* columns rows colors chars-per-pixel */
|
|
||||||
"48 48 4 1",
|
|
||||||
" c None",
|
|
||||||
"X c #242424",
|
|
||||||
"o c #DCDF00",
|
|
||||||
". c #C00000",
|
|
||||||
/* pixels */
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ..... ",
|
|
||||||
" ............. ",
|
|
||||||
" ................. ",
|
|
||||||
" ................... ",
|
|
||||||
" ....................... ",
|
|
||||||
" ......................... ",
|
|
||||||
" ........................... ",
|
|
||||||
" ...........................X ",
|
|
||||||
" .............................X ",
|
|
||||||
" ............................... ",
|
|
||||||
" ...............................X ",
|
|
||||||
" .................................X ",
|
|
||||||
" .................................X ",
|
|
||||||
" .................................XX ",
|
|
||||||
" ...ooooooooooooooooooooooooooo...XX ",
|
|
||||||
" ....ooooooooooooooooooooooooooo....X ",
|
|
||||||
" ....ooooooooooooooooooooooooooo....X ",
|
|
||||||
" ....ooooooooooooooooooooooooooo....XX ",
|
|
||||||
" ....ooooooooooooooooooooooooooo....XX ",
|
|
||||||
" ....ooooooooooooooooooooooooooo....XX ",
|
|
||||||
" ...ooooooooooooooooooooooooooo...XXX ",
|
|
||||||
" ...ooooooooooooooooooooooooooo...XXX ",
|
|
||||||
" .................................XX ",
|
|
||||||
" .................................XX ",
|
|
||||||
" ...............................XXX ",
|
|
||||||
" ...............................XXX ",
|
|
||||||
" .............................XXX ",
|
|
||||||
" ...........................XXXX ",
|
|
||||||
" ...........................XXX ",
|
|
||||||
" .........................XXX ",
|
|
||||||
" .......................XXXX ",
|
|
||||||
" X...................XXXXX ",
|
|
||||||
" X.................XXXXX ",
|
|
||||||
" X.............XXXXX ",
|
|
||||||
" XXXX.....XXXXXXXX ",
|
|
||||||
" XXXXXXXXXXXXX ",
|
|
||||||
" XXXXX ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" "
|
|
||||||
};
|
|
@@ -1,63 +0,0 @@
|
|||||||
/* XPM */
|
|
||||||
static char *info_xpm[] = {
|
|
||||||
/* columns rows colors chars-per-pixel */
|
|
||||||
"48 48 9 1",
|
|
||||||
"$ c Black",
|
|
||||||
"O c #FFFFFF",
|
|
||||||
"@ c #808080",
|
|
||||||
"+ c #000080",
|
|
||||||
"o c #E8EB01",
|
|
||||||
" c None",
|
|
||||||
"X c #FFFF40",
|
|
||||||
"# c #C0C0C0",
|
|
||||||
". c #ABAD01",
|
|
||||||
/* pixels */
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ..... ",
|
|
||||||
" ..XXXXX.. ",
|
|
||||||
" ..XXXXXXXXo.. ",
|
|
||||||
" .XXXOXXXXXXXoo. ",
|
|
||||||
" .XOOXXX+XXXXXo. ",
|
|
||||||
" .XOOOXX+++XXXXoo. ",
|
|
||||||
" .XOOXXX+++XXXXXo. ",
|
|
||||||
" .XOOOXXX+++XXXXXXo. ",
|
|
||||||
" .XOOXXXX+++XXXXXXo. ",
|
|
||||||
" .XXXXXXX+++XXXXXXX. ",
|
|
||||||
" .XXXXXXX+++XXXXXXo. ",
|
|
||||||
" .XXXXXXX+++XXXXXoo. ",
|
|
||||||
" .XXXXXX+++XXXXXo. ",
|
|
||||||
" .XXXXXXX+XXXXXXo. ",
|
|
||||||
" .XXXXXXXXXXXXo. ",
|
|
||||||
" .XXXXX+++XXXoo. ",
|
|
||||||
" .XXXX+++XXoo. ",
|
|
||||||
" .XXXXXXXXo. ",
|
|
||||||
" ..XXXXXXo.. ",
|
|
||||||
" .XXXXXo.. ",
|
|
||||||
" @#######@ ",
|
|
||||||
" @@@@@@@@@ ",
|
|
||||||
" @#######@ ",
|
|
||||||
" @@@@@@@@@ ",
|
|
||||||
" @#######@ ",
|
|
||||||
" @@@@@@@ ",
|
|
||||||
" ### ",
|
|
||||||
" $$$ ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" "
|
|
||||||
};
|
|
@@ -1,75 +0,0 @@
|
|||||||
/* XPM */
|
|
||||||
static char *question_xpm[] = {
|
|
||||||
/* columns rows colors chars-per-pixel */
|
|
||||||
"48 48 21 1",
|
|
||||||
". c Black",
|
|
||||||
"> c #696969",
|
|
||||||
"O c #1F1F00",
|
|
||||||
"+ c #181818",
|
|
||||||
"o c #F6F900",
|
|
||||||
"; c #3F3F00",
|
|
||||||
"$ c #111111",
|
|
||||||
" c None",
|
|
||||||
"& c #202020",
|
|
||||||
"X c #AAAA00",
|
|
||||||
"@ c #949400",
|
|
||||||
": c #303030",
|
|
||||||
"1 c #383838",
|
|
||||||
"% c #2A2A00",
|
|
||||||
", c #404040",
|
|
||||||
"= c #B4B400",
|
|
||||||
"- c #484848",
|
|
||||||
"# c #151500",
|
|
||||||
"< c #9F9F00",
|
|
||||||
"2 c #6A6A00",
|
|
||||||
"* c #353500",
|
|
||||||
/* pixels */
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ......... ",
|
|
||||||
" ...XXXXXXX.. ",
|
|
||||||
" ..XXXXoooooXXXO+ ",
|
|
||||||
" ..XXooooooooooooX@.. ",
|
|
||||||
" ..XoooooooooooooooXX#. ",
|
|
||||||
" $%XoooooooooooooooooXX#. ",
|
|
||||||
" &.XoooooooXXXXXXooooooXX.. ",
|
|
||||||
" .XooooooXX.$...$XXoooooX*. ",
|
|
||||||
" $.XoooooX%.$ .*oooooo=.. ",
|
|
||||||
" .XooooooX.. -.XoooooX.. ",
|
|
||||||
" .XoooooX..+ .XoooooX;. ",
|
|
||||||
" ...XXXX..: .XoooooX;. ",
|
|
||||||
" ........ >.XoooooX;. ",
|
|
||||||
" +.XoooooX.. ",
|
|
||||||
" ,.Xoooooo<.. ",
|
|
||||||
" 1#XooooooXO.. ",
|
|
||||||
" &#XooooooX2.. ",
|
|
||||||
" $%XooooooXX.. ",
|
|
||||||
" $%XooooooXX.. ",
|
|
||||||
" $%XooooooXX.. ",
|
|
||||||
" &.XooooooXX.. ",
|
|
||||||
" .XooooooXX.. ",
|
|
||||||
" &.XoooooXX.. ",
|
|
||||||
" ..XooooXX.. ",
|
|
||||||
" ..XooooX... ",
|
|
||||||
" ..XXooXX..& ",
|
|
||||||
" ...XXXXX.. ",
|
|
||||||
" ........ ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ....... ",
|
|
||||||
" ..XXXXX.. ",
|
|
||||||
" ..XXoooXX.. ",
|
|
||||||
" ..XoooooX.. ",
|
|
||||||
" ..XoooooX.. ",
|
|
||||||
" ..XXoooXX.. ",
|
|
||||||
" ..XXXXX.. ",
|
|
||||||
" ....... ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" "
|
|
||||||
};
|
|
@@ -1,63 +0,0 @@
|
|||||||
/* XPM */
|
|
||||||
static char *warning_xpm[] = {
|
|
||||||
/* columns rows colors chars-per-pixel */
|
|
||||||
"48 48 9 1",
|
|
||||||
"@ c Black",
|
|
||||||
"o c #A6A800",
|
|
||||||
"+ c #8A8C00",
|
|
||||||
"$ c #B8BA00",
|
|
||||||
" c None",
|
|
||||||
"O c #6E7000",
|
|
||||||
"X c #DCDF00",
|
|
||||||
". c #C00000",
|
|
||||||
"# c #373800",
|
|
||||||
/* pixels */
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" . ",
|
|
||||||
" ... ",
|
|
||||||
" ... ",
|
|
||||||
" ..... ",
|
|
||||||
" ...X.. ",
|
|
||||||
" ..XXX.. ",
|
|
||||||
" ...XXX... ",
|
|
||||||
" ..XXXXX.. ",
|
|
||||||
" ..XXXXXX... ",
|
|
||||||
" ...XXoO+XX.. ",
|
|
||||||
" ..XXXO@#XXX.. ",
|
|
||||||
" ..XXXXO@#XXX... ",
|
|
||||||
" ...XXXXO@#XXXX.. ",
|
|
||||||
" ..XXXXXO@#XXXX... ",
|
|
||||||
" ...XXXXXo@OXXXXX.. ",
|
|
||||||
" ...XXXXXXo@OXXXXXX.. ",
|
|
||||||
" ..XXXXXXX$@OXXXXXX... ",
|
|
||||||
" ...XXXXXXXX@XXXXXXXX.. ",
|
|
||||||
" ...XXXXXXXXXXXXXXXXXX... ",
|
|
||||||
" ..XXXXXXXXXXOXXXXXXXXX.. ",
|
|
||||||
" ...XXXXXXXXXO@#XXXXXXXXX.. ",
|
|
||||||
" ..XXXXXXXXXXX#XXXXXXXXXX... ",
|
|
||||||
" ...XXXXXXXXXXXXXXXXXXXXXXX.. ",
|
|
||||||
" ...XXXXXXXXXXXXXXXXXXXXXXXX... ",
|
|
||||||
" .............................. ",
|
|
||||||
" .............................. ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" "
|
|
||||||
};
|
|
@@ -1,44 +0,0 @@
|
|||||||
/* XPM */
|
|
||||||
static char *helpicon_xpm[] = {
|
|
||||||
/* columns rows colors chars-per-pixel */
|
|
||||||
"32 32 6 1",
|
|
||||||
" c Gray0",
|
|
||||||
". c Blue",
|
|
||||||
"X c #808080808080",
|
|
||||||
"o c #c0c0c0c0c0c0",
|
|
||||||
"O c Gray100",
|
|
||||||
"+ c None",
|
|
||||||
/* pixels */
|
|
||||||
"+++++++++++XXXXXXXX+++++++++++++",
|
|
||||||
"++++++++XXXoOOOOOOoXXX++++++++++",
|
|
||||||
"++++++XXoOOOOOOOOOOOOoXX++++++++",
|
|
||||||
"+++++XoOOOOOOOOOOOOOOOOoX+++++++",
|
|
||||||
"++++XOOOOOOOOOOOOOOOOOOOO ++++++",
|
|
||||||
"+++XOOOOOOOo......oOOOOOOO +++++",
|
|
||||||
"++XOOOOOOOo.oOO....oOOOOOOO ++++",
|
|
||||||
"+XoOOOOOOO..OOOO....OOOOOOOo +++",
|
|
||||||
"+XOOOOOOOO....OO....OOOOOOOO X++",
|
|
||||||
"XoOOOOOOOO....Oo....OOOOOOOOo X+",
|
|
||||||
"XOOOOOOOOOo..oO....OOOOOOOOOO X+",
|
|
||||||
"XOOOOOOOOOOOOOo...OOOOOOOOOOO XX",
|
|
||||||
"XOOOOOOOOOOOOO...OOOOOOOOOOOO XX",
|
|
||||||
"XOOOOOOOOOOOOO..oOOOOOOOOOOOO XX",
|
|
||||||
"XOOOOOOOOOOOOO..OOOOOOOOOOOOO XX",
|
|
||||||
"XoOOOOOOOOOOOOOOOOOOOOOOOOOOo XX",
|
|
||||||
"+XOOOOOOOOOOOo..oOOOOOOOOOOO XXX",
|
|
||||||
"+XoOOOOOOOOOO....OOOOOOOOOOo XXX",
|
|
||||||
"++XOOOOOOOOOO....OOOOOOOOOO XXX+",
|
|
||||||
"+++ OOOOOOOOOo..oOOOOOOOOO XXXX+",
|
|
||||||
"++++ OOOOOOOOOOOOOOOOOOOO XXXX++",
|
|
||||||
"+++++ oOOOOOOOOOOOOOOOOo XXXX+++",
|
|
||||||
"++++++ oOOOOOOOOOOOOo XXXX++++",
|
|
||||||
"+++++++X oOOOOOOo XXXXX+++++",
|
|
||||||
"++++++++XXX oOOO XXXXXXX++++++",
|
|
||||||
"++++++++++XXXX OOO XXXXX++++++++",
|
|
||||||
"+++++++++++++X OOO XX+++++++++++",
|
|
||||||
"+++++++++++++++ OO XX+++++++++++",
|
|
||||||
"++++++++++++++++ O XX+++++++++++",
|
|
||||||
"+++++++++++++++++ XX+++++++++++",
|
|
||||||
"++++++++++++++++++XXX+++++++++++",
|
|
||||||
"+++++++++++++++++++XX+++++++++++"
|
|
||||||
};
|
|
24
art/home.xpm
24
art/home.xpm
@@ -1,24 +0,0 @@
|
|||||||
/* XPM */
|
|
||||||
static char *home_xpm[] = {
|
|
||||||
/* columns rows colors chars-per-pixel */
|
|
||||||
"16 15 3 1",
|
|
||||||
". c Black",
|
|
||||||
"X c #FFFFFF",
|
|
||||||
" c None",
|
|
||||||
/* pixels */
|
|
||||||
" .... ",
|
|
||||||
" .XXXX. ",
|
|
||||||
" .XXXXXX. ",
|
|
||||||
" .XXXXXXXX. ",
|
|
||||||
" .XXXXXXXXXX. ",
|
|
||||||
" .............. ",
|
|
||||||
" .XXXXXXXXXXXX. ",
|
|
||||||
" .XXXXXXXXXXXX. ",
|
|
||||||
" .XXXXXXXXXXXX. ",
|
|
||||||
" .X.....X....X. ",
|
|
||||||
" .X. .X. .X. ",
|
|
||||||
" .X. .X. .X. ",
|
|
||||||
" .X.....X. .X. ",
|
|
||||||
" .XXXXXXX. .X. ",
|
|
||||||
" ......... ... "
|
|
||||||
};
|
|
@@ -1,25 +0,0 @@
|
|||||||
/* XPM */
|
|
||||||
static char * htmbook_xpm[] = {
|
|
||||||
"16 16 6 1",
|
|
||||||
" c None",
|
|
||||||
". c Black",
|
|
||||||
"X c #000080",
|
|
||||||
"o c #c0c0c0",
|
|
||||||
"O c #808080",
|
|
||||||
"+ c Gray100",
|
|
||||||
" ",
|
|
||||||
" .. ",
|
|
||||||
" ..XX. ",
|
|
||||||
" ..XXXXX. ",
|
|
||||||
" ..XXXXXXXX. ",
|
|
||||||
".oXXXXXXXXXX. ",
|
|
||||||
".XoXXXXXXXXXX. ",
|
|
||||||
".XXoXXXXXXXXXX. ",
|
|
||||||
".XXXoXXXXXXXXX..",
|
|
||||||
".XXXXoXXXXXX..O ",
|
|
||||||
" .XXXXoXXX..O+O ",
|
|
||||||
" .XXXXo..O++o..",
|
|
||||||
" .XXX.O+++o.. ",
|
|
||||||
" .XX.o+o.. ",
|
|
||||||
" .X.o.. ",
|
|
||||||
" ... "};
|
|
@@ -1,25 +0,0 @@
|
|||||||
/* XPM */
|
|
||||||
static char * htmfoldr_xpm[] = {
|
|
||||||
"16 16 6 1",
|
|
||||||
" c None",
|
|
||||||
". c Black",
|
|
||||||
"X c #000080",
|
|
||||||
"o c #c0c0c0",
|
|
||||||
"O c #808080",
|
|
||||||
"+ c Gray100",
|
|
||||||
" ",
|
|
||||||
" .. ",
|
|
||||||
" ..XX. ",
|
|
||||||
" ..XXXXX. ",
|
|
||||||
" ..XXXXXXXX. ",
|
|
||||||
".oXXXXXXXXXX. ",
|
|
||||||
".XoXXXXXXXXXX. ",
|
|
||||||
".XXoXXXXXXXXXX. ",
|
|
||||||
".XXXoXXXXXXXXX..",
|
|
||||||
".XXXXoXXXXXX..O ",
|
|
||||||
" .XXXXoXXX..O+O ",
|
|
||||||
" .XXXXo..O++o..",
|
|
||||||
" .XXX.O+++o.. ",
|
|
||||||
" .XX.o+o.. ",
|
|
||||||
" .X.o.. ",
|
|
||||||
" ... "};
|
|
@@ -1,20 +0,0 @@
|
|||||||
/* XPM */
|
|
||||||
static char * htmoptns_xpm[] = {
|
|
||||||
"16 15 2 1",
|
|
||||||
" c None",
|
|
||||||
". c #000000",
|
|
||||||
" ",
|
|
||||||
" .. ",
|
|
||||||
" ... ",
|
|
||||||
" .... ",
|
|
||||||
" . ... ",
|
|
||||||
" .. ... ",
|
|
||||||
" . .. ",
|
|
||||||
" .. ... ",
|
|
||||||
" . .. ",
|
|
||||||
" ......... ",
|
|
||||||
" .. ... ",
|
|
||||||
" . ... ",
|
|
||||||
" .. ... ",
|
|
||||||
" .... ....... ",
|
|
||||||
" "};
|
|
@@ -1,23 +0,0 @@
|
|||||||
/* XPM */
|
|
||||||
static char * htmpage_xpm[] = {
|
|
||||||
"16 16 4 1",
|
|
||||||
" c None",
|
|
||||||
". c #808080",
|
|
||||||
"X c Gray100",
|
|
||||||
"o c Black",
|
|
||||||
" ",
|
|
||||||
" .......... ",
|
|
||||||
" .XXXXXXXX.. ",
|
|
||||||
" .XXXXXXXXooo ",
|
|
||||||
" .X......XXXo ",
|
|
||||||
" .XXXXXXXXXXo ",
|
|
||||||
" .X........Xo ",
|
|
||||||
" .XXXXXXXXXXo ",
|
|
||||||
" .X........Xo ",
|
|
||||||
" .XXXXXXXXXXo ",
|
|
||||||
" .X........Xo ",
|
|
||||||
" .XXXXXXXXXXo ",
|
|
||||||
" .X........Xo ",
|
|
||||||
" .XXXXXXXXXXo ",
|
|
||||||
" .XXXXXXXXXXo ",
|
|
||||||
" oooooooooooo "};
|
|
@@ -1,28 +0,0 @@
|
|||||||
/* XPM */
|
|
||||||
static char *htmsidep_xpm[] = {
|
|
||||||
/* columns rows colors chars-per-pixel */
|
|
||||||
"16 16 6 1",
|
|
||||||
". c Black",
|
|
||||||
"X c #FFFFFF",
|
|
||||||
"+ c #808080",
|
|
||||||
" c None",
|
|
||||||
"O c #0000C0",
|
|
||||||
"o c #C0C0C0",
|
|
||||||
/* pixels */
|
|
||||||
" ",
|
|
||||||
" .............. ",
|
|
||||||
" .XXXX.ooooooo. ",
|
|
||||||
" .XOXX.oo...oo. ",
|
|
||||||
" .XXOX.ooooooo. ",
|
|
||||||
" .OOOO.o...+.o. ",
|
|
||||||
" .XXOX.ooooooo. ",
|
|
||||||
" .XOXX.ooooooo. ",
|
|
||||||
" .XXXX.o..+ooo. ",
|
|
||||||
" .XXOX.ooooooo. ",
|
|
||||||
" .XOXX.o...+.o. ",
|
|
||||||
" .OOOO.ooooooo. ",
|
|
||||||
" .XOXX.o.+...o. ",
|
|
||||||
" .XXOX.ooooooo. ",
|
|
||||||
" .............. ",
|
|
||||||
" "
|
|
||||||
};
|
|
@@ -1,26 +0,0 @@
|
|||||||
/* XPM */
|
|
||||||
static char *listview_xpm[] = {
|
|
||||||
/* columns rows colors chars-per-pixel */
|
|
||||||
"16 16 4 1",
|
|
||||||
" c Black",
|
|
||||||
". c #FFFFFF",
|
|
||||||
"X c #000084",
|
|
||||||
"o c #848484",
|
|
||||||
/* pixels */
|
|
||||||
" ",
|
|
||||||
" .............. ",
|
|
||||||
" .XXX.......... ",
|
|
||||||
" .XXX. o o . ",
|
|
||||||
" .XXX.......... ",
|
|
||||||
" .............. ",
|
|
||||||
" .............. ",
|
|
||||||
" .XXX.......... ",
|
|
||||||
" .XXX. o . ",
|
|
||||||
" .XXX.......... ",
|
|
||||||
" .............. ",
|
|
||||||
" .............. ",
|
|
||||||
" .XXX.......... ",
|
|
||||||
" .XXX. o o . ",
|
|
||||||
" .XXX.......... ",
|
|
||||||
" "
|
|
||||||
};
|
|
@@ -1,58 +0,0 @@
|
|||||||
/* XPM */
|
|
||||||
static char *error_xpm[] = {
|
|
||||||
/* columns rows colors chars-per-pixel */
|
|
||||||
"48 48 4 1",
|
|
||||||
" c None",
|
|
||||||
"X c #242424",
|
|
||||||
"o c #DCDF00",
|
|
||||||
". c #C00000",
|
|
||||||
/* pixels */
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ..... ",
|
|
||||||
" ............. ",
|
|
||||||
" ................. ",
|
|
||||||
" ................... ",
|
|
||||||
" ....................... ",
|
|
||||||
" ......................... ",
|
|
||||||
" ........................... ",
|
|
||||||
" ...........................X ",
|
|
||||||
" .............................X ",
|
|
||||||
" ............................... ",
|
|
||||||
" ...............................X ",
|
|
||||||
" .................................X ",
|
|
||||||
" .................................X ",
|
|
||||||
" .................................XX ",
|
|
||||||
" ...ooooooooooooooooooooooooooo...XX ",
|
|
||||||
" ....ooooooooooooooooooooooooooo....X ",
|
|
||||||
" ....ooooooooooooooooooooooooooo....X ",
|
|
||||||
" ....ooooooooooooooooooooooooooo....XX ",
|
|
||||||
" ....ooooooooooooooooooooooooooo....XX ",
|
|
||||||
" ....ooooooooooooooooooooooooooo....XX ",
|
|
||||||
" ...ooooooooooooooooooooooooooo...XXX ",
|
|
||||||
" ...ooooooooooooooooooooooooooo...XXX ",
|
|
||||||
" .................................XX ",
|
|
||||||
" .................................XX ",
|
|
||||||
" ...............................XXX ",
|
|
||||||
" ...............................XXX ",
|
|
||||||
" .............................XXX ",
|
|
||||||
" ...........................XXXX ",
|
|
||||||
" ...........................XXX ",
|
|
||||||
" .........................XXX ",
|
|
||||||
" .......................XXXX ",
|
|
||||||
" X...................XXXXX ",
|
|
||||||
" X.................XXXXX ",
|
|
||||||
" X.............XXXXX ",
|
|
||||||
" XXXX.....XXXXXXXX ",
|
|
||||||
" XXXXXXXXXXXXX ",
|
|
||||||
" XXXXX ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" "
|
|
||||||
};
|
|
@@ -1,63 +0,0 @@
|
|||||||
/* XPM */
|
|
||||||
static char *info_xpm[] = {
|
|
||||||
/* columns rows colors chars-per-pixel */
|
|
||||||
"48 48 9 1",
|
|
||||||
"$ c Black",
|
|
||||||
"O c #FFFFFF",
|
|
||||||
"@ c #808080",
|
|
||||||
"+ c #000080",
|
|
||||||
"o c #E8EB01",
|
|
||||||
" c None",
|
|
||||||
"X c #FFFF40",
|
|
||||||
"# c #C0C0C0",
|
|
||||||
". c #ABAD01",
|
|
||||||
/* pixels */
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ..... ",
|
|
||||||
" ..XXXXX.. ",
|
|
||||||
" ..XXXXXXXXo.. ",
|
|
||||||
" .XXXOXXXXXXXoo. ",
|
|
||||||
" .XOOXXX+XXXXXo. ",
|
|
||||||
" .XOOOXX+++XXXXoo. ",
|
|
||||||
" .XOOXXX+++XXXXXo. ",
|
|
||||||
" .XOOOXXX+++XXXXXXo. ",
|
|
||||||
" .XOOXXXX+++XXXXXXo. ",
|
|
||||||
" .XXXXXXX+++XXXXXXX. ",
|
|
||||||
" .XXXXXXX+++XXXXXXo. ",
|
|
||||||
" .XXXXXXX+++XXXXXoo. ",
|
|
||||||
" .XXXXXX+++XXXXXo. ",
|
|
||||||
" .XXXXXXX+XXXXXXo. ",
|
|
||||||
" .XXXXXXXXXXXXo. ",
|
|
||||||
" .XXXXX+++XXXoo. ",
|
|
||||||
" .XXXX+++XXoo. ",
|
|
||||||
" .XXXXXXXXo. ",
|
|
||||||
" ..XXXXXXo.. ",
|
|
||||||
" .XXXXXo.. ",
|
|
||||||
" @#######@ ",
|
|
||||||
" @@@@@@@@@ ",
|
|
||||||
" @#######@ ",
|
|
||||||
" @@@@@@@@@ ",
|
|
||||||
" @#######@ ",
|
|
||||||
" @@@@@@@ ",
|
|
||||||
" ### ",
|
|
||||||
" $$$ ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" "
|
|
||||||
};
|
|
@@ -1,75 +0,0 @@
|
|||||||
/* XPM */
|
|
||||||
static char *question_xpm[] = {
|
|
||||||
/* columns rows colors chars-per-pixel */
|
|
||||||
"48 48 21 1",
|
|
||||||
". c Black",
|
|
||||||
"> c #696969",
|
|
||||||
"O c #1F1F00",
|
|
||||||
"+ c #181818",
|
|
||||||
"o c #F6F900",
|
|
||||||
"; c #3F3F00",
|
|
||||||
"$ c #111111",
|
|
||||||
" c None",
|
|
||||||
"& c #202020",
|
|
||||||
"X c #AAAA00",
|
|
||||||
"@ c #949400",
|
|
||||||
": c #303030",
|
|
||||||
"1 c #383838",
|
|
||||||
"% c #2A2A00",
|
|
||||||
", c #404040",
|
|
||||||
"= c #B4B400",
|
|
||||||
"- c #484848",
|
|
||||||
"# c #151500",
|
|
||||||
"< c #9F9F00",
|
|
||||||
"2 c #6A6A00",
|
|
||||||
"* c #353500",
|
|
||||||
/* pixels */
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ......... ",
|
|
||||||
" ...XXXXXXX.. ",
|
|
||||||
" ..XXXXoooooXXXO+ ",
|
|
||||||
" ..XXooooooooooooX@.. ",
|
|
||||||
" ..XoooooooooooooooXX#. ",
|
|
||||||
" $%XoooooooooooooooooXX#. ",
|
|
||||||
" &.XoooooooXXXXXXooooooXX.. ",
|
|
||||||
" .XooooooXX.$...$XXoooooX*. ",
|
|
||||||
" $.XoooooX%.$ .*oooooo=.. ",
|
|
||||||
" .XooooooX.. -.XoooooX.. ",
|
|
||||||
" .XoooooX..+ .XoooooX;. ",
|
|
||||||
" ...XXXX..: .XoooooX;. ",
|
|
||||||
" ........ >.XoooooX;. ",
|
|
||||||
" +.XoooooX.. ",
|
|
||||||
" ,.Xoooooo<.. ",
|
|
||||||
" 1#XooooooXO.. ",
|
|
||||||
" &#XooooooX2.. ",
|
|
||||||
" $%XooooooXX.. ",
|
|
||||||
" $%XooooooXX.. ",
|
|
||||||
" $%XooooooXX.. ",
|
|
||||||
" &.XooooooXX.. ",
|
|
||||||
" .XooooooXX.. ",
|
|
||||||
" &.XoooooXX.. ",
|
|
||||||
" ..XooooXX.. ",
|
|
||||||
" ..XooooX... ",
|
|
||||||
" ..XXooXX..& ",
|
|
||||||
" ...XXXXX.. ",
|
|
||||||
" ........ ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ....... ",
|
|
||||||
" ..XXXXX.. ",
|
|
||||||
" ..XXoooXX.. ",
|
|
||||||
" ..XoooooX.. ",
|
|
||||||
" ..XoooooX.. ",
|
|
||||||
" ..XXoooXX.. ",
|
|
||||||
" ..XXXXX.. ",
|
|
||||||
" ....... ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" "
|
|
||||||
};
|
|
@@ -1,63 +0,0 @@
|
|||||||
/* XPM */
|
|
||||||
static char *warning_xpm[] = {
|
|
||||||
/* columns rows colors chars-per-pixel */
|
|
||||||
"48 48 9 1",
|
|
||||||
"@ c Black",
|
|
||||||
"o c #A6A800",
|
|
||||||
"+ c #8A8C00",
|
|
||||||
"$ c #B8BA00",
|
|
||||||
" c None",
|
|
||||||
"O c #6E7000",
|
|
||||||
"X c #DCDF00",
|
|
||||||
". c #C00000",
|
|
||||||
"# c #373800",
|
|
||||||
/* pixels */
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" . ",
|
|
||||||
" ... ",
|
|
||||||
" ... ",
|
|
||||||
" ..... ",
|
|
||||||
" ...X.. ",
|
|
||||||
" ..XXX.. ",
|
|
||||||
" ...XXX... ",
|
|
||||||
" ..XXXXX.. ",
|
|
||||||
" ..XXXXXX... ",
|
|
||||||
" ...XXoO+XX.. ",
|
|
||||||
" ..XXXO@#XXX.. ",
|
|
||||||
" ..XXXXO@#XXX... ",
|
|
||||||
" ...XXXXO@#XXXX.. ",
|
|
||||||
" ..XXXXXO@#XXXX... ",
|
|
||||||
" ...XXXXXo@OXXXXX.. ",
|
|
||||||
" ...XXXXXXo@OXXXXXX.. ",
|
|
||||||
" ..XXXXXXX$@OXXXXXX... ",
|
|
||||||
" ...XXXXXXXX@XXXXXXXX.. ",
|
|
||||||
" ...XXXXXXXXXXXXXXXXXX... ",
|
|
||||||
" ..XXXXXXXXXXOXXXXXXXXX.. ",
|
|
||||||
" ...XXXXXXXXXO@#XXXXXXXXX.. ",
|
|
||||||
" ..XXXXXXXXXXX#XXXXXXXXXX... ",
|
|
||||||
" ...XXXXXXXXXXXXXXXXXXXXXXX.. ",
|
|
||||||
" ...XXXXXXXXXXXXXXXXXXXXXXXX... ",
|
|
||||||
" .............................. ",
|
|
||||||
" .............................. ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" "
|
|
||||||
};
|
|
@@ -1,26 +0,0 @@
|
|||||||
/* XPM */
|
|
||||||
static char *print_xpm[] = {
|
|
||||||
/* columns rows colors chars-per-pixel */
|
|
||||||
"16 15 5 1",
|
|
||||||
" c None",
|
|
||||||
". c Black",
|
|
||||||
"X c Gray100",
|
|
||||||
"o c #808000",
|
|
||||||
"O c Yellow",
|
|
||||||
/* pixels */
|
|
||||||
" ",
|
|
||||||
" ......... ",
|
|
||||||
" .XXXXXXXX. ",
|
|
||||||
" .X.....X. ",
|
|
||||||
" .XXXXXXXX. ",
|
|
||||||
" .X.....X.... ",
|
|
||||||
" .XXXXXXXX. . .",
|
|
||||||
" .......... . ..",
|
|
||||||
". . . .",
|
|
||||||
"............. .",
|
|
||||||
". ooo . . ",
|
|
||||||
". OOO ... ",
|
|
||||||
"............. . ",
|
|
||||||
" . . . ",
|
|
||||||
" ........... "
|
|
||||||
};
|
|
18
art/tick.xpm
18
art/tick.xpm
@@ -1,18 +0,0 @@
|
|||||||
/* XPM */
|
|
||||||
static char *tick_xpm[] = {
|
|
||||||
/* columns rows colors chars-per-pixel */
|
|
||||||
"10 10 2 1",
|
|
||||||
". c Gray0",
|
|
||||||
" c None",
|
|
||||||
/* pixels */
|
|
||||||
" ",
|
|
||||||
" ..",
|
|
||||||
" ...",
|
|
||||||
" ... ",
|
|
||||||
".. ... ",
|
|
||||||
"... ... ",
|
|
||||||
" ..... ",
|
|
||||||
" ... ",
|
|
||||||
" . ",
|
|
||||||
" ",
|
|
||||||
};
|
|
@@ -1,45 +0,0 @@
|
|||||||
/* XPM */
|
|
||||||
static char *tipicon_xpm[] = {
|
|
||||||
/* columns rows colors chars-per-pixel */
|
|
||||||
"32 32 7 1",
|
|
||||||
" c Gray0",
|
|
||||||
". c Cyan",
|
|
||||||
"X c Yellow",
|
|
||||||
"o c #808080808080",
|
|
||||||
"O c #c0c0c0c0c0c0",
|
|
||||||
"+ c Gray100",
|
|
||||||
"@ c None",
|
|
||||||
/* pixels */
|
|
||||||
"@@@@@@@@@@@@ @@@@@@@@@@@@@@",
|
|
||||||
"@@@@@@@@@@ XXXXXX @@@@@@@@@@@@",
|
|
||||||
"@@@@@@@@@ XXXXXXXXXX @@@@@@@@@@@",
|
|
||||||
"@@@@@@@@@ XXXXXXXXXX @@@@@@@@@@@",
|
|
||||||
"@@@@@@@@ XXXXX XXXXX @@@@@@@@@@",
|
|
||||||
"@@@@@@@ XXXXXX XXXXXX @@@@@@@@@",
|
|
||||||
"@@@@@@@ XXXXXX XXXXXX @@@@@@@@@",
|
|
||||||
"@@@@@@@ XXXXXX XXXXXX @@@@@@@@@",
|
|
||||||
"@@@@@@@ XXXXXX XXXXXX @@@@@@@@@",
|
|
||||||
"@@@@@@@ XXXXXX XXXXXX @@@@@@@@@",
|
|
||||||
"@@@@@@@@ XXXXX XXXXX @@@@@@@@@",
|
|
||||||
"@@@@@@@@oXXXXXXXXXXXX @@@@@@@@@@",
|
|
||||||
"@@@@@@@o+ XXXX XXXX o@@@@@@@@@@",
|
|
||||||
"@@@@@@o++ XXXX XXXX +o@@@@@@@@@",
|
|
||||||
"@@@@@o++++ XXX XXX +++o@@@@@@@@",
|
|
||||||
"@@@@o++.+.+ XXXXXX .+..+o@@@@@@@",
|
|
||||||
"@@@o++++++++ XXXX +++++++o@@@@@@",
|
|
||||||
"@@ +..+.+.+. oooo +.+..+.+ @@@@@",
|
|
||||||
"@@@ ++++++++ OOOO +++++++ @@@@@@",
|
|
||||||
"@@@@ ++.+.+. oooo +.+..+ @@@@@@@",
|
|
||||||
"@@@oo ++++++ OO +++++ oo@@@@@@",
|
|
||||||
"@@@ooo ++.+.+ ++.++ ooo@@@@@@",
|
|
||||||
"@@@@ooo +.+.+ ++.+ ooo@@@@@@@",
|
|
||||||
"@@@@@ooo +++++++++++ ooo@@@@@@@@",
|
|
||||||
"@@@@@@ooo +.+.+.+.+ ooo@@@@@@@@@",
|
|
||||||
"@@@@@@@ooo +++++++ ooo@@@@@@@@@@",
|
|
||||||
"@@@@@@@@ooo +.+.+ ooo@@@@@@@@@@@",
|
|
||||||
"@@@@@@@@@ooo +++ ooo@@@@@@@@@@@@",
|
|
||||||
"@@@@@@@@@@ooo + ooo@@@@@@@@@@@@@",
|
|
||||||
"@@@@@@@@@@@ooo ooo@@@@@@@@@@@@@@",
|
|
||||||
"@@@@@@@@@@@@ooooo@@@@@@@@@@@@@@@",
|
|
||||||
"@@@@@@@@@@@@@ooo@@@@@@@@@@@@@@@@"
|
|
||||||
};
|
|
@@ -1,21 +0,0 @@
|
|||||||
/* XPM */
|
|
||||||
static char * toparent_xpm[] = {
|
|
||||||
"16 15 3 1",
|
|
||||||
" c None",
|
|
||||||
". c Black",
|
|
||||||
"X c Gray100",
|
|
||||||
" ",
|
|
||||||
" .. ",
|
|
||||||
" .XX. ",
|
|
||||||
" .XXXX. ",
|
|
||||||
" .XXXXXX. ",
|
|
||||||
" .XXXXXXXX. ",
|
|
||||||
" ....XXXX.... ",
|
|
||||||
" .XXXX. ",
|
|
||||||
" .XXXX..... ",
|
|
||||||
" .XXXXXXXX. ",
|
|
||||||
" .XXXXXXXX. ",
|
|
||||||
" .XXXXXXXX. ",
|
|
||||||
" .XXXXXXXX. ",
|
|
||||||
" .......... ",
|
|
||||||
" "};
|
|
21
art/up.xpm
21
art/up.xpm
@@ -1,21 +0,0 @@
|
|||||||
/* XPM */
|
|
||||||
static char * up_xpm[] = {
|
|
||||||
"16 15 3 1",
|
|
||||||
" c None",
|
|
||||||
". c Black",
|
|
||||||
"X c Gray100",
|
|
||||||
" ",
|
|
||||||
" .. ",
|
|
||||||
" .XX. ",
|
|
||||||
" .XXXX. ",
|
|
||||||
" .XXXXXX. ",
|
|
||||||
" .XXXXXXXX. ",
|
|
||||||
" ....XXXX.... ",
|
|
||||||
" .XXXX. ",
|
|
||||||
" .XXXX. ",
|
|
||||||
" .XXXX. ",
|
|
||||||
" .XXXX. ",
|
|
||||||
" .XXXX. ",
|
|
||||||
" .XXXX. ",
|
|
||||||
" ...... ",
|
|
||||||
" "};
|
|
BIN
art/wxwin.ico
BIN
art/wxwin.ico
Binary file not shown.
Before Width: | Height: | Size: 1.1 KiB |
Binary file not shown.
Before Width: | Height: | Size: 1.2 KiB |
@@ -1,25 +0,0 @@
|
|||||||
/* XPM */
|
|
||||||
static char *wxwin16x16_xpm[] = {
|
|
||||||
"16 16 6 1",
|
|
||||||
" c None",
|
|
||||||
". c #000000",
|
|
||||||
"X c #000084",
|
|
||||||
"o c #FFFFFF",
|
|
||||||
"O c #FFFF00",
|
|
||||||
"+ c #FF0000",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ....... ",
|
|
||||||
" .XXXXX. ",
|
|
||||||
" .oXXXX. ",
|
|
||||||
" .oXXX.......",
|
|
||||||
".....oXXX.OOOOO.",
|
|
||||||
".+++.XXXX.oOOOO.",
|
|
||||||
".o++......oOOOO.",
|
|
||||||
".o++++. .oOOOO.",
|
|
||||||
".o++++. .OOOOO.",
|
|
||||||
".+++++. .......",
|
|
||||||
"....... ",
|
|
||||||
" ",
|
|
||||||
" "};
|
|
Binary file not shown.
Before Width: | Height: | Size: 1.2 KiB |
@@ -1,41 +0,0 @@
|
|||||||
/* XPM */
|
|
||||||
static char *wxwin32x32_xpm[] = {
|
|
||||||
"32 32 6 1",
|
|
||||||
" c None",
|
|
||||||
". c #000000",
|
|
||||||
"X c #000084",
|
|
||||||
"o c #FFFFFF",
|
|
||||||
"O c #FFFF00",
|
|
||||||
"+ c #FF0000",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" .............. ",
|
|
||||||
" .XXXXXXXXXXXX. ",
|
|
||||||
" .XXXXXXXXXXXX. ",
|
|
||||||
" .XooXXXXXXXXX. ",
|
|
||||||
" .XooXXXXXXXXX. ",
|
|
||||||
" .XooXXXXXXXXX. ",
|
|
||||||
" .XooXXXXXX..............",
|
|
||||||
" .XooXXXXXX.OOOOOOOOOOOO.",
|
|
||||||
".........XooXXXXXX.OOOOOOOOOOOO.",
|
|
||||||
".+++++++.XooXXXXXX.OooOOOOOOOOO.",
|
|
||||||
".+++++++.XooXXXXXX.OooOOOOOOOOO.",
|
|
||||||
".+oo++++.XXXXXXXXX.OooOOOOOOOOO.",
|
|
||||||
".+oo++++.XXXXXXXXX.OooOOOOOOOOO.",
|
|
||||||
".+oo++++...........OooOOOOOOOOO.",
|
|
||||||
".+oo+++++++++. .OooOOOOOOOOO.",
|
|
||||||
".+oo+++++++++. .OooOOOOOOOOO.",
|
|
||||||
".+oo+++++++++. .OooOOOOOOOOO.",
|
|
||||||
".+oo+++++++++. .OOOOOOOOOOOO.",
|
|
||||||
".+oo+++++++++. .OOOOOOOOOOOO.",
|
|
||||||
".++++++++++++. ..............",
|
|
||||||
".++++++++++++. ",
|
|
||||||
".............. ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" "};
|
|
1056
config.guess
vendored
1056
config.guess
vendored
File diff suppressed because it is too large
Load Diff
491
config.sub
vendored
491
config.sub
vendored
@@ -1,9 +1,9 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# Configuration validation subroutine script.
|
# Configuration validation subroutine script, version 1.1.
|
||||||
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000
|
||||||
# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
||||||
|
|
||||||
timestamp='2004-03-12'
|
version='2000-11-04'
|
||||||
|
|
||||||
# This file is (in principle) common to ALL GNU software.
|
# This file is (in principle) common to ALL GNU software.
|
||||||
# The presence of a machine in this file suggests that SOME GNU software
|
# The presence of a machine in this file suggests that SOME GNU software
|
||||||
@@ -29,8 +29,7 @@ timestamp='2004-03-12'
|
|||||||
# configuration script generated by Autoconf, you may include it under
|
# configuration script generated by Autoconf, you may include it under
|
||||||
# the same distribution terms that you use for the rest of that program.
|
# the same distribution terms that you use for the rest of that program.
|
||||||
|
|
||||||
# Please send patches to <config-patches@gnu.org>. Submit a context
|
# Please send patches to <config-patches@gnu.org>.
|
||||||
# diff and a properly formatted ChangeLog entry.
|
|
||||||
#
|
#
|
||||||
# Configuration subroutine to validate and canonicalize a configuration type.
|
# Configuration subroutine to validate and canonicalize a configuration type.
|
||||||
# Supply the specified configuration type as an argument.
|
# Supply the specified configuration type as an argument.
|
||||||
@@ -61,30 +60,16 @@ Usage: $0 [OPTION] CPU-MFR-OPSYS
|
|||||||
Canonicalize a configuration name.
|
Canonicalize a configuration name.
|
||||||
|
|
||||||
Operation modes:
|
Operation modes:
|
||||||
-h, --help print this help, then exit
|
-h, --help print this help, then exit
|
||||||
-t, --time-stamp print date of last modification, then exit
|
-V, --version print version number, then exit"
|
||||||
-v, --version print version number, then exit
|
|
||||||
|
|
||||||
Report bugs and patches to <config-patches@gnu.org>."
|
|
||||||
|
|
||||||
version="\
|
|
||||||
GNU config.sub ($timestamp)
|
|
||||||
|
|
||||||
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
|
||||||
Free Software Foundation, Inc.
|
|
||||||
|
|
||||||
This is free software; see the source for copying conditions. There is NO
|
|
||||||
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
|
||||||
|
|
||||||
help="
|
help="
|
||||||
Try \`$me --help' for more information."
|
Try \`$me --help' for more information."
|
||||||
|
|
||||||
# Parse command line
|
# Parse command line
|
||||||
while test $# -gt 0 ; do
|
while test $# -gt 0 ; do
|
||||||
case $1 in
|
case "$1" in
|
||||||
--time-stamp | --time* | -t )
|
--version | --vers* | -V )
|
||||||
echo "$timestamp" ; exit 0 ;;
|
|
||||||
--version | -v )
|
|
||||||
echo "$version" ; exit 0 ;;
|
echo "$version" ; exit 0 ;;
|
||||||
--help | --h* | -h )
|
--help | --h* | -h )
|
||||||
echo "$usage"; exit 0 ;;
|
echo "$usage"; exit 0 ;;
|
||||||
@@ -93,7 +78,9 @@ while test $# -gt 0 ; do
|
|||||||
- ) # Use stdin as input.
|
- ) # Use stdin as input.
|
||||||
break ;;
|
break ;;
|
||||||
-* )
|
-* )
|
||||||
echo "$me: invalid option $1$help"
|
exec >&2
|
||||||
|
echo "$me: invalid option $1"
|
||||||
|
echo "$help"
|
||||||
exit 1 ;;
|
exit 1 ;;
|
||||||
|
|
||||||
*local*)
|
*local*)
|
||||||
@@ -118,8 +105,7 @@ esac
|
|||||||
# Here we must recognize all the valid KERNEL-OS combinations.
|
# Here we must recognize all the valid KERNEL-OS combinations.
|
||||||
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
|
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
|
||||||
case $maybe_os in
|
case $maybe_os in
|
||||||
nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \
|
nto-qnx* | linux-gnu* | storm-chaos*)
|
||||||
kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
|
|
||||||
os=-$maybe_os
|
os=-$maybe_os
|
||||||
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
|
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
|
||||||
;;
|
;;
|
||||||
@@ -159,14 +145,6 @@ case $os in
|
|||||||
os=-vxworks
|
os=-vxworks
|
||||||
basic_machine=$1
|
basic_machine=$1
|
||||||
;;
|
;;
|
||||||
-chorusos*)
|
|
||||||
os=-chorusos
|
|
||||||
basic_machine=$1
|
|
||||||
;;
|
|
||||||
-chorusrdb)
|
|
||||||
os=-chorusrdb
|
|
||||||
basic_machine=$1
|
|
||||||
;;
|
|
||||||
-hiux*)
|
-hiux*)
|
||||||
os=-hiuxwe2
|
os=-hiuxwe2
|
||||||
;;
|
;;
|
||||||
@@ -225,50 +203,22 @@ esac
|
|||||||
case $basic_machine in
|
case $basic_machine in
|
||||||
# Recognize the basic CPU types without company name.
|
# Recognize the basic CPU types without company name.
|
||||||
# Some are omitted here because they have special meanings below.
|
# Some are omitted here because they have special meanings below.
|
||||||
1750a | 580 \
|
tahoe | i860 | ia64 | m32r | m68k | m68000 | m88k | ns32k | arc | arm \
|
||||||
| a29k \
|
| arme[lb] | armv[2345] | armv[345][lb] | pyramid | mn10200 | mn10300 | tron | a29k \
|
||||||
| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
|
| 580 | i960 | h8300 \
|
||||||
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
|
| x86 | ppcbe | mipsbe | mipsle | shbe | shle | armbe | armle \
|
||||||
| am33_2.0 \
|
| hppa | hppa1.0 | hppa1.1 | hppa2.0 | hppa2.0w | hppa2.0n \
|
||||||
| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
|
| hppa64 \
|
||||||
| c4x | clipper \
|
| alpha | alphaev[4-8] | alphaev56 | alphapca5[67] \
|
||||||
| d10v | d30v | dlx | dsp16xx \
|
| alphaev6[78] \
|
||||||
| fr30 | frv \
|
| we32k | ns16k | clipper | i370 | sh | sh[34] \
|
||||||
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
|
| powerpc | powerpcle \
|
||||||
| i370 | i860 | i960 | ia64 \
|
| 1750a | dsp16xx | pdp11 | mips16 | mips64 | mipsel | mips64el \
|
||||||
| ip2k | iq2000 \
|
| mips64orion | mips64orionel | mipstx39 | mipstx39el \
|
||||||
| m32r | m32rle | m68000 | m68k | m88k | mcore \
|
| mips64vr4300 | mips64vr4300el | mips64vr4100 | mips64vr4100el \
|
||||||
| mips | mipsbe | mipseb | mipsel | mipsle \
|
| mips64vr5000 | miprs64vr5000el | mcore \
|
||||||
| mips16 \
|
| sparc | sparclet | sparclite | sparc64 | sparcv9 | v850 | c4x \
|
||||||
| mips64 | mips64el \
|
| thumb | d10v | d30v | fr30 | avr)
|
||||||
| mips64vr | mips64vrel \
|
|
||||||
| mips64orion | mips64orionel \
|
|
||||||
| mips64vr4100 | mips64vr4100el \
|
|
||||||
| mips64vr4300 | mips64vr4300el \
|
|
||||||
| mips64vr5000 | mips64vr5000el \
|
|
||||||
| mipsisa32 | mipsisa32el \
|
|
||||||
| mipsisa32r2 | mipsisa32r2el \
|
|
||||||
| mipsisa64 | mipsisa64el \
|
|
||||||
| mipsisa64r2 | mipsisa64r2el \
|
|
||||||
| mipsisa64sb1 | mipsisa64sb1el \
|
|
||||||
| mipsisa64sr71k | mipsisa64sr71kel \
|
|
||||||
| mipstx39 | mipstx39el \
|
|
||||||
| mn10200 | mn10300 \
|
|
||||||
| msp430 \
|
|
||||||
| ns16k | ns32k \
|
|
||||||
| openrisc | or32 \
|
|
||||||
| pdp10 | pdp11 | pj | pjl \
|
|
||||||
| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
|
|
||||||
| pyramid \
|
|
||||||
| sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
|
|
||||||
| sh64 | sh64le \
|
|
||||||
| sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv8 | sparcv9 | sparcv9b \
|
|
||||||
| strongarm \
|
|
||||||
| tahoe | thumb | tic4x | tic80 | tron \
|
|
||||||
| v850 | v850e \
|
|
||||||
| we32k \
|
|
||||||
| x86 | xscale | xstormy16 | xtensa \
|
|
||||||
| z8k)
|
|
||||||
basic_machine=$basic_machine-unknown
|
basic_machine=$basic_machine-unknown
|
||||||
;;
|
;;
|
||||||
m6811 | m68hc11 | m6812 | m68hc12)
|
m6811 | m68hc11 | m6812 | m68hc12)
|
||||||
@@ -276,13 +226,13 @@ case $basic_machine in
|
|||||||
basic_machine=$basic_machine-unknown
|
basic_machine=$basic_machine-unknown
|
||||||
os=-none
|
os=-none
|
||||||
;;
|
;;
|
||||||
m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
|
m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | z8k | v70 | h8500 | w65 | pj | pjl)
|
||||||
;;
|
;;
|
||||||
|
|
||||||
# We use `pc' rather than `unknown'
|
# We use `pc' rather than `unknown'
|
||||||
# because (1) that's what they normally are, and
|
# because (1) that's what they normally are, and
|
||||||
# (2) the word "unknown" tends to confuse beginning users.
|
# (2) the word "unknown" tends to confuse beginning users.
|
||||||
i*86 | x86_64)
|
i[234567]86 | x86_64)
|
||||||
basic_machine=$basic_machine-pc
|
basic_machine=$basic_machine-pc
|
||||||
;;
|
;;
|
||||||
# Object if more than one company name word.
|
# Object if more than one company name word.
|
||||||
@@ -291,61 +241,28 @@ case $basic_machine in
|
|||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
# Recognize the basic CPU types with company name.
|
# Recognize the basic CPU types with company name.
|
||||||
580-* \
|
# FIXME: clean up the formatting here.
|
||||||
| a29k-* \
|
vax-* | tahoe-* | i[234567]86-* | i860-* | ia64-* | m32r-* | m68k-* | m68000-* \
|
||||||
| alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
|
| m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | arm-* | c[123]* \
|
||||||
| alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
|
| mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \
|
||||||
| alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
|
| power-* | none-* | 580-* | cray2-* | h8300-* | h8500-* | i960-* \
|
||||||
| arm-* | armbe-* | armle-* | armeb-* | armv*-* \
|
| xmp-* | ymp-* \
|
||||||
| avr-* \
|
| x86-* | ppcbe-* | mipsbe-* | mipsle-* | shbe-* | shle-* | armbe-* | armle-* \
|
||||||
| bs2000-* \
|
| hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* | hppa2.0w-* \
|
||||||
| c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
|
| hppa2.0n-* | hppa64-* \
|
||||||
| clipper-* | cydra-* \
|
| alpha-* | alphaev[4-8]-* | alphaev56-* | alphapca5[67]-* \
|
||||||
| d10v-* | d30v-* | dlx-* \
|
| alphaev6[78]-* \
|
||||||
| elxsi-* \
|
| we32k-* | cydra-* | ns16k-* | pn-* | np1-* | xps100-* \
|
||||||
| f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
|
| clipper-* | orion-* \
|
||||||
| h8300-* | h8500-* \
|
| sparclite-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \
|
||||||
| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
|
| sparc64-* | sparcv9-* | sparc86x-* | mips16-* | mips64-* | mipsel-* \
|
||||||
| i*86-* | i860-* | i960-* | ia64-* \
|
| mips64el-* | mips64orion-* | mips64orionel-* \
|
||||||
| ip2k-* | iq2000-* \
|
| mips64vr4100-* | mips64vr4100el-* | mips64vr4300-* | mips64vr4300el-* \
|
||||||
| m32r-* | m32rle-* \
|
| mipstx39-* | mipstx39el-* | mcore-* \
|
||||||
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
|
| f301-* | armv*-* | s390-* | sv1-* | t3e-* \
|
||||||
| m88110-* | m88k-* | mcore-* \
|
| m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | d10v-* \
|
||||||
| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
|
| thumb-* | v850-* | d30v-* | tic30-* | c30-* | fr30-* \
|
||||||
| mips16-* \
|
| bs2000-* | tic54x-* | c54x-* | x86_64-*)
|
||||||
| mips64-* | mips64el-* \
|
|
||||||
| mips64vr-* | mips64vrel-* \
|
|
||||||
| mips64orion-* | mips64orionel-* \
|
|
||||||
| mips64vr4100-* | mips64vr4100el-* \
|
|
||||||
| mips64vr4300-* | mips64vr4300el-* \
|
|
||||||
| mips64vr5000-* | mips64vr5000el-* \
|
|
||||||
| mipsisa32-* | mipsisa32el-* \
|
|
||||||
| mipsisa32r2-* | mipsisa32r2el-* \
|
|
||||||
| mipsisa64-* | mipsisa64el-* \
|
|
||||||
| mipsisa64r2-* | mipsisa64r2el-* \
|
|
||||||
| mipsisa64sb1-* | mipsisa64sb1el-* \
|
|
||||||
| mipsisa64sr71k-* | mipsisa64sr71kel-* \
|
|
||||||
| mipstx39-* | mipstx39el-* \
|
|
||||||
| msp430-* \
|
|
||||||
| none-* | np1-* | nv1-* | ns16k-* | ns32k-* \
|
|
||||||
| orion-* \
|
|
||||||
| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
|
|
||||||
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
|
|
||||||
| pyramid-* \
|
|
||||||
| romp-* | rs6000-* \
|
|
||||||
| sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
|
|
||||||
| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
|
|
||||||
| sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
|
|
||||||
| sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
|
|
||||||
| tahoe-* | thumb-* \
|
|
||||||
| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
|
|
||||||
| tron-* \
|
|
||||||
| v850-* | v850e-* | vax-* \
|
|
||||||
| we32k-* \
|
|
||||||
| x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
|
|
||||||
| xtensa-* \
|
|
||||||
| ymp-* \
|
|
||||||
| z8k-*)
|
|
||||||
;;
|
;;
|
||||||
# Recognize the various machine names and aliases which stand
|
# Recognize the various machine names and aliases which stand
|
||||||
# for a CPU type and a company and sometimes even an OS.
|
# for a CPU type and a company and sometimes even an OS.
|
||||||
@@ -363,9 +280,6 @@ case $basic_machine in
|
|||||||
basic_machine=a29k-amd
|
basic_machine=a29k-amd
|
||||||
os=-udi
|
os=-udi
|
||||||
;;
|
;;
|
||||||
abacus)
|
|
||||||
basic_machine=abacus-unknown
|
|
||||||
;;
|
|
||||||
adobe68k)
|
adobe68k)
|
||||||
basic_machine=m68010-adobe
|
basic_machine=m68010-adobe
|
||||||
os=-scout
|
os=-scout
|
||||||
@@ -380,12 +294,6 @@ case $basic_machine in
|
|||||||
basic_machine=a29k-none
|
basic_machine=a29k-none
|
||||||
os=-bsd
|
os=-bsd
|
||||||
;;
|
;;
|
||||||
amd64)
|
|
||||||
basic_machine=x86_64-pc
|
|
||||||
;;
|
|
||||||
amd64-*)
|
|
||||||
basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
||||||
;;
|
|
||||||
amdahl)
|
amdahl)
|
||||||
basic_machine=580-amdahl
|
basic_machine=580-amdahl
|
||||||
os=-sysv
|
os=-sysv
|
||||||
@@ -417,10 +325,6 @@ case $basic_machine in
|
|||||||
basic_machine=ns32k-sequent
|
basic_machine=ns32k-sequent
|
||||||
os=-dynix
|
os=-dynix
|
||||||
;;
|
;;
|
||||||
c90)
|
|
||||||
basic_machine=c90-cray
|
|
||||||
os=-unicos
|
|
||||||
;;
|
|
||||||
convex-c1)
|
convex-c1)
|
||||||
basic_machine=c1-convex
|
basic_machine=c1-convex
|
||||||
os=-bsd
|
os=-bsd
|
||||||
@@ -441,13 +345,17 @@ case $basic_machine in
|
|||||||
basic_machine=c38-convex
|
basic_machine=c38-convex
|
||||||
os=-bsd
|
os=-bsd
|
||||||
;;
|
;;
|
||||||
cray | j90)
|
cray | ymp)
|
||||||
basic_machine=j90-cray
|
basic_machine=ymp-cray
|
||||||
os=-unicos
|
os=-unicos
|
||||||
;;
|
;;
|
||||||
cr16c)
|
cray2)
|
||||||
basic_machine=cr16c-unknown
|
basic_machine=cray2-cray
|
||||||
os=-elf
|
os=-unicos
|
||||||
|
;;
|
||||||
|
[ctj]90-cray)
|
||||||
|
basic_machine=c90-cray
|
||||||
|
os=-unicos
|
||||||
;;
|
;;
|
||||||
crds | unos)
|
crds | unos)
|
||||||
basic_machine=m68k-crds
|
basic_machine=m68k-crds
|
||||||
@@ -455,24 +363,12 @@ case $basic_machine in
|
|||||||
cris | cris-* | etrax*)
|
cris | cris-* | etrax*)
|
||||||
basic_machine=cris-axis
|
basic_machine=cris-axis
|
||||||
;;
|
;;
|
||||||
crx)
|
|
||||||
basic_machine=crx-unknown
|
|
||||||
os=-elf
|
|
||||||
;;
|
|
||||||
da30 | da30-*)
|
da30 | da30-*)
|
||||||
basic_machine=m68k-da30
|
basic_machine=m68k-da30
|
||||||
;;
|
;;
|
||||||
decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
|
decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
|
||||||
basic_machine=mips-dec
|
basic_machine=mips-dec
|
||||||
;;
|
;;
|
||||||
decsystem10* | dec10*)
|
|
||||||
basic_machine=pdp10-dec
|
|
||||||
os=-tops10
|
|
||||||
;;
|
|
||||||
decsystem20* | dec20*)
|
|
||||||
basic_machine=pdp10-dec
|
|
||||||
os=-tops20
|
|
||||||
;;
|
|
||||||
delta | 3300 | motorola-3300 | motorola-delta \
|
delta | 3300 | motorola-3300 | motorola-delta \
|
||||||
| 3300-motorola | delta-motorola)
|
| 3300-motorola | delta-motorola)
|
||||||
basic_machine=m68k-motorola
|
basic_machine=m68k-motorola
|
||||||
@@ -514,10 +410,6 @@ case $basic_machine in
|
|||||||
basic_machine=tron-gmicro
|
basic_machine=tron-gmicro
|
||||||
os=-sysv
|
os=-sysv
|
||||||
;;
|
;;
|
||||||
go32)
|
|
||||||
basic_machine=i386-pc
|
|
||||||
os=-go32
|
|
||||||
;;
|
|
||||||
h3050r* | hiux*)
|
h3050r* | hiux*)
|
||||||
basic_machine=hppa1.1-hitachi
|
basic_machine=hppa1.1-hitachi
|
||||||
os=-hiuxwe2
|
os=-hiuxwe2
|
||||||
@@ -593,19 +485,19 @@ case $basic_machine in
|
|||||||
basic_machine=i370-ibm
|
basic_machine=i370-ibm
|
||||||
;;
|
;;
|
||||||
# I'm not sure what "Sysv32" means. Should this be sysv3.2?
|
# I'm not sure what "Sysv32" means. Should this be sysv3.2?
|
||||||
i*86v32)
|
i[34567]86v32)
|
||||||
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
|
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
|
||||||
os=-sysv32
|
os=-sysv32
|
||||||
;;
|
;;
|
||||||
i*86v4*)
|
i[34567]86v4*)
|
||||||
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
|
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
|
||||||
os=-sysv4
|
os=-sysv4
|
||||||
;;
|
;;
|
||||||
i*86v)
|
i[34567]86v)
|
||||||
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
|
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
|
||||||
os=-sysv
|
os=-sysv
|
||||||
;;
|
;;
|
||||||
i*86sol2)
|
i[34567]86sol2)
|
||||||
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
|
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
|
||||||
os=-solaris2
|
os=-solaris2
|
||||||
;;
|
;;
|
||||||
@@ -617,6 +509,18 @@ case $basic_machine in
|
|||||||
basic_machine=i386-unknown
|
basic_machine=i386-unknown
|
||||||
os=-vsta
|
os=-vsta
|
||||||
;;
|
;;
|
||||||
|
i386-go32 | go32)
|
||||||
|
basic_machine=i386-unknown
|
||||||
|
os=-go32
|
||||||
|
;;
|
||||||
|
i386-mingw32 | mingw32)
|
||||||
|
basic_machine=i386-unknown
|
||||||
|
os=-mingw32
|
||||||
|
;;
|
||||||
|
i[34567]86-pw32 | pw32)
|
||||||
|
basic_machine=i586-unknown
|
||||||
|
os=-pw32
|
||||||
|
;;
|
||||||
iris | iris4d)
|
iris | iris4d)
|
||||||
basic_machine=mips-sgi
|
basic_machine=mips-sgi
|
||||||
case $os in
|
case $os in
|
||||||
@@ -642,10 +546,6 @@ case $basic_machine in
|
|||||||
basic_machine=ns32k-utek
|
basic_machine=ns32k-utek
|
||||||
os=-sysv
|
os=-sysv
|
||||||
;;
|
;;
|
||||||
mingw32)
|
|
||||||
basic_machine=i386-pc
|
|
||||||
os=-mingw32
|
|
||||||
;;
|
|
||||||
miniframe)
|
miniframe)
|
||||||
basic_machine=m68000-convergent
|
basic_machine=m68000-convergent
|
||||||
;;
|
;;
|
||||||
@@ -653,6 +553,14 @@ case $basic_machine in
|
|||||||
basic_machine=m68k-atari
|
basic_machine=m68k-atari
|
||||||
os=-mint
|
os=-mint
|
||||||
;;
|
;;
|
||||||
|
mipsel*-linux*)
|
||||||
|
basic_machine=mipsel-unknown
|
||||||
|
os=-linux-gnu
|
||||||
|
;;
|
||||||
|
mips*-linux*)
|
||||||
|
basic_machine=mips-unknown
|
||||||
|
os=-linux-gnu
|
||||||
|
;;
|
||||||
mips3*-*)
|
mips3*-*)
|
||||||
basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
|
basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
|
||||||
;;
|
;;
|
||||||
@@ -667,12 +575,8 @@ case $basic_machine in
|
|||||||
basic_machine=m68k-rom68k
|
basic_machine=m68k-rom68k
|
||||||
os=-coff
|
os=-coff
|
||||||
;;
|
;;
|
||||||
morphos)
|
|
||||||
basic_machine=powerpc-unknown
|
|
||||||
os=-morphos
|
|
||||||
;;
|
|
||||||
msdos)
|
msdos)
|
||||||
basic_machine=i386-pc
|
basic_machine=i386-unknown
|
||||||
os=-msdos
|
os=-msdos
|
||||||
;;
|
;;
|
||||||
mvs)
|
mvs)
|
||||||
@@ -743,10 +647,6 @@ case $basic_machine in
|
|||||||
np1)
|
np1)
|
||||||
basic_machine=np1-gould
|
basic_machine=np1-gould
|
||||||
;;
|
;;
|
||||||
nv1)
|
|
||||||
basic_machine=nv1-cray
|
|
||||||
os=-unicosmp
|
|
||||||
;;
|
|
||||||
nsr-tandem)
|
nsr-tandem)
|
||||||
basic_machine=nsr-tandem
|
basic_machine=nsr-tandem
|
||||||
;;
|
;;
|
||||||
@@ -754,14 +654,6 @@ case $basic_machine in
|
|||||||
basic_machine=hppa1.1-oki
|
basic_machine=hppa1.1-oki
|
||||||
os=-proelf
|
os=-proelf
|
||||||
;;
|
;;
|
||||||
or32 | or32-*)
|
|
||||||
basic_machine=or32-unknown
|
|
||||||
os=-coff
|
|
||||||
;;
|
|
||||||
os400)
|
|
||||||
basic_machine=powerpc-ibm
|
|
||||||
os=-os400
|
|
||||||
;;
|
|
||||||
OSE68000 | ose68000)
|
OSE68000 | ose68000)
|
||||||
basic_machine=m68000-ericsson
|
basic_machine=m68000-ericsson
|
||||||
os=-ose
|
os=-ose
|
||||||
@@ -784,65 +676,45 @@ case $basic_machine in
|
|||||||
pbb)
|
pbb)
|
||||||
basic_machine=m68k-tti
|
basic_machine=m68k-tti
|
||||||
;;
|
;;
|
||||||
pc532 | pc532-*)
|
pc532 | pc532-*)
|
||||||
basic_machine=ns32k-pc532
|
basic_machine=ns32k-pc532
|
||||||
;;
|
;;
|
||||||
pentium | p5 | k5 | k6 | nexgen | viac3)
|
pentium | p5 | k5 | k6 | nexgen)
|
||||||
basic_machine=i586-pc
|
basic_machine=i586-pc
|
||||||
;;
|
;;
|
||||||
pentiumpro | p6 | 6x86 | athlon | athlon_*)
|
pentiumpro | p6 | 6x86 | athlon)
|
||||||
basic_machine=i686-pc
|
basic_machine=i686-pc
|
||||||
;;
|
;;
|
||||||
pentiumii | pentium2 | pentiumiii | pentium3)
|
pentiumii | pentium2)
|
||||||
basic_machine=i686-pc
|
|
||||||
;;
|
|
||||||
pentium4)
|
|
||||||
basic_machine=i786-pc
|
basic_machine=i786-pc
|
||||||
;;
|
;;
|
||||||
pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
|
pentium-* | p5-* | k5-* | k6-* | nexgen-*)
|
||||||
basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
|
basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
|
||||||
;;
|
;;
|
||||||
pentiumpro-* | p6-* | 6x86-* | athlon-*)
|
pentiumpro-* | p6-* | 6x86-* | athlon-*)
|
||||||
basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
|
basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
|
||||||
;;
|
;;
|
||||||
pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
|
pentiumii-* | pentium2-*)
|
||||||
basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
||||||
;;
|
|
||||||
pentium4-*)
|
|
||||||
basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
|
basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
|
||||||
;;
|
;;
|
||||||
pn)
|
pn)
|
||||||
basic_machine=pn-gould
|
basic_machine=pn-gould
|
||||||
;;
|
;;
|
||||||
power) basic_machine=power-ibm
|
power) basic_machine=rs6000-ibm
|
||||||
;;
|
;;
|
||||||
ppc) basic_machine=powerpc-unknown
|
ppc) basic_machine=powerpc-unknown
|
||||||
;;
|
;;
|
||||||
ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
|
ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
|
||||||
;;
|
;;
|
||||||
ppcle | powerpclittle | ppc-le | powerpc-little)
|
ppcle | powerpclittle | ppc-le | powerpc-little)
|
||||||
basic_machine=powerpcle-unknown
|
basic_machine=powerpcle-unknown
|
||||||
;;
|
;;
|
||||||
ppcle-* | powerpclittle-*)
|
ppcle-* | powerpclittle-*)
|
||||||
basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
|
basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
|
||||||
;;
|
;;
|
||||||
ppc64) basic_machine=powerpc64-unknown
|
|
||||||
;;
|
|
||||||
ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
||||||
;;
|
|
||||||
ppc64le | powerpc64little | ppc64-le | powerpc64-little)
|
|
||||||
basic_machine=powerpc64le-unknown
|
|
||||||
;;
|
|
||||||
ppc64le-* | powerpc64little-*)
|
|
||||||
basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
||||||
;;
|
|
||||||
ps2)
|
ps2)
|
||||||
basic_machine=i386-ibm
|
basic_machine=i386-ibm
|
||||||
;;
|
;;
|
||||||
pw32)
|
|
||||||
basic_machine=i586-unknown
|
|
||||||
os=-pw32
|
|
||||||
;;
|
|
||||||
rom68k)
|
rom68k)
|
||||||
basic_machine=m68k-rom68k
|
basic_machine=m68k-rom68k
|
||||||
os=-coff
|
os=-coff
|
||||||
@@ -853,26 +725,10 @@ case $basic_machine in
|
|||||||
rtpc | rtpc-*)
|
rtpc | rtpc-*)
|
||||||
basic_machine=romp-ibm
|
basic_machine=romp-ibm
|
||||||
;;
|
;;
|
||||||
s390 | s390-*)
|
|
||||||
basic_machine=s390-ibm
|
|
||||||
;;
|
|
||||||
s390x | s390x-*)
|
|
||||||
basic_machine=s390x-ibm
|
|
||||||
;;
|
|
||||||
sa29200)
|
sa29200)
|
||||||
basic_machine=a29k-amd
|
basic_machine=a29k-amd
|
||||||
os=-udi
|
os=-udi
|
||||||
;;
|
;;
|
||||||
sb1)
|
|
||||||
basic_machine=mipsisa64sb1-unknown
|
|
||||||
;;
|
|
||||||
sb1el)
|
|
||||||
basic_machine=mipsisa64sb1el-unknown
|
|
||||||
;;
|
|
||||||
sei)
|
|
||||||
basic_machine=mips-sei
|
|
||||||
os=-seiux
|
|
||||||
;;
|
|
||||||
sequent)
|
sequent)
|
||||||
basic_machine=i386-sequent
|
basic_machine=i386-sequent
|
||||||
;;
|
;;
|
||||||
@@ -880,10 +736,7 @@ case $basic_machine in
|
|||||||
basic_machine=sh-hitachi
|
basic_machine=sh-hitachi
|
||||||
os=-hms
|
os=-hms
|
||||||
;;
|
;;
|
||||||
sh64)
|
sparclite-wrs)
|
||||||
basic_machine=sh64-unknown
|
|
||||||
;;
|
|
||||||
sparclite-wrs | simso-wrs)
|
|
||||||
basic_machine=sparclite-wrs
|
basic_machine=sparclite-wrs
|
||||||
os=-vxworks
|
os=-vxworks
|
||||||
;;
|
;;
|
||||||
@@ -950,42 +803,22 @@ case $basic_machine in
|
|||||||
os=-dynix
|
os=-dynix
|
||||||
;;
|
;;
|
||||||
t3e)
|
t3e)
|
||||||
basic_machine=alphaev5-cray
|
basic_machine=t3e-cray
|
||||||
os=-unicos
|
|
||||||
;;
|
|
||||||
t90)
|
|
||||||
basic_machine=t90-cray
|
|
||||||
os=-unicos
|
os=-unicos
|
||||||
;;
|
;;
|
||||||
tic54x | c54x*)
|
tic54x | c54x*)
|
||||||
basic_machine=tic54x-unknown
|
basic_machine=tic54x-unknown
|
||||||
os=-coff
|
os=-coff
|
||||||
;;
|
;;
|
||||||
tic55x | c55x*)
|
|
||||||
basic_machine=tic55x-unknown
|
|
||||||
os=-coff
|
|
||||||
;;
|
|
||||||
tic6x | c6x*)
|
|
||||||
basic_machine=tic6x-unknown
|
|
||||||
os=-coff
|
|
||||||
;;
|
|
||||||
tx39)
|
tx39)
|
||||||
basic_machine=mipstx39-unknown
|
basic_machine=mipstx39-unknown
|
||||||
;;
|
;;
|
||||||
tx39el)
|
tx39el)
|
||||||
basic_machine=mipstx39el-unknown
|
basic_machine=mipstx39el-unknown
|
||||||
;;
|
;;
|
||||||
toad1)
|
|
||||||
basic_machine=pdp10-xkl
|
|
||||||
os=-tops20
|
|
||||||
;;
|
|
||||||
tower | tower-32)
|
tower | tower-32)
|
||||||
basic_machine=m68k-ncr
|
basic_machine=m68k-ncr
|
||||||
;;
|
;;
|
||||||
tpf)
|
|
||||||
basic_machine=s390x-ibm
|
|
||||||
os=-tpf
|
|
||||||
;;
|
|
||||||
udi29k)
|
udi29k)
|
||||||
basic_machine=a29k-amd
|
basic_machine=a29k-amd
|
||||||
os=-udi
|
os=-udi
|
||||||
@@ -1007,8 +840,8 @@ case $basic_machine in
|
|||||||
os=-vms
|
os=-vms
|
||||||
;;
|
;;
|
||||||
vpp*|vx|vx-*)
|
vpp*|vx|vx-*)
|
||||||
basic_machine=f301-fujitsu
|
basic_machine=f301-fujitsu
|
||||||
;;
|
;;
|
||||||
vxworks960)
|
vxworks960)
|
||||||
basic_machine=i960-wrs
|
basic_machine=i960-wrs
|
||||||
os=-vxworks
|
os=-vxworks
|
||||||
@@ -1029,13 +862,13 @@ case $basic_machine in
|
|||||||
basic_machine=hppa1.1-winbond
|
basic_machine=hppa1.1-winbond
|
||||||
os=-proelf
|
os=-proelf
|
||||||
;;
|
;;
|
||||||
xps | xps100)
|
xmp)
|
||||||
basic_machine=xps100-honeywell
|
basic_machine=xmp-cray
|
||||||
;;
|
|
||||||
ymp)
|
|
||||||
basic_machine=ymp-cray
|
|
||||||
os=-unicos
|
os=-unicos
|
||||||
;;
|
;;
|
||||||
|
xps | xps100)
|
||||||
|
basic_machine=xps100-honeywell
|
||||||
|
;;
|
||||||
z8k-*-coff)
|
z8k-*-coff)
|
||||||
basic_machine=z8k-unknown
|
basic_machine=z8k-unknown
|
||||||
os=-sim
|
os=-sim
|
||||||
@@ -1056,6 +889,13 @@ case $basic_machine in
|
|||||||
op60c)
|
op60c)
|
||||||
basic_machine=hppa1.1-oki
|
basic_machine=hppa1.1-oki
|
||||||
;;
|
;;
|
||||||
|
mips)
|
||||||
|
if [ x$os = x-linux-gnu ]; then
|
||||||
|
basic_machine=mips-unknown
|
||||||
|
else
|
||||||
|
basic_machine=mips-mips
|
||||||
|
fi
|
||||||
|
;;
|
||||||
romp)
|
romp)
|
||||||
basic_machine=romp-ibm
|
basic_machine=romp-ibm
|
||||||
;;
|
;;
|
||||||
@@ -1065,26 +905,19 @@ case $basic_machine in
|
|||||||
vax)
|
vax)
|
||||||
basic_machine=vax-dec
|
basic_machine=vax-dec
|
||||||
;;
|
;;
|
||||||
pdp10)
|
|
||||||
# there are many clones, so DEC is not a safe bet
|
|
||||||
basic_machine=pdp10-unknown
|
|
||||||
;;
|
|
||||||
pdp11)
|
pdp11)
|
||||||
basic_machine=pdp11-dec
|
basic_machine=pdp11-dec
|
||||||
;;
|
;;
|
||||||
we32k)
|
we32k)
|
||||||
basic_machine=we32k-att
|
basic_machine=we32k-att
|
||||||
;;
|
;;
|
||||||
sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
|
sh3 | sh4)
|
||||||
basic_machine=sh-unknown
|
basic_machine=sh-unknown
|
||||||
;;
|
;;
|
||||||
sh64)
|
sparc | sparcv9)
|
||||||
basic_machine=sh64-unknown
|
|
||||||
;;
|
|
||||||
sparc | sparcv8 | sparcv9 | sparcv9b)
|
|
||||||
basic_machine=sparc-sun
|
basic_machine=sparc-sun
|
||||||
;;
|
;;
|
||||||
cydra)
|
cydra)
|
||||||
basic_machine=cydra-cydrome
|
basic_machine=cydra-cydrome
|
||||||
;;
|
;;
|
||||||
orion)
|
orion)
|
||||||
@@ -1099,8 +932,9 @@ case $basic_machine in
|
|||||||
pmac | pmac-mpw)
|
pmac | pmac-mpw)
|
||||||
basic_machine=powerpc-apple
|
basic_machine=powerpc-apple
|
||||||
;;
|
;;
|
||||||
*-unknown)
|
c4x*)
|
||||||
# Make sure to match an already-canonicalized machine name.
|
basic_machine=c4x-none
|
||||||
|
os=-coff
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
|
echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
|
||||||
@@ -1154,35 +988,27 @@ case $os in
|
|||||||
| -aos* \
|
| -aos* \
|
||||||
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
|
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
|
||||||
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
|
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
|
||||||
| -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
|
| -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
|
||||||
| -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
|
| -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
|
||||||
| -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
|
|
||||||
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
|
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
|
||||||
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
|
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
|
||||||
| -chorusos* | -chorusrdb* \
|
|
||||||
| -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
|
| -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
|
||||||
| -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
|
| -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
|
||||||
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
|
| -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \
|
||||||
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
|
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* | -storm-chaos*)
|
||||||
| -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
|
|
||||||
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
|
|
||||||
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
|
|
||||||
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*)
|
|
||||||
# Remember, each alternative MUST END IN *, to match a version number.
|
# Remember, each alternative MUST END IN *, to match a version number.
|
||||||
;;
|
;;
|
||||||
-qnx*)
|
-qnx*)
|
||||||
case $basic_machine in
|
case $basic_machine in
|
||||||
x86-* | i*86-*)
|
x86-* | i[34567]86-*)
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
os=-nto$os
|
os=-nto$os
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
-nto-qnx*)
|
|
||||||
;;
|
|
||||||
-nto*)
|
-nto*)
|
||||||
os=`echo $os | sed -e 's|nto|nto-qnx|'`
|
os=-nto-qnx
|
||||||
;;
|
;;
|
||||||
-sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
|
-sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
|
||||||
| -windows* | -osx | -abug | -netware* | -os9* | -beos* \
|
| -windows* | -osx | -abug | -netware* | -os9* | -beos* \
|
||||||
@@ -1191,9 +1017,6 @@ case $os in
|
|||||||
-mac*)
|
-mac*)
|
||||||
os=`echo $os | sed -e 's|mac|macos|'`
|
os=`echo $os | sed -e 's|mac|macos|'`
|
||||||
;;
|
;;
|
||||||
-linux-dietlibc)
|
|
||||||
os=-linux-dietlibc
|
|
||||||
;;
|
|
||||||
-linux*)
|
-linux*)
|
||||||
os=`echo $os | sed -e 's|linux|linux-gnu|'`
|
os=`echo $os | sed -e 's|linux|linux-gnu|'`
|
||||||
;;
|
;;
|
||||||
@@ -1206,9 +1029,6 @@ case $os in
|
|||||||
-opened*)
|
-opened*)
|
||||||
os=-openedition
|
os=-openedition
|
||||||
;;
|
;;
|
||||||
-os400*)
|
|
||||||
os=-os400
|
|
||||||
;;
|
|
||||||
-wince*)
|
-wince*)
|
||||||
os=-wince
|
os=-wince
|
||||||
;;
|
;;
|
||||||
@@ -1227,23 +1047,14 @@ case $os in
|
|||||||
-acis*)
|
-acis*)
|
||||||
os=-aos
|
os=-aos
|
||||||
;;
|
;;
|
||||||
-atheos*)
|
|
||||||
os=-atheos
|
|
||||||
;;
|
|
||||||
-syllable*)
|
|
||||||
os=-syllable
|
|
||||||
;;
|
|
||||||
-386bsd)
|
-386bsd)
|
||||||
os=-bsd
|
os=-bsd
|
||||||
;;
|
;;
|
||||||
-ctix* | -uts*)
|
-ctix* | -uts*)
|
||||||
os=-sysv
|
os=-sysv
|
||||||
;;
|
;;
|
||||||
-nova*)
|
|
||||||
os=-rtmk-nova
|
|
||||||
;;
|
|
||||||
-ns2 )
|
-ns2 )
|
||||||
os=-nextstep2
|
os=-nextstep2
|
||||||
;;
|
;;
|
||||||
-nsk*)
|
-nsk*)
|
||||||
os=-nsk
|
os=-nsk
|
||||||
@@ -1255,9 +1066,6 @@ case $os in
|
|||||||
-sinix*)
|
-sinix*)
|
||||||
os=-sysv4
|
os=-sysv4
|
||||||
;;
|
;;
|
||||||
-tpf*)
|
|
||||||
os=-tpf
|
|
||||||
;;
|
|
||||||
-triton*)
|
-triton*)
|
||||||
os=-sysv3
|
os=-sysv3
|
||||||
;;
|
;;
|
||||||
@@ -1285,14 +1093,8 @@ case $os in
|
|||||||
-xenix)
|
-xenix)
|
||||||
os=-xenix
|
os=-xenix
|
||||||
;;
|
;;
|
||||||
-*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
|
-*mint | -*MiNT)
|
||||||
os=-mint
|
os=-mint
|
||||||
;;
|
|
||||||
-aros*)
|
|
||||||
os=-aros
|
|
||||||
;;
|
|
||||||
-kaos*)
|
|
||||||
os=-kaos
|
|
||||||
;;
|
;;
|
||||||
-none)
|
-none)
|
||||||
;;
|
;;
|
||||||
@@ -1325,14 +1127,7 @@ case $basic_machine in
|
|||||||
arm*-semi)
|
arm*-semi)
|
||||||
os=-aout
|
os=-aout
|
||||||
;;
|
;;
|
||||||
c4x-* | tic4x-*)
|
pdp11-*)
|
||||||
os=-coff
|
|
||||||
;;
|
|
||||||
# This must come before the *-dec entry.
|
|
||||||
pdp10-*)
|
|
||||||
os=-tops20
|
|
||||||
;;
|
|
||||||
pdp11-*)
|
|
||||||
os=-none
|
os=-none
|
||||||
;;
|
;;
|
||||||
*-dec | vax-*)
|
*-dec | vax-*)
|
||||||
@@ -1359,9 +1154,6 @@ case $basic_machine in
|
|||||||
mips*-*)
|
mips*-*)
|
||||||
os=-elf
|
os=-elf
|
||||||
;;
|
;;
|
||||||
or32-*)
|
|
||||||
os=-coff
|
|
||||||
;;
|
|
||||||
*-tti) # must be before sparc entry or we get the wrong os.
|
*-tti) # must be before sparc entry or we get the wrong os.
|
||||||
os=-sysv3
|
os=-sysv3
|
||||||
;;
|
;;
|
||||||
@@ -1425,25 +1217,25 @@ case $basic_machine in
|
|||||||
*-next)
|
*-next)
|
||||||
os=-nextstep3
|
os=-nextstep3
|
||||||
;;
|
;;
|
||||||
*-gould)
|
*-gould)
|
||||||
os=-sysv
|
os=-sysv
|
||||||
;;
|
;;
|
||||||
*-highlevel)
|
*-highlevel)
|
||||||
os=-bsd
|
os=-bsd
|
||||||
;;
|
;;
|
||||||
*-encore)
|
*-encore)
|
||||||
os=-bsd
|
os=-bsd
|
||||||
;;
|
;;
|
||||||
*-sgi)
|
*-sgi)
|
||||||
os=-irix
|
os=-irix
|
||||||
;;
|
;;
|
||||||
*-siemens)
|
*-siemens)
|
||||||
os=-sysv4
|
os=-sysv4
|
||||||
;;
|
;;
|
||||||
*-masscomp)
|
*-masscomp)
|
||||||
os=-rtu
|
os=-rtu
|
||||||
;;
|
;;
|
||||||
f30[01]-fujitsu | f700-fujitsu)
|
f301-fujitsu)
|
||||||
os=-uxpv
|
os=-uxpv
|
||||||
;;
|
;;
|
||||||
*-rom68k)
|
*-rom68k)
|
||||||
@@ -1506,16 +1298,10 @@ case $basic_machine in
|
|||||||
-mvs* | -opened*)
|
-mvs* | -opened*)
|
||||||
vendor=ibm
|
vendor=ibm
|
||||||
;;
|
;;
|
||||||
-os400*)
|
|
||||||
vendor=ibm
|
|
||||||
;;
|
|
||||||
-ptx*)
|
-ptx*)
|
||||||
vendor=sequent
|
vendor=sequent
|
||||||
;;
|
;;
|
||||||
-tpf*)
|
-vxsim* | -vxworks*)
|
||||||
vendor=ibm
|
|
||||||
;;
|
|
||||||
-vxsim* | -vxworks* | -windiss*)
|
|
||||||
vendor=wrs
|
vendor=wrs
|
||||||
;;
|
;;
|
||||||
-aux*)
|
-aux*)
|
||||||
@@ -1527,12 +1313,9 @@ case $basic_machine in
|
|||||||
-mpw* | -macos*)
|
-mpw* | -macos*)
|
||||||
vendor=apple
|
vendor=apple
|
||||||
;;
|
;;
|
||||||
-*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
|
-*mint | -*MiNT)
|
||||||
vendor=atari
|
vendor=atari
|
||||||
;;
|
;;
|
||||||
-vos*)
|
|
||||||
vendor=stratus
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
|
basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
|
||||||
;;
|
;;
|
||||||
@@ -1543,7 +1326,7 @@ exit 0
|
|||||||
|
|
||||||
# Local variables:
|
# Local variables:
|
||||||
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
||||||
# time-stamp-start: "timestamp='"
|
# time-stamp-start: "version='"
|
||||||
# time-stamp-format: "%:y-%02m-%02d"
|
# time-stamp-format: "%:y-%02m-%02d"
|
||||||
# time-stamp-end: "'"
|
# time-stamp-end: "'"
|
||||||
# End:
|
# End:
|
||||||
|
5518
configure.in
5518
configure.in
File diff suppressed because it is too large
Load Diff
@@ -3,13 +3,13 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
all:
|
all:
|
||||||
cd src; $(MAKE)
|
cd src; make
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
cd src; $(MAKE) clean
|
cd src; make clean
|
||||||
cd samples; $(MAKE) clean
|
cd samples; make clean
|
||||||
cd utils; $(MAKE) clean
|
cd utils; make clean
|
||||||
|
|
||||||
|
|
||||||
samples:
|
samples:
|
||||||
cd samples; $(MAKE)
|
cd samples; make
|
||||||
|
3955
contrib/configure
vendored
3955
contrib/configure
vendored
File diff suppressed because it is too large
Load Diff
@@ -26,67 +26,42 @@ dnl Final subst
|
|||||||
PATH_IFS=$wx_cv_path_ifs
|
PATH_IFS=$wx_cv_path_ifs
|
||||||
WX_TARGET_LIBRARY=$wx_cv_target_library
|
WX_TARGET_LIBRARY=$wx_cv_target_library
|
||||||
WX_TARGET_LIBRARY_TYPE=$wx_cv_target_libtype
|
WX_TARGET_LIBRARY_TYPE=$wx_cv_target_libtype
|
||||||
WX_LIBRARY_BASENAME=$wx_cv_library_basename
|
|
||||||
WX_RELEASE=$wx_cv_release
|
|
||||||
WX_CURRENT=$wx_cv_current
|
|
||||||
WX_REVISION=$wx_cv_revision
|
|
||||||
WX_AGE=$wx_cv_age
|
|
||||||
|
|
||||||
AC_SUBST(PATH_IFS)
|
AC_SUBST(PATH_IFS)
|
||||||
AC_SUBST(ESD_LINK)
|
AC_SUBST(ESD_LINK)
|
||||||
AC_SUBST(WX_TARGET_LIBRARY)
|
AC_SUBST(WX_TARGET_LIBRARY)
|
||||||
AC_SUBST(WX_TARGET_LIBRARY_TYPE)
|
AC_SUBST(WX_TARGET_LIBRARY_TYPE)
|
||||||
AC_SUBST(WX_LIBRARY_BASENAME)
|
|
||||||
AC_SUBST(WX_RELEASE)
|
|
||||||
AC_SUBST(WX_CURRENT)
|
|
||||||
AC_SUBST(WX_REVISION)
|
|
||||||
AC_SUBST(WX_AGE)
|
|
||||||
|
|
||||||
dnl -----------
|
dnl -----------
|
||||||
dnl File output
|
dnl File output
|
||||||
|
|
||||||
|
|
||||||
AC_OUTPUT([
|
AC_OUTPUT([
|
||||||
|
Makefile
|
||||||
src/Makefile
|
src/Makefile
|
||||||
src/ogl/Makefile
|
src/ogl/Makefile
|
||||||
src/mmedia/Makefile
|
src/mmedia/Makefile
|
||||||
src/stc/Makefile
|
src/stc/Makefile
|
||||||
src/svg/Makefile
|
src/xml/Makefile
|
||||||
src/xrc/Makefile
|
|
||||||
src/canvas/Makefile
|
src/canvas/Makefile
|
||||||
src/gizmos/Makefile
|
src/gizmos/Makefile
|
||||||
src/plot/Makefile
|
src/plot/Makefile
|
||||||
src/applet/Makefile
|
src/applet/Makefile
|
||||||
src/fl/Makefile
|
|
||||||
src/net/Makefile
|
|
||||||
src/animate/Makefile
|
|
||||||
samples/Makefile
|
samples/Makefile
|
||||||
samples/animate/Makefile
|
|
||||||
samples/mmedia/Makefile
|
samples/mmedia/Makefile
|
||||||
samples/ogl/Makefile
|
samples/ogl/Makefile
|
||||||
samples/ogl/ogledit/Makefile
|
samples/ogl/ogledit/Makefile
|
||||||
samples/ogl/studio/Makefile
|
samples/ogl/studio/Makefile
|
||||||
samples/stc/Makefile
|
samples/stc/Makefile
|
||||||
samples/svg/Makefile
|
|
||||||
samples/canvas/Makefile
|
samples/canvas/Makefile
|
||||||
samples/canvas/test/Makefile
|
samples/canvas/test/Makefile
|
||||||
samples/canvas/simple/Makefile
|
samples/canvas/simple/Makefile
|
||||||
samples/gizmos/Makefile
|
samples/gizmos/Makefile
|
||||||
samples/gizmos/editlbox/Makefile
|
|
||||||
samples/gizmos/dynsash/Makefile
|
|
||||||
samples/gizmos/dynsash_switch/Makefile
|
|
||||||
samples/gizmos/multicell/Makefile
|
samples/gizmos/multicell/Makefile
|
||||||
samples/gizmos/splittree/Makefile
|
samples/gizmos/splittree/Makefile
|
||||||
samples/gizmos/led/Makefile
|
samples/xml/Makefile
|
||||||
samples/xrc/Makefile
|
|
||||||
samples/plot/Makefile
|
samples/plot/Makefile
|
||||||
samples/applet/Makefile
|
samples/applet/Makefile
|
||||||
samples/fl/Makefile
|
|
||||||
samples/fl/fl_demo1/Makefile
|
|
||||||
samples/fl/fl_demo2/Makefile
|
|
||||||
samples/fl/fl_sample1/Makefile
|
|
||||||
samples/fl/fl_sample2/Makefile
|
|
||||||
samples/fl/fl_sample3/Makefile
|
|
||||||
utils/Makefile
|
utils/Makefile
|
||||||
utils/wxrc/Makefile
|
utils/wxrc/Makefile
|
||||||
utils/wxrcedit/Makefile
|
utils/wxrcedit/Makefile
|
||||||
|
@@ -1,31 +0,0 @@
|
|||||||
%
|
|
||||||
% automatically generated by HelpGen $Revision$ from
|
|
||||||
% dyntbar.h at 21/Jan/02 21:14:18
|
|
||||||
%
|
|
||||||
|
|
||||||
|
|
||||||
\section{\class{BagLayout}}\label{baglayout}
|
|
||||||
|
|
||||||
|
|
||||||
BagLayout lays out items in left-to-right order from
|
|
||||||
top to bottom.
|
|
||||||
|
|
||||||
\wxheading{Derived from}
|
|
||||||
|
|
||||||
\helpref{LayoutManagerBase}{layoutmanagerbase}
|
|
||||||
|
|
||||||
\wxheading{Include files}
|
|
||||||
|
|
||||||
<wx/fl/dyntbar.h>
|
|
||||||
|
|
||||||
\wxheading{Data structures}
|
|
||||||
|
|
||||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{BagLayout::Layout}\label{baglayoutlayout}
|
|
||||||
|
|
||||||
\func{void}{Layout}{\param{const wxSize\& }{parentDim}, \param{wxSize\& }{resultingDim}, \param{wxLayoutItemArrayT\& }{items}, \param{int }{horizGap}, \param{int }{vertGap}}
|
|
||||||
|
|
||||||
Constructor.
|
|
||||||
|
|
@@ -1,58 +0,0 @@
|
|||||||
%
|
|
||||||
% automatically generated by HelpGen $Revision$ from
|
|
||||||
% controlbar.h at 21/Jan/02 21:14:14
|
|
||||||
%
|
|
||||||
|
|
||||||
|
|
||||||
\section{\class{wxBarIterator}}\label{wxbariterator}
|
|
||||||
|
|
||||||
|
|
||||||
Used for traversing through all bars of all rows in the pane.
|
|
||||||
|
|
||||||
\wxheading{Derived from}
|
|
||||||
|
|
||||||
No base class
|
|
||||||
|
|
||||||
\wxheading{Include files}
|
|
||||||
|
|
||||||
<wx/fl/controlbar.h>
|
|
||||||
|
|
||||||
\wxheading{Data structures}
|
|
||||||
|
|
||||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{wxBarIterator::wxBarIterator}\label{wxbariteratorwxbariterator}
|
|
||||||
|
|
||||||
\func{}{wxBarIterator}{\param{RowArrayT\& }{rows}}
|
|
||||||
|
|
||||||
Constructor, taking row array.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{wxBarIterator::BarInfo}\label{wxbariteratorbarinfo}
|
|
||||||
|
|
||||||
\func{cbBarInfo\&}{BarInfo}{\void}
|
|
||||||
|
|
||||||
Gets the current bar information.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{wxBarIterator::Next}\label{wxbariteratornext}
|
|
||||||
|
|
||||||
\func{bool}{Next}{\void}
|
|
||||||
|
|
||||||
Advances the iterator and returns TRUE if a bar is available.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{wxBarIterator::Reset}\label{wxbariteratorreset}
|
|
||||||
|
|
||||||
\func{void}{Reset}{\void}
|
|
||||||
|
|
||||||
Resets the iterator to the start of the first row.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{wxBarIterator::RowInfo}\label{wxbariteratorrowinfo}
|
|
||||||
|
|
||||||
\func{cbRowInfo\&}{RowInfo}{\void}
|
|
||||||
|
|
||||||
Returns a reference to the currently traversed row.
|
|
||||||
|
|
@@ -1,259 +0,0 @@
|
|||||||
\chapter{Introduction}\label{introduction}
|
|
||||||
\pagenumbering{arabic}%
|
|
||||||
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
|
|
||||||
\setfooter{\thepage}{}{}{}{}{\thepage}%
|
|
||||||
|
|
||||||
\section{What is FL?}\label{whatisfl}
|
|
||||||
|
|
||||||
This manual describes FL (Frame Layout), a
|
|
||||||
class library for managing sophisticated window layout,
|
|
||||||
with panes that can be moved around the main window
|
|
||||||
and customized. FL handles many decoration and dragging
|
|
||||||
issues, giving applications the kind of docking facilities
|
|
||||||
that Visual C++ and Netscape Navigator possess.
|
|
||||||
|
|
||||||
FL was written by Aleksandras Gluchovas, and is heavily used in
|
|
||||||
wxWorkshop which he also wrote the bulk of.
|
|
||||||
|
|
||||||
{\bf Please note} that this guide is in its infancy, and contributions
|
|
||||||
from FL users are very welcome.
|
|
||||||
|
|
||||||
The following screenshot (from fl\_demo1) shows a frame with a number of
|
|
||||||
bars that can be dragged around. The vertical grippers with
|
|
||||||
two lines allow a bar to be dragged in that row, changing the
|
|
||||||
ordering of the bar if necessary.
|
|
||||||
The dotted grippers (as in Netscape Navigator) allow
|
|
||||||
a whole row to be moved, again changing the position of the row
|
|
||||||
if required. While moving a bar or row, immediate feedback
|
|
||||||
is given as the moving bar displaces other bars.
|
|
||||||
|
|
||||||
Other features: the splitter bar shows a dotted thick line as
|
|
||||||
it's dragged. Single-clicking on a row handle minimizes it to
|
|
||||||
a horizontal tab which is given its own narrow row. This allows
|
|
||||||
the user to temporarily hide a row whilst allowing quick access
|
|
||||||
to it when required.
|
|
||||||
|
|
||||||
A close button (x) hides a bar completely. You can get it back again
|
|
||||||
by right-clicking and selecting the appropriate menu item.
|
|
||||||
|
|
||||||
A left, right, up or down arrow button expands the pane in that direction.
|
|
||||||
|
|
||||||
\center{\image{}{screen01.bmp}}
|
|
||||||
|
|
||||||
\section{Compiling and using FL}
|
|
||||||
|
|
||||||
FL can be found under the 'contrib' hierarchy, in the following directories:
|
|
||||||
|
|
||||||
\begin{verbatim}
|
|
||||||
contrib/src/fl
|
|
||||||
contrib/include/wx/fl
|
|
||||||
contrib/samples/fl
|
|
||||||
contrib/docs/latex/fl
|
|
||||||
docs/html/fl
|
|
||||||
docs/htmlhelp/fl.chm
|
|
||||||
docs/pdf/fl.pdf
|
|
||||||
docs/winhelp/fl.hlp
|
|
||||||
\end{verbatim}
|
|
||||||
|
|
||||||
To compile FL:
|
|
||||||
|
|
||||||
\begin{itemize}\itemsep=0pt
|
|
||||||
\item Under Windows using VC++, open the flVC.dsw project
|
|
||||||
and compile.
|
|
||||||
\item Under Unix, FL should be configured when you configured
|
|
||||||
wxWindows. Make FL by changing directory to contrib/src/fl and
|
|
||||||
type 'make'. {\bf Note:} there is currently a
|
|
||||||
problem with the wxWindows build system that means that
|
|
||||||
only the static version of library can be built at present.
|
|
||||||
\end{itemize}
|
|
||||||
|
|
||||||
To use FL:
|
|
||||||
|
|
||||||
\begin{itemize}\itemsep=0pt
|
|
||||||
\item Under Windows using VC++, link with fl[d].lib.
|
|
||||||
\item Under Unix, link with libfl[d].a.
|
|
||||||
\end{itemize}
|
|
||||||
|
|
||||||
\section{FL concepts}
|
|
||||||
|
|
||||||
These are typical steps when adding FL functionality to your application.
|
|
||||||
|
|
||||||
\begin{itemize}\itemsep=0pt
|
|
||||||
\item include the appropriate header files;
|
|
||||||
\item create a new \helpref{wxFrameLayout}{wxframelayout} passing the top-level frame and the window that
|
|
||||||
is interpreted as the main 'client' window;
|
|
||||||
\item set an updates manager for optimizing drag operations;
|
|
||||||
\item add plugins for implementing various features;
|
|
||||||
\item add bars;
|
|
||||||
\item enable floating mode for the layout if required;
|
|
||||||
\item delete the frame layout in the main frame's destructor.
|
|
||||||
\end{itemize}
|
|
||||||
|
|
||||||
The following is taken from fl\_demo1 and shows the main code implementing the
|
|
||||||
user interface as illustrated in \helpref{What is FL?}{whatisfl}.
|
|
||||||
|
|
||||||
\begin{verbatim}
|
|
||||||
// fl headers
|
|
||||||
#include "wx/fl/controlbar.h" // core API
|
|
||||||
|
|
||||||
// extra plugins
|
|
||||||
#include "wx/fl/barhintspl.h" // bevel for bars with "X"s and grooves
|
|
||||||
#include "wx/fl/rowdragpl.h" // NC-look with draggable rows
|
|
||||||
#include "wx/fl/cbcustom.h" // customization plugin
|
|
||||||
#include "wx/fl/hintanimpl.h"
|
|
||||||
|
|
||||||
// beauty-care
|
|
||||||
#include "wx/fl/gcupdatesmgr.h" // smooth d&d
|
|
||||||
#include "wx/fl/antiflickpl.h" // double-buffered repaint of decorations
|
|
||||||
#include "wx/fl/dyntbar.h" // auto-layout toolbar
|
|
||||||
#include "wx/fl/dyntbarhnd.h" // control-bar dimension handler for it
|
|
||||||
|
|
||||||
MyFrame::MyFrame(wxFrame *frame)
|
|
||||||
: wxFrame( frame, -1, "wxWindows 2.0 wxFrameLayout Test Application", wxDefaultPosition,
|
|
||||||
wxSize( 700, 500 ),
|
|
||||||
wxCLIP_CHILDREN | wxMINIMIZE_BOX | wxMAXIMIZE_BOX |
|
|
||||||
wxTHICK_FRAME | wxSYSTEM_MENU | wxCAPTION,
|
|
||||||
"freimas" )
|
|
||||||
{
|
|
||||||
mpClientWnd = CreateTextCtrl( "Client window" );
|
|
||||||
|
|
||||||
mpLayout = new wxFrameLayout( this, mpClientWnd );
|
|
||||||
|
|
||||||
mpLayout->SetUpdatesManager( new cbGCUpdatesMgr() );
|
|
||||||
|
|
||||||
// setup plugins for testing
|
|
||||||
mpLayout->PushDefaultPlugins();
|
|
||||||
|
|
||||||
mpLayout->AddPlugin( CLASSINFO( cbBarHintsPlugin ) ); // fancy "X"es and bevel for bars
|
|
||||||
mpLayout->AddPlugin( CLASSINFO( cbHintAnimationPlugin ) );
|
|
||||||
mpLayout->AddPlugin( CLASSINFO( cbRowDragPlugin ) );
|
|
||||||
mpLayout->AddPlugin( CLASSINFO( cbAntiflickerPlugin ) );
|
|
||||||
mpLayout->AddPlugin( CLASSINFO( cbSimpleCustomizationPlugin ) );
|
|
||||||
|
|
||||||
// drop in some bars
|
|
||||||
cbDimInfo sizes0( 200,45, // when docked horizontally
|
|
||||||
200,85, // when docked vertically
|
|
||||||
175,35, // when floated
|
|
||||||
FALSE, // the bar is not fixed-size
|
|
||||||
4, // vertical gap (bar border)
|
|
||||||
4 // horizontal gap (bar border)
|
|
||||||
);
|
|
||||||
|
|
||||||
cbDimInfo sizes1( 150,35, // when docked horizontally
|
|
||||||
150,85, // when docked vertically
|
|
||||||
175,35, // when floated
|
|
||||||
TRUE, // the bar is not fixed-size
|
|
||||||
4, // vertical gap (bar border)
|
|
||||||
4 // horizontal gap (bar border)
|
|
||||||
);
|
|
||||||
|
|
||||||
cbDimInfo sizes2( 175,45, // when docked horizontally
|
|
||||||
175,37, // when docked vertically
|
|
||||||
170,35, // when floated
|
|
||||||
TRUE, // the bar is not fixed-size
|
|
||||||
4, // vertical gap (bar border)
|
|
||||||
4, // horizontal gap (bar border)
|
|
||||||
new cbDynToolBarDimHandler()
|
|
||||||
);
|
|
||||||
|
|
||||||
mpLayout->AddBar( CreateTextCtrl("Hello"), // bar window
|
|
||||||
sizes0, FL_ALIGN_TOP, // alignment ( 0-top,1-bottom, etc)
|
|
||||||
0, // insert into 0th row (vert. position)
|
|
||||||
0, // offset from the start of row (in pixels)
|
|
||||||
"InfoViewer1", // name for reference in customization pop-ups
|
|
||||||
TRUE
|
|
||||||
);
|
|
||||||
|
|
||||||
mpLayout->AddBar( CreateTextCtrl("Bye"), // bar window
|
|
||||||
sizes0, FL_ALIGN_TOP, // alignment ( 0-top,1-bottom, etc)
|
|
||||||
1, // insert into 0th row (vert. position)
|
|
||||||
0, // offset from the start of row (in pixels)
|
|
||||||
"InfoViewer2", // name for reference in customization pop-ups
|
|
||||||
TRUE
|
|
||||||
);
|
|
||||||
|
|
||||||
mpLayout->AddBar( CreateTextCtrl("Fixed0"), // bar window
|
|
||||||
sizes1, FL_ALIGN_TOP, // alignment ( 0-top,1-bottom, etc)
|
|
||||||
0, // insert into 0th row (vert. position)
|
|
||||||
0, // offset from the start of row (in pixels)
|
|
||||||
"ToolBar1", // name for reference in customization pop-ups
|
|
||||||
TRUE
|
|
||||||
);
|
|
||||||
|
|
||||||
wxDynamicToolBar* pToolBar = new wxDynamicToolBar();
|
|
||||||
|
|
||||||
pToolBar->Create( this, -1 );
|
|
||||||
|
|
||||||
// 1001-1006 ids of command events fired by added tool-buttons
|
|
||||||
|
|
||||||
pToolBar->AddTool( 1001, BMP_DIR "new.bmp" );
|
|
||||||
pToolBar->AddTool( 1002, BMP_DIR "open.bmp" );
|
|
||||||
pToolBar->AddTool( 1003, BMP_DIR "save.bmp" );
|
|
||||||
|
|
||||||
pToolBar->AddTool( 1004, BMP_DIR "cut.bmp" );
|
|
||||||
pToolBar->AddTool( 1005, BMP_DIR "copy.bmp" );
|
|
||||||
pToolBar->AddTool( 1006, BMP_DIR "paste.bmp" );
|
|
||||||
|
|
||||||
mpLayout->AddBar( pToolBar, // bar window (can be NULL)
|
|
||||||
sizes2, FL_ALIGN_TOP, // alignment ( 0-top,1-bottom, etc)
|
|
||||||
0, // insert into 0th row (vert. position)
|
|
||||||
0, // offset from the start of row (in pixels)
|
|
||||||
"ToolBar2", // name for reference in customization pop-ups
|
|
||||||
FALSE
|
|
||||||
);
|
|
||||||
|
|
||||||
mpLayout->EnableFloating( TRUE ); // off, thinking about wxGtk...
|
|
||||||
}
|
|
||||||
|
|
||||||
MyFrame::~MyFrame()
|
|
||||||
{
|
|
||||||
if ( mpLayout)
|
|
||||||
delete mpLayout; // should be destroyed manually
|
|
||||||
}
|
|
||||||
\end{verbatim}
|
|
||||||
|
|
||||||
\section{Controlling dragging behaviour}\label{controllingdragbehav}
|
|
||||||
|
|
||||||
Various pane-dragging behaviours are supported. FL can
|
|
||||||
show an outline of where the window would be docked
|
|
||||||
if you stopped dragging at that point.
|
|
||||||
|
|
||||||
This is a list of properties of interest in the cbCommonPaneProperties
|
|
||||||
structure:
|
|
||||||
|
|
||||||
\begin{verbatim}
|
|
||||||
bool mRealTimeUpdatesOn; // default: ON
|
|
||||||
bool mOutOfPaneDragOn; // default: ON
|
|
||||||
bool mExactDockPredictionOn; // default: OFF
|
|
||||||
bool mNonDestructFrictionOn; // default: OFF
|
|
||||||
\end{verbatim}
|
|
||||||
|
|
||||||
To get behaviour similar to Microsoft's DevStudio drag-ghost behaviour,
|
|
||||||
mRealTimeUpdatesOn have to be set to FALSE, for example:
|
|
||||||
|
|
||||||
\begin{verbatim}
|
|
||||||
cbCommonPaneProperties props;
|
|
||||||
....
|
|
||||||
....
|
|
||||||
props.mRealTimeUpdatesOn = FALSE;
|
|
||||||
fl->SetPaneProperties( props, wxALL_PANES );
|
|
||||||
\end{verbatim}
|
|
||||||
|
|
||||||
{\it mOutOfPaneDragOn} specifies whether bars can be dragged
|
|
||||||
away from this pane. (Note: this may not currently be working.)
|
|
||||||
|
|
||||||
{\it mExactDockPredictionOn} is only relevant when {\it mRealTimeUpdatesOn} is FALSE,
|
|
||||||
and then the hint rectangle behaves a little jumpily. It tries to show
|
|
||||||
exatly how the bar would look and where it would be docked if the dragging finished right
|
|
||||||
now, i.e. the final position, with all the 'friction-physics' calculated.
|
|
||||||
Otherwise the hint flies smothly above the surface only hinting whether the bar
|
|
||||||
will be docked vertically or horizontally if dropped now.
|
|
||||||
This is a feature you won't find anywhere else!
|
|
||||||
|
|
||||||
{\it mNonDestructFirctionOn} causes the bars not being dragged
|
|
||||||
to stay where they are, while the currently dragged one is 'diving'
|
|
||||||
through the underlaying panes, docking itself in and out in real time.
|
|
||||||
Otherwise the stationary bars would be pushed around messing up the composition permanently.
|
|
||||||
This flag is irelevant when {\it mRealTimeUpdatesOn} is FALSE, as the ghost-rect
|
|
||||||
does not do any docking until the drag finishes.
|
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 198 B |
@@ -1,92 +0,0 @@
|
|||||||
\chapter{Classes by category}\label{classesbycat}
|
|
||||||
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
|
|
||||||
\setfooter{\thepage}{}{}{}{}{\thepage}%
|
|
||||||
|
|
||||||
A classification of FL classes by category.
|
|
||||||
|
|
||||||
{\large {\bf Plugin classes}}
|
|
||||||
|
|
||||||
Plugins can be added to frame layouts to extend behaviour.
|
|
||||||
|
|
||||||
\twocolwidtha{6cm}
|
|
||||||
\begin{twocollist}\itemsep=0pt
|
|
||||||
\twocolitem{\helpref{cbAntiflickerPlugin}{cbantiflickerplugin}}{Double-buffering class}
|
|
||||||
\twocolitem{\helpref{cbBarDragPlugin}{cbbardragplugin}}{Implements drag behaviour.}
|
|
||||||
\twocolitem{\helpref{cbBarHintsPlugin}{cbbarhintsplugin}}{Implements bar decoration and sizing behaviour.}
|
|
||||||
\twocolitem{\helpref{cbHintAnimationPlugin}{cbhintanimationplugin}}{Draws animated hints when the user drags a pane.}
|
|
||||||
\twocolitem{\helpref{cbPaneDrawPlugin}{cbpanedrawplugin}}{Implements most of MFC-style control bar implementation.}
|
|
||||||
\twocolitem{\helpref{cbPluginBase}{cbpluginbase}}{Abstract base class for all control-bar related plugins.}
|
|
||||||
\twocolitem{\helpref{cbRowDragPlugin}{cbrowdragplugin}}{Implements row-dragging functionality.}
|
|
||||||
\twocolitem{\helpref{cbRowLayoutPlugin}{cbrowlayoutplugin}}{Implements row layout functionality.}
|
|
||||||
\twocolitem{\helpref{cbSimpleCustomizationPlugin}{cbsimplecustomizationplugin}}{Enables customization of a bar.}
|
|
||||||
\twocolitem{\helpref{cbBarSpy}{cbbarspy}}{Helper class used for spying for unhandled mouse events on control bars and forwarding them to the frame layout.}
|
|
||||||
\end{twocollist}
|
|
||||||
|
|
||||||
{\large {\bf Window classes}}
|
|
||||||
|
|
||||||
Windows classes (note that the mini-button implementations are not true windows
|
|
||||||
in that they do not derive from wxWindow).
|
|
||||||
|
|
||||||
\twocolwidtha{6cm}
|
|
||||||
\begin{twocollist}\itemsep=0pt
|
|
||||||
\twocolitem{\helpref{wxToolWindow}{wxtoolwindow}}{A small frame that paints its own titlebar.}
|
|
||||||
\twocolitem{\helpref{cbFloatedBarWindow}{cbfloatedbarwindow}}{A kind of wxToolWindow implementing floating windows.}
|
|
||||||
\twocolitem{\helpref{cbMiniButton}{cbminibutton}}{Base class for wxToolWindow titlebar buttons.}
|
|
||||||
\twocolitem{\helpref{cbCloseBox}{cbclosebox}}{Close button for wxToolWindow titlebar.}
|
|
||||||
\twocolitem{\helpref{cbCollapseBox}{cbcollapsebox}}{Collapse button for wxToolWindow titlebar.}
|
|
||||||
\twocolitem{\helpref{cbDockBox}{cbdockbox}}{Dock button for wxToolWindow titlebar.}
|
|
||||||
\twocolitem{\helpref{cbCloseBox}{cbclosebox}}{Close button for wxToolWindow titlebar.}
|
|
||||||
\twocolitem{\helpref{wxNewBitmapButton}{wxnewbitmapbutton}}{Alternative bitmap button class.}
|
|
||||||
\end{twocollist}
|
|
||||||
|
|
||||||
{\large {\bf Layout management classes}}
|
|
||||||
|
|
||||||
These classes relate to the layout management framework.
|
|
||||||
|
|
||||||
\twocolwidtha{6cm}
|
|
||||||
\begin{twocollist}\itemsep=0pt
|
|
||||||
\twocolitem{\helpref{cbDockPane}{cbdockpane}}{Manages containment and control of bars in a prent frame.}
|
|
||||||
\twocolitem{\helpref{BagLayout}{baglayout}}{BagLayout lays out items in left-to-right order from top to bottom.}
|
|
||||||
\twocolitem{\helpref{cbUpdatesManagerBase}{cbupdatesmanagerbase}}{An abstract interface for display update optimization logic.}
|
|
||||||
\twocolitem{\helpref{cbSimpleUpdatesMgr}{cbsimpleupdatesmgr}}{Implements optimized logic for refreshing areas of frame layout that need to be updated.}
|
|
||||||
\twocolitem{\helpref{cbGCUpdatesMgr}{cbgcupdatesmgr}}{Implements optimized logic for refresh, based on a garbage collection algorithm.}
|
|
||||||
\twocolitem{\helpref{GarbageCollector}{garbagecollector}}{A garbage collection algorithm for use in display refresh optimization.}
|
|
||||||
\twocolitem{\helpref{wxFrameLayout}{wxframelayout}}{Manages containment and docking of control bars, which can be docked along the top, bottom, right, or left side of the parent frame.}
|
|
||||||
\end{twocollist}
|
|
||||||
|
|
||||||
{\large {\bf Event classes}}
|
|
||||||
|
|
||||||
Events are used to decouple parts of the layout framework. For event macros and identifiers,
|
|
||||||
please see the topic \helpref{Event macros and identifiers}{events}.
|
|
||||||
|
|
||||||
\twocolwidtha{6cm}
|
|
||||||
\begin{twocollist}\itemsep=0pt
|
|
||||||
\twocolitem{\helpref{cbCustomizeBarEvent}{cbcustomizebarevent}}{Class for bar customization events.}
|
|
||||||
\twocolitem{\helpref{cbCustomizeLayoutEvent}{cbcustomizelayoutevent}}{Class for layout customization events.}
|
|
||||||
\twocolitem{\helpref{cbDrawBarDecorEvent}{cbdrawbardecorevent}}{Class for bar decoration drawing events.}
|
|
||||||
\twocolitem{\helpref{cbDrawBarHandlesEvent}{cbdrawbarhandlesevent}}{Class for bar handles drawing events.}
|
|
||||||
\twocolitem{\helpref{cbDrawHintRectEvent}{cbdrawhintrectevent}}{Class for hint-rectangle drawing events.}
|
|
||||||
\twocolitem{\helpref{cbDrawPaneBkGroundEvent}{cbdrawpanebkgroundevent}}{Class for pane background drawing events.}
|
|
||||||
\twocolitem{\helpref{cbDrawPaneDecorEvent}{cbdrawpanedecorevent}}{Class for pane decoration drawing events.}
|
|
||||||
\twocolitem{\helpref{cbDrawRowBkGroundEvent}{cbdrawrowbkgroundevent}}{Class for row background drawing events.}
|
|
||||||
\twocolitem{\helpref{cbDrawRowDecorEvent}{cbdrawrowdecorevent}}{Class for row decoration drawing events.}
|
|
||||||
\twocolitem{\helpref{cbDrawRowHandlesEvent}{cbdrawrowhandlesevent}}{Class for row handles drawing events.}
|
|
||||||
\twocolitem{\helpref{cbFinishDrawInAreaEvent}{cbfinishdrawinareaevent}}{Class for finish drawing in area events.}
|
|
||||||
\twocolitem{\helpref{cbInsertBarEvent}{cbinsertbarevent}}{Class for bar insertion events.}
|
|
||||||
\twocolitem{\helpref{cbLayoutRowEvent}{cblayoutrowevent}}{Class for single row layout events.}
|
|
||||||
\twocolitem{\helpref{cbLayoutRowsEvent}{cblayoutrowsevent}}{Class for multiple rows layout events.}
|
|
||||||
\twocolitem{\helpref{cbLeftDClickEvent}{cbleftdclickevent}}{Class for mouse left double click events.}
|
|
||||||
\twocolitem{\helpref{cbLeftDownEvent}{cbleftdownevent}}{Class for mouse left down events.}
|
|
||||||
\twocolitem{\helpref{cbLeftUpEvent}{cbleftupevent}}{Class for mouse left up events.}
|
|
||||||
\twocolitem{\helpref{cbMotionEvent}{cbmotionevent}}{Class for mouse motion events.}
|
|
||||||
\twocolitem{\helpref{cbPluginEvent}{cbpluginevent}}{Base class for all control-bar plugin events.}
|
|
||||||
\twocolitem{\helpref{cbRemoveBarEvent}{cbremovebarevent}}{Class for bar removal events.}
|
|
||||||
\twocolitem{\helpref{cbResizeBarEvent}{cbresizebarevent}}{Class for bar resize events.}
|
|
||||||
\twocolitem{\helpref{cbResizeRowEvent}{cbresizerowevent}}{Class for row resize events.}
|
|
||||||
\twocolitem{\helpref{cbRightDownEvent}{cbrightdownevent}}{Class for mouse right down events.}
|
|
||||||
\twocolitem{\helpref{cbRightUpEvent}{cbrightupevent}}{Class for mouse right up events.}
|
|
||||||
\twocolitem{\helpref{cbSizeBarWndEvent}{cbsizebarwndevent}}{Class for bar window resize events.}
|
|
||||||
\twocolitem{\helpref{cbStartBarDraggingEvent}{cbstartbardraggingevent}}{Class for start-bar-dragging events.}
|
|
||||||
\twocolitem{\helpref{cbStartDrawInAreaEvent}{cbstartdrawinareaevent}}{Class for start drawing in area events.}
|
|
||||||
\end{twocollist}
|
|
||||||
|
|
@@ -1,88 +0,0 @@
|
|||||||
%
|
|
||||||
% automatically generated by HelpGen $Revision$ from
|
|
||||||
% antiflickpl.h at 21/Jan/02 21:14:17
|
|
||||||
%
|
|
||||||
|
|
||||||
|
|
||||||
\section{\class{cbAntiflickerPlugin}}\label{cbantiflickerplugin}
|
|
||||||
|
|
||||||
|
|
||||||
Implements double-buffering to reduce flicker.
|
|
||||||
Bitmap and memory DC buffers are shared 'resources' among all instances of
|
|
||||||
antiflicker plugins within the application.
|
|
||||||
|
|
||||||
Locking for multithreaded applications is not yet implemented.
|
|
||||||
|
|
||||||
\wxheading{Derived from}
|
|
||||||
|
|
||||||
\helpref{cbPluginBase}{cbpluginbase}
|
|
||||||
|
|
||||||
\wxheading{Include files}
|
|
||||||
|
|
||||||
<wx/fl/antiflickpl.h>
|
|
||||||
|
|
||||||
\wxheading{Data structures}
|
|
||||||
|
|
||||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbAntiflickerPlugin::cbAntiflickerPlugin}\label{cbantiflickerplugincbantiflickerplugin}
|
|
||||||
|
|
||||||
\func{}{cbAntiflickerPlugin}{\void}
|
|
||||||
|
|
||||||
Default constructor.
|
|
||||||
|
|
||||||
|
|
||||||
\func{}{cbAntiflickerPlugin}{\param{wxFrameLayout* }{pPanel}, \param{int }{paneMask = wxALL\_PANES}}
|
|
||||||
|
|
||||||
Constructor taking frame layout panel, and pane mask.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbAntiflickerPlugin::\destruct{cbAntiflickerPlugin}}\label{cbantiflickerplugindtor}
|
|
||||||
|
|
||||||
\func{}{\destruct{cbAntiflickerPlugin}}{\void}
|
|
||||||
|
|
||||||
Destructor.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbAntiflickerPlugin::AllocNewBuffer}\label{cbantiflickerpluginallocnewbuffer}
|
|
||||||
|
|
||||||
\func{wxDC*}{AllocNewBuffer}{\param{const wxRect\& }{forArea}}
|
|
||||||
|
|
||||||
Allocates a suitable buffer.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbAntiflickerPlugin::FindSuitableBuffer}\label{cbantiflickerpluginfindsuitablebuffer}
|
|
||||||
|
|
||||||
\func{wxDC*}{FindSuitableBuffer}{\param{const wxRect\& }{forArea}}
|
|
||||||
|
|
||||||
Finds a suitable buffer. Returns NULL if a suitable buffer is not present.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbAntiflickerPlugin::GetClientDC}\label{cbantiflickerplugingetclientdc}
|
|
||||||
|
|
||||||
\func{wxDC\&}{GetClientDC}{\void}
|
|
||||||
|
|
||||||
Gets the client device context.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbAntiflickerPlugin::GetWindowDC}\label{cbantiflickerplugingetwindowdc}
|
|
||||||
|
|
||||||
\func{wxDC\&}{GetWindowDC}{\void}
|
|
||||||
|
|
||||||
Gets the window device context.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbAntiflickerPlugin::OnFinishDrawInArea}\label{cbantiflickerpluginonfinishdrawinarea}
|
|
||||||
|
|
||||||
\func{void}{OnFinishDrawInArea}{\param{cbFinishDrawInAreaEvent\& }{event}}
|
|
||||||
|
|
||||||
Handler for plugin event.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbAntiflickerPlugin::OnStartDrawInArea}\label{cbantiflickerpluginonstartdrawinarea}
|
|
||||||
|
|
||||||
\func{void}{OnStartDrawInArea}{\param{cbStartDrawInAreaEvent\& }{event}}
|
|
||||||
|
|
||||||
Handler for plugin event.
|
|
||||||
|
|
@@ -1,66 +0,0 @@
|
|||||||
%
|
|
||||||
% automatically generated by HelpGen $Revision$ from
|
|
||||||
% controlbar.h at 21/Jan/02 21:14:13
|
|
||||||
%
|
|
||||||
|
|
||||||
|
|
||||||
\section{\class{cbBarDimHandlerBase}}\label{cbbardimhandlerbase}
|
|
||||||
|
|
||||||
|
|
||||||
Abstract interface for bar-size handler classes.
|
|
||||||
These objects receive notifications whenever the docking
|
|
||||||
state of the bar is changed, thus they provide the possibility
|
|
||||||
to adjust the values in cbDimInfo::mSizes accordingly.
|
|
||||||
Specific handlers can be hooked up to specific types of bar.
|
|
||||||
|
|
||||||
\wxheading{Derived from}
|
|
||||||
|
|
||||||
\helpref{wxObject}{wxobject}
|
|
||||||
|
|
||||||
\wxheading{Include files}
|
|
||||||
|
|
||||||
<wx/fl/controlbar.h>
|
|
||||||
|
|
||||||
\wxheading{Data structures}
|
|
||||||
|
|
||||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarDimHandlerBase::cbBarDimHandlerBase}\label{cbbardimhandlerbasecbbardimhandlerbase}
|
|
||||||
|
|
||||||
\func{}{cbBarDimHandlerBase}{\void}
|
|
||||||
|
|
||||||
to multiple bars, it's instance is
|
|
||||||
reference-counted
|
|
||||||
Default constructor. The initial reference count is 0, since
|
|
||||||
the handler is not used until the first invocation of AddRef().
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarDimHandlerBase::AddRef}\label{cbbardimhandlerbaseaddref}
|
|
||||||
|
|
||||||
\func{void}{AddRef}{\void}
|
|
||||||
|
|
||||||
Increments the reference count.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarDimHandlerBase::OnChangeBarState}\label{cbbardimhandlerbaseonchangebarstate}
|
|
||||||
|
|
||||||
\func{void}{OnChangeBarState}{\param{cbBarInfo* }{pBar}, \param{int }{newState}}
|
|
||||||
|
|
||||||
Responds to "bar-state-changes" notifications.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarDimHandlerBase::OnResizeBar}\label{cbbardimhandlerbaseonresizebar}
|
|
||||||
|
|
||||||
\func{void}{OnResizeBar}{\param{cbBarInfo* }{pBar}, \param{const wxSize\& }{given}, \param{wxSize\& }{preferred}}
|
|
||||||
|
|
||||||
Responds to bar resize notifications.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarDimHandlerBase::RemoveRef}\label{cbbardimhandlerbaseremoveref}
|
|
||||||
|
|
||||||
\func{void}{RemoveRef}{\void}
|
|
||||||
|
|
||||||
Decrements the reference count, and if the count is at zero,
|
|
||||||
delete 'this'.
|
|
||||||
|
|
@@ -1,246 +0,0 @@
|
|||||||
%
|
|
||||||
% automatically generated by HelpGen $Revision$ from
|
|
||||||
% bardragpl.h at 21/Jan/02 21:14:17
|
|
||||||
%
|
|
||||||
|
|
||||||
|
|
||||||
\section{\class{cbBarDragPlugin}}\label{cbbardragplugin}
|
|
||||||
|
|
||||||
|
|
||||||
Plugin class implementing bar dragging.
|
|
||||||
|
|
||||||
\wxheading{Derived from}
|
|
||||||
|
|
||||||
\helpref{cbPluginBase}{cbpluginbase}
|
|
||||||
|
|
||||||
\wxheading{Include files}
|
|
||||||
|
|
||||||
<wx/fl/bardragpl.h>
|
|
||||||
|
|
||||||
\wxheading{Data structures}
|
|
||||||
|
|
||||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarDragPlugin::cbBarDragPlugin}\label{cbbardragplugincbbardragplugin}
|
|
||||||
|
|
||||||
\func{}{cbBarDragPlugin}{\void}
|
|
||||||
|
|
||||||
Default constructor.
|
|
||||||
|
|
||||||
|
|
||||||
\func{}{cbBarDragPlugin}{\param{wxFrameLayout* }{pPanel}, \param{int }{paneMask = wxALL\_PANES}}
|
|
||||||
|
|
||||||
Constructor taking a parent frame, and flag. See cbPluginBase.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarDragPlugin::\destruct{cbBarDragPlugin}}\label{cbbardragplugindtor}
|
|
||||||
|
|
||||||
\func{}{\destruct{cbBarDragPlugin}}{\void}
|
|
||||||
|
|
||||||
Destructor.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarDragPlugin::AdjustHintRect}\label{cbbardragpluginadjusthintrect}
|
|
||||||
|
|
||||||
\func{void}{AdjustHintRect}{\param{wxPoint\& }{mousePos}}
|
|
||||||
|
|
||||||
the thicker rectangle is drawn using hatched brush,
|
|
||||||
the default border width for this rectangle is 8 pix.
|
|
||||||
Internal implementation function.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarDragPlugin::CalcOnScreenDims}\label{cbbardragplugincalconscreendims}
|
|
||||||
|
|
||||||
\func{void}{CalcOnScreenDims}{\param{wxRect\& }{rect}}
|
|
||||||
|
|
||||||
Internal implementation function.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarDragPlugin::ClipPosInFrame}\label{cbbardragpluginclipposinframe}
|
|
||||||
|
|
||||||
\func{void}{ClipPosInFrame}{\param{wxPoint\& }{pos}}
|
|
||||||
|
|
||||||
Internal implementation function.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarDragPlugin::ClipRectInFrame}\label{cbbardragplugincliprectinframe}
|
|
||||||
|
|
||||||
\func{void}{ClipRectInFrame}{\param{wxRect\& }{rect}}
|
|
||||||
|
|
||||||
Internal implementation function.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarDragPlugin::DoDrawHintRect}\label{cbbardragplugindodrawhintrect}
|
|
||||||
|
|
||||||
\func{void}{DoDrawHintRect}{\param{wxRect\& }{rect}, \param{bool }{isInClientRect}}
|
|
||||||
|
|
||||||
Internal implementation function.
|
|
||||||
Draw the hint rectangle.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarDragPlugin::DrawHintRect}\label{cbbardragplugindrawhintrect}
|
|
||||||
|
|
||||||
\func{void}{DrawHintRect}{\param{wxRect\& }{rect}, \param{bool }{isInClientRect}}
|
|
||||||
|
|
||||||
Internal implementation function.
|
|
||||||
Draw the visual hint while dragging.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarDragPlugin::EraseHintRect}\label{cbbardragpluginerasehintrect}
|
|
||||||
|
|
||||||
\func{void}{EraseHintRect}{\param{wxRect\& }{rect}, \param{bool }{isInClientRect}}
|
|
||||||
|
|
||||||
Internal implementation function.
|
|
||||||
Erase the visual hint while dragging.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarDragPlugin::FinishTracking}\label{cbbardragpluginfinishtracking}
|
|
||||||
|
|
||||||
\func{void}{FinishTracking}{\void}
|
|
||||||
|
|
||||||
Internal implementation function.
|
|
||||||
Stop showing the visual hint while dragging.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarDragPlugin::GetBarHeightInPane}\label{cbbardragplugingetbarheightinpane}
|
|
||||||
|
|
||||||
\func{int}{GetBarHeightInPane}{\param{cbDockPane* }{pPane}}
|
|
||||||
|
|
||||||
Internal implementation function.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarDragPlugin::GetBarWidthInPane}\label{cbbardragplugingetbarwidthinpane}
|
|
||||||
|
|
||||||
\func{int}{GetBarWidthInPane}{\param{cbDockPane* }{pPane}}
|
|
||||||
|
|
||||||
Internal implementation function.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarDragPlugin::GetDistanceToPane}\label{cbbardragplugingetdistancetopane}
|
|
||||||
|
|
||||||
\func{int}{GetDistanceToPane}{\param{cbDockPane* }{pPane}, \param{wxPoint\& }{mousePos}}
|
|
||||||
|
|
||||||
Internal implementation function.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarDragPlugin::HitTestPanes}\label{cbbardragpluginhittestpanes}
|
|
||||||
|
|
||||||
\func{cbDockPane*}{HitTestPanes}{\param{wxRect\& }{rect}}
|
|
||||||
|
|
||||||
Internal implementation function. Finds the pane
|
|
||||||
under the specified rectangle.
|
|
||||||
|
|
||||||
|
|
||||||
\func{cbDockPane*}{HitTestPanes}{\param{wxPoint\& }{pos}}
|
|
||||||
|
|
||||||
Internal implementation function. Finds the pane
|
|
||||||
under the specified point.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarDragPlugin::HitsPane}\label{cbbardragpluginhitspane}
|
|
||||||
|
|
||||||
\func{bool}{HitsPane}{\param{cbDockPane* }{pPane}, \param{wxRect\& }{rect}}
|
|
||||||
|
|
||||||
Internal implementation function.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarDragPlugin::IsInClientArea}\label{cbbardragpluginisinclientarea}
|
|
||||||
|
|
||||||
\func{bool}{IsInClientArea}{\param{wxPoint\& }{mousePos}}
|
|
||||||
|
|
||||||
Internal implementation function.
|
|
||||||
|
|
||||||
|
|
||||||
\func{bool}{IsInClientArea}{\param{wxRect\& }{rect}}
|
|
||||||
|
|
||||||
Internal implementation function.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarDragPlugin::IsInOtherPane}\label{cbbardragpluginisinotherpane}
|
|
||||||
|
|
||||||
\func{bool}{IsInOtherPane}{\param{wxPoint\& }{mousePos}}
|
|
||||||
|
|
||||||
Internal implementation function.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarDragPlugin::OnDrawHintRect}\label{cbbardragpluginondrawhintrect}
|
|
||||||
|
|
||||||
\func{void}{OnDrawHintRect}{\param{cbDrawHintRectEvent\& }{event}}
|
|
||||||
|
|
||||||
Handles event, which originates from itself.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarDragPlugin::OnLButtonDown}\label{cbbardragpluginonlbuttondown}
|
|
||||||
|
|
||||||
\func{void}{OnLButtonDown}{\param{cbLeftDownEvent\& }{event}}
|
|
||||||
|
|
||||||
Handler for plugin event.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarDragPlugin::OnLButtonUp}\label{cbbardragpluginonlbuttonup}
|
|
||||||
|
|
||||||
\func{void}{OnLButtonUp}{\param{cbLeftUpEvent\& }{event}}
|
|
||||||
|
|
||||||
Handler for plugin event.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarDragPlugin::OnLDblClick}\label{cbbardragpluginonldblclick}
|
|
||||||
|
|
||||||
\func{void}{OnLDblClick}{\param{cbLeftDClickEvent\& }{event}}
|
|
||||||
|
|
||||||
Handler for plugin event.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarDragPlugin::OnMouseMove}\label{cbbardragpluginonmousemove}
|
|
||||||
|
|
||||||
\func{void}{OnMouseMove}{\param{cbMotionEvent\& }{event}}
|
|
||||||
|
|
||||||
Handler for plugin event.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarDragPlugin::OnStartBarDragging}\label{cbbardragpluginonstartbardragging}
|
|
||||||
|
|
||||||
\func{void}{OnStartBarDragging}{\param{cbStartBarDraggingEvent\& }{event}}
|
|
||||||
|
|
||||||
Handler for plugin event.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarDragPlugin::RectToScr}\label{cbbardragpluginrecttoscr}
|
|
||||||
|
|
||||||
\func{void}{RectToScr}{\param{wxRect\& }{frameRect}, \param{wxRect\& }{scrRect}}
|
|
||||||
|
|
||||||
Internal implementation function.
|
|
||||||
Converts the given rectangle from window to screen coordinates.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarDragPlugin::ShowHint}\label{cbbardragpluginshowhint}
|
|
||||||
|
|
||||||
\func{void}{ShowHint}{\param{bool }{prevWasInClient}}
|
|
||||||
|
|
||||||
Internal implementation function.
|
|
||||||
Show the hint; called within OnMouseMove.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarDragPlugin::StartTracking}\label{cbbardragpluginstarttracking}
|
|
||||||
|
|
||||||
\func{void}{StartTracking}{\void}
|
|
||||||
|
|
||||||
on-screen hint-tracking related methods
|
|
||||||
Internal implementation function.
|
|
||||||
Start showing a visual hint while dragging.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarDragPlugin::StickToPane}\label{cbbardragpluginsticktopane}
|
|
||||||
|
|
||||||
\func{void}{StickToPane}{\param{cbDockPane* }{pPane}, \param{wxPoint\& }{mousePos}}
|
|
||||||
|
|
||||||
Internal implementation function.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarDragPlugin::UnstickFromPane}\label{cbbardragpluginunstickfrompane}
|
|
||||||
|
|
||||||
\func{void}{UnstickFromPane}{\param{cbDockPane* }{pPane}, \param{wxPoint\& }{mousePos}}
|
|
||||||
|
|
||||||
Internal implementation function.
|
|
||||||
|
|
@@ -1,155 +0,0 @@
|
|||||||
%
|
|
||||||
% automatically generated by HelpGen $Revision$ from
|
|
||||||
% barhintspl.h at 21/Jan/02 21:14:18
|
|
||||||
%
|
|
||||||
|
|
||||||
|
|
||||||
\section{\class{cbBarHintsPlugin}}\label{cbbarhintsplugin}
|
|
||||||
|
|
||||||
|
|
||||||
This class intercepts bar-decoration and sizing events, and draws 3D hints
|
|
||||||
around fixed and flexible bars, similar to those in Microsoft DevStudio 6.x
|
|
||||||
|
|
||||||
\wxheading{Derived from}
|
|
||||||
|
|
||||||
\helpref{cbPluginBase}{cbpluginbase}
|
|
||||||
|
|
||||||
\wxheading{Include files}
|
|
||||||
|
|
||||||
<wx/fl/barhintspl.h>
|
|
||||||
|
|
||||||
\wxheading{Data structures}
|
|
||||||
|
|
||||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarHintsPlugin::cbBarHintsPlugin}\label{cbbarhintsplugincbbarhintsplugin}
|
|
||||||
|
|
||||||
\func{}{cbBarHintsPlugin}{\void}
|
|
||||||
|
|
||||||
Default constructor.
|
|
||||||
|
|
||||||
|
|
||||||
\func{}{cbBarHintsPlugin}{\param{wxFrameLayout* }{pLayout}, \param{int }{paneMask = wxALL\_PANES}}
|
|
||||||
|
|
||||||
Constructor, taking parent frame and pane mask flag.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarHintsPlugin::\destruct{cbBarHintsPlugin}}\label{cbbarhintsplugindtor}
|
|
||||||
|
|
||||||
\func{}{\destruct{cbBarHintsPlugin}}{\void}
|
|
||||||
|
|
||||||
Destructor.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarHintsPlugin::CreateBoxes}\label{cbbarhintsplugincreateboxes}
|
|
||||||
|
|
||||||
\func{void}{CreateBoxes}{\void}
|
|
||||||
|
|
||||||
Helper function: creates close and collapse boxes.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarHintsPlugin::DoDrawHint}\label{cbbarhintsplugindodrawhint}
|
|
||||||
|
|
||||||
\func{void}{DoDrawHint}{\param{wxDC\& }{dc}, \param{wxRect\& }{rect}, \param{int }{pos}, \param{int }{boxOfs}, \param{int }{grooveOfs}, \param{bool }{isFixed}}
|
|
||||||
|
|
||||||
Helper function: draws a hint.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarHintsPlugin::Draw3DBox}\label{cbbarhintsplugindraw3dbox}
|
|
||||||
|
|
||||||
\func{void}{Draw3DBox}{\param{wxDC\& }{dc}, \param{const wxPoint\& }{pos}, \param{bool }{pressed}}
|
|
||||||
|
|
||||||
Helper function: draws a 3D box.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarHintsPlugin::DrawCloseBox}\label{cbbarhintsplugindrawclosebox}
|
|
||||||
|
|
||||||
\func{void}{DrawCloseBox}{\param{wxDC\& }{dc}, \param{const wxPoint\& }{pos}, \param{bool }{pressed}}
|
|
||||||
|
|
||||||
Helper function: draws a close box.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarHintsPlugin::DrawCollapseBox}\label{cbbarhintsplugindrawcollapsebox}
|
|
||||||
|
|
||||||
\func{void}{DrawCollapseBox}{\param{wxDC\& }{dc}, \param{const wxPoint\& }{pos}, \param{bool }{atLeft}, \param{bool }{disabled}, \param{bool }{pressed}}
|
|
||||||
|
|
||||||
Helper function: draws a collapse box.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarHintsPlugin::DrawGrooves}\label{cbbarhintsplugindrawgrooves}
|
|
||||||
|
|
||||||
\func{void}{DrawGrooves}{\param{wxDC\& }{dc}, \param{const wxPoint\& }{pos}, \param{int }{length}}
|
|
||||||
|
|
||||||
Helper function: draws grooves.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarHintsPlugin::ExcludeHints}\label{cbbarhintspluginexcludehints}
|
|
||||||
|
|
||||||
\func{void}{ExcludeHints}{\param{wxRect\& }{rect}, \param{cbBarInfo\& }{info}}
|
|
||||||
|
|
||||||
Helper function.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarHintsPlugin::GetHintsLayout}\label{cbbarhintsplugingethintslayout}
|
|
||||||
|
|
||||||
\func{void}{GetHintsLayout}{\param{wxRect\& }{rect}, \param{cbBarInfo\& }{info}, \param{int\& }{boxOfs}, \param{int\& }{grooveOfs}, \param{int\& }{pos}}
|
|
||||||
|
|
||||||
Helper function: gets the layout of a hint.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarHintsPlugin::HitTestHints}\label{cbbarhintspluginhittesthints}
|
|
||||||
|
|
||||||
\func{int}{HitTestHints}{\param{cbBarInfo\& }{info}, \param{const wxPoint\& }{pos}}
|
|
||||||
|
|
||||||
Helper function: returns information about the hint under the given position.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarHintsPlugin::OnDrawBarDecorations}\label{cbbarhintspluginondrawbardecorations}
|
|
||||||
|
|
||||||
\func{void}{OnDrawBarDecorations}{\param{cbDrawBarDecorEvent\& }{event}}
|
|
||||||
|
|
||||||
Handles a plugin event.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarHintsPlugin::OnInitPlugin}\label{cbbarhintspluginoninitplugin}
|
|
||||||
|
|
||||||
\func{void}{OnInitPlugin}{\void}
|
|
||||||
|
|
||||||
Called to initialize this plugin.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarHintsPlugin::OnLeftDown}\label{cbbarhintspluginonleftdown}
|
|
||||||
|
|
||||||
\func{void}{OnLeftDown}{\param{cbLeftDownEvent\& }{event}}
|
|
||||||
|
|
||||||
Handles a plugin event.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarHintsPlugin::OnLeftUp}\label{cbbarhintspluginonleftup}
|
|
||||||
|
|
||||||
\func{void}{OnLeftUp}{\param{cbLeftUpEvent\& }{event}}
|
|
||||||
|
|
||||||
Handles a plugin event.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarHintsPlugin::OnMotion}\label{cbbarhintspluginonmotion}
|
|
||||||
|
|
||||||
\func{void}{OnMotion}{\param{cbMotionEvent\& }{event}}
|
|
||||||
|
|
||||||
Handles a plugin event.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarHintsPlugin::OnSizeBarWindow}\label{cbbarhintspluginonsizebarwindow}
|
|
||||||
|
|
||||||
\func{void}{OnSizeBarWindow}{\param{cbSizeBarWndEvent\& }{event}}
|
|
||||||
|
|
||||||
Handles a plugin event.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarHintsPlugin::SetGrooveCount}\label{cbbarhintspluginsetgroovecount}
|
|
||||||
|
|
||||||
\func{void}{SetGrooveCount}{\param{int }{nGrooves}}
|
|
||||||
|
|
||||||
Set the number of grooves to be shown in the pane.
|
|
||||||
|
|
@@ -1,52 +0,0 @@
|
|||||||
%
|
|
||||||
% automatically generated by HelpGen $Revision$ from
|
|
||||||
% controlbar.h at 21/Jan/02 21:14:14
|
|
||||||
%
|
|
||||||
|
|
||||||
|
|
||||||
\section{\class{cbBarInfo}}\label{cbbarinfo}
|
|
||||||
|
|
||||||
|
|
||||||
Helper class used internally by the wxFrameLayout class.
|
|
||||||
Holds and manages bar information.
|
|
||||||
|
|
||||||
\wxheading{Derived from}
|
|
||||||
|
|
||||||
\helpref{wxObject}{wxobject}
|
|
||||||
|
|
||||||
\wxheading{Include files}
|
|
||||||
|
|
||||||
<wx/fl/controlbar.h>
|
|
||||||
|
|
||||||
\wxheading{Data structures}
|
|
||||||
|
|
||||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarInfo::cbBarInfo}\label{cbbarinfocbbarinfo}
|
|
||||||
|
|
||||||
\func{}{cbBarInfo}{\void}
|
|
||||||
|
|
||||||
Constructor.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarInfo::\destruct{cbBarInfo}}\label{cbbarinfodtor}
|
|
||||||
|
|
||||||
\func{}{\destruct{cbBarInfo}}{\void}
|
|
||||||
|
|
||||||
Destructor.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarInfo::IsExpanded}\label{cbbarinfoisexpanded}
|
|
||||||
|
|
||||||
\constfunc{bool}{IsExpanded}{\void}
|
|
||||||
|
|
||||||
Returns TRUE if this bar is expanded.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarInfo::IsFixed}\label{cbbarinfoisfixed}
|
|
||||||
|
|
||||||
\constfunc{bool}{IsFixed}{\void}
|
|
||||||
|
|
||||||
Returns TRUE if this bar is fixed.
|
|
||||||
|
|
@@ -1,22 +0,0 @@
|
|||||||
%
|
|
||||||
% automatically generated by HelpGen $Revision$ from
|
|
||||||
% controlbar.h at 21/Jan/02 21:14:14
|
|
||||||
%
|
|
||||||
|
|
||||||
|
|
||||||
\section{\class{cbBarShapeData}}\label{cbbarshapedata}
|
|
||||||
|
|
||||||
|
|
||||||
Used for storing the original bar's positions in the row, when the 'non-destructive-friction'
|
|
||||||
option is turned on.
|
|
||||||
|
|
||||||
\wxheading{Derived from}
|
|
||||||
|
|
||||||
\helpref{wxObject}{wxobject}
|
|
||||||
|
|
||||||
\wxheading{Include files}
|
|
||||||
|
|
||||||
<wx/fl/controlbar.h>
|
|
||||||
|
|
||||||
\wxheading{Data structures}
|
|
||||||
|
|
@@ -1,72 +0,0 @@
|
|||||||
%
|
|
||||||
% automatically generated by HelpGen $Revision$ from
|
|
||||||
% controlbar.h at 21/Jan/02 21:14:13
|
|
||||||
%
|
|
||||||
|
|
||||||
|
|
||||||
\section{\class{cbBarSpy}}\label{cbbarspy}
|
|
||||||
|
|
||||||
|
|
||||||
Helper class, used for spying for unhandled mouse events on control bars
|
|
||||||
and forwarding them to the frame layout.
|
|
||||||
|
|
||||||
\wxheading{Derived from}
|
|
||||||
|
|
||||||
\helpref{wxEvtHandler}{wxevthandler}
|
|
||||||
|
|
||||||
\wxheading{Include files}
|
|
||||||
|
|
||||||
<wx/fl/controlbar.h>
|
|
||||||
|
|
||||||
\wxheading{Data structures}
|
|
||||||
|
|
||||||
{\small \begin{verbatim}
|
|
||||||
typedef cbBarInfo* BarInfoPtrT
|
|
||||||
\end{verbatim}}
|
|
||||||
forward declarations
|
|
||||||
|
|
||||||
{\small \begin{verbatim}
|
|
||||||
typedef cbRowInfo* RowInfoPtrT
|
|
||||||
\end{verbatim}}
|
|
||||||
enumeration of hittest results, see cbDockPane::HitTestPaneItems(..)
|
|
||||||
\begin{verbatim}
|
|
||||||
enum CB_HITTEST_RESULT
|
|
||||||
{
|
|
||||||
CB_NO_ITEMS_HITTED,
|
|
||||||
|
|
||||||
CB_UPPER_ROW_HANDLE_HITTED,
|
|
||||||
CB_LOWER_ROW_HANDLE_HITTED,
|
|
||||||
CB_LEFT_BAR_HANDLE_HITTED,
|
|
||||||
CB_RIGHT_BAR_HANDLE_HITTED,
|
|
||||||
CB_BAR_CONTENT_HITTED
|
|
||||||
}
|
|
||||||
\end{verbatim}
|
|
||||||
|
|
||||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarSpy::cbBarSpy}\label{cbbarspycbbarspy}
|
|
||||||
|
|
||||||
\func{}{cbBarSpy}{\param{wxFrameLayout* }{pPanel}}
|
|
||||||
|
|
||||||
Constructor, taking a parent pane.
|
|
||||||
|
|
||||||
|
|
||||||
\func{}{cbBarSpy}{\void}
|
|
||||||
|
|
||||||
Default constructor.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarSpy::ProcessEvent}\label{cbbarspyprocessevent}
|
|
||||||
|
|
||||||
\func{bool}{ProcessEvent}{\param{wxEvent\& }{event}}
|
|
||||||
|
|
||||||
Performs special event processing.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbBarSpy::SetBarWindow}\label{cbbarspysetbarwindow}
|
|
||||||
|
|
||||||
\func{void}{SetBarWindow}{\param{wxWindow* }{pWnd}}
|
|
||||||
|
|
||||||
Sets the bar window.
|
|
||||||
|
|
@@ -1,30 +0,0 @@
|
|||||||
%
|
|
||||||
% automatically generated by HelpGen $Revision$ from
|
|
||||||
% toolwnd.h at 21/Jan/02 21:14:17
|
|
||||||
%
|
|
||||||
|
|
||||||
|
|
||||||
\section{\class{cbCloseBox}}\label{cbclosebox}
|
|
||||||
|
|
||||||
|
|
||||||
cbCloseBox is a window close button, used in a wxToolWindow titlebar.
|
|
||||||
|
|
||||||
\wxheading{Derived from}
|
|
||||||
|
|
||||||
\helpref{cbMiniButton}{cbminibutton}
|
|
||||||
|
|
||||||
\wxheading{Include files}
|
|
||||||
|
|
||||||
<wx/fl/toolwnd.h>
|
|
||||||
|
|
||||||
\wxheading{Data structures}
|
|
||||||
|
|
||||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbCloseBox::Draw}\label{cbcloseboxdraw}
|
|
||||||
|
|
||||||
\func{void}{Draw}{\param{wxDC\& }{dc}}
|
|
||||||
|
|
||||||
Draws the close button appearance.
|
|
||||||
|
|
@@ -1,30 +0,0 @@
|
|||||||
%
|
|
||||||
% automatically generated by HelpGen $Revision$ from
|
|
||||||
% toolwnd.h at 21/Jan/02 21:14:17
|
|
||||||
%
|
|
||||||
|
|
||||||
|
|
||||||
\section{\class{cbCollapseBox}}\label{cbcollapsebox}
|
|
||||||
|
|
||||||
|
|
||||||
cbCollapseBox is a window collapse button, used in a wxToolWindow titlebar.
|
|
||||||
|
|
||||||
\wxheading{Derived from}
|
|
||||||
|
|
||||||
\helpref{cbMiniButton}{cbminibutton}
|
|
||||||
|
|
||||||
\wxheading{Include files}
|
|
||||||
|
|
||||||
<wx/fl/toolwnd.h>
|
|
||||||
|
|
||||||
\wxheading{Data structures}
|
|
||||||
|
|
||||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbCollapseBox::Draw}\label{cbcollapseboxdraw}
|
|
||||||
|
|
||||||
\func{void}{Draw}{\param{wxDC\& }{dc}}
|
|
||||||
|
|
||||||
Draws the collapse button appearance.
|
|
||||||
|
|
@@ -1,58 +0,0 @@
|
|||||||
%
|
|
||||||
% automatically generated by HelpGen $Revision$ from
|
|
||||||
% controlbar.h at 21/Jan/02 21:14:14
|
|
||||||
%
|
|
||||||
|
|
||||||
\section{\class{cbCommonPaneProperties}}\label{cbcommonpaneproperties}
|
|
||||||
|
|
||||||
A structure holding configuration options,
|
|
||||||
which are usually the same for all panes in
|
|
||||||
a frame layout. For an explanation of the data members, please
|
|
||||||
see \helpref{Controlling dragging behaviour}{controllingdragbehav}.
|
|
||||||
|
|
||||||
\wxheading{Derived from}
|
|
||||||
|
|
||||||
\helpref{wxObject}{wxobject}
|
|
||||||
|
|
||||||
\wxheading{Include files}
|
|
||||||
|
|
||||||
<wx/fl/controlbar.h>
|
|
||||||
|
|
||||||
\wxheading{Data structures}
|
|
||||||
|
|
||||||
\begin{verbatim}
|
|
||||||
class cbCommonPaneProperties : public wxObject
|
|
||||||
{
|
|
||||||
DECLARE_DYNAMIC_CLASS( cbCommonPaneProperties )
|
|
||||||
|
|
||||||
// Look-and-feel configuration
|
|
||||||
|
|
||||||
bool mRealTimeUpdatesOn; // default: ON
|
|
||||||
bool mOutOfPaneDragOn; // default: ON
|
|
||||||
bool mExactDockPredictionOn; // default: OFF
|
|
||||||
bool mNonDestructFrictionOn; // default: OFF
|
|
||||||
|
|
||||||
bool mShow3DPaneBorderOn; // default: ON
|
|
||||||
|
|
||||||
// The following properties are reserved for the "future"
|
|
||||||
|
|
||||||
bool mBarFloatingOn; // default: OFF
|
|
||||||
bool mRowProportionsOn; // default: OFF
|
|
||||||
bool mColProportionsOn; // default: ON
|
|
||||||
bool mBarCollapseIconsOn; // default: OFF
|
|
||||||
bool mBarDragHintsOn; // default: OFF
|
|
||||||
|
|
||||||
// Minimal dimensions for not-fixed bars in this pane (16x16 default)
|
|
||||||
|
|
||||||
wxSize mMinCBarDim;
|
|
||||||
|
|
||||||
// Width/height of resizing sash
|
|
||||||
|
|
||||||
int mResizeHandleSize;
|
|
||||||
|
|
||||||
// Default constructor.
|
|
||||||
|
|
||||||
cbCommonPaneProperties(void);
|
|
||||||
};
|
|
||||||
\end{verbatim}
|
|
||||||
|
|
@@ -1,30 +0,0 @@
|
|||||||
%
|
|
||||||
% automatically generated by HelpGen $Revision$ from
|
|
||||||
% controlbar.h at 21/Jan/02 21:14:17
|
|
||||||
%
|
|
||||||
|
|
||||||
|
|
||||||
\section{\class{cbCustomizeBarEvent}}\label{cbcustomizebarevent}
|
|
||||||
|
|
||||||
|
|
||||||
Class for bar customization events.
|
|
||||||
|
|
||||||
\wxheading{Derived from}
|
|
||||||
|
|
||||||
\helpref{cbPluginEvent}{cbpluginevent}
|
|
||||||
|
|
||||||
\wxheading{Include files}
|
|
||||||
|
|
||||||
<wx/fl/controlbar.h>
|
|
||||||
|
|
||||||
\wxheading{Data structures}
|
|
||||||
|
|
||||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbCustomizeBarEvent::cbCustomizeBarEvent}\label{cbcustomizebareventcbcustomizebarevent}
|
|
||||||
|
|
||||||
\func{}{cbCustomizeBarEvent}{\param{cbBarInfo* }{pBar}, \param{const wxPoint\& }{clickPos}, \param{cbDockPane* }{pPane}}
|
|
||||||
|
|
||||||
Constructor, taking bar information, mouse position, and pane.
|
|
||||||
|
|
@@ -1,30 +0,0 @@
|
|||||||
%
|
|
||||||
% automatically generated by HelpGen $Revision$ from
|
|
||||||
% controlbar.h at 21/Jan/02 21:14:17
|
|
||||||
%
|
|
||||||
|
|
||||||
|
|
||||||
\section{\class{cbCustomizeLayoutEvent}}\label{cbcustomizelayoutevent}
|
|
||||||
|
|
||||||
|
|
||||||
Class for layout customization events.
|
|
||||||
|
|
||||||
\wxheading{Derived from}
|
|
||||||
|
|
||||||
\helpref{cbPluginEvent}{cbpluginevent}
|
|
||||||
|
|
||||||
\wxheading{Include files}
|
|
||||||
|
|
||||||
<wx/fl/controlbar.h>
|
|
||||||
|
|
||||||
\wxheading{Data structures}
|
|
||||||
|
|
||||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbCustomizeLayoutEvent::cbCustomizeLayoutEvent}\label{cbcustomizelayouteventcbcustomizelayoutevent}
|
|
||||||
|
|
||||||
\func{}{cbCustomizeLayoutEvent}{\param{const wxPoint\& }{clickPos}}
|
|
||||||
|
|
||||||
Constructor, taking mouse position.
|
|
||||||
|
|
@@ -1,80 +0,0 @@
|
|||||||
%
|
|
||||||
% automatically generated by HelpGen $Revision$ from
|
|
||||||
% controlbar.h at 21/Jan/02 21:14:13
|
|
||||||
%
|
|
||||||
|
|
||||||
|
|
||||||
\section{\class{cbDimInfo}}\label{cbdiminfo}
|
|
||||||
|
|
||||||
|
|
||||||
Helper class used internally by the wxFrameLayout class.
|
|
||||||
Holds and manages information about bar dimensions.
|
|
||||||
|
|
||||||
\wxheading{Derived from}
|
|
||||||
|
|
||||||
\helpref{wxObject}{wxobject}
|
|
||||||
|
|
||||||
\wxheading{Include files}
|
|
||||||
|
|
||||||
<wx/fl/controlbar.h>
|
|
||||||
|
|
||||||
\wxheading{Data structures}
|
|
||||||
|
|
||||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDimInfo::cbDimInfo}\label{cbdiminfocbdiminfo}
|
|
||||||
|
|
||||||
\func{}{cbDimInfo}{\param{cbBarDimHandlerBase* }{pDimHandler}, \param{bool }{isFixed}}
|
|
||||||
|
|
||||||
Constructor.
|
|
||||||
isFixed is TRUE if vertical/horizontal dimensions cannot be manually adjusted
|
|
||||||
by the user using resizing handles. If FALSE, the frame-layout
|
|
||||||
automatically places resizing handles among bars that do are not fixed.
|
|
||||||
|
|
||||||
|
|
||||||
\func{}{cbDimInfo}{\param{int }{dh\_x}, \param{int }{dh\_y}, \param{int }{dv\_x}, \param{int }{dv\_y}, \param{int }{f\_x}, \param{int }{f\_y}, \param{bool }{isFixed = TRUE}, \param{int }{horizGap = 6}, \param{int }{vertGap = 6}, \param{cbBarDimHandlerBase* }{pDimHandler = NULL}}
|
|
||||||
|
|
||||||
Constructor taking dimenstion information.
|
|
||||||
dh\_x, dh\_y are the dimensions when docked horizontally.
|
|
||||||
dv\_x, dv\_y are the dimensions when docked vertically.
|
|
||||||
f\_x, f\_y are the dimensions when floating.
|
|
||||||
For information on isFixed, see comments above.
|
|
||||||
horizGap is the left/right gap, separating decorations
|
|
||||||
from the bar's actual wndow, filled with the frame's background colour.
|
|
||||||
The dimension is given in the frame's coordinates.
|
|
||||||
vertGap is the top/bottom gap, separating decorations
|
|
||||||
from the bar's actual wndow, filled with the frame's background colour.
|
|
||||||
The dimension is given in the frame's coordinates.
|
|
||||||
|
|
||||||
|
|
||||||
\func{}{cbDimInfo}{\param{int }{x}, \param{int }{y}, \param{bool }{isFixed = TRUE}, \param{int }{gap = 6}, \param{cbBarDimHandlerBase* }{pDimHandler = NULL}}
|
|
||||||
|
|
||||||
Constructor.
|
|
||||||
|
|
||||||
|
|
||||||
\func{}{cbDimInfo}{\void}
|
|
||||||
|
|
||||||
Default constructor.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDimInfo::\destruct{cbDimInfo}}\label{cbdiminfodtor}
|
|
||||||
|
|
||||||
\func{}{\destruct{cbDimInfo}}{\void}
|
|
||||||
|
|
||||||
Destructor. Destroys handler automatically, if present.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDimInfo::GetDimHandler}\label{cbdiminfogetdimhandler}
|
|
||||||
|
|
||||||
\func{cbBarDimHandlerBase*}{GetDimHandler}{\void}
|
|
||||||
|
|
||||||
Returns the handler, if any.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDimInfo::operator=}\label{cbdiminfooperatorassign}
|
|
||||||
|
|
||||||
\func{const cbDimInfo\& operator}{operator=}{\param{const cbDimInfo\& }{other}}
|
|
||||||
|
|
||||||
Assignment operator.
|
|
||||||
|
|
@@ -1,30 +0,0 @@
|
|||||||
%
|
|
||||||
% automatically generated by HelpGen $Revision$ from
|
|
||||||
% toolwnd.h at 21/Jan/02 21:14:17
|
|
||||||
%
|
|
||||||
|
|
||||||
|
|
||||||
\section{\class{cbDockBox}}\label{cbdockbox}
|
|
||||||
|
|
||||||
|
|
||||||
cbDockBox is a window dock button, used in a wxToolWindow titlebar.
|
|
||||||
|
|
||||||
\wxheading{Derived from}
|
|
||||||
|
|
||||||
\helpref{cbMiniButton}{cbminibutton}
|
|
||||||
|
|
||||||
\wxheading{Include files}
|
|
||||||
|
|
||||||
<wx/fl/toolwnd.h>
|
|
||||||
|
|
||||||
\wxheading{Data structures}
|
|
||||||
|
|
||||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockBox::Draw}\label{cbdockboxdraw}
|
|
||||||
|
|
||||||
\func{void}{Draw}{\param{wxDC\& }{dc}}
|
|
||||||
|
|
||||||
Draws the dock button appearance.
|
|
||||||
|
|
@@ -1,578 +0,0 @@
|
|||||||
%
|
|
||||||
% automatically generated by HelpGen $Revision$ from
|
|
||||||
% controlbar.h at 21/Jan/02 21:14:14
|
|
||||||
%
|
|
||||||
|
|
||||||
|
|
||||||
\section{\class{cbDockPane}}\label{cbdockpane}
|
|
||||||
|
|
||||||
|
|
||||||
This class manages containment and control of control bars
|
|
||||||
along one of the four edges of the parent frame.
|
|
||||||
|
|
||||||
\wxheading{Derived from}
|
|
||||||
|
|
||||||
\helpref{wxObject}{wxobject}
|
|
||||||
|
|
||||||
\wxheading{Include files}
|
|
||||||
|
|
||||||
<wx/fl/controlbar.h>
|
|
||||||
|
|
||||||
\wxheading{Data structures}
|
|
||||||
|
|
||||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::cbDockPane}\label{cbdockpanecbdockpane}
|
|
||||||
|
|
||||||
\func{}{cbDockPane}{\param{int }{alignment}, \param{wxFrameLayout* }{pPanel}}
|
|
||||||
|
|
||||||
Constructor, taking alignment and layout panel.
|
|
||||||
|
|
||||||
|
|
||||||
\func{}{cbDockPane}{\void}
|
|
||||||
|
|
||||||
public members Default constructor.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::\destruct{cbDockPane}}\label{cbdockpanedtor}
|
|
||||||
|
|
||||||
\func{}{\destruct{cbDockPane}}{\void}
|
|
||||||
|
|
||||||
Destructor.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::BarPresent}\label{cbdockpanebarpresent}
|
|
||||||
|
|
||||||
\func{bool}{BarPresent}{\param{cbBarInfo* }{pBar}}
|
|
||||||
|
|
||||||
Returns TRUE if the given bar is present in this pane.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::CalcLengthRatios}\label{cbdockpanecalclengthratios}
|
|
||||||
|
|
||||||
\func{void}{CalcLengthRatios}{\param{cbRowInfo* }{pInRow}}
|
|
||||||
|
|
||||||
Calculate lengths.
|
|
||||||
Internal function called by plugins.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::ContractBar}\label{cbdockpanecontractbar}
|
|
||||||
|
|
||||||
\func{void}{ContractBar}{\param{cbBarInfo* }{pBar}}
|
|
||||||
|
|
||||||
Contracts the bar.
|
|
||||||
Internal function called by plugins.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::DoInsertBar}\label{cbdockpanedoinsertbar}
|
|
||||||
|
|
||||||
\func{void}{DoInsertBar}{\param{cbBarInfo* }{pBar}, \param{int }{rowNo}}
|
|
||||||
|
|
||||||
Inserts the bar at the given row number.
|
|
||||||
Internal function called by plugins.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::DrawHorizHandle}\label{cbdockpanedrawhorizhandle}
|
|
||||||
|
|
||||||
\func{void}{DrawHorizHandle}{\param{wxDC\& }{dc}, \param{int }{x}, \param{int }{y}, \param{int }{width}}
|
|
||||||
|
|
||||||
Row/bar resizing related helper-method.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::DrawVertHandle}\label{cbdockpanedrawverthandle}
|
|
||||||
|
|
||||||
\func{void}{DrawVertHandle}{\param{wxDC\& }{dc}, \param{int }{x}, \param{int }{y}, \param{int }{height}}
|
|
||||||
|
|
||||||
protected really (accessed only by plugins) Row/bar resizing related helper-method.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::ExpandBar}\label{cbdockpaneexpandbar}
|
|
||||||
|
|
||||||
\func{void}{ExpandBar}{\param{cbBarInfo* }{pBar}}
|
|
||||||
|
|
||||||
Expands the bar.
|
|
||||||
Internal function called by plugins.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::FinishDrawInArea}\label{cbdockpanefinishdrawinarea}
|
|
||||||
|
|
||||||
\func{void}{FinishDrawInArea}{\param{const wxRect\& }{area}}
|
|
||||||
|
|
||||||
Generates cbFinishDrawInAreaEvent and sends it to the layout.
|
|
||||||
Internal function called by plugins.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::FrameToPane}\label{cbdockpaneframetopane}
|
|
||||||
|
|
||||||
\func{void}{FrameToPane}{\param{int* }{x}, \param{int* }{y}}
|
|
||||||
|
|
||||||
Coordinate translation between parent's frame and this pane.
|
|
||||||
Internal function called by plugins.
|
|
||||||
|
|
||||||
|
|
||||||
\func{void}{FrameToPane}{\param{wxRect* }{pRect}}
|
|
||||||
|
|
||||||
Coordinate translation between parent's frame and this pane.
|
|
||||||
Internal function called by plugins.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::GetAlignment}\label{cbdockpanegetalignment}
|
|
||||||
|
|
||||||
\func{int}{GetAlignment}{\void}
|
|
||||||
|
|
||||||
Returns the alignment for this pane. The value is one of
|
|
||||||
FL\_ALIGN\_TOP, FL\_ALIGN\_BOTTOM, FL\_ALIGN\_LEFT, FL\_ALIGN\_RIGHT.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::GetBarInfoByWindow}\label{cbdockpanegetbarinfobywindow}
|
|
||||||
|
|
||||||
\func{cbBarInfo*}{GetBarInfoByWindow}{\param{wxWindow* }{pBarWnd}}
|
|
||||||
|
|
||||||
Finds the bar information by corresponding window.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::GetBarResizeRange}\label{cbdockpanegetbarresizerange}
|
|
||||||
|
|
||||||
\func{void}{GetBarResizeRange}{\param{cbBarInfo* }{pBar}, \param{int* }{from}, \param{int* }{till}, \param{bool }{forLeftHandle}}
|
|
||||||
|
|
||||||
Returns the bar's resize range.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::GetDockingState}\label{cbdockpanegetdockingstate}
|
|
||||||
|
|
||||||
\func{int}{GetDockingState}{\void}
|
|
||||||
|
|
||||||
Returns wxCBAR\_DOCKED\_HORIZONTALLY if the alignment is top or bottom,
|
|
||||||
or wxCBAR\_DOCKED\_VERTICALLY otherwise.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::GetFirstRow}\label{cbdockpanegetfirstrow}
|
|
||||||
|
|
||||||
\func{cbRowInfo*}{GetFirstRow}{\void}
|
|
||||||
|
|
||||||
Returns the first row.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::GetMinimalRowHeight}\label{cbdockpanegetminimalrowheight}
|
|
||||||
|
|
||||||
\func{int}{GetMinimalRowHeight}{\param{cbRowInfo* }{pRow}}
|
|
||||||
|
|
||||||
Returns the minimal row height for the given row.
|
|
||||||
Internal function called by plugins.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::GetNotFixedBarsCount}\label{cbdockpanegetnotfixedbarscount}
|
|
||||||
|
|
||||||
\func{int}{GetNotFixedBarsCount}{\param{cbRowInfo* }{pRow}}
|
|
||||||
|
|
||||||
Returns the number of bars whose size is not fixed.
|
|
||||||
Internal function called by plugins.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::GetPaneHeight}\label{cbdockpanegetpaneheight}
|
|
||||||
|
|
||||||
\func{int}{GetPaneHeight}{\void}
|
|
||||||
|
|
||||||
Returns the height in the pane's coordinates.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::GetRealRect}\label{cbdockpanegetrealrect}
|
|
||||||
|
|
||||||
\func{wxRect\&}{GetRealRect}{\void}
|
|
||||||
|
|
||||||
Returns the bounds of the pane, in parent coordinates.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::GetRow}\label{cbdockpanegetrow}
|
|
||||||
|
|
||||||
\func{cbRowInfo*}{GetRow}{\param{int }{row}}
|
|
||||||
|
|
||||||
protected really (accessed only by plugins) Returns the row info for a row index. Internal function called by plugins.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::GetRowAt}\label{cbdockpanegetrowat}
|
|
||||||
|
|
||||||
\func{int}{GetRowAt}{\param{int }{paneY}}
|
|
||||||
|
|
||||||
Returns the row at the given vertical position.
|
|
||||||
Returns -1 if the row is not present at given vertical position.
|
|
||||||
Internal function called by plugins.
|
|
||||||
|
|
||||||
|
|
||||||
\func{int}{GetRowAt}{\param{int }{upperY}, \param{int }{lowerY}}
|
|
||||||
|
|
||||||
Returns the row between the given vertical positions.
|
|
||||||
Returns -1 if the row is not present.
|
|
||||||
Internal function called by plugins.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::GetRowIndex}\label{cbdockpanegetrowindex}
|
|
||||||
|
|
||||||
\func{int}{GetRowIndex}{\param{cbRowInfo* }{pRow}}
|
|
||||||
|
|
||||||
Returns the row index for the given row info. Internal function called by plugins.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::GetRowList}\label{cbdockpanegetrowlist}
|
|
||||||
|
|
||||||
\func{RowArrayT\&}{GetRowList}{\void}
|
|
||||||
|
|
||||||
Returns an array of rows. Used by updates-managers.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::GetRowResizeRange}\label{cbdockpanegetrowresizerange}
|
|
||||||
|
|
||||||
\func{void}{GetRowResizeRange}{\param{cbRowInfo* }{pRow}, \param{int* }{from}, \param{int* }{till}, \param{bool }{forUpperHandle}}
|
|
||||||
|
|
||||||
Returns the row's resize range.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::GetRowShapeData}\label{cbdockpanegetrowshapedata}
|
|
||||||
|
|
||||||
\func{void}{GetRowShapeData}{\param{cbRowInfo* }{pRow}, \param{wxList* }{pLst}}
|
|
||||||
|
|
||||||
Returns row shape data.
|
|
||||||
cbBarShapeData objects will be added to the given pLst.
|
|
||||||
cbBarShapeData is used for storing the original bar's positions in the row,
|
|
||||||
when the 'non-destructive-friction' option is turned on.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::GetRowY}\label{cbdockpanegetrowy}
|
|
||||||
|
|
||||||
\func{int}{GetRowY}{\param{cbRowInfo* }{pRow}}
|
|
||||||
|
|
||||||
Gets the vertical position at the given row.
|
|
||||||
Internal function called by plugins.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::HasNotFixedBarsLeft}\label{cbdockpanehasnotfixedbarsleft}
|
|
||||||
|
|
||||||
\func{bool}{HasNotFixedBarsLeft}{\param{cbBarInfo* }{pBar}}
|
|
||||||
|
|
||||||
Returns TRUE if there are any variable-sized rows to the left of this one.
|
|
||||||
Internal function called by plugins.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::HasNotFixedBarsRight}\label{cbdockpanehasnotfixedbarsright}
|
|
||||||
|
|
||||||
\func{bool}{HasNotFixedBarsRight}{\param{cbBarInfo* }{pBar}}
|
|
||||||
|
|
||||||
Returns TRUE if there are any variable-sized rows to the right of this one.
|
|
||||||
Internal function called by plugins.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::HasNotFixedRowsAbove}\label{cbdockpanehasnotfixedrowsabove}
|
|
||||||
|
|
||||||
\func{bool}{HasNotFixedRowsAbove}{\param{cbRowInfo* }{pRow}}
|
|
||||||
|
|
||||||
Returns TRUE if there are any variable-sized rows above this one.
|
|
||||||
Internal function called by plugins.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::HasNotFixedRowsBelow}\label{cbdockpanehasnotfixedrowsbelow}
|
|
||||||
|
|
||||||
\func{bool}{HasNotFixedRowsBelow}{\param{cbRowInfo* }{pRow}}
|
|
||||||
|
|
||||||
Returns TRUE if there are any variable-sized rows below this one.
|
|
||||||
Internal function called by plugins.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::HasPoint}\label{cbdockpanehaspoint}
|
|
||||||
|
|
||||||
\func{bool}{HasPoint}{\param{const wxPoint\& }{pos}, \param{int }{x}, \param{int }{y}, \param{int }{width}, \param{int }{height}}
|
|
||||||
|
|
||||||
Returns TRUE if pos is within the given rectangle.
|
|
||||||
Internal function called by plugins.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::HitTestPaneItems}\label{cbdockpanehittestpaneitems}
|
|
||||||
|
|
||||||
\func{int}{HitTestPaneItems}{\param{const wxPoint\& }{pos}, \param{cbRowInfo** }{ppRow}, \param{cbBarInfo** }{ppBar}}
|
|
||||||
|
|
||||||
Returns the result of hit-testing items in the pane.
|
|
||||||
See CB\_HITTEST\_RESULT enumerated type.
|
|
||||||
pos is the position in this pane's coordinates.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::InitLinksForRow}\label{cbdockpaneinitlinksforrow}
|
|
||||||
|
|
||||||
\func{void}{InitLinksForRow}{\param{cbRowInfo* }{pRow}}
|
|
||||||
|
|
||||||
Sets up links between bars.
|
|
||||||
Internal function called by plugins.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::InitLinksForRows}\label{cbdockpaneinitlinksforrows}
|
|
||||||
|
|
||||||
\func{void}{InitLinksForRows}{\void}
|
|
||||||
|
|
||||||
Sets up links between bars.
|
|
||||||
Internal function called by plugins.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::InsertBar}\label{cbdockpaneinsertbar}
|
|
||||||
|
|
||||||
\func{void}{InsertBar}{\param{cbBarInfo* }{pBarInfo}}
|
|
||||||
|
|
||||||
Inserts bar and sets its position according to the preferred settings
|
|
||||||
given in pBarInfo.
|
|
||||||
|
|
||||||
|
|
||||||
\func{void}{InsertBar}{\param{cbBarInfo* }{pBar}, \param{const wxRect\& }{rect}}
|
|
||||||
|
|
||||||
Inserts the bar into this pane. rect is given in the parent frame's coordinates.
|
|
||||||
|
|
||||||
|
|
||||||
\func{void}{InsertBar}{\param{cbBarInfo* }{pBar}, \param{cbRowInfo* }{pIntoRow}}
|
|
||||||
|
|
||||||
Inserts the bar into the given row, with dimensions and position
|
|
||||||
stored in pBarInfo->mBounds. Returns the node of inserted bar.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::InsertRow}\label{cbdockpaneinsertrow}
|
|
||||||
|
|
||||||
\func{void}{InsertRow}{\param{cbRowInfo* }{pRow}, \param{cbRowInfo* }{pBeforeRow}}
|
|
||||||
|
|
||||||
Inserts a row. Does not refresh the inserted row immediately.
|
|
||||||
If pBeforeRowNode is NULL, the row is appended to the end of pane's row list.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::IsFixedSize}\label{cbdockpaneisfixedsize}
|
|
||||||
|
|
||||||
\func{bool}{IsFixedSize}{\param{cbBarInfo* }{pInfo}}
|
|
||||||
|
|
||||||
Returns TRUE if the bar's dimension information indicates a fixed size.
|
|
||||||
Internal function called by plugins.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::IsHorizontal}\label{cbdockpaneishorizontal}
|
|
||||||
|
|
||||||
\func{bool}{IsHorizontal}{\void}
|
|
||||||
|
|
||||||
Returns TRUE if the pane is aligned to the top or bottom.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::MatchesMask}\label{cbdockpanematchesmask}
|
|
||||||
|
|
||||||
\func{bool}{MatchesMask}{\param{int }{paneMask}}
|
|
||||||
|
|
||||||
Returns TRUE if the given mask matches the pane's mask.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::PaintBar}\label{cbdockpanepaintbar}
|
|
||||||
|
|
||||||
\func{void}{PaintBar}{\param{cbBarInfo* }{pBar}, \param{wxDC\& }{dc}}
|
|
||||||
|
|
||||||
Calls PaintBarDecorations and PaintBarHandles.
|
|
||||||
Internal function called by plugins.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::PaintBarDecorations}\label{cbdockpanepaintbardecorations}
|
|
||||||
|
|
||||||
\func{void}{PaintBarDecorations}{\param{cbBarInfo* }{pBar}, \param{wxDC\& }{dc}}
|
|
||||||
|
|
||||||
protected really (accessed only by plugins) Generates a cbDrawBarDecorEvent and sends it to the layout to paint the bar decorations.
|
|
||||||
Internal function called by plugins.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::PaintBarHandles}\label{cbdockpanepaintbarhandles}
|
|
||||||
|
|
||||||
\func{void}{PaintBarHandles}{\param{cbBarInfo* }{pBar}, \param{wxDC\& }{dc}}
|
|
||||||
|
|
||||||
Generates a cbDrawBarHandlesEvent and sends it to the layout to paint the bar handles.
|
|
||||||
Internal function called by plugins.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::PaintPane}\label{cbdockpanepaintpane}
|
|
||||||
|
|
||||||
\func{void}{PaintPane}{\param{wxDC\& }{dc}}
|
|
||||||
|
|
||||||
Paints the pane background, the row background and decorations,
|
|
||||||
and finally the pane decorations.
|
|
||||||
Internal function called by plugins.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::PaintPaneBackground}\label{cbdockpanepaintpanebackground}
|
|
||||||
|
|
||||||
\func{void}{PaintPaneBackground}{\param{wxDC\& }{dc}}
|
|
||||||
|
|
||||||
Generates cbDrawPaneBkGroundEvent and sends it to the layout.
|
|
||||||
Internal function called by plugins.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::PaintPaneDecorations}\label{cbdockpanepaintpanedecorations}
|
|
||||||
|
|
||||||
\func{void}{PaintPaneDecorations}{\param{wxDC\& }{dc}}
|
|
||||||
|
|
||||||
Generates cbDrawPaneDecorEvent and sends it to the layout.
|
|
||||||
Internal function called by plugins.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::PaintRow}\label{cbdockpanepaintrow}
|
|
||||||
|
|
||||||
\func{void}{PaintRow}{\param{cbRowInfo* }{pRow}, \param{wxDC\& }{dc}}
|
|
||||||
|
|
||||||
Calls PaintRowBackground, PaintRowDecorations, PaintRowHandles.
|
|
||||||
Internal function called by plugins.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::PaintRowBackground}\label{cbdockpanepaintrowbackground}
|
|
||||||
|
|
||||||
\func{void}{PaintRowBackground}{\param{cbRowInfo* }{pRow}, \param{wxDC\& }{dc}}
|
|
||||||
|
|
||||||
Generates cbDrawRowBkGroundEvent and sends it to the layout.
|
|
||||||
Internal function called by plugins.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::PaintRowDecorations}\label{cbdockpanepaintrowdecorations}
|
|
||||||
|
|
||||||
\func{void}{PaintRowDecorations}{\param{cbRowInfo* }{pRow}, \param{wxDC\& }{dc}}
|
|
||||||
|
|
||||||
Calls PaintBarDecorations for each row.
|
|
||||||
Internal function called by plugins.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::PaintRowHandles}\label{cbdockpanepaintrowhandles}
|
|
||||||
|
|
||||||
\func{void}{PaintRowHandles}{\param{cbRowInfo* }{pRow}, \param{wxDC\& }{dc}}
|
|
||||||
|
|
||||||
Generates cbDrawRowHandlesEvent and cbDrawRowDecorEvent and sends them to the layout.
|
|
||||||
Internal function called by plugins.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::PaneToFrame}\label{cbdockpanepanetoframe}
|
|
||||||
|
|
||||||
\func{void}{PaneToFrame}{\param{wxRect* }{pRect}}
|
|
||||||
|
|
||||||
Coordinate translation between parent's frame and this pane.
|
|
||||||
Internal function called by plugins.
|
|
||||||
|
|
||||||
|
|
||||||
\func{void}{PaneToFrame}{\param{int* }{x}, \param{int* }{y}}
|
|
||||||
|
|
||||||
Coordinate translation between parent's frame and this pane.
|
|
||||||
Internal function called by plugins.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::RecalcLayout}\label{cbdockpanerecalclayout}
|
|
||||||
|
|
||||||
\func{void}{RecalcLayout}{\void}
|
|
||||||
|
|
||||||
Generates events to perform layout calculations.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::RecalcRowLayout}\label{cbdockpanerecalcrowlayout}
|
|
||||||
|
|
||||||
\func{void}{RecalcRowLayout}{\param{cbRowInfo* }{pRow}}
|
|
||||||
|
|
||||||
Generates a cbLayoutRowEvent event to recalculate row layouts.
|
|
||||||
Internal function called by plugins.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::RemoveBar}\label{cbdockpaneremovebar}
|
|
||||||
|
|
||||||
\func{void}{RemoveBar}{\param{cbBarInfo* }{pBar}}
|
|
||||||
|
|
||||||
Removes the bar from this pane. Does not destroy the bar.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::RemoveRow}\label{cbdockpaneremoverow}
|
|
||||||
|
|
||||||
\func{void}{RemoveRow}{\param{cbRowInfo* }{pRow}}
|
|
||||||
|
|
||||||
Removes the row from this pane. Does not destroy the row object.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::ResizeBar}\label{cbdockpaneresizebar}
|
|
||||||
|
|
||||||
\func{void}{ResizeBar}{\param{cbBarInfo* }{pBar}, \param{int }{ofs}, \param{bool }{forLeftHandle}}
|
|
||||||
|
|
||||||
Row/bar resizing related helper-method.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::ResizeRow}\label{cbdockpaneresizerow}
|
|
||||||
|
|
||||||
\func{void}{ResizeRow}{\param{cbRowInfo* }{pRow}, \param{int }{ofs}, \param{bool }{forUpperHandle}}
|
|
||||||
|
|
||||||
Row/bar resizing related helper-method.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::SetBoundsInParent}\label{cbdockpanesetboundsinparent}
|
|
||||||
|
|
||||||
\func{void}{SetBoundsInParent}{\param{const wxRect\& }{rect}}
|
|
||||||
|
|
||||||
Set the position and dimensions of the pane in the parent frame's coordinates.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::SetMargins}\label{cbdockpanesetmargins}
|
|
||||||
|
|
||||||
\func{void}{SetMargins}{\param{int }{top}, \param{int }{bottom}, \param{int }{left}, \param{int }{right}}
|
|
||||||
|
|
||||||
Sets pane's margins in frame's coordinate orientations.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::SetPaneWidth}\label{cbdockpanesetpanewidth}
|
|
||||||
|
|
||||||
\func{void}{SetPaneWidth}{\param{int }{width}}
|
|
||||||
|
|
||||||
Sets pane's width in the pane's coordinates (including margins).
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::SetRowHeight}\label{cbdockpanesetrowheight}
|
|
||||||
|
|
||||||
\func{void}{SetRowHeight}{\param{cbRowInfo* }{pRow}, \param{int }{newHeight}}
|
|
||||||
|
|
||||||
Sets the row height for the given height. newHeight includes the height of row handles, if present.
|
|
||||||
Internal function called by plugins.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::SetRowShapeData}\label{cbdockpanesetrowshapedata}
|
|
||||||
|
|
||||||
\func{void}{SetRowShapeData}{\param{cbRowInfo* }{pRowNode}, \param{wxList* }{pLst}}
|
|
||||||
|
|
||||||
Sets the shape data for the given row, using the data provided in pLst.
|
|
||||||
cbBarShapeData is used for storing the original bar's positions in the row,
|
|
||||||
when the 'non-destructive-friction' option is turned on.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::SizeBar}\label{cbdockpanesizebar}
|
|
||||||
|
|
||||||
\func{void}{SizeBar}{\param{cbBarInfo* }{pBar}}
|
|
||||||
|
|
||||||
Generates a cbSizeBarWndEvent and sends it to the layout.
|
|
||||||
Internal function called by plugins.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::SizePaneObjects}\label{cbdockpanesizepaneobjects}
|
|
||||||
|
|
||||||
\func{void}{SizePaneObjects}{\void}
|
|
||||||
|
|
||||||
Calls SizeRowObjects for each row.
|
|
||||||
Internal function called by plugins.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::SizeRowObjects}\label{cbdockpanesizerowobjects}
|
|
||||||
|
|
||||||
\func{void}{SizeRowObjects}{\param{cbRowInfo* }{pRow}}
|
|
||||||
|
|
||||||
Calls SizeBar for each bar in the row.
|
|
||||||
Internal function called by plugins.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::StartDrawInArea}\label{cbdockpanestartdrawinarea}
|
|
||||||
|
|
||||||
\func{wxDC*}{StartDrawInArea}{\param{const wxRect\& }{area}}
|
|
||||||
|
|
||||||
Generates cbStartDrawInAreaEvent and sends it to the layout.
|
|
||||||
Internal function called by plugins.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDockPane::SyncRowFlags}\label{cbdockpanesyncrowflags}
|
|
||||||
|
|
||||||
\func{void}{SyncRowFlags}{\param{cbRowInfo* }{pRow}}
|
|
||||||
|
|
||||||
Sets up flags in the row information structure, so that
|
|
||||||
they match the changed state of row items correctly.
|
|
||||||
Internal function called by plugins.
|
|
||||||
|
|
@@ -1,30 +0,0 @@
|
|||||||
%
|
|
||||||
% automatically generated by HelpGen $Revision$ from
|
|
||||||
% controlbar.h at 21/Jan/02 21:14:16
|
|
||||||
%
|
|
||||||
|
|
||||||
|
|
||||||
\section{\class{cbDrawBarDecorEvent}}\label{cbdrawbardecorevent}
|
|
||||||
|
|
||||||
|
|
||||||
Class for bar decoration drawing events.
|
|
||||||
|
|
||||||
\wxheading{Derived from}
|
|
||||||
|
|
||||||
\helpref{cbPluginEvent}{cbpluginevent}
|
|
||||||
|
|
||||||
\wxheading{Include files}
|
|
||||||
|
|
||||||
<wx/fl/controlbar.h>
|
|
||||||
|
|
||||||
\wxheading{Data structures}
|
|
||||||
|
|
||||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDrawBarDecorEvent::cbDrawBarDecorEvent}\label{cbdrawbardecoreventcbdrawbardecorevent}
|
|
||||||
|
|
||||||
\func{}{cbDrawBarDecorEvent}{\param{cbBarInfo* }{pBar}, \param{wxDC\& }{dc}, \param{cbDockPane* }{pPane}}
|
|
||||||
|
|
||||||
Constructor, taking bar information, device context, and pane.
|
|
||||||
|
|
@@ -1,30 +0,0 @@
|
|||||||
%
|
|
||||||
% automatically generated by HelpGen $Revision$ from
|
|
||||||
% controlbar.h at 21/Jan/02 21:14:16
|
|
||||||
%
|
|
||||||
|
|
||||||
|
|
||||||
\section{\class{cbDrawBarHandlesEvent}}\label{cbdrawbarhandlesevent}
|
|
||||||
|
|
||||||
|
|
||||||
Class for bar handles drawing events.
|
|
||||||
|
|
||||||
\wxheading{Derived from}
|
|
||||||
|
|
||||||
\helpref{cbPluginEvent}{cbpluginevent}
|
|
||||||
|
|
||||||
\wxheading{Include files}
|
|
||||||
|
|
||||||
<wx/fl/controlbar.h>
|
|
||||||
|
|
||||||
\wxheading{Data structures}
|
|
||||||
|
|
||||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDrawBarHandlesEvent::cbDrawBarHandlesEvent}\label{cbdrawbarhandleseventcbdrawbarhandlesevent}
|
|
||||||
|
|
||||||
\func{}{cbDrawBarHandlesEvent}{\param{cbBarInfo* }{pBar}, \param{wxDC\& }{dc}, \param{cbDockPane* }{pPane}}
|
|
||||||
|
|
||||||
Constructor, taking bar information, device context, and pane.
|
|
||||||
|
|
@@ -1,31 +0,0 @@
|
|||||||
%
|
|
||||||
% automatically generated by HelpGen $Revision$ from
|
|
||||||
% controlbar.h at 21/Jan/02 21:14:16
|
|
||||||
%
|
|
||||||
|
|
||||||
|
|
||||||
\section{\class{cbDrawHintRectEvent}}\label{cbdrawhintrectevent}
|
|
||||||
|
|
||||||
|
|
||||||
Class for hint-rectangle drawing events.
|
|
||||||
|
|
||||||
\wxheading{Derived from}
|
|
||||||
|
|
||||||
\helpref{cbPluginEvent}{cbpluginevent}
|
|
||||||
|
|
||||||
\wxheading{Include files}
|
|
||||||
|
|
||||||
<wx/fl/controlbar.h>
|
|
||||||
|
|
||||||
\wxheading{Data structures}
|
|
||||||
|
|
||||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDrawHintRectEvent::cbDrawHintRectEvent}\label{cbdrawhintrecteventcbdrawhintrectevent}
|
|
||||||
|
|
||||||
\func{}{cbDrawHintRectEvent}{\param{const wxRect\& }{rect}, \param{bool }{isInClient}, \param{bool }{eraseRect}, \param{bool }{lastTime}}
|
|
||||||
|
|
||||||
e.g. with fat/hatched border
|
|
||||||
Constructor, taking hint rectangle and three flags.
|
|
||||||
|
|
@@ -1,30 +0,0 @@
|
|||||||
%
|
|
||||||
% automatically generated by HelpGen $Revision$ from
|
|
||||||
% controlbar.h at 21/Jan/02 21:14:16
|
|
||||||
%
|
|
||||||
|
|
||||||
|
|
||||||
\section{\class{cbDrawPaneBkGroundEvent}}\label{cbdrawpanebkgroundevent}
|
|
||||||
|
|
||||||
|
|
||||||
Class for pane background drawing events.
|
|
||||||
|
|
||||||
\wxheading{Derived from}
|
|
||||||
|
|
||||||
\helpref{cbPluginEvent}{cbpluginevent}
|
|
||||||
|
|
||||||
\wxheading{Include files}
|
|
||||||
|
|
||||||
<wx/fl/controlbar.h>
|
|
||||||
|
|
||||||
\wxheading{Data structures}
|
|
||||||
|
|
||||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDrawPaneBkGroundEvent::cbDrawPaneBkGroundEvent}\label{cbdrawpanebkgroundeventcbdrawpanebkgroundevent}
|
|
||||||
|
|
||||||
\func{}{cbDrawPaneBkGroundEvent}{\param{wxDC\& }{dc}, \param{cbDockPane* }{pPane}}
|
|
||||||
|
|
||||||
Constructor, taking device context and pane.
|
|
||||||
|
|
@@ -1,30 +0,0 @@
|
|||||||
%
|
|
||||||
% automatically generated by HelpGen $Revision$ from
|
|
||||||
% controlbar.h at 21/Jan/02 21:14:16
|
|
||||||
%
|
|
||||||
|
|
||||||
|
|
||||||
\section{\class{cbDrawPaneDecorEvent}}\label{cbdrawpanedecorevent}
|
|
||||||
|
|
||||||
|
|
||||||
Class for pane decoration drawing events.
|
|
||||||
|
|
||||||
\wxheading{Derived from}
|
|
||||||
|
|
||||||
\helpref{cbPluginEvent}{cbpluginevent}
|
|
||||||
|
|
||||||
\wxheading{Include files}
|
|
||||||
|
|
||||||
<wx/fl/controlbar.h>
|
|
||||||
|
|
||||||
\wxheading{Data structures}
|
|
||||||
|
|
||||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDrawPaneDecorEvent::cbDrawPaneDecorEvent}\label{cbdrawpanedecoreventcbdrawpanedecorevent}
|
|
||||||
|
|
||||||
\func{}{cbDrawPaneDecorEvent}{\param{wxDC\& }{dc}, \param{cbDockPane* }{pPane}}
|
|
||||||
|
|
||||||
Constructor, taking device context and pane.
|
|
||||||
|
|
@@ -1,30 +0,0 @@
|
|||||||
%
|
|
||||||
% automatically generated by HelpGen $Revision$ from
|
|
||||||
% controlbar.h at 21/Jan/02 21:14:16
|
|
||||||
%
|
|
||||||
|
|
||||||
|
|
||||||
\section{\class{cbDrawRowBkGroundEvent}}\label{cbdrawrowbkgroundevent}
|
|
||||||
|
|
||||||
|
|
||||||
Class for row background drawing events.
|
|
||||||
|
|
||||||
\wxheading{Derived from}
|
|
||||||
|
|
||||||
\helpref{cbPluginEvent}{cbpluginevent}
|
|
||||||
|
|
||||||
\wxheading{Include files}
|
|
||||||
|
|
||||||
<wx/fl/controlbar.h>
|
|
||||||
|
|
||||||
\wxheading{Data structures}
|
|
||||||
|
|
||||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDrawRowBkGroundEvent::cbDrawRowBkGroundEvent}\label{cbdrawrowbkgroundeventcbdrawrowbkgroundevent}
|
|
||||||
|
|
||||||
\func{}{cbDrawRowBkGroundEvent}{\param{cbRowInfo* }{pRow}, \param{wxDC\& }{dc}, \param{cbDockPane* }{pPane}}
|
|
||||||
|
|
||||||
Constructor, taking row information, device context, and pane.
|
|
||||||
|
|
@@ -1,30 +0,0 @@
|
|||||||
%
|
|
||||||
% automatically generated by HelpGen $Revision$ from
|
|
||||||
% controlbar.h at 21/Jan/02 21:14:16
|
|
||||||
%
|
|
||||||
|
|
||||||
|
|
||||||
\section{\class{cbDrawRowDecorEvent}}\label{cbdrawrowdecorevent}
|
|
||||||
|
|
||||||
|
|
||||||
Class for row decoration drawing events.
|
|
||||||
|
|
||||||
\wxheading{Derived from}
|
|
||||||
|
|
||||||
\helpref{cbPluginEvent}{cbpluginevent}
|
|
||||||
|
|
||||||
\wxheading{Include files}
|
|
||||||
|
|
||||||
<wx/fl/controlbar.h>
|
|
||||||
|
|
||||||
\wxheading{Data structures}
|
|
||||||
|
|
||||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDrawRowDecorEvent::cbDrawRowDecorEvent}\label{cbdrawrowdecoreventcbdrawrowdecorevent}
|
|
||||||
|
|
||||||
\func{}{cbDrawRowDecorEvent}{\param{cbRowInfo* }{pRow}, \param{wxDC\& }{dc}, \param{cbDockPane* }{pPane}}
|
|
||||||
|
|
||||||
Constructor, taking row information, device context, and pane.
|
|
||||||
|
|
@@ -1,30 +0,0 @@
|
|||||||
%
|
|
||||||
% automatically generated by HelpGen $Revision$ from
|
|
||||||
% controlbar.h at 21/Jan/02 21:14:16
|
|
||||||
%
|
|
||||||
|
|
||||||
|
|
||||||
\section{\class{cbDrawRowHandlesEvent}}\label{cbdrawrowhandlesevent}
|
|
||||||
|
|
||||||
|
|
||||||
Class for row handles drawing events.
|
|
||||||
|
|
||||||
\wxheading{Derived from}
|
|
||||||
|
|
||||||
\helpref{cbPluginEvent}{cbpluginevent}
|
|
||||||
|
|
||||||
\wxheading{Include files}
|
|
||||||
|
|
||||||
<wx/fl/controlbar.h>
|
|
||||||
|
|
||||||
\wxheading{Data structures}
|
|
||||||
|
|
||||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDrawRowHandlesEvent::cbDrawRowHandlesEvent}\label{cbdrawrowhandleseventcbdrawrowhandlesevent}
|
|
||||||
|
|
||||||
\func{}{cbDrawRowHandlesEvent}{\param{cbRowInfo* }{pRow}, \param{wxDC\& }{dc}, \param{cbDockPane* }{pPane}}
|
|
||||||
|
|
||||||
Constructor, taking row information, device context, and pane.
|
|
||||||
|
|
@@ -1,37 +0,0 @@
|
|||||||
%
|
|
||||||
% automatically generated by HelpGen $Revision$ from
|
|
||||||
% dyntbarhnd.h at 21/Jan/02 21:14:19
|
|
||||||
%
|
|
||||||
|
|
||||||
|
|
||||||
\section{\class{cbDynToolBarDimHandler}}\label{cbdyntoolbardimhandler}
|
|
||||||
|
|
||||||
|
|
||||||
Dynamic toolbar dimension handler.
|
|
||||||
|
|
||||||
\wxheading{Derived from}
|
|
||||||
|
|
||||||
\helpref{cbBarDimHandlerBase}{cbbardimhandlerbase}
|
|
||||||
|
|
||||||
\wxheading{Include files}
|
|
||||||
|
|
||||||
<wx/fl/dyntbarhnd.h>
|
|
||||||
|
|
||||||
\wxheading{Data structures}
|
|
||||||
|
|
||||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDynToolBarDimHandler::OnChangeBarState}\label{cbdyntoolbardimhandleronchangebarstate}
|
|
||||||
|
|
||||||
\func{void}{OnChangeBarState}{\param{cbBarInfo* }{pBar}, \param{int }{newState}}
|
|
||||||
|
|
||||||
Called when the bar changes state.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbDynToolBarDimHandler::OnResizeBar}\label{cbdyntoolbardimhandleronresizebar}
|
|
||||||
|
|
||||||
\func{void}{OnResizeBar}{\param{cbBarInfo* }{pBar}, \param{const wxSize\& }{given}, \param{wxSize\& }{preferred}}
|
|
||||||
|
|
||||||
Called when a bar is resized.
|
|
||||||
|
|
@@ -1,30 +0,0 @@
|
|||||||
%
|
|
||||||
% automatically generated by HelpGen $Revision$ from
|
|
||||||
% controlbar.h at 21/Jan/02 21:14:16
|
|
||||||
%
|
|
||||||
|
|
||||||
|
|
||||||
\section{\class{cbFinishDrawInAreaEvent}}\label{cbfinishdrawinareaevent}
|
|
||||||
|
|
||||||
|
|
||||||
Class for finish drawing in area events.
|
|
||||||
|
|
||||||
\wxheading{Derived from}
|
|
||||||
|
|
||||||
\helpref{cbPluginEvent}{cbpluginevent}
|
|
||||||
|
|
||||||
\wxheading{Include files}
|
|
||||||
|
|
||||||
<wx/fl/controlbar.h>
|
|
||||||
|
|
||||||
\wxheading{Data structures}
|
|
||||||
|
|
||||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbFinishDrawInAreaEvent::cbFinishDrawInAreaEvent}\label{cbfinishdrawinareaeventcbfinishdrawinareaevent}
|
|
||||||
|
|
||||||
\func{}{cbFinishDrawInAreaEvent}{\param{const wxRect\& }{area}, \param{cbDockPane* }{pPane}}
|
|
||||||
|
|
||||||
Constructor, taking rectangular area and pane.
|
|
||||||
|
|
@@ -1,89 +0,0 @@
|
|||||||
%
|
|
||||||
% automatically generated by HelpGen $Revision$ from
|
|
||||||
% toolwnd.h at 21/Jan/02 21:14:17
|
|
||||||
%
|
|
||||||
|
|
||||||
|
|
||||||
\section{\class{cbFloatedBarWindow}}\label{cbfloatedbarwindow}
|
|
||||||
|
|
||||||
|
|
||||||
cbFloatedBarWindow is a kind of wxToolWindow,
|
|
||||||
implementing floating toolbars.
|
|
||||||
|
|
||||||
\wxheading{Derived from}
|
|
||||||
|
|
||||||
\helpref{wxToolWindow}{wxtoolwindow}
|
|
||||||
|
|
||||||
\wxheading{Include files}
|
|
||||||
|
|
||||||
<wx/fl/toolwnd.h>
|
|
||||||
|
|
||||||
\wxheading{Data structures}
|
|
||||||
|
|
||||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbFloatedBarWindow::cbFloatedBarWindow}\label{cbfloatedbarwindowcbfloatedbarwindow}
|
|
||||||
|
|
||||||
\func{}{cbFloatedBarWindow}{\void}
|
|
||||||
|
|
||||||
Default constructor.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbFloatedBarWindow::GetBar}\label{cbfloatedbarwindowgetbar}
|
|
||||||
|
|
||||||
\func{cbBarInfo*}{GetBar}{\void}
|
|
||||||
|
|
||||||
Returns the bar information for this window.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbFloatedBarWindow::GetPreferredSize}\label{cbfloatedbarwindowgetpreferredsize}
|
|
||||||
|
|
||||||
\func{wxSize}{GetPreferredSize}{\param{const wxSize\& }{given}}
|
|
||||||
|
|
||||||
Overridden function returning the preferred size.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbFloatedBarWindow::HandleTitleClick}\label{cbfloatedbarwindowhandletitleclick}
|
|
||||||
|
|
||||||
\func{bool}{HandleTitleClick}{\param{wxMouseEvent\& }{event}}
|
|
||||||
|
|
||||||
Overridden function responding to mouse button clicks on the titlebar.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbFloatedBarWindow::OnDblClick}\label{cbfloatedbarwindowondblclick}
|
|
||||||
|
|
||||||
\func{void}{OnDblClick}{\param{wxMouseEvent\& }{event}}
|
|
||||||
|
|
||||||
Responds to double-click mouse events.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbFloatedBarWindow::OnMiniButtonClicked}\label{cbfloatedbarwindowonminibuttonclicked}
|
|
||||||
|
|
||||||
\func{void}{OnMiniButtonClicked}{\param{int }{btnIdx}}
|
|
||||||
|
|
||||||
Overridden function responding to mouse clicks on mini-buttons.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbFloatedBarWindow::PositionFloatedWnd}\label{cbfloatedbarwindowpositionfloatedwnd}
|
|
||||||
|
|
||||||
\func{void}{PositionFloatedWnd}{\param{int }{scrX}, \param{int }{scrY}, \param{int }{width}, \param{int }{height}}
|
|
||||||
|
|
||||||
Position the floating window. The given coordinates
|
|
||||||
are those of the bar itself; the floated container window's
|
|
||||||
position and size are ajusted accordingly.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbFloatedBarWindow::SetBar}\label{cbfloatedbarwindowsetbar}
|
|
||||||
|
|
||||||
\func{void}{SetBar}{\param{cbBarInfo* }{pBar}}
|
|
||||||
|
|
||||||
Sets the bar information for this window.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbFloatedBarWindow::SetLayout}\label{cbfloatedbarwindowsetlayout}
|
|
||||||
|
|
||||||
\func{void}{SetLayout}{\param{wxFrameLayout* }{pLayout}}
|
|
||||||
|
|
||||||
Sets the layout for this window.
|
|
||||||
|
|
@@ -1,131 +0,0 @@
|
|||||||
%
|
|
||||||
% automatically generated by HelpGen $Revision$ from
|
|
||||||
% gcupdatesmgr.h at 21/Jan/02 21:14:19
|
|
||||||
%
|
|
||||||
|
|
||||||
|
|
||||||
\section{\class{cbGCUpdatesMgr}}\label{cbgcupdatesmgr}
|
|
||||||
|
|
||||||
|
|
||||||
This class implements optimized logic for refreshing
|
|
||||||
the areas of frame layout that actually need to be updated.
|
|
||||||
It is used as the default updates manager by wxFrameLayout.
|
|
||||||
|
|
||||||
It is called 'Garbage Collecting' updates manager because
|
|
||||||
its implementation tries to find out dependencies between bars,
|
|
||||||
and to order them into a 'hierarchy'. This hierarchical sorting resembles
|
|
||||||
the implementation of heap-garbage collectors, which resolve
|
|
||||||
dependencies between references.
|
|
||||||
|
|
||||||
Example: there are situations where the order in which the user
|
|
||||||
moves windows does matter.
|
|
||||||
|
|
||||||
\begin{verbatim}
|
|
||||||
case 1)
|
|
||||||
------ ---
|
|
||||||
| A | |B|
|
|
||||||
------ ---> | |
|
|
||||||
--- --- ------
|
|
||||||
|B| | A |
|
|
||||||
| | ------
|
|
||||||
---
|
|
||||||
(future)
|
|
||||||
(past)
|
|
||||||
\end{verbatim}
|
|
||||||
|
|
||||||
Past/future positions of A and B windows completely overlap, i.e.
|
|
||||||
depend on each other, and there is no solution for
|
|
||||||
moving the windows without refreshing both of them
|
|
||||||
-- we have a cyclic dependency here. The garbage collection algorithm will
|
|
||||||
find this cyclic dependecy and will force refresh after movement.
|
|
||||||
|
|
||||||
\begin{verbatim}
|
|
||||||
case 2)
|
|
||||||
|
|
||||||
------
|
|
||||||
| A |
|
|
||||||
------ --->
|
|
||||||
---
|
|
||||||
|B| ------
|
|
||||||
| | | A |
|
|
||||||
--- ------
|
|
||||||
---
|
|
||||||
|B|
|
|
||||||
| |
|
|
||||||
---
|
|
||||||
|
|
||||||
(future)
|
|
||||||
(past)
|
|
||||||
\end{verbatim}
|
|
||||||
|
|
||||||
In this case past/future positions do not overlap, so
|
|
||||||
it is enough only to move windows without refreshing them.
|
|
||||||
Garbage collection will 'notice' this.
|
|
||||||
|
|
||||||
There is also a third case, when overlapping is partial.
|
|
||||||
In this case the refreshing can also be avoided by
|
|
||||||
moving windows in the order of 'most-dependant' towards the
|
|
||||||
'least-dependent'. GC handles this automatically, by
|
|
||||||
sorting windows by their dependency-level (or 'hierarchy').
|
|
||||||
|
|
||||||
See garbagec.h for more details of this method; garbagec.h/cpp
|
|
||||||
implement sorting of generic dependencies and does not deal
|
|
||||||
with graphical objects directly.
|
|
||||||
|
|
||||||
Summary: garbage collection improves performance when complex or large
|
|
||||||
windows are moved around, by reducing the number of repaints. It also helps
|
|
||||||
to avoid dirty non-client areas of moved windows
|
|
||||||
in some special cases of 'overlapping anomalies'.
|
|
||||||
|
|
||||||
\wxheading{Derived from}
|
|
||||||
|
|
||||||
\helpref{cbSimpleUpdatesMgr}{cbsimpleupdatesmgr}
|
|
||||||
|
|
||||||
\wxheading{Include files}
|
|
||||||
|
|
||||||
<wx/fl/gcupdatesmgr.h>
|
|
||||||
|
|
||||||
\wxheading{Data structures}
|
|
||||||
|
|
||||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbGCUpdatesMgr::cbGCUpdatesMgr}\label{cbgcupdatesmgrcbgcupdatesmgr}
|
|
||||||
|
|
||||||
\func{}{cbGCUpdatesMgr}{\void}
|
|
||||||
|
|
||||||
Default constructor.
|
|
||||||
|
|
||||||
|
|
||||||
\func{}{cbGCUpdatesMgr}{\param{wxFrameLayout* }{pPanel}}
|
|
||||||
|
|
||||||
Constructor, taking a frame layout.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbGCUpdatesMgr::AddItem}\label{cbgcupdatesmgradditem}
|
|
||||||
|
|
||||||
\func{void}{AddItem}{\param{wxList\& }{itemList}, \param{cbBarInfo* }{pBar}, \param{cbDockPane* }{pPane}, \param{wxRect\& }{curBounds}, \param{wxRect\& }{prevBounds}}
|
|
||||||
|
|
||||||
Internal function for repositioning items.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbGCUpdatesMgr::DoRepositionItems}\label{cbgcupdatesmgrdorepositionitems}
|
|
||||||
|
|
||||||
\func{void}{DoRepositionItems}{\param{wxList\& }{items}}
|
|
||||||
|
|
||||||
Internal function for repositioning items.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbGCUpdatesMgr::OnStartChanges}\label{cbgcupdatesmgronstartchanges}
|
|
||||||
|
|
||||||
\func{void}{OnStartChanges}{\void}
|
|
||||||
|
|
||||||
Receives notifications from the frame layout.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbGCUpdatesMgr::UpdateNow}\label{cbgcupdatesmgrupdatenow}
|
|
||||||
|
|
||||||
\func{void}{UpdateNow}{\void}
|
|
||||||
|
|
||||||
Refreshes the parts of the frame layout which need an update.
|
|
||||||
|
|
@@ -1,21 +0,0 @@
|
|||||||
%
|
|
||||||
% automatically generated by HelpGen $Revision$ from
|
|
||||||
% rowdragpl.h at 21/Jan/02 21:14:19
|
|
||||||
%
|
|
||||||
|
|
||||||
|
|
||||||
\section{\class{cbHiddenBarInfo}}\label{cbhiddenbarinfo}
|
|
||||||
|
|
||||||
|
|
||||||
Internal helper class.
|
|
||||||
|
|
||||||
\wxheading{Derived from}
|
|
||||||
|
|
||||||
\helpref{wxObject}{wxobject}
|
|
||||||
|
|
||||||
\wxheading{Include files}
|
|
||||||
|
|
||||||
<wx/fl/rowdragpl.h>
|
|
||||||
|
|
||||||
\wxheading{Data structures}
|
|
||||||
|
|
@@ -1,93 +0,0 @@
|
|||||||
%
|
|
||||||
% automatically generated by HelpGen $Revision$ from
|
|
||||||
% hintanimpl.h at 21/Jan/02 21:14:18
|
|
||||||
%
|
|
||||||
|
|
||||||
|
|
||||||
\section{\class{cbHintAnimationPlugin}}\label{cbhintanimationplugin}
|
|
||||||
|
|
||||||
|
|
||||||
A plugin to draw animated hints when the user drags a pane.
|
|
||||||
|
|
||||||
\wxheading{Derived from}
|
|
||||||
|
|
||||||
\helpref{cbPluginBase}{cbpluginbase}
|
|
||||||
|
|
||||||
\wxheading{Include files}
|
|
||||||
|
|
||||||
<wx/fl/hintanimpl.h>
|
|
||||||
|
|
||||||
\wxheading{Data structures}
|
|
||||||
|
|
||||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbHintAnimationPlugin::cbHintAnimationPlugin}\label{cbhintanimationplugincbhintanimationplugin}
|
|
||||||
|
|
||||||
\func{}{cbHintAnimationPlugin}{\void}
|
|
||||||
|
|
||||||
Default constructor.
|
|
||||||
|
|
||||||
|
|
||||||
\func{}{cbHintAnimationPlugin}{\param{wxFrameLayout* }{pPanel}, \param{int }{paneMask = wxALL\_PANES}}
|
|
||||||
|
|
||||||
Constructor, taking a layout panel and pane mask.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbHintAnimationPlugin::\destruct{cbHintAnimationPlugin}}\label{cbhintanimationplugindtor}
|
|
||||||
|
|
||||||
\func{}{\destruct{cbHintAnimationPlugin}}{\void}
|
|
||||||
|
|
||||||
Destructor.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbHintAnimationPlugin::DoDrawHintRect}\label{cbhintanimationplugindodrawhintrect}
|
|
||||||
|
|
||||||
\func{void}{DoDrawHintRect}{\param{wxRect\& }{rect}, \param{bool }{isInClientRect}}
|
|
||||||
|
|
||||||
Internal function for drawing a hint rectangle.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbHintAnimationPlugin::DrawHintRect}\label{cbhintanimationplugindrawhintrect}
|
|
||||||
|
|
||||||
\func{void}{DrawHintRect}{\param{wxRect\& }{rect}, \param{bool }{isInClientRect}}
|
|
||||||
|
|
||||||
Internal function for drawing a hint rectangle.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbHintAnimationPlugin::EraseHintRect}\label{cbhintanimationpluginerasehintrect}
|
|
||||||
|
|
||||||
\func{void}{EraseHintRect}{\param{wxRect\& }{rect}, \param{bool }{isInClientRect}}
|
|
||||||
|
|
||||||
Internal function for erasing a hint rectangle.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbHintAnimationPlugin::FinishTracking}\label{cbhintanimationpluginfinishtracking}
|
|
||||||
|
|
||||||
\func{void}{FinishTracking}{\void}
|
|
||||||
|
|
||||||
Internal function for finishing tracking.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbHintAnimationPlugin::OnDrawHintRect}\label{cbhintanimationpluginondrawhintrect}
|
|
||||||
|
|
||||||
\func{void}{OnDrawHintRect}{\param{cbDrawHintRectEvent\& }{event}}
|
|
||||||
|
|
||||||
Event handler respoding to hint draw events.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbHintAnimationPlugin::RectToScr}\label{cbhintanimationpluginrecttoscr}
|
|
||||||
|
|
||||||
\func{void}{RectToScr}{\param{wxRect\& }{frameRect}, \param{wxRect\& }{scrRect}}
|
|
||||||
|
|
||||||
Internal function for translating coordinates.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbHintAnimationPlugin::StartTracking}\label{cbhintanimationpluginstarttracking}
|
|
||||||
|
|
||||||
\func{void}{StartTracking}{\void}
|
|
||||||
|
|
||||||
speed is constant. Default: TRUE
|
|
||||||
TBD:: get/set methods for above members
|
|
||||||
Internal function for starting tracking.
|
|
||||||
|
|
@@ -1,43 +0,0 @@
|
|||||||
%
|
|
||||||
% automatically generated by HelpGen $Revision$ from
|
|
||||||
% hintanimpl.h at 21/Jan/02 21:14:19
|
|
||||||
%
|
|
||||||
|
|
||||||
|
|
||||||
\section{\class{cbHintAnimTimer}}\label{cbhintanimtimer}
|
|
||||||
|
|
||||||
|
|
||||||
A private helper class.
|
|
||||||
|
|
||||||
\wxheading{Derived from}
|
|
||||||
|
|
||||||
\helpref{wxTimer}{wxtimer}
|
|
||||||
|
|
||||||
\wxheading{Include files}
|
|
||||||
|
|
||||||
<wx/fl/hintanimpl.h>
|
|
||||||
|
|
||||||
\wxheading{Data structures}
|
|
||||||
|
|
||||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbHintAnimTimer::cbHintAnimTimer}\label{cbhintanimtimercbhintanimtimer}
|
|
||||||
|
|
||||||
\func{}{cbHintAnimTimer}{\void}
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbHintAnimTimer::Init}\label{cbhintanimtimerinit}
|
|
||||||
|
|
||||||
\func{bool}{Init}{\param{cbHintAnimationPlugin* }{pAnimPl}, \param{bool }{reinit}}
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbHintAnimTimer::MorphPoint}\label{cbhintanimtimermorphpoint}
|
|
||||||
|
|
||||||
\func{void}{MorphPoint}{\param{wxPoint\& }{origin}, \param{MorphInfoT\& }{info}, \param{wxPoint\& }{point}}
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbHintAnimTimer::Notify}\label{cbhintanimtimernotify}
|
|
||||||
|
|
||||||
\func{void}{Notify}{\void}
|
|
||||||
|
|
@@ -1,30 +0,0 @@
|
|||||||
%
|
|
||||||
% automatically generated by HelpGen $Revision$ from
|
|
||||||
% controlbar.h at 21/Jan/02 21:14:15
|
|
||||||
%
|
|
||||||
|
|
||||||
|
|
||||||
\section{\class{cbInsertBarEvent}}\label{cbinsertbarevent}
|
|
||||||
|
|
||||||
|
|
||||||
Class for bar insertion events.
|
|
||||||
|
|
||||||
\wxheading{Derived from}
|
|
||||||
|
|
||||||
\helpref{cbPluginEvent}{cbpluginevent}
|
|
||||||
|
|
||||||
\wxheading{Include files}
|
|
||||||
|
|
||||||
<wx/fl/controlbar.h>
|
|
||||||
|
|
||||||
\wxheading{Data structures}
|
|
||||||
|
|
||||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbInsertBarEvent::cbInsertBarEvent}\label{cbinsertbareventcbinsertbarevent}
|
|
||||||
|
|
||||||
\func{}{cbInsertBarEvent}{\param{cbBarInfo* }{pBar}, \param{cbRowInfo* }{pIntoRow}, \param{cbDockPane* }{pPane}}
|
|
||||||
|
|
||||||
Constructor, taking bar information, row information, and pane.
|
|
||||||
|
|
@@ -1,30 +0,0 @@
|
|||||||
%
|
|
||||||
% automatically generated by HelpGen $Revision$ from
|
|
||||||
% controlbar.h at 21/Jan/02 21:14:15
|
|
||||||
%
|
|
||||||
|
|
||||||
|
|
||||||
\section{\class{cbLayoutRowEvent}}\label{cblayoutrowevent}
|
|
||||||
|
|
||||||
|
|
||||||
Class for single row layout events.
|
|
||||||
|
|
||||||
\wxheading{Derived from}
|
|
||||||
|
|
||||||
\helpref{cbPluginEvent}{cbpluginevent}
|
|
||||||
|
|
||||||
\wxheading{Include files}
|
|
||||||
|
|
||||||
<wx/fl/controlbar.h>
|
|
||||||
|
|
||||||
\wxheading{Data structures}
|
|
||||||
|
|
||||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbLayoutRowEvent::cbLayoutRowEvent}\label{cblayoutroweventcblayoutrowevent}
|
|
||||||
|
|
||||||
\func{}{cbLayoutRowEvent}{\param{cbRowInfo* }{pRow}, \param{cbDockPane* }{pPane}}
|
|
||||||
|
|
||||||
Constructor, taking row information and pane.
|
|
||||||
|
|
@@ -1,30 +0,0 @@
|
|||||||
%
|
|
||||||
% automatically generated by HelpGen $Revision$ from
|
|
||||||
% controlbar.h at 21/Jan/02 21:14:15
|
|
||||||
%
|
|
||||||
|
|
||||||
|
|
||||||
\section{\class{cbLayoutRowsEvent}}\label{cblayoutrowsevent}
|
|
||||||
|
|
||||||
|
|
||||||
Class for multiple rows layout events.
|
|
||||||
|
|
||||||
\wxheading{Derived from}
|
|
||||||
|
|
||||||
\helpref{cbPluginEvent}{cbpluginevent}
|
|
||||||
|
|
||||||
\wxheading{Include files}
|
|
||||||
|
|
||||||
<wx/fl/controlbar.h>
|
|
||||||
|
|
||||||
\wxheading{Data structures}
|
|
||||||
|
|
||||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbLayoutRowsEvent::cbLayoutRowsEvent}\label{cblayoutrowseventcblayoutrowsevent}
|
|
||||||
|
|
||||||
\func{}{cbLayoutRowsEvent}{\param{cbDockPane* }{pPane}}
|
|
||||||
|
|
||||||
Constructor, taking pane.
|
|
||||||
|
|
@@ -1,30 +0,0 @@
|
|||||||
%
|
|
||||||
% automatically generated by HelpGen $Revision$ from
|
|
||||||
% controlbar.h at 21/Jan/02 21:14:15
|
|
||||||
%
|
|
||||||
|
|
||||||
|
|
||||||
\section{\class{cbLeftDClickEvent}}\label{cbleftdclickevent}
|
|
||||||
|
|
||||||
|
|
||||||
Class for mouse left double click events.
|
|
||||||
|
|
||||||
\wxheading{Derived from}
|
|
||||||
|
|
||||||
\helpref{cbPluginEvent}{cbpluginevent}
|
|
||||||
|
|
||||||
\wxheading{Include files}
|
|
||||||
|
|
||||||
<wx/fl/controlbar.h>
|
|
||||||
|
|
||||||
\wxheading{Data structures}
|
|
||||||
|
|
||||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbLeftDClickEvent::cbLeftDClickEvent}\label{cbleftdclickeventcbleftdclickevent}
|
|
||||||
|
|
||||||
\func{}{cbLeftDClickEvent}{\param{const wxPoint\& }{pos}, \param{cbDockPane* }{pPane}}
|
|
||||||
|
|
||||||
Constructor, taking mouse position and pane.
|
|
||||||
|
|
@@ -1,30 +0,0 @@
|
|||||||
%
|
|
||||||
% automatically generated by HelpGen $Revision$ from
|
|
||||||
% controlbar.h at 21/Jan/02 21:14:15
|
|
||||||
%
|
|
||||||
|
|
||||||
|
|
||||||
\section{\class{cbLeftDownEvent}}\label{cbleftdownevent}
|
|
||||||
|
|
||||||
|
|
||||||
Class for mouse left down events.
|
|
||||||
|
|
||||||
\wxheading{Derived from}
|
|
||||||
|
|
||||||
\helpref{cbPluginEvent}{cbpluginevent}
|
|
||||||
|
|
||||||
\wxheading{Include files}
|
|
||||||
|
|
||||||
<wx/fl/controlbar.h>
|
|
||||||
|
|
||||||
\wxheading{Data structures}
|
|
||||||
|
|
||||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbLeftDownEvent::cbLeftDownEvent}\label{cbleftdowneventcbleftdownevent}
|
|
||||||
|
|
||||||
\func{}{cbLeftDownEvent}{\param{const wxPoint\& }{pos}, \param{cbDockPane* }{pPane}}
|
|
||||||
|
|
||||||
Constructor, taking mouse position and pane.
|
|
||||||
|
|
@@ -1,30 +0,0 @@
|
|||||||
%
|
|
||||||
% automatically generated by HelpGen $Revision$ from
|
|
||||||
% controlbar.h at 21/Jan/02 21:14:15
|
|
||||||
%
|
|
||||||
|
|
||||||
|
|
||||||
\section{\class{cbLeftUpEvent}}\label{cbleftupevent}
|
|
||||||
|
|
||||||
|
|
||||||
Class for mouse left up events.
|
|
||||||
|
|
||||||
\wxheading{Derived from}
|
|
||||||
|
|
||||||
\helpref{cbPluginEvent}{cbpluginevent}
|
|
||||||
|
|
||||||
\wxheading{Include files}
|
|
||||||
|
|
||||||
<wx/fl/controlbar.h>
|
|
||||||
|
|
||||||
\wxheading{Data structures}
|
|
||||||
|
|
||||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbLeftUpEvent::cbLeftUpEvent}\label{cbleftupeventcbleftupevent}
|
|
||||||
|
|
||||||
\func{}{cbLeftUpEvent}{\param{const wxPoint\& }{pos}, \param{cbDockPane* }{pPane}}
|
|
||||||
|
|
||||||
Constructor, taking mouse position and pane.
|
|
||||||
|
|
@@ -1,109 +0,0 @@
|
|||||||
%
|
|
||||||
% automatically generated by HelpGen $Revision$ from
|
|
||||||
% toolwnd.h at 21/Jan/02 21:14:17
|
|
||||||
%
|
|
||||||
|
|
||||||
|
|
||||||
\section{\class{cbMiniButton}}\label{cbminibutton}
|
|
||||||
|
|
||||||
|
|
||||||
cbMiniButton is the base class for a small button that can be placed in a wxToolWindow
|
|
||||||
titlebar.
|
|
||||||
|
|
||||||
\wxheading{Derived from}
|
|
||||||
|
|
||||||
\helpref{wxObject}{wxobject}
|
|
||||||
|
|
||||||
\wxheading{Include files}
|
|
||||||
|
|
||||||
<wx/fl/toolwnd.h>
|
|
||||||
|
|
||||||
\wxheading{Data structures}
|
|
||||||
|
|
||||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbMiniButton::cbMiniButton}\label{cbminibuttoncbminibutton}
|
|
||||||
|
|
||||||
\func{}{cbMiniButton}{\void}
|
|
||||||
|
|
||||||
Default constructor.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbMiniButton::Draw}\label{cbminibuttondraw}
|
|
||||||
|
|
||||||
\func{void}{Draw}{\param{wxDC\& }{dc}}
|
|
||||||
|
|
||||||
Draws the button. Override this to implement
|
|
||||||
the desired appearance.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbMiniButton::Enable}\label{cbminibuttonenable}
|
|
||||||
|
|
||||||
\func{void}{Enable}{\param{bool }{enable}}
|
|
||||||
|
|
||||||
Enable or disable the button.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbMiniButton::HitTest}\label{cbminibuttonhittest}
|
|
||||||
|
|
||||||
\func{bool}{HitTest}{\param{const wxPoint\& }{pos}}
|
|
||||||
|
|
||||||
Returns TRUE if the given position was over the button.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbMiniButton::IsPressed}\label{cbminibuttonispressed}
|
|
||||||
|
|
||||||
\func{bool}{IsPressed}{\void}
|
|
||||||
|
|
||||||
Returns TRUE if this button is pressed.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbMiniButton::OnLeftDown}\label{cbminibuttononleftdown}
|
|
||||||
|
|
||||||
\func{void}{OnLeftDown}{\param{const wxPoint\& }{pos}}
|
|
||||||
|
|
||||||
Responds to a left down event.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbMiniButton::OnLeftUp}\label{cbminibuttononleftup}
|
|
||||||
|
|
||||||
\func{void}{OnLeftUp}{\param{const wxPoint\& }{pos}}
|
|
||||||
|
|
||||||
Responds to a left up event.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbMiniButton::OnMotion}\label{cbminibuttononmotion}
|
|
||||||
|
|
||||||
\func{void}{OnMotion}{\param{const wxPoint\& }{pos}}
|
|
||||||
|
|
||||||
Responds to a mouse move event.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbMiniButton::Refresh}\label{cbminibuttonrefresh}
|
|
||||||
|
|
||||||
\func{void}{Refresh}{\void}
|
|
||||||
|
|
||||||
Refreshes the button.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbMiniButton::Reset}\label{cbminibuttonreset}
|
|
||||||
|
|
||||||
\func{void}{Reset}{\void}
|
|
||||||
|
|
||||||
Reset the button.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbMiniButton::SetPos}\label{cbminibuttonsetpos}
|
|
||||||
|
|
||||||
\func{void}{SetPos}{\param{const wxPoint\& }{pos}}
|
|
||||||
|
|
||||||
Set the position of the button.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbMiniButton::WasClicked}\label{cbminibuttonwasclicked}
|
|
||||||
|
|
||||||
\func{bool}{WasClicked}{\void}
|
|
||||||
|
|
||||||
Returns TRUE if the button was clicked.
|
|
||||||
|
|
@@ -1,30 +0,0 @@
|
|||||||
%
|
|
||||||
% automatically generated by HelpGen $Revision$ from
|
|
||||||
% controlbar.h at 21/Jan/02 21:14:15
|
|
||||||
%
|
|
||||||
|
|
||||||
|
|
||||||
\section{\class{cbMotionEvent}}\label{cbmotionevent}
|
|
||||||
|
|
||||||
|
|
||||||
Class for mouse motion events.
|
|
||||||
|
|
||||||
\wxheading{Derived from}
|
|
||||||
|
|
||||||
\helpref{cbPluginEvent}{cbpluginevent}
|
|
||||||
|
|
||||||
\wxheading{Include files}
|
|
||||||
|
|
||||||
<wx/fl/controlbar.h>
|
|
||||||
|
|
||||||
\wxheading{Data structures}
|
|
||||||
|
|
||||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbMotionEvent::cbMotionEvent}\label{cbmotioneventcbmotionevent}
|
|
||||||
|
|
||||||
\func{}{cbMotionEvent}{\param{const wxPoint\& }{pos}, \param{cbDockPane* }{pPane}}
|
|
||||||
|
|
||||||
Constructor, taking mouse position and pane.
|
|
||||||
|
|
@@ -1,243 +0,0 @@
|
|||||||
%
|
|
||||||
% automatically generated by HelpGen $Revision$ from
|
|
||||||
% panedrawpl.h at 21/Jan/02 21:14:19
|
|
||||||
%
|
|
||||||
|
|
||||||
|
|
||||||
\section{\class{cbPaneDrawPlugin}}\label{cbpanedrawplugin}
|
|
||||||
|
|
||||||
|
|
||||||
Simple but all-in-one plugin implementation. Resembles the look and feel of
|
|
||||||
to MFC control-bars. The class handles painting of the pane and the items in it;
|
|
||||||
it generates bar/layout customization events, when the user right-clicks the bar/pane.
|
|
||||||
Hooking an instance of this and row-layout plugins for each pane
|
|
||||||
would be enough for the frame layout to function properly
|
|
||||||
(they are plugged in automatically by the wxFrameLayout class).
|
|
||||||
|
|
||||||
\wxheading{Derived from}
|
|
||||||
|
|
||||||
\helpref{cbPluginBase}{cbpluginbase}
|
|
||||||
|
|
||||||
\wxheading{Include files}
|
|
||||||
|
|
||||||
<wx/fl/panedrawpl.h>
|
|
||||||
|
|
||||||
\wxheading{Data structures}
|
|
||||||
|
|
||||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbPaneDrawPlugin::cbPaneDrawPlugin}\label{cbpanedrawplugincbpanedrawplugin}
|
|
||||||
|
|
||||||
\func{}{cbPaneDrawPlugin}{\param{wxFrameLayout* }{pPanel}, \param{int }{paneMask = wxALL\_PANES}}
|
|
||||||
|
|
||||||
Constructor taking frame layout pane and a pane mask.
|
|
||||||
|
|
||||||
|
|
||||||
\func{}{cbPaneDrawPlugin}{\void}
|
|
||||||
|
|
||||||
Default constructor.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbPaneDrawPlugin::\destruct{cbPaneDrawPlugin}}\label{cbpanedrawplugindtor}
|
|
||||||
|
|
||||||
\func{}{\destruct{cbPaneDrawPlugin}}{\void}
|
|
||||||
|
|
||||||
Destructor.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbPaneDrawPlugin::Clone}\label{cbpanedrawpluginclone}
|
|
||||||
|
|
||||||
\func{cbPluginBase*}{Clone}{\void}
|
|
||||||
|
|
||||||
Clone function, returning a new instance of this class.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbPaneDrawPlugin::DrawBarInnerShadeRect}\label{cbpanedrawplugindrawbarinnershaderect}
|
|
||||||
|
|
||||||
\func{void}{DrawBarInnerShadeRect}{\param{cbBarInfo* }{pBar}, \param{wxDC\& }{dc}}
|
|
||||||
|
|
||||||
Internal helper: draws the inner bar shading.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbPaneDrawPlugin::DrawDraggedHandle}\label{cbpanedrawplugindrawdraggedhandle}
|
|
||||||
|
|
||||||
\func{void}{DrawDraggedHandle}{\param{const wxPoint\& }{pos}, \param{cbDockPane\& }{pane}}
|
|
||||||
|
|
||||||
Internal helper: draws the dragged handle.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbPaneDrawPlugin::DrawLowerRowHandle}\label{cbpanedrawplugindrawlowerrowhandle}
|
|
||||||
|
|
||||||
\func{void}{DrawLowerRowHandle}{\param{cbRowInfo* }{pRow}, \param{wxDC\& }{dc}}
|
|
||||||
|
|
||||||
Internal helper: draws the lower row handle.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbPaneDrawPlugin::DrawLowerRowShades}\label{cbpanedrawplugindrawlowerrowshades}
|
|
||||||
|
|
||||||
\func{void}{DrawLowerRowShades}{\param{cbRowInfo* }{pRow}, \param{wxDC\& }{dc}, \param{int }{level}}
|
|
||||||
|
|
||||||
Internal helper: draws the lower row shading.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbPaneDrawPlugin::DrawPaneShade}\label{cbpanedrawplugindrawpaneshade}
|
|
||||||
|
|
||||||
\func{void}{DrawPaneShade}{\param{wxDC\& }{dc}, \param{int }{alignment}}
|
|
||||||
|
|
||||||
Internal helper: draws the pane shading.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbPaneDrawPlugin::DrawPaneShadeForRow}\label{cbpanedrawplugindrawpaneshadeforrow}
|
|
||||||
|
|
||||||
\func{void}{DrawPaneShadeForRow}{\param{cbRowInfo* }{pRow}, \param{wxDC\& }{dc}}
|
|
||||||
|
|
||||||
Internal helper: draws the pane shading for a row.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbPaneDrawPlugin::DrawShade}\label{cbpanedrawplugindrawshade}
|
|
||||||
|
|
||||||
\func{void}{DrawShade}{\param{int }{level}, \param{wxRect\& }{rect}, \param{int }{alignment}, \param{wxDC\& }{dc}}
|
|
||||||
|
|
||||||
Internal helper: draws shading.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbPaneDrawPlugin::DrawShade1}\label{cbpanedrawplugindrawshade1}
|
|
||||||
|
|
||||||
\func{void}{DrawShade1}{\param{int }{level}, \param{wxRect\& }{rect}, \param{int }{alignment}, \param{wxDC\& }{dc}}
|
|
||||||
|
|
||||||
Internal helper: draws shading.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbPaneDrawPlugin::DrawUpperRowHandle}\label{cbpanedrawplugindrawupperrowhandle}
|
|
||||||
|
|
||||||
\func{void}{DrawUpperRowHandle}{\param{cbRowInfo* }{pRow}, \param{wxDC\& }{dc}}
|
|
||||||
|
|
||||||
Internal helper: draws the upper row handle.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbPaneDrawPlugin::DrawUpperRowShades}\label{cbpanedrawplugindrawupperrowshades}
|
|
||||||
|
|
||||||
\func{void}{DrawUpperRowShades}{\param{cbRowInfo* }{pRow}, \param{wxDC\& }{dc}, \param{int }{level}}
|
|
||||||
|
|
||||||
Internal helper: draws the upper row shading.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbPaneDrawPlugin::OnDrawBarDecorations}\label{cbpanedrawpluginondrawbardecorations}
|
|
||||||
|
|
||||||
\func{void}{OnDrawBarDecorations}{\param{cbDrawBarDecorEvent\& }{event}}
|
|
||||||
|
|
||||||
Handler for draw bar decorations events.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbPaneDrawPlugin::OnDrawBarHandles}\label{cbpanedrawpluginondrawbarhandles}
|
|
||||||
|
|
||||||
\func{void}{OnDrawBarHandles}{\param{cbDrawBarHandlesEvent\& }{event}}
|
|
||||||
|
|
||||||
Handler for draw bar handles events.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbPaneDrawPlugin::OnDrawPaneBackground}\label{cbpanedrawpluginondrawpanebackground}
|
|
||||||
|
|
||||||
\func{void}{OnDrawPaneBackground}{\param{cbDrawPaneBkGroundEvent\& }{event}}
|
|
||||||
|
|
||||||
Handler for draw pane background events.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbPaneDrawPlugin::OnDrawPaneDecorations}\label{cbpanedrawpluginondrawpanedecorations}
|
|
||||||
|
|
||||||
\func{void}{OnDrawPaneDecorations}{\param{cbDrawPaneDecorEvent\& }{event}}
|
|
||||||
|
|
||||||
Handler for draw pane decoration events.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbPaneDrawPlugin::OnDrawRowBackground}\label{cbpanedrawpluginondrawrowbackground}
|
|
||||||
|
|
||||||
\func{void}{OnDrawRowBackground}{\param{cbDrawRowBkGroundEvent\& }{event}}
|
|
||||||
|
|
||||||
Handler for draw row background events.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbPaneDrawPlugin::OnDrawRowDecorations}\label{cbpanedrawpluginondrawrowdecorations}
|
|
||||||
|
|
||||||
\func{void}{OnDrawRowDecorations}{\param{cbDrawRowDecorEvent\& }{event}}
|
|
||||||
|
|
||||||
Handler for draw row decoration events.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbPaneDrawPlugin::OnDrawRowHandles}\label{cbpanedrawpluginondrawrowhandles}
|
|
||||||
|
|
||||||
\func{void}{OnDrawRowHandles}{\param{cbDrawRowHandlesEvent\& }{event}}
|
|
||||||
|
|
||||||
Handler for draw row handles events.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbPaneDrawPlugin::OnFinishDrawInArea}\label{cbpanedrawpluginonfinishdrawinarea}
|
|
||||||
|
|
||||||
\func{void}{OnFinishDrawInArea}{\param{cbFinishDrawInAreaEvent\& }{event}}
|
|
||||||
|
|
||||||
Handler for finish draw in area events.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbPaneDrawPlugin::OnLButtonDown}\label{cbpanedrawpluginonlbuttondown}
|
|
||||||
|
|
||||||
\func{void}{OnLButtonDown}{\param{cbLeftDownEvent\& }{event}}
|
|
||||||
|
|
||||||
Handler for left mouse button down events.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbPaneDrawPlugin::OnLButtonUp}\label{cbpanedrawpluginonlbuttonup}
|
|
||||||
|
|
||||||
\func{void}{OnLButtonUp}{\param{cbLeftUpEvent\& }{event}}
|
|
||||||
|
|
||||||
Handler for left mouse button up events.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbPaneDrawPlugin::OnLDblClick}\label{cbpanedrawpluginonldblclick}
|
|
||||||
|
|
||||||
\func{void}{OnLDblClick}{\param{cbLeftDClickEvent\& }{event}}
|
|
||||||
|
|
||||||
Handler for left double-click mouse button down events.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbPaneDrawPlugin::OnMouseMove}\label{cbpanedrawpluginonmousemove}
|
|
||||||
|
|
||||||
\func{void}{OnMouseMove}{\param{cbMotionEvent\& }{event}}
|
|
||||||
|
|
||||||
Handler for mouse move events.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbPaneDrawPlugin::OnRButtonUp}\label{cbpanedrawpluginonrbuttonup}
|
|
||||||
|
|
||||||
\func{void}{OnRButtonUp}{\param{cbRightUpEvent\& }{event}}
|
|
||||||
|
|
||||||
Handler for right mouse button up events.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbPaneDrawPlugin::OnSizeBarWindow}\label{cbpanedrawpluginonsizebarwindow}
|
|
||||||
|
|
||||||
\func{void}{OnSizeBarWindow}{\param{cbSizeBarWndEvent\& }{event}}
|
|
||||||
|
|
||||||
Handler for bar size events.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbPaneDrawPlugin::OnStartDrawInArea}\label{cbpanedrawpluginonstartdrawinarea}
|
|
||||||
|
|
||||||
\func{void}{OnStartDrawInArea}{\param{cbStartDrawInAreaEvent\& }{event}}
|
|
||||||
|
|
||||||
Handler for start draw in area events.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbPaneDrawPlugin::SetDarkPixel}\label{cbpanedrawpluginsetdarkpixel}
|
|
||||||
|
|
||||||
\func{void}{SetDarkPixel}{\param{int }{x}, \param{int }{y}, \param{wxDC\& }{dc}}
|
|
||||||
|
|
||||||
Internal helper: sets a dark pixel at the given location.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbPaneDrawPlugin::SetLightPixel}\label{cbpanedrawpluginsetlightpixel}
|
|
||||||
|
|
||||||
\func{void}{SetLightPixel}{\param{int }{x}, \param{int }{y}, \param{wxDC\& }{dc}}
|
|
||||||
|
|
||||||
Internal helper: sets a light pixel at the given location.
|
|
||||||
|
|
@@ -1,77 +0,0 @@
|
|||||||
%
|
|
||||||
% automatically generated by HelpGen $Revision$ from
|
|
||||||
% controlbar.h at 21/Jan/02 21:14:14
|
|
||||||
%
|
|
||||||
|
|
||||||
|
|
||||||
\section{\class{cbPluginBase}}\label{cbpluginbase}
|
|
||||||
|
|
||||||
|
|
||||||
Abstract base class for all control-bar related plugins.
|
|
||||||
Note: pointer positions of mouse events sent to plugins
|
|
||||||
are always in the pane's coordinates (the pane to which
|
|
||||||
this plugin is hooked).
|
|
||||||
|
|
||||||
\wxheading{Derived from}
|
|
||||||
|
|
||||||
\helpref{wxEvtHandler}{wxevthandler}
|
|
||||||
|
|
||||||
\wxheading{Include files}
|
|
||||||
|
|
||||||
<wx/fl/controlbar.h>
|
|
||||||
|
|
||||||
\wxheading{Data structures}
|
|
||||||
|
|
||||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbPluginBase::cbPluginBase}\label{cbpluginbasecbpluginbase}
|
|
||||||
|
|
||||||
\func{}{cbPluginBase}{\param{wxFrameLayout* }{pPanel}, \param{int }{paneMask = wxALL\_PANES}}
|
|
||||||
|
|
||||||
Constructor taking layout panel and a mask.
|
|
||||||
|
|
||||||
|
|
||||||
\func{}{cbPluginBase}{\void}
|
|
||||||
|
|
||||||
Default constructor.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbPluginBase::\destruct{cbPluginBase}}\label{cbpluginbasedtor}
|
|
||||||
|
|
||||||
\func{}{\destruct{cbPluginBase}}{\void}
|
|
||||||
|
|
||||||
Destructor. Destroys the whole plugin chain of connected plugins.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbPluginBase::GetPaneMask}\label{cbpluginbasegetpanemask}
|
|
||||||
|
|
||||||
\func{int}{GetPaneMask}{\void}
|
|
||||||
|
|
||||||
Returns the pane mask.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbPluginBase::IsReady}\label{cbpluginbaseisready}
|
|
||||||
|
|
||||||
\func{bool}{IsReady}{\void}
|
|
||||||
|
|
||||||
Returns TRUE if the plugin is ready to receive events.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbPluginBase::OnInitPlugin}\label{cbpluginbaseoninitplugin}
|
|
||||||
|
|
||||||
\func{void}{OnInitPlugin}{\void}
|
|
||||||
|
|
||||||
Override this method to do plugin-specific initialization.
|
|
||||||
At this point plugin is already attached to the frame layout,
|
|
||||||
and pane masks are set.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbPluginBase::ProcessEvent}\label{cbpluginbaseprocessevent}
|
|
||||||
|
|
||||||
\func{bool}{ProcessEvent}{\param{wxEvent\& }{event}}
|
|
||||||
|
|
||||||
Overridden to determine whether the target pane specified in the
|
|
||||||
event matches the pane mask of this plugin (specific plugins
|
|
||||||
do not override this method).
|
|
||||||
|
|
@@ -1,38 +0,0 @@
|
|||||||
%
|
|
||||||
% automatically generated by HelpGen $Revision$ from
|
|
||||||
% controlbar.h at 21/Jan/02 21:14:14
|
|
||||||
%
|
|
||||||
|
|
||||||
|
|
||||||
\section{\class{cbPluginEvent}}\label{cbpluginevent}
|
|
||||||
|
|
||||||
|
|
||||||
Base class for all control-bar plugin events.
|
|
||||||
This is not a dynamically-creatable class.
|
|
||||||
|
|
||||||
\wxheading{Derived from}
|
|
||||||
|
|
||||||
\helpref{wxEvent}{wxevent}
|
|
||||||
|
|
||||||
\wxheading{Include files}
|
|
||||||
|
|
||||||
<wx/fl/controlbar.h>
|
|
||||||
|
|
||||||
\wxheading{Data structures}
|
|
||||||
|
|
||||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbPluginEvent::cbPluginEvent}\label{cbplugineventcbpluginevent}
|
|
||||||
|
|
||||||
\func{}{cbPluginEvent}{\param{wxEventType }{eventType}, \param{cbDockPane* }{pPane}}
|
|
||||||
|
|
||||||
Constructor, taking event type and pane.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbPluginEvent::Clone}\label{cbplugineventclone}
|
|
||||||
|
|
||||||
\constfunc{wxEvent*}{Clone}{\void}
|
|
||||||
|
|
||||||
Not used, but required.
|
|
||||||
|
|
@@ -1,30 +0,0 @@
|
|||||||
%
|
|
||||||
% automatically generated by HelpGen $Revision$ from
|
|
||||||
% controlbar.h at 21/Jan/02 21:14:15
|
|
||||||
%
|
|
||||||
|
|
||||||
|
|
||||||
\section{\class{cbRemoveBarEvent}}\label{cbremovebarevent}
|
|
||||||
|
|
||||||
|
|
||||||
Class for bar removal events.
|
|
||||||
|
|
||||||
\wxheading{Derived from}
|
|
||||||
|
|
||||||
\helpref{cbPluginEvent}{cbpluginevent}
|
|
||||||
|
|
||||||
\wxheading{Include files}
|
|
||||||
|
|
||||||
<wx/fl/controlbar.h>
|
|
||||||
|
|
||||||
\wxheading{Data structures}
|
|
||||||
|
|
||||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRemoveBarEvent::cbRemoveBarEvent}\label{cbremovebareventcbremovebarevent}
|
|
||||||
|
|
||||||
\func{}{cbRemoveBarEvent}{\param{cbBarInfo* }{pBar}, \param{cbDockPane* }{pPane}}
|
|
||||||
|
|
||||||
Constructor, taking bar information and pane.
|
|
||||||
|
|
@@ -1,30 +0,0 @@
|
|||||||
%
|
|
||||||
% automatically generated by HelpGen $Revision$ from
|
|
||||||
% controlbar.h at 21/Jan/02 21:14:15
|
|
||||||
%
|
|
||||||
|
|
||||||
|
|
||||||
\section{\class{cbResizeBarEvent}}\label{cbresizebarevent}
|
|
||||||
|
|
||||||
|
|
||||||
Class for bar resize events.
|
|
||||||
|
|
||||||
\wxheading{Derived from}
|
|
||||||
|
|
||||||
\helpref{cbPluginEvent}{cbpluginevent}
|
|
||||||
|
|
||||||
\wxheading{Include files}
|
|
||||||
|
|
||||||
<wx/fl/controlbar.h>
|
|
||||||
|
|
||||||
\wxheading{Data structures}
|
|
||||||
|
|
||||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbResizeBarEvent::cbResizeBarEvent}\label{cbresizebareventcbresizebarevent}
|
|
||||||
|
|
||||||
\func{}{cbResizeBarEvent}{\param{cbBarInfo* }{pBar}, \param{cbRowInfo* }{pRow}, \param{cbDockPane* }{pPane}}
|
|
||||||
|
|
||||||
Constructor, taking bar information, row information, and pane.
|
|
||||||
|
|
@@ -1,30 +0,0 @@
|
|||||||
%
|
|
||||||
% automatically generated by HelpGen $Revision$ from
|
|
||||||
% controlbar.h at 21/Jan/02 21:14:15
|
|
||||||
%
|
|
||||||
|
|
||||||
|
|
||||||
\section{\class{cbResizeRowEvent}}\label{cbresizerowevent}
|
|
||||||
|
|
||||||
|
|
||||||
Class for row resize events.
|
|
||||||
|
|
||||||
\wxheading{Derived from}
|
|
||||||
|
|
||||||
\helpref{cbPluginEvent}{cbpluginevent}
|
|
||||||
|
|
||||||
\wxheading{Include files}
|
|
||||||
|
|
||||||
<wx/fl/controlbar.h>
|
|
||||||
|
|
||||||
\wxheading{Data structures}
|
|
||||||
|
|
||||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbResizeRowEvent::cbResizeRowEvent}\label{cbresizeroweventcbresizerowevent}
|
|
||||||
|
|
||||||
\func{}{cbResizeRowEvent}{\param{cbRowInfo* }{pRow}, \param{int }{handleOfs}, \param{bool }{forUpperHandle}, \param{cbDockPane* }{pPane}}
|
|
||||||
|
|
||||||
Constructor, taking row information, two parameters of currently unknown use, and pane.
|
|
||||||
|
|
@@ -1,30 +0,0 @@
|
|||||||
%
|
|
||||||
% automatically generated by HelpGen $Revision$ from
|
|
||||||
% controlbar.h at 21/Jan/02 21:14:15
|
|
||||||
%
|
|
||||||
|
|
||||||
|
|
||||||
\section{\class{cbRightDownEvent}}\label{cbrightdownevent}
|
|
||||||
|
|
||||||
|
|
||||||
Class for mouse right down events.
|
|
||||||
|
|
||||||
\wxheading{Derived from}
|
|
||||||
|
|
||||||
\helpref{cbPluginEvent}{cbpluginevent}
|
|
||||||
|
|
||||||
\wxheading{Include files}
|
|
||||||
|
|
||||||
<wx/fl/controlbar.h>
|
|
||||||
|
|
||||||
\wxheading{Data structures}
|
|
||||||
|
|
||||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRightDownEvent::cbRightDownEvent}\label{cbrightdowneventcbrightdownevent}
|
|
||||||
|
|
||||||
\func{}{cbRightDownEvent}{\param{const wxPoint\& }{pos}, \param{cbDockPane* }{pPane}}
|
|
||||||
|
|
||||||
Constructor, taking mouse position and pane.
|
|
||||||
|
|
@@ -1,30 +0,0 @@
|
|||||||
%
|
|
||||||
% automatically generated by HelpGen $Revision$ from
|
|
||||||
% controlbar.h at 21/Jan/02 21:14:15
|
|
||||||
%
|
|
||||||
|
|
||||||
|
|
||||||
\section{\class{cbRightUpEvent}}\label{cbrightupevent}
|
|
||||||
|
|
||||||
|
|
||||||
Class for mouse right up events.
|
|
||||||
|
|
||||||
\wxheading{Derived from}
|
|
||||||
|
|
||||||
\helpref{cbPluginEvent}{cbpluginevent}
|
|
||||||
|
|
||||||
\wxheading{Include files}
|
|
||||||
|
|
||||||
<wx/fl/controlbar.h>
|
|
||||||
|
|
||||||
\wxheading{Data structures}
|
|
||||||
|
|
||||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRightUpEvent::cbRightUpEvent}\label{cbrightupeventcbrightupevent}
|
|
||||||
|
|
||||||
\func{}{cbRightUpEvent}{\param{const wxPoint\& }{pos}, \param{cbDockPane* }{pPane}}
|
|
||||||
|
|
||||||
Constructor, taking mouse position and pane.
|
|
||||||
|
|
@@ -1,339 +0,0 @@
|
|||||||
%
|
|
||||||
% automatically generated by HelpGen $Revision$ from
|
|
||||||
% rowdragpl.h at 21/Jan/02 21:14:19
|
|
||||||
%
|
|
||||||
|
|
||||||
|
|
||||||
\section{\class{cbRowDragPlugin}}\label{cbrowdragplugin}
|
|
||||||
|
|
||||||
|
|
||||||
This plugin adds row-dragging functionality to the pane.
|
|
||||||
It handles mouse movement and pane background-erasing plugin events.
|
|
||||||
The behaviour and appearance resembles drag and drop positioning
|
|
||||||
of the toolbar rows in Netscape Communicator 4.xx.
|
|
||||||
|
|
||||||
\wxheading{Derived from}
|
|
||||||
|
|
||||||
\helpref{cbPluginBase}{cbpluginbase}
|
|
||||||
|
|
||||||
\wxheading{Include files}
|
|
||||||
|
|
||||||
<wx/fl/rowdragpl.h>
|
|
||||||
|
|
||||||
\wxheading{Data structures}
|
|
||||||
|
|
||||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowDragPlugin::cbRowDragPlugin}\label{cbrowdragplugincbrowdragplugin}
|
|
||||||
|
|
||||||
\func{}{cbRowDragPlugin}{\param{wxFrameLayout* }{pLayout}, \param{int }{paneMask = wxALL\_PANES}}
|
|
||||||
|
|
||||||
Constructor, taking paren layout frame and pane mask.
|
|
||||||
|
|
||||||
|
|
||||||
\func{}{cbRowDragPlugin}{\void}
|
|
||||||
|
|
||||||
Default constructor.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowDragPlugin::\destruct{cbRowDragPlugin}}\label{cbrowdragplugindtor}
|
|
||||||
|
|
||||||
\func{}{\destruct{cbRowDragPlugin}}{\void}
|
|
||||||
|
|
||||||
Destructor.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowDragPlugin::CaptureDCArea}\label{cbrowdragplugincapturedcarea}
|
|
||||||
|
|
||||||
\func{wxBitmap*}{CaptureDCArea}{\param{wxDC\& }{dc}, \param{wxRect\& }{area}}
|
|
||||||
|
|
||||||
Helper for drag and drop.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowDragPlugin::CheckPrevItemInFocus}\label{cbrowdragplugincheckpreviteminfocus}
|
|
||||||
|
|
||||||
\func{void}{CheckPrevItemInFocus}{\param{cbRowInfo* }{pRow}, \param{int }{iconIdx}}
|
|
||||||
|
|
||||||
Helper for drag and drop.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowDragPlugin::Clone}\label{cbrowdragpluginclone}
|
|
||||||
|
|
||||||
\func{cbPluginBase*}{Clone}{\void}
|
|
||||||
|
|
||||||
Clone function, returning a new instance of this class.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowDragPlugin::CollapseRow}\label{cbrowdragplugincollapserow}
|
|
||||||
|
|
||||||
\func{void}{CollapseRow}{\param{cbRowInfo* }{pRow}}
|
|
||||||
|
|
||||||
Helper for drag and drop.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowDragPlugin::Draw3DPattern}\label{cbrowdragplugindraw3dpattern}
|
|
||||||
|
|
||||||
\func{void}{Draw3DPattern}{\param{wxRect\& }{inRect}, \param{wxDC\& }{dc}}
|
|
||||||
|
|
||||||
Implements 'hard-coded metafile' for Netscape Navigator look.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowDragPlugin::Draw3DRect}\label{cbrowdragplugindraw3drect}
|
|
||||||
|
|
||||||
\func{void}{Draw3DRect}{\param{wxRect\& }{inRect}, \param{wxDC\& }{dc}, \param{wxBrush\& }{bkBrush}}
|
|
||||||
|
|
||||||
Implements 'hard-coded metafile' for Netscape Navigator look.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowDragPlugin::DrawCollapsedRowIcon}\label{cbrowdragplugindrawcollapsedrowicon}
|
|
||||||
|
|
||||||
\func{void}{DrawCollapsedRowIcon}{\param{int }{index}, \param{wxDC\& }{dc}, \param{bool }{isHighlighted}}
|
|
||||||
|
|
||||||
Draws collapsed row icon (appearance-dependent).
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowDragPlugin::DrawCollapsedRowsBorder}\label{cbrowdragplugindrawcollapsedrowsborder}
|
|
||||||
|
|
||||||
\func{void}{DrawCollapsedRowsBorder}{\param{wxDC\& }{dc}}
|
|
||||||
|
|
||||||
Draws collapsed rows border (appearance-dependent).
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowDragPlugin::DrawEmptyRow}\label{cbrowdragplugindrawemptyrow}
|
|
||||||
|
|
||||||
\func{void}{DrawEmptyRow}{\param{wxDC\& }{dc}, \param{wxRect\& }{rowBounds}}
|
|
||||||
|
|
||||||
Draws empty row (appearance-dependent).
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowDragPlugin::DrawOrtoRomb}\label{cbrowdragplugindrawortoromb}
|
|
||||||
|
|
||||||
\func{void}{DrawOrtoRomb}{\param{wxRect\& }{inRect}, \param{wxDC\& }{dc}, \param{wxBrush\& }{bkBrush}}
|
|
||||||
|
|
||||||
Implements 'hard-coded metafile' for Netscape Navigator look.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowDragPlugin::DrawRectShade}\label{cbrowdragplugindrawrectshade}
|
|
||||||
|
|
||||||
\func{void}{DrawRectShade}{\param{wxRect\& }{inRect}, \param{wxDC\& }{dc}, \param{int }{level}, \param{wxPen\& }{upperPen}, \param{wxPen\& }{lowerPen}}
|
|
||||||
|
|
||||||
Implements 'hard-coded metafile' for Netscape Navigator look.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowDragPlugin::DrawRomb}\label{cbrowdragplugindrawromb}
|
|
||||||
|
|
||||||
\func{void}{DrawRomb}{\param{wxRect\& }{inRect}, \param{wxDC\& }{dc}, \param{wxBrush\& }{bkBrush}}
|
|
||||||
|
|
||||||
Implements 'hard-coded metafile' for Netscape Navigator look.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowDragPlugin::DrawRombShades}\label{cbrowdragplugindrawrombshades}
|
|
||||||
|
|
||||||
\func{void}{DrawRombShades}{\param{wxPoint\& }{p1}, \param{wxPoint\& }{p2}, \param{wxPoint\& }{p3}, \param{wxPoint\& }{p4}, \param{wxDC\& }{dc}}
|
|
||||||
|
|
||||||
Implements 'hard-coded metafile' for Netscape Navigator look.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowDragPlugin::DrawRowDragHint}\label{cbrowdragplugindrawrowdraghint}
|
|
||||||
|
|
||||||
\func{void}{DrawRowDragHint}{\param{cbRowInfo* }{pRow}, \param{wxDC\& }{dc}, \param{bool }{isHighlighted}}
|
|
||||||
|
|
||||||
Draws row drag hint (appearance-dependent).
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowDragPlugin::DrawRowsDragHintsBorder}\label{cbrowdragplugindrawrowsdraghintsborder}
|
|
||||||
|
|
||||||
\func{void}{DrawRowsDragHintsBorder}{\param{wxDC\& }{dc}}
|
|
||||||
|
|
||||||
Draws rows drag hints border (appearance-dependent).
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowDragPlugin::DrawTrianDown}\label{cbrowdragplugindrawtriandown}
|
|
||||||
|
|
||||||
\func{void}{DrawTrianDown}{\param{wxRect\& }{inRect}, \param{wxDC\& }{dc}}
|
|
||||||
|
|
||||||
Implements 'hard-coded metafile' for Netscape Navigator look.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowDragPlugin::DrawTrianRight}\label{cbrowdragplugindrawtrianright}
|
|
||||||
|
|
||||||
\func{void}{DrawTrianRight}{\param{wxRect\& }{inRect}, \param{wxDC\& }{dc}}
|
|
||||||
|
|
||||||
Implements 'hard-coded metafile' for Netscape Navigator look.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowDragPlugin::DrawTrianUp}\label{cbrowdragplugindrawtrianup}
|
|
||||||
|
|
||||||
\func{void}{DrawTrianUp}{\param{wxRect\& }{inRect}, \param{wxDC\& }{dc}}
|
|
||||||
|
|
||||||
Implements 'hard-coded metafile' for Netscape Navigator look.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowDragPlugin::ExpandRow}\label{cbrowdragpluginexpandrow}
|
|
||||||
|
|
||||||
\func{void}{ExpandRow}{\param{int }{collapsedIconIdx}}
|
|
||||||
|
|
||||||
Helper for drag and drop.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowDragPlugin::FinishOnScreenDraw}\label{cbrowdragpluginfinishonscreendraw}
|
|
||||||
|
|
||||||
\func{void}{FinishOnScreenDraw}{\void}
|
|
||||||
|
|
||||||
Helper for drag and drop.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowDragPlugin::GetCollapsedIconsPos}\label{cbrowdragplugingetcollapsediconspos}
|
|
||||||
|
|
||||||
\func{int}{GetCollapsedIconsPos}{\void}
|
|
||||||
|
|
||||||
Helper for drag and drop.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowDragPlugin::GetCollapsedInconRect}\label{cbrowdragplugingetcollapsedinconrect}
|
|
||||||
|
|
||||||
\func{void}{GetCollapsedInconRect}{\param{int }{iconIdx}, \param{wxRect\& }{rect}}
|
|
||||||
|
|
||||||
Helper for drag and drop.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowDragPlugin::GetCollapsedRowIconHeight}\label{cbrowdragplugingetcollapsedrowiconheight}
|
|
||||||
|
|
||||||
\func{int}{GetCollapsedRowIconHeight}{\void}
|
|
||||||
|
|
||||||
Gets the collapsed row icon height.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowDragPlugin::GetFirstRow}\label{cbrowdragplugingetfirstrow}
|
|
||||||
|
|
||||||
\func{cbRowInfo*}{GetFirstRow}{\void}
|
|
||||||
|
|
||||||
Helper for drag and drop.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowDragPlugin::GetHRowsCountForPane}\label{cbrowdragplugingethrowscountforpane}
|
|
||||||
|
|
||||||
\func{int}{GetHRowsCountForPane}{\param{cbDockPane* }{pPane}}
|
|
||||||
|
|
||||||
Helper for drag and drop.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowDragPlugin::GetRowDragHintWidth}\label{cbrowdragplugingetrowdraghintwidth}
|
|
||||||
|
|
||||||
\func{int}{GetRowDragHintWidth}{\void}
|
|
||||||
|
|
||||||
Gets the row drag hint width.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowDragPlugin::GetRowHintRect}\label{cbrowdragplugingetrowhintrect}
|
|
||||||
|
|
||||||
\func{void}{GetRowHintRect}{\param{cbRowInfo* }{pRow}, \param{wxRect\& }{rect}}
|
|
||||||
|
|
||||||
Helper for drag and drop.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowDragPlugin::HitTestCollapsedRowIcon}\label{cbrowdragpluginhittestcollapsedrowicon}
|
|
||||||
|
|
||||||
\func{bool}{HitTestCollapsedRowIcon}{\param{int }{iconIdx}, \param{const wxPoint\& }{pos}}
|
|
||||||
|
|
||||||
Test for the collapsed row icon position.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowDragPlugin::HitTestRowDragHint}\label{cbrowdragpluginhittestrowdraghint}
|
|
||||||
|
|
||||||
\func{bool}{HitTestRowDragHint}{\param{cbRowInfo* }{pRow}, \param{const wxPoint\& }{pos}}
|
|
||||||
|
|
||||||
Test for the row drag hint position.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowDragPlugin::InsertDraggedRowBefore}\label{cbrowdragplugininsertdraggedrowbefore}
|
|
||||||
|
|
||||||
\func{void}{InsertDraggedRowBefore}{\param{cbRowInfo* }{pBeforeRow}}
|
|
||||||
|
|
||||||
Helper for drag and drop.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowDragPlugin::ItemIsInFocus}\label{cbrowdragpluginitemisinfocus}
|
|
||||||
|
|
||||||
\func{bool}{ItemIsInFocus}{\void}
|
|
||||||
|
|
||||||
Helper for drag and drop.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowDragPlugin::OnDrawPaneBackground}\label{cbrowdragpluginondrawpanebackground}
|
|
||||||
|
|
||||||
\func{void}{OnDrawPaneBackground}{\param{cbDrawPaneDecorEvent\& }{event}}
|
|
||||||
|
|
||||||
Handles pane drawing plugin events (appearance-independent logic).
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowDragPlugin::OnInitPlugin}\label{cbrowdragpluginoninitplugin}
|
|
||||||
|
|
||||||
\func{void}{OnInitPlugin}{\void}
|
|
||||||
|
|
||||||
Called to initialize this plugin.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowDragPlugin::OnLButtonDown}\label{cbrowdragpluginonlbuttondown}
|
|
||||||
|
|
||||||
\func{void}{OnLButtonDown}{\param{cbLeftDownEvent\& }{event}}
|
|
||||||
|
|
||||||
Handles left button down plugin events (appearance-independent logic).
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowDragPlugin::OnLButtonUp}\label{cbrowdragpluginonlbuttonup}
|
|
||||||
|
|
||||||
\func{void}{OnLButtonUp}{\param{cbLeftUpEvent\& }{event}}
|
|
||||||
|
|
||||||
Handles left button up plugin events (appearance-independent logic).
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowDragPlugin::OnMouseMove}\label{cbrowdragpluginonmousemove}
|
|
||||||
|
|
||||||
\func{void}{OnMouseMove}{\param{cbMotionEvent\& }{event}}
|
|
||||||
|
|
||||||
Handles mouse move plugin events (appearance-independent logic).
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowDragPlugin::PrepareForRowDrag}\label{cbrowdragpluginprepareforrowdrag}
|
|
||||||
|
|
||||||
\func{void}{PrepareForRowDrag}{\void}
|
|
||||||
|
|
||||||
Helper for drag and drop.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowDragPlugin::SetMouseCapture}\label{cbrowdragpluginsetmousecapture}
|
|
||||||
|
|
||||||
\func{void}{SetMouseCapture}{\param{bool }{captureOn}}
|
|
||||||
|
|
||||||
Helper for drag and drop.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowDragPlugin::SetPaneMargins}\label{cbrowdragpluginsetpanemargins}
|
|
||||||
|
|
||||||
\func{void}{SetPaneMargins}{\void}
|
|
||||||
|
|
||||||
Sets the pane margins.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowDragPlugin::ShowDraggedRow}\label{cbrowdragpluginshowdraggedrow}
|
|
||||||
|
|
||||||
\func{void}{ShowDraggedRow}{\param{int }{offset}}
|
|
||||||
|
|
||||||
Helper for drag and drop.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowDragPlugin::ShowPaneImage}\label{cbrowdragpluginshowpaneimage}
|
|
||||||
|
|
||||||
\func{void}{ShowPaneImage}{\void}
|
|
||||||
|
|
||||||
Helper for drag and drop.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowDragPlugin::UnhighlightItemInFocus}\label{cbrowdragpluginunhighlightiteminfocus}
|
|
||||||
|
|
||||||
\func{void}{UnhighlightItemInFocus}{\void}
|
|
||||||
|
|
||||||
Helper for drag and drop.
|
|
||||||
|
|
@@ -1,45 +0,0 @@
|
|||||||
%
|
|
||||||
% automatically generated by HelpGen $Revision$ from
|
|
||||||
% controlbar.h at 21/Jan/02 21:14:13
|
|
||||||
%
|
|
||||||
|
|
||||||
|
|
||||||
\section{\class{cbRowInfo}}\label{cbrowinfo}
|
|
||||||
|
|
||||||
|
|
||||||
Helper class used internally by the wxFrameLayout class.
|
|
||||||
Holds and manages information about bar rows.
|
|
||||||
|
|
||||||
\wxheading{Derived from}
|
|
||||||
|
|
||||||
\helpref{wxObject}{wxobject}
|
|
||||||
|
|
||||||
\wxheading{Include files}
|
|
||||||
|
|
||||||
<wx/fl/controlbar.h>
|
|
||||||
|
|
||||||
\wxheading{Data structures}
|
|
||||||
|
|
||||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowInfo::cbRowInfo}\label{cbrowinfocbrowinfo}
|
|
||||||
|
|
||||||
\func{}{cbRowInfo}{\void}
|
|
||||||
|
|
||||||
Constructor.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowInfo::\destruct{cbRowInfo}}\label{cbrowinfodtor}
|
|
||||||
|
|
||||||
\func{}{\destruct{cbRowInfo}}{\void}
|
|
||||||
|
|
||||||
Destructor.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowInfo::GetFirstBar}\label{cbrowinfogetfirstbar}
|
|
||||||
|
|
||||||
\func{cbBarInfo*}{GetFirstBar}{\void}
|
|
||||||
|
|
||||||
Returns the first bar.
|
|
||||||
|
|
@@ -1,204 +0,0 @@
|
|||||||
%
|
|
||||||
% automatically generated by HelpGen $Revision$ from
|
|
||||||
% rowlayoutpl.h at 21/Jan/02 21:14:19
|
|
||||||
%
|
|
||||||
|
|
||||||
|
|
||||||
\section{\class{cbRowLayoutPlugin}}\label{cbrowlayoutplugin}
|
|
||||||
|
|
||||||
|
|
||||||
Simple implementation of a plugin which handles row layout
|
|
||||||
requests sent from a frame layout.
|
|
||||||
|
|
||||||
\wxheading{Derived from}
|
|
||||||
|
|
||||||
\helpref{cbPluginBase}{cbpluginbase}
|
|
||||||
|
|
||||||
\wxheading{Include files}
|
|
||||||
|
|
||||||
<wx/fl/rowlayoutpl.h>
|
|
||||||
|
|
||||||
\wxheading{Data structures}
|
|
||||||
|
|
||||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowLayoutPlugin::cbRowLayoutPlugin}\label{cbrowlayoutplugincbrowlayoutplugin}
|
|
||||||
|
|
||||||
\func{}{cbRowLayoutPlugin}{\param{wxFrameLayout* }{pPanel}, \param{int }{paneMask = wxALL\_PANES}}
|
|
||||||
|
|
||||||
Constructor taking frame layout pane and pane mask.
|
|
||||||
|
|
||||||
|
|
||||||
\func{}{cbRowLayoutPlugin}{\void}
|
|
||||||
|
|
||||||
Default constructor.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowLayoutPlugin::AdjustLengthOfInserted}\label{cbrowlayoutpluginadjustlengthofinserted}
|
|
||||||
|
|
||||||
\func{void}{AdjustLengthOfInserted}{\param{cbRowInfo* }{pRow}, \param{cbBarInfo* }{pTheBar}}
|
|
||||||
|
|
||||||
Internal helper relating to not-fixed-bars layout.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowLayoutPlugin::ApplyLengthRatios}\label{cbrowlayoutpluginapplylengthratios}
|
|
||||||
|
|
||||||
\func{void}{ApplyLengthRatios}{\param{cbRowInfo* }{pRow}}
|
|
||||||
|
|
||||||
Internal helper relating to not-fixed-bars layout.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowLayoutPlugin::CalcRowHeight}\label{cbrowlayoutplugincalcrowheight}
|
|
||||||
|
|
||||||
\func{int}{CalcRowHeight}{\param{cbRowInfo\& }{row}}
|
|
||||||
|
|
||||||
Row layout helper simulating bar 'friction'.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowLayoutPlugin::CheckIfAtTheBoundary}\label{cbrowlayoutplugincheckifattheboundary}
|
|
||||||
|
|
||||||
\func{void}{CheckIfAtTheBoundary}{\param{cbBarInfo* }{pTheBar}, \param{cbRowInfo\& }{rowInfo}}
|
|
||||||
|
|
||||||
Internal helper relating to not-fixed-bars layout.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowLayoutPlugin::DetectBarHandles}\label{cbrowlayoutplugindetectbarhandles}
|
|
||||||
|
|
||||||
\func{void}{DetectBarHandles}{\param{cbRowInfo* }{pRow}}
|
|
||||||
|
|
||||||
Internal helper relating to not-fixed-bars layout.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowLayoutPlugin::DoInsertBar}\label{cbrowlayoutplugindoinsertbar}
|
|
||||||
|
|
||||||
\func{void}{DoInsertBar}{\param{cbBarInfo* }{pTheBar}, \param{cbRowInfo\& }{row}}
|
|
||||||
|
|
||||||
Insert the bar before the given row.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowLayoutPlugin::ExpandNotFixedBars}\label{cbrowlayoutpluginexpandnotfixedbars}
|
|
||||||
|
|
||||||
\func{void}{ExpandNotFixedBars}{\param{cbRowInfo* }{pRow}}
|
|
||||||
|
|
||||||
Internal helper relating to not-fixed-bars layout.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowLayoutPlugin::FitBarsToRange}\label{cbrowlayoutpluginfitbarstorange}
|
|
||||||
|
|
||||||
\func{void}{FitBarsToRange}{\param{int }{from}, \param{int }{till}, \param{cbBarInfo* }{pTheBar}, \param{cbRowInfo* }{pRow}}
|
|
||||||
|
|
||||||
Internal helper relating to not-fixed-bars layout.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowLayoutPlugin::GetRowFreeSpace}\label{cbrowlayoutplugingetrowfreespace}
|
|
||||||
|
|
||||||
\func{int}{GetRowFreeSpace}{\param{cbRowInfo* }{pRow}}
|
|
||||||
|
|
||||||
Internal helper relating to not-fixed-bars layout.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowLayoutPlugin::InsertBefore}\label{cbrowlayoutplugininsertbefore}
|
|
||||||
|
|
||||||
\func{void}{InsertBefore}{\param{cbBarInfo* }{pBeforeBar}, \param{cbBarInfo* }{pTheBar}, \param{cbRowInfo\& }{row}}
|
|
||||||
|
|
||||||
Insert the bar before the given row.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowLayoutPlugin::LayoutItemsVertically}\label{cbrowlayoutpluginlayoutitemsvertically}
|
|
||||||
|
|
||||||
\func{void}{LayoutItemsVertically}{\param{cbRowInfo\& }{row}}
|
|
||||||
|
|
||||||
Row layout helper simulating bar 'friction'.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowLayoutPlugin::MinimzeNotFixedBars}\label{cbrowlayoutpluginminimzenotfixedbars}
|
|
||||||
|
|
||||||
\func{void}{MinimzeNotFixedBars}{\param{cbRowInfo* }{pRow}, \param{cbBarInfo* }{pBarToPreserve}}
|
|
||||||
|
|
||||||
Internal helper relating to not-fixed-bars layout.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowLayoutPlugin::OnInsertBar}\label{cbrowlayoutpluginoninsertbar}
|
|
||||||
|
|
||||||
\func{void}{OnInsertBar}{\param{cbInsertBarEvent\& }{event}}
|
|
||||||
|
|
||||||
Responds to bar insertion event.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowLayoutPlugin::OnLayoutRow}\label{cbrowlayoutpluginonlayoutrow}
|
|
||||||
|
|
||||||
\func{void}{OnLayoutRow}{\param{cbLayoutRowEvent\& }{event}}
|
|
||||||
|
|
||||||
Responds to row layout event.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowLayoutPlugin::OnLayoutRows}\label{cbrowlayoutpluginonlayoutrows}
|
|
||||||
|
|
||||||
\func{void}{OnLayoutRows}{\param{cbLayoutRowsEvent\& }{event}}
|
|
||||||
|
|
||||||
Responds to rows layout event.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowLayoutPlugin::OnRemoveBar}\label{cbrowlayoutpluginonremovebar}
|
|
||||||
|
|
||||||
\func{void}{OnRemoveBar}{\param{cbRemoveBarEvent\& }{event}}
|
|
||||||
|
|
||||||
Responds to bar removal event.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowLayoutPlugin::OnResizeRow}\label{cbrowlayoutpluginonresizerow}
|
|
||||||
|
|
||||||
\func{void}{OnResizeRow}{\param{cbResizeRowEvent\& }{event}}
|
|
||||||
|
|
||||||
Responds to row resize event.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowLayoutPlugin::RecalcLengthRatios}\label{cbrowlayoutpluginrecalclengthratios}
|
|
||||||
|
|
||||||
\func{void}{RecalcLengthRatios}{\param{cbRowInfo* }{pRow}}
|
|
||||||
|
|
||||||
Internal helper relating to not-fixed-bars layout.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowLayoutPlugin::RelayoutNotFixedBarsAround}\label{cbrowlayoutpluginrelayoutnotfixedbarsaround}
|
|
||||||
|
|
||||||
\func{void}{RelayoutNotFixedBarsAround}{\param{cbBarInfo* }{pTheBar}, \param{cbRowInfo* }{pRow}}
|
|
||||||
|
|
||||||
Internal helper relating to not-fixed-bars layout.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowLayoutPlugin::ShiftLeftTrashold}\label{cbrowlayoutpluginshiftlefttrashold}
|
|
||||||
|
|
||||||
\func{void}{ShiftLeftTrashold}{\param{cbBarInfo* }{pTheBar}, \param{cbRowInfo\& }{row}}
|
|
||||||
|
|
||||||
Row layout helper simulating bar 'friction'.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowLayoutPlugin::ShiftRightTrashold}\label{cbrowlayoutpluginshiftrighttrashold}
|
|
||||||
|
|
||||||
\func{void}{ShiftRightTrashold}{\param{cbBarInfo* }{pTheBar}, \param{cbRowInfo\& }{row}}
|
|
||||||
|
|
||||||
Row layout helper simulating bar 'friction'.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowLayoutPlugin::SlideLeftSideBars}\label{cbrowlayoutpluginslideleftsidebars}
|
|
||||||
|
|
||||||
\func{void}{SlideLeftSideBars}{\param{cbBarInfo* }{pTheBar}}
|
|
||||||
|
|
||||||
Row layout helper simulating bar 'friction'.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowLayoutPlugin::SlideRightSideBars}\label{cbrowlayoutpluginsliderightsidebars}
|
|
||||||
|
|
||||||
\func{void}{SlideRightSideBars}{\param{cbBarInfo* }{pTheBar}}
|
|
||||||
|
|
||||||
Row layout helper simulating bar 'friction'.
|
|
||||||
|
|
||||||
|
|
||||||
\membersection{cbRowLayoutPlugin::StickRightSideBars}\label{cbrowlayoutpluginstickrightsidebars}
|
|
||||||
|
|
||||||
\func{void}{StickRightSideBars}{\param{cbBarInfo* }{pToBar}}
|
|
||||||
|
|
||||||
Row layout helper simulating bar 'friction'.
|
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user