Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
f7f6abe24d |
31
.cvsignore
31
.cvsignore
@@ -21,16 +21,23 @@ linux-gnu.system.cache
|
||||
*.d
|
||||
*.swp
|
||||
*.swo
|
||||
*.swq
|
||||
Release
|
||||
Debug
|
||||
ReleaseDLL
|
||||
DebugDLL
|
||||
UnivRelease
|
||||
UnivDebug
|
||||
ReleaseDll
|
||||
DebugDll
|
||||
ReleaseUnicode
|
||||
DebugUnicode
|
||||
ReleaseUnicodeDll
|
||||
DebugUnicodeDll
|
||||
BaseRelease
|
||||
BaseDebug
|
||||
BaseReleaseDLL
|
||||
BaseDebugDLL
|
||||
BaseReleaseDll
|
||||
BaseDebugDll
|
||||
BaseReleaseUnicode
|
||||
BaseDebugUnicode
|
||||
BaseReleaseUnicodeDll
|
||||
BaseDebugUnicodeDll
|
||||
robert
|
||||
stamp-h.in
|
||||
Makefile
|
||||
@@ -41,22 +48,10 @@ libtool
|
||||
aclocal.m4
|
||||
base
|
||||
gtk
|
||||
gtk2
|
||||
motif
|
||||
win32
|
||||
x11
|
||||
univ
|
||||
univ-debug
|
||||
univ-release
|
||||
base-debug
|
||||
gtk-debug
|
||||
motif-debug
|
||||
win32-debug
|
||||
base-release
|
||||
gtk-release
|
||||
motif-release
|
||||
win32-release
|
||||
*tags
|
||||
log
|
||||
univtags.cmd
|
||||
.DS_Store
|
||||
|
138
BuildCVS.txt
138
BuildCVS.txt
@@ -19,29 +19,30 @@ varaibles and PATH entries.
|
||||
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
|
||||
so it is recommended to use MinGW and its toolchain instead
|
||||
so it is recommended to use Mingw32 and its toolchain instead
|
||||
if possible.
|
||||
|
||||
-> Set your path so that it includes the directory
|
||||
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
|
||||
in the wxWin\Mingw32-gcc295.patches file. PLEASE APPLY THESE
|
||||
PATCHES BY HAND! There are apparently a few different versions
|
||||
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
|
||||
the file to either 1 (you have MinGW) or 0 (you have Cygwin).
|
||||
Also set the MINGW32VERSION variable appropiately.
|
||||
the file to either 1 (you have Mingw32) or 0 (you have Cygwin32).
|
||||
If using MINGW32, also set the MINGW32VERSION variable
|
||||
appropiately.
|
||||
|
||||
|
||||
c) Build instructions
|
||||
@@ -50,8 +51,19 @@ c) Build instructions
|
||||
into c:\wxWin
|
||||
-> Copy c:\wxWin\include\wx\msw\setup0.h
|
||||
to c:\wxWin\include\wx\msw\setup.h
|
||||
-> Edit c:\wxWin\include\wx\msw\setup.h to choose
|
||||
the features you would like to compile wxWindows with[out].
|
||||
-> Edit c:\wxWin\include\wx\msw\setup.h so that
|
||||
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
|
||||
#define wxUSE_STD_IOSTREAM 0
|
||||
@@ -60,16 +72,6 @@ c) Build instructions
|
||||
-> type: make -f makefile.g95 (if using GNU tools)
|
||||
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
|
||||
--------------
|
||||
@@ -107,67 +109,47 @@ yet complete).
|
||||
III) Windows using configure
|
||||
----------------------------------------
|
||||
|
||||
wxWindows can be built on Windows using MSYS (see
|
||||
http://www.mingw.org/), which is a POSIX build environment
|
||||
for Windows. With MSYS you can just ./configure && make (see also VII,
|
||||
Unix->Windows cross-compiling using configure).
|
||||
Take a look at Unix->Windows cross compiling. With minor
|
||||
modifications, this should work in Windows if you've got the cygnus
|
||||
utilities (bash, GNU make, etc) and either mingw32 or cygwin32 installed.
|
||||
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
|
||||
section I).
|
||||
|
||||
IV) Classic MacOS using CodeWarrior (eg MacOS 8.x/9.x)
|
||||
IV) wxBase
|
||||
----------------------------------------
|
||||
|
||||
Refer to the readme.txt and install.txt files in docs/mac to build
|
||||
wxWindows under Classic Mac OS using CodeWarrior.
|
||||
wxBase is the non GUI part of wxWindows. Currently it can be only built using
|
||||
configure (i.e. under Unix and probably under Win32 with cygwin) and with
|
||||
Visual C++.
|
||||
|
||||
If you are checking out the CVS sources using cvs under Mac OS X and
|
||||
compiling under Classic Mac OS:
|
||||
To build it using configure, just add "--disable-gui" argument to it.
|
||||
|
||||
- make sure that all text files have a Mac OS type of 'TEXT' otherwise
|
||||
CodeWarrior may ignore them. Checking out the CVS sources using cvs
|
||||
under Mac OS X creates untyped files which can lead to compilation
|
||||
errors under CodeWarrior which are hard to track down.
|
||||
To build wxBase with VC++, use the project files wxBase.dsp and wxBaseDll.dsp
|
||||
included in the CVS. See http://www.wxwindows.org/vadim/wxDocs/buildmsw.html
|
||||
for the instructions on how to generate the project files for the programs
|
||||
using wxBase.
|
||||
|
||||
- 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
|
||||
----------------------------------------
|
||||
|
||||
You need to have the Developer Tools installed. If this is not the case,
|
||||
you will need to register at the Apple Developer web site (this is a free
|
||||
registration) in order to download the Developer Tools installer.
|
||||
|
||||
In order to create configure, you need to have the
|
||||
GNU autoconf package (version 2.13 or 2.14) installed
|
||||
on your system and type run "autoconf" in the base
|
||||
directory (or run the autogen.sh script in the same
|
||||
directory, which just calls autoconf).
|
||||
|
||||
-> type: mkdir macbuild
|
||||
-> type: cd macbuild
|
||||
-> type: ../configure --with-mac
|
||||
or type: ../configure
|
||||
-> type: make
|
||||
|
||||
VI) OS/2
|
||||
----------------------------------------
|
||||
|
||||
VII) Unix->Windows cross-compiling using configure
|
||||
--------------------------------------------------
|
||||
|
||||
First you'll need a cross-compiler; linux glibc binaries of MinGW and
|
||||
Cygwin (both based on egcs) can be found at
|
||||
ftp://ftp.objsw.com/pub/crossgcc/linux-x-win32. Alternative binaries,
|
||||
based on the latest MinGW release can be found at
|
||||
http://members.telering.at/jessich/mingw/mingwcross/mingw_cross.html
|
||||
Otherwise you can compile one yourself.
|
||||
First you'll need a cross-compiler; linux glibc binaries of mingw32 and
|
||||
cygwin32 (both based on egcs) can be found at
|
||||
ftp://ftp.objsw.com/pub/crossgcc/linux-x-win32. Otherwise you can
|
||||
compile one yourself. Check the relevant FAQs.
|
||||
|
||||
[ 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
|
||||
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(++). ]
|
||||
|
||||
You might want to build both Unix and Windows binaries in the same source
|
||||
@@ -182,7 +164,8 @@ To cross compile the windows library, do
|
||||
-> cd win32
|
||||
(or whatever you called it)
|
||||
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
|
||||
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!).
|
||||
@@ -190,22 +173,29 @@ The other way to run configure is by specifying the names of the binaries
|
||||
yourself:
|
||||
-> CC=i586-mingw32-gcc CXX=i586-mingw32-g++ RANLIB=i586-mingw32-ranlib \
|
||||
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)
|
||||
By default this will compile a DLL, if you want a static library,
|
||||
specify --disable-shared.
|
||||
(all assuming you're using mingw32)
|
||||
Drag'n'drop is disabled because mingw32 lacks (AFAIK) OLE headers.
|
||||
|
||||
[ 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
|
||||
-> make
|
||||
and wait, wait, wait. Don't leave the room, because the minute you do there
|
||||
will be a compile error :-)
|
||||
|
||||
NB: if you are using a very old compiler you risk to get quite a few warnings
|
||||
about "ANSI C++ forbids implicit conversion from 'void *'" in all places
|
||||
where va_arg macro is used. This is due to a bug in (some versions of)
|
||||
MinGW headers which may be corrected by upgrading your compier,
|
||||
otherwise you might edit the file
|
||||
NB: you risk to get quite a few warnings about "ANSI C++ forbids implicit
|
||||
conversion from 'void *'" in all places where va_arg macro is used. This
|
||||
is due to a bug in (some versions of) mingw32 headers which may be
|
||||
corrected by editing the file
|
||||
|
||||
${install_prefix}/lib/gcc-lib/i586-mingw32/egcs-2.91.57/include/stdarg.h
|
||||
|
||||
@@ -226,9 +216,8 @@ typedef void *__gnuc_va_list;
|
||||
and adding "|| defined(_WIN32)" to the list of platforms on which
|
||||
__gnuc_va_list is char *.
|
||||
|
||||
If this is successful, you end up with a wx23_2.dll/libwx23_2.a in win32/lib
|
||||
(or just libwx_msw.a if you opted for a static build).
|
||||
Now try building the minimal sample:
|
||||
If this is successful, you end up with a libwx_msw.a in win32/lib. Now try
|
||||
building the minimal sample:
|
||||
|
||||
-> cd samples/minimal
|
||||
-> make
|
||||
@@ -248,5 +237,6 @@ Cross-compiling TODO:
|
||||
- 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
|
||||
link it in... you have to supply an object file ]
|
||||
- dynamic libraries
|
||||
- static executables are HUGE -- there must be room for improvement.
|
||||
|
||||
|
763
Makefile.in
763
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
|
||||
])
|
1045
aclocal.m4
vendored
1045
aclocal.m4
vendored
File diff suppressed because it is too large
Load Diff
@@ -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.",
|
||||
".++++++++++++. ..............",
|
||||
".++++++++++++. ",
|
||||
".............. ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" "};
|
590
config.guess
vendored
590
config.guess
vendored
@@ -1,9 +1,9 @@
|
||||
#! /bin/sh
|
||||
# Attempt to guess a canonical system name.
|
||||
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
||||
# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
|
||||
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||
# Free Software Foundation, Inc.
|
||||
|
||||
timestamp='2004-03-12'
|
||||
timestamp='2001-09-04'
|
||||
|
||||
# This file is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License as published by
|
||||
@@ -24,9 +24,8 @@ timestamp='2004-03-12'
|
||||
# configuration script generated by Autoconf, you may include it under
|
||||
# the same distribution terms that you use for the rest of that program.
|
||||
|
||||
# Originally written by Per Bothner <per@bothner.com>.
|
||||
# Please send patches to <config-patches@gnu.org>. Submit a context
|
||||
# diff and a properly formatted ChangeLog entry.
|
||||
# Written by Per Bothner <bothner@cygnus.com>.
|
||||
# Please send patches to <config-patches@gnu.org>.
|
||||
#
|
||||
# This script attempts to guess a canonical system name similar to
|
||||
# config.sub. If it succeeds, it prints the system name on stdout, and
|
||||
@@ -88,42 +87,30 @@ if test $# != 0; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
trap 'exit 1' 1 2 15
|
||||
|
||||
# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
|
||||
# compiler to aid in system detection is discouraged as it requires
|
||||
# temporary files to be created and, as you can see below, it is a
|
||||
# headache to deal with in a portable fashion.
|
||||
dummy=dummy-$$
|
||||
trap 'rm -f $dummy.c $dummy.o $dummy.rel $dummy; exit 1' 1 2 15
|
||||
|
||||
# CC_FOR_BUILD -- compiler used by this script.
|
||||
# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
|
||||
# use `HOST_CC' if defined, but it is deprecated.
|
||||
|
||||
# Portable tmp directory creation inspired by the Autoconf team.
|
||||
|
||||
set_cc_for_build='
|
||||
trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
|
||||
trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
|
||||
: ${TMPDIR=/tmp} ;
|
||||
{ tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
|
||||
{ test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
|
||||
{ tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
|
||||
{ echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
|
||||
dummy=$tmp/dummy ;
|
||||
tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
|
||||
case $CC_FOR_BUILD,$HOST_CC,$CC in
|
||||
,,) echo "int x;" > $dummy.c ;
|
||||
for c in cc gcc c89 c99 ; do
|
||||
if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
|
||||
set_cc_for_build='case $CC_FOR_BUILD,$HOST_CC,$CC in
|
||||
,,) echo "int dummy(){}" > $dummy.c ;
|
||||
for c in cc gcc c89 ; do
|
||||
($c $dummy.c -c -o $dummy.o) >/dev/null 2>&1 ;
|
||||
if test $? = 0 ; then
|
||||
CC_FOR_BUILD="$c"; break ;
|
||||
fi ;
|
||||
done ;
|
||||
rm -f $dummy.c $dummy.o $dummy.rel ;
|
||||
if test x"$CC_FOR_BUILD" = x ; then
|
||||
CC_FOR_BUILD=no_compiler_found ;
|
||||
fi
|
||||
;;
|
||||
,,*) CC_FOR_BUILD=$CC ;;
|
||||
,*,*) CC_FOR_BUILD=$HOST_CC ;;
|
||||
esac ;'
|
||||
esac'
|
||||
|
||||
# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
|
||||
# (ghazi@noc.rutgers.edu 1994-08-24)
|
||||
@@ -140,30 +127,29 @@ UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
|
||||
|
||||
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
||||
*:NetBSD:*:*)
|
||||
# NetBSD (nbsd) targets should (where applicable) match one or
|
||||
# Netbsd (nbsd) targets should (where applicable) match one or
|
||||
# more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
|
||||
# *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
|
||||
# switched to ELF, *-*-netbsd* would select the old
|
||||
# object file format. This provides both forward
|
||||
# compatibility and a consistent mechanism for selecting the
|
||||
# object file format.
|
||||
#
|
||||
# Note: NetBSD doesn't particularly care about the vendor
|
||||
# portion of the name. We always set it to "unknown".
|
||||
sysctl="sysctl -n hw.machine_arch"
|
||||
UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
|
||||
/usr/sbin/$sysctl 2>/dev/null || echo unknown)`
|
||||
case "${UNAME_MACHINE_ARCH}" in
|
||||
armeb) machine=armeb-unknown ;;
|
||||
arm*) machine=arm-unknown ;;
|
||||
sh3el) machine=shl-unknown ;;
|
||||
sh3eb) machine=sh-unknown ;;
|
||||
*) machine=${UNAME_MACHINE_ARCH}-unknown ;;
|
||||
# Determine the machine/vendor (is the vendor relevant).
|
||||
case "${UNAME_MACHINE}" in
|
||||
amiga) machine=m68k-unknown ;;
|
||||
arm32) machine=arm-unknown ;;
|
||||
atari*) machine=m68k-atari ;;
|
||||
sun3*) machine=m68k-sun ;;
|
||||
mac68k) machine=m68k-apple ;;
|
||||
macppc) machine=powerpc-apple ;;
|
||||
hp3[0-9][05]) machine=m68k-hp ;;
|
||||
ibmrt|romp-ibm) machine=romp-ibm ;;
|
||||
*) machine=${UNAME_MACHINE}-unknown ;;
|
||||
esac
|
||||
# The Operating System including object format, if it has switched
|
||||
# to ELF recently, or will in the future.
|
||||
case "${UNAME_MACHINE_ARCH}" in
|
||||
arm*|i386|m68k|ns32k|sh3*|sparc|vax)
|
||||
case "${UNAME_MACHINE}" in
|
||||
i386|sparc|amiga|arm*|hp300|mvme68k|vax|atari|luna68k|mac68k|news68k|next68k|pc532|sun3*|x68k)
|
||||
eval $set_cc_for_build
|
||||
if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
|
||||
| grep __ELF__ >/dev/null
|
||||
@@ -180,135 +166,74 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
||||
;;
|
||||
esac
|
||||
# The OS release
|
||||
# Debian GNU/NetBSD machines have a different userland, and
|
||||
# thus, need a distinct triplet. However, they do not need
|
||||
# kernel version information, so it can be replaced with a
|
||||
# suitable tag, in the style of linux-gnu.
|
||||
case "${UNAME_VERSION}" in
|
||||
Debian*)
|
||||
release='-gnu'
|
||||
;;
|
||||
*)
|
||||
release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
|
||||
;;
|
||||
esac
|
||||
release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
|
||||
# Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
|
||||
# contains redundant information, the shorter form:
|
||||
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
|
||||
echo "${machine}-${os}${release}"
|
||||
exit 0 ;;
|
||||
amd64:OpenBSD:*:*)
|
||||
echo x86_64-unknown-openbsd${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
amiga:OpenBSD:*:*)
|
||||
echo m68k-unknown-openbsd${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
arc:OpenBSD:*:*)
|
||||
echo mipsel-unknown-openbsd${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
cats:OpenBSD:*:*)
|
||||
echo arm-unknown-openbsd${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
hp300:OpenBSD:*:*)
|
||||
echo m68k-unknown-openbsd${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
mac68k:OpenBSD:*:*)
|
||||
echo m68k-unknown-openbsd${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
macppc:OpenBSD:*:*)
|
||||
echo powerpc-unknown-openbsd${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
mvme68k:OpenBSD:*:*)
|
||||
echo m68k-unknown-openbsd${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
mvme88k:OpenBSD:*:*)
|
||||
echo m88k-unknown-openbsd${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
mvmeppc:OpenBSD:*:*)
|
||||
echo powerpc-unknown-openbsd${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
pegasos:OpenBSD:*:*)
|
||||
echo powerpc-unknown-openbsd${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
pmax:OpenBSD:*:*)
|
||||
echo mipsel-unknown-openbsd${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
sgi:OpenBSD:*:*)
|
||||
echo mipseb-unknown-openbsd${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
sun3:OpenBSD:*:*)
|
||||
echo m68k-unknown-openbsd${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
wgrisc:OpenBSD:*:*)
|
||||
echo mipsel-unknown-openbsd${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
*:OpenBSD:*:*)
|
||||
echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
*:ekkoBSD:*:*)
|
||||
echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
macppc:MirBSD:*:*)
|
||||
echo powerppc-unknown-mirbsd${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
*:MirBSD:*:*)
|
||||
echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
alpha:OSF1:*:*)
|
||||
case $UNAME_RELEASE in
|
||||
*4.0)
|
||||
if test $UNAME_RELEASE = "V4.0"; then
|
||||
UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
|
||||
;;
|
||||
*5.*)
|
||||
UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
|
||||
;;
|
||||
esac
|
||||
# According to Compaq, /usr/sbin/psrinfo has been available on
|
||||
# OSF/1 and Tru64 systems produced since 1995. I hope that
|
||||
# covers most systems running today. This code pipes the CPU
|
||||
# types through head -n 1, so we only detect the type of CPU 0.
|
||||
ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
|
||||
case "$ALPHA_CPU_TYPE" in
|
||||
"EV4 (21064)")
|
||||
UNAME_MACHINE="alpha" ;;
|
||||
"EV4.5 (21064)")
|
||||
UNAME_MACHINE="alpha" ;;
|
||||
"LCA4 (21066/21068)")
|
||||
UNAME_MACHINE="alpha" ;;
|
||||
"EV5 (21164)")
|
||||
UNAME_MACHINE="alphaev5" ;;
|
||||
"EV5.6 (21164A)")
|
||||
UNAME_MACHINE="alphaev56" ;;
|
||||
"EV5.6 (21164PC)")
|
||||
UNAME_MACHINE="alphapca56" ;;
|
||||
"EV5.7 (21164PC)")
|
||||
UNAME_MACHINE="alphapca57" ;;
|
||||
"EV6 (21264)")
|
||||
UNAME_MACHINE="alphaev6" ;;
|
||||
"EV6.7 (21264A)")
|
||||
UNAME_MACHINE="alphaev67" ;;
|
||||
"EV6.8CB (21264C)")
|
||||
UNAME_MACHINE="alphaev68" ;;
|
||||
"EV6.8AL (21264B)")
|
||||
UNAME_MACHINE="alphaev68" ;;
|
||||
"EV6.8CX (21264D)")
|
||||
UNAME_MACHINE="alphaev68" ;;
|
||||
"EV6.9A (21264/EV69A)")
|
||||
UNAME_MACHINE="alphaev69" ;;
|
||||
"EV7 (21364)")
|
||||
UNAME_MACHINE="alphaev7" ;;
|
||||
"EV7.9 (21364A)")
|
||||
UNAME_MACHINE="alphaev79" ;;
|
||||
esac
|
||||
# A Pn.n version is a patched version.
|
||||
fi
|
||||
# A Vn.n version is a released version.
|
||||
# A Tn.n version is a released field test version.
|
||||
# A Xn.n version is an unreleased experimental baselevel.
|
||||
# 1.2 uses "1.2" for uname -r.
|
||||
echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
|
||||
exit 0 ;;
|
||||
Alpha*:OpenVMS:*:*)
|
||||
echo alpha-hp-vms
|
||||
cat <<EOF >$dummy.s
|
||||
.data
|
||||
\$Lformat:
|
||||
.byte 37,100,45,37,120,10,0 # "%d-%x\n"
|
||||
|
||||
.text
|
||||
.globl main
|
||||
.align 4
|
||||
.ent main
|
||||
main:
|
||||
.frame \$30,16,\$26,0
|
||||
ldgp \$29,0(\$27)
|
||||
.prologue 1
|
||||
.long 0x47e03d80 # implver \$0
|
||||
lda \$2,-1
|
||||
.long 0x47e20c21 # amask \$2,\$1
|
||||
lda \$16,\$Lformat
|
||||
mov \$0,\$17
|
||||
not \$1,\$18
|
||||
jsr \$26,printf
|
||||
ldgp \$29,0(\$26)
|
||||
mov 0,\$16
|
||||
jsr \$26,exit
|
||||
.end main
|
||||
EOF
|
||||
eval $set_cc_for_build
|
||||
$CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null
|
||||
if test "$?" = 0 ; then
|
||||
case `./$dummy` in
|
||||
0-0)
|
||||
UNAME_MACHINE="alpha"
|
||||
;;
|
||||
1-0)
|
||||
UNAME_MACHINE="alphaev5"
|
||||
;;
|
||||
1-1)
|
||||
UNAME_MACHINE="alphaev56"
|
||||
;;
|
||||
1-101)
|
||||
UNAME_MACHINE="alphapca56"
|
||||
;;
|
||||
2-303)
|
||||
UNAME_MACHINE="alphaev6"
|
||||
;;
|
||||
2-307)
|
||||
UNAME_MACHINE="alphaev67"
|
||||
;;
|
||||
2-1307)
|
||||
UNAME_MACHINE="alphaev68"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
rm -f $dummy.s $dummy
|
||||
echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
|
||||
exit 0 ;;
|
||||
Alpha\ *:Windows_NT*:*)
|
||||
# How do we know it's Interix rather than the generic POSIX subsystem?
|
||||
@@ -322,18 +247,33 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
||||
Amiga*:UNIX_System_V:4.0:*)
|
||||
echo m68k-unknown-sysv4
|
||||
exit 0;;
|
||||
amiga:OpenBSD:*:*)
|
||||
echo m68k-unknown-openbsd${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
*:[Aa]miga[Oo][Ss]:*:*)
|
||||
echo ${UNAME_MACHINE}-unknown-amigaos
|
||||
exit 0 ;;
|
||||
*:[Mm]orph[Oo][Ss]:*:*)
|
||||
echo ${UNAME_MACHINE}-unknown-morphos
|
||||
arc64:OpenBSD:*:*)
|
||||
echo mips64el-unknown-openbsd${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
arc:OpenBSD:*:*)
|
||||
echo mipsel-unknown-openbsd${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
hkmips:OpenBSD:*:*)
|
||||
echo mips-unknown-openbsd${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
pmax:OpenBSD:*:*)
|
||||
echo mipsel-unknown-openbsd${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
sgi:OpenBSD:*:*)
|
||||
echo mips-unknown-openbsd${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
wgrisc:OpenBSD:*:*)
|
||||
echo mipsel-unknown-openbsd${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
*:OS/390:*:*)
|
||||
echo i370-ibm-openedition
|
||||
exit 0 ;;
|
||||
*:OS400:*:*)
|
||||
echo powerpc-ibm-os400
|
||||
exit 0 ;;
|
||||
arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
|
||||
echo arm-acorn-riscix${UNAME_RELEASE}
|
||||
exit 0;;
|
||||
@@ -351,13 +291,6 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
||||
NILE*:*:*:dcosx)
|
||||
echo pyramid-pyramid-svr4
|
||||
exit 0 ;;
|
||||
DRS?6000:unix:4.0:6*)
|
||||
echo sparc-icl-nx6
|
||||
exit 0 ;;
|
||||
DRS?6000:UNIX_SV:4.2*:7*)
|
||||
case `/usr/bin/uname -p` in
|
||||
sparc) echo sparc-icl-nx7 && exit 0 ;;
|
||||
esac ;;
|
||||
sun4H:SunOS:5.*:*)
|
||||
echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
|
||||
exit 0 ;;
|
||||
@@ -386,7 +319,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
||||
echo m68k-sun-sunos${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
sun*:*:4.2BSD:*)
|
||||
UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
|
||||
UNAME_RELEASE=`(head -1 /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
|
||||
test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
|
||||
case "`/bin/arch`" in
|
||||
sun3)
|
||||
@@ -400,6 +333,12 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
||||
aushp:SunOS:*:*)
|
||||
echo sparc-auspex-sunos${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
sparc*:NetBSD:*)
|
||||
echo `uname -p`-unknown-netbsd${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
atari*:OpenBSD:*:*)
|
||||
echo m68k-unknown-openbsd${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
# The situation for MiNT is a little confusing. The machine name
|
||||
# can be virtually everything (everything which is not
|
||||
# "atarist" or "atariste" at least should have a processor
|
||||
@@ -426,8 +365,17 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
||||
*:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
|
||||
echo m68k-unknown-mint${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
m68k:machten:*:*)
|
||||
echo m68k-apple-machten${UNAME_RELEASE}
|
||||
sun3*:OpenBSD:*:*)
|
||||
echo m68k-unknown-openbsd${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
mac68k:OpenBSD:*:*)
|
||||
echo m68k-unknown-openbsd${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
mvme68k:OpenBSD:*:*)
|
||||
echo m68k-unknown-openbsd${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
mvme88k:OpenBSD:*:*)
|
||||
echo m88k-unknown-openbsd${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
powerpc:machten:*:*)
|
||||
echo powerpc-apple-machten${UNAME_RELEASE}
|
||||
@@ -467,20 +415,15 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
||||
exit (-1);
|
||||
}
|
||||
EOF
|
||||
$CC_FOR_BUILD -o $dummy $dummy.c \
|
||||
&& $dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
|
||||
&& exit 0
|
||||
$CC_FOR_BUILD $dummy.c -o $dummy \
|
||||
&& ./$dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
|
||||
&& rm -f $dummy.c $dummy && exit 0
|
||||
rm -f $dummy.c $dummy
|
||||
echo mips-mips-riscos${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
Motorola:PowerMAX_OS:*:*)
|
||||
echo powerpc-motorola-powermax
|
||||
exit 0 ;;
|
||||
Motorola:*:4.3:PL8-*)
|
||||
echo powerpc-harris-powermax
|
||||
exit 0 ;;
|
||||
Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
|
||||
echo powerpc-harris-powermax
|
||||
exit 0 ;;
|
||||
Night_Hawk:Power_UNIX:*:*)
|
||||
echo powerpc-harris-powerunix
|
||||
exit 0 ;;
|
||||
@@ -553,7 +496,8 @@ EOF
|
||||
exit(0);
|
||||
}
|
||||
EOF
|
||||
$CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0
|
||||
$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0
|
||||
rm -f $dummy.c $dummy
|
||||
echo rs6000-ibm-aix3.2.5
|
||||
elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
|
||||
echo rs6000-ibm-aix3.2.4
|
||||
@@ -562,7 +506,7 @@ EOF
|
||||
fi
|
||||
exit 0 ;;
|
||||
*:AIX:*:[45])
|
||||
IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
|
||||
IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -1 | awk '{ print $1 }'`
|
||||
if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
|
||||
IBM_ARCH=rs6000
|
||||
else
|
||||
@@ -602,8 +546,10 @@ EOF
|
||||
9000/31? ) HP_ARCH=m68000 ;;
|
||||
9000/[34]?? ) HP_ARCH=m68k ;;
|
||||
9000/[678][0-9][0-9])
|
||||
if [ -x /usr/bin/getconf ]; then
|
||||
sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
|
||||
case "${HPUX_REV}" in
|
||||
11.[0-9][0-9])
|
||||
if [ -x /usr/bin/getconf ]; then
|
||||
sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
|
||||
sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
|
||||
case "${sc_cpu_version}" in
|
||||
523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
|
||||
@@ -612,13 +558,13 @@ EOF
|
||||
case "${sc_kernel_bits}" in
|
||||
32) HP_ARCH="hppa2.0n" ;;
|
||||
64) HP_ARCH="hppa2.0w" ;;
|
||||
'') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
|
||||
esac ;;
|
||||
esac
|
||||
fi
|
||||
if [ "${HP_ARCH}" = "" ]; then
|
||||
eval $set_cc_for_build
|
||||
sed 's/^ //' << EOF >$dummy.c
|
||||
fi ;;
|
||||
esac
|
||||
if [ "${HP_ARCH}" = "" ]; then
|
||||
eval $set_cc_for_build
|
||||
sed 's/^ //' << EOF >$dummy.c
|
||||
|
||||
#define _HPUX_SOURCE
|
||||
#include <stdlib.h>
|
||||
@@ -651,21 +597,11 @@ EOF
|
||||
exit (0);
|
||||
}
|
||||
EOF
|
||||
(CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
|
||||
test -z "$HP_ARCH" && HP_ARCH=hppa
|
||||
fi ;;
|
||||
(CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null ) && HP_ARCH=`./$dummy`
|
||||
if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi
|
||||
rm -f $dummy.c $dummy
|
||||
fi ;;
|
||||
esac
|
||||
if [ ${HP_ARCH} = "hppa2.0w" ]
|
||||
then
|
||||
# avoid double evaluation of $set_cc_for_build
|
||||
test -n "$CC_FOR_BUILD" || eval $set_cc_for_build
|
||||
if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E -) | grep __LP64__ >/dev/null
|
||||
then
|
||||
HP_ARCH="hppa2.0w"
|
||||
else
|
||||
HP_ARCH="hppa64"
|
||||
fi
|
||||
fi
|
||||
echo ${HP_ARCH}-hp-hpux${HPUX_REV}
|
||||
exit 0 ;;
|
||||
ia64:HP-UX:*:*)
|
||||
@@ -699,7 +635,8 @@ EOF
|
||||
exit (0);
|
||||
}
|
||||
EOF
|
||||
$CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0
|
||||
$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0
|
||||
rm -f $dummy.c $dummy
|
||||
echo unknown-hitachi-hiuxwe2
|
||||
exit 0 ;;
|
||||
9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
|
||||
@@ -727,6 +664,9 @@ EOF
|
||||
parisc*:Lites*:*:*)
|
||||
echo hppa1.1-hp-lites
|
||||
exit 0 ;;
|
||||
hppa*:OpenBSD:*:*)
|
||||
echo hppa-unknown-openbsd
|
||||
exit 0 ;;
|
||||
C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
|
||||
echo c1-convex-bsd
|
||||
exit 0 ;;
|
||||
@@ -745,6 +685,9 @@ EOF
|
||||
C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
|
||||
echo c4-convex-bsd
|
||||
exit 0 ;;
|
||||
CRAY*X-MP:*:*:*)
|
||||
echo xmp-cray-unicos
|
||||
exit 0 ;;
|
||||
CRAY*Y-MP:*:*:*)
|
||||
echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
|
||||
exit 0 ;;
|
||||
@@ -757,25 +700,26 @@ EOF
|
||||
CRAY*TS:*:*:*)
|
||||
echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
|
||||
exit 0 ;;
|
||||
CRAY*T3D:*:*:*)
|
||||
echo alpha-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
|
||||
exit 0 ;;
|
||||
CRAY*T3E:*:*:*)
|
||||
echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
|
||||
exit 0 ;;
|
||||
CRAY*SV1:*:*:*)
|
||||
echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
|
||||
exit 0 ;;
|
||||
*:UNICOS/mp:*:*)
|
||||
echo nv1-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
|
||||
exit 0 ;;
|
||||
CRAY-2:*:*:*)
|
||||
echo cray2-cray-unicos
|
||||
exit 0 ;;
|
||||
F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
|
||||
FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
|
||||
FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
|
||||
FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
|
||||
echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
|
||||
exit 0 ;;
|
||||
5000:UNIX_System_V:4.*:*)
|
||||
FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
|
||||
FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
|
||||
echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
|
||||
hp300:OpenBSD:*:*)
|
||||
echo m68k-unknown-openbsd${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
|
||||
echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
|
||||
@@ -787,21 +731,10 @@ EOF
|
||||
echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
*:FreeBSD:*:*)
|
||||
# Determine whether the default compiler uses glibc.
|
||||
eval $set_cc_for_build
|
||||
sed 's/^ //' << EOF >$dummy.c
|
||||
#include <features.h>
|
||||
#if __GLIBC__ >= 2
|
||||
LIBC=gnu
|
||||
#else
|
||||
LIBC=
|
||||
#endif
|
||||
EOF
|
||||
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
|
||||
# GNU/KFreeBSD systems have a "k" prefix to indicate we are using
|
||||
# FreeBSD's kernel, but not the complete OS.
|
||||
case ${LIBC} in gnu) kernel_only='k' ;; esac
|
||||
echo ${UNAME_MACHINE}-unknown-${kernel_only}freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC}
|
||||
echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
|
||||
exit 0 ;;
|
||||
*:OpenBSD:*:*)
|
||||
echo ${UNAME_MACHINE}-unknown-openbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
|
||||
exit 0 ;;
|
||||
i*:CYGWIN*:*)
|
||||
echo ${UNAME_MACHINE}-pc-cygwin
|
||||
@@ -812,17 +745,11 @@ EOF
|
||||
i*:PW*:*)
|
||||
echo ${UNAME_MACHINE}-pc-pw32
|
||||
exit 0 ;;
|
||||
x86:Interix*:[34]*)
|
||||
echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//'
|
||||
exit 0 ;;
|
||||
[345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
|
||||
echo i${UNAME_MACHINE}-pc-mks
|
||||
exit 0 ;;
|
||||
i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
|
||||
# How do we know it's Interix rather than the generic POSIX subsystem?
|
||||
# It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
|
||||
# UNAME_MACHINE based on the output of uname instead of i386?
|
||||
echo i586-pc-interix
|
||||
echo i386-pc-interix
|
||||
exit 0 ;;
|
||||
i*:UWIN*:*)
|
||||
echo ${UNAME_MACHINE}-pc-uwin
|
||||
@@ -834,68 +761,25 @@ EOF
|
||||
echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
|
||||
exit 0 ;;
|
||||
*:GNU:*:*)
|
||||
# the GNU system
|
||||
echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
|
||||
exit 0 ;;
|
||||
*:GNU/*:*:*)
|
||||
# other systems with GNU libc and userland
|
||||
echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
|
||||
exit 0 ;;
|
||||
i*86:Minix:*:*)
|
||||
echo ${UNAME_MACHINE}-pc-minix
|
||||
exit 0 ;;
|
||||
arm*:Linux:*:*)
|
||||
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||
exit 0 ;;
|
||||
cris:Linux:*:*)
|
||||
echo cris-axis-linux-gnu
|
||||
exit 0 ;;
|
||||
ia64:Linux:*:*)
|
||||
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||
exit 0 ;;
|
||||
m32r*:Linux:*:*)
|
||||
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||
echo ${UNAME_MACHINE}-unknown-linux
|
||||
exit 0 ;;
|
||||
m68*:Linux:*:*)
|
||||
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||
exit 0 ;;
|
||||
mips:Linux:*:*)
|
||||
eval $set_cc_for_build
|
||||
sed 's/^ //' << EOF >$dummy.c
|
||||
#undef CPU
|
||||
#undef mips
|
||||
#undef mipsel
|
||||
#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
|
||||
CPU=mipsel
|
||||
#else
|
||||
#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
|
||||
CPU=mips
|
||||
#else
|
||||
CPU=
|
||||
#endif
|
||||
#endif
|
||||
EOF
|
||||
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
|
||||
test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0
|
||||
;;
|
||||
mips64:Linux:*:*)
|
||||
eval $set_cc_for_build
|
||||
sed 's/^ //' << EOF >$dummy.c
|
||||
#undef CPU
|
||||
#undef mips64
|
||||
#undef mips64el
|
||||
#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
|
||||
CPU=mips64el
|
||||
#else
|
||||
#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
|
||||
CPU=mips64
|
||||
#else
|
||||
CPU=
|
||||
#endif
|
||||
#endif
|
||||
EOF
|
||||
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
|
||||
test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0
|
||||
case `sed -n '/^byte/s/^.*: \(.*\) endian/\1/p' < /proc/cpuinfo` in
|
||||
big) echo mips-unknown-linux-gnu && exit 0 ;;
|
||||
little) echo mipsel-unknown-linux-gnu && exit 0 ;;
|
||||
esac
|
||||
;;
|
||||
ppc:Linux:*:*)
|
||||
echo powerpc-unknown-linux-gnu
|
||||
@@ -931,9 +815,6 @@ EOF
|
||||
s390:Linux:*:* | s390x:Linux:*:*)
|
||||
echo ${UNAME_MACHINE}-ibm-linux
|
||||
exit 0 ;;
|
||||
sh64*:Linux:*:*)
|
||||
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||
exit 0 ;;
|
||||
sh*:Linux:*:*)
|
||||
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||
exit 0 ;;
|
||||
@@ -947,8 +828,7 @@ EOF
|
||||
# The BFD linker knows what the default object file format is, so
|
||||
# first see if it will tell us. cd to the root directory to prevent
|
||||
# problems with other programs or directories called `ld' in the path.
|
||||
# Set LC_ALL=C to ensure ld outputs messages in English.
|
||||
ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
|
||||
ld_supported_targets=`cd /; ld --help 2>&1 \
|
||||
| sed -ne '/supported targets:/!d
|
||||
s/[ ][ ]*/ /g
|
||||
s/.*supported targets: *//
|
||||
@@ -960,7 +840,7 @@ EOF
|
||||
;;
|
||||
a.out-i386-linux)
|
||||
echo "${UNAME_MACHINE}-pc-linux-gnuaout"
|
||||
exit 0 ;;
|
||||
exit 0 ;;
|
||||
coff-i386)
|
||||
echo "${UNAME_MACHINE}-pc-linux-gnucoff"
|
||||
exit 0 ;;
|
||||
@@ -972,31 +852,32 @@ EOF
|
||||
esac
|
||||
# Determine whether the default compiler is a.out or elf
|
||||
eval $set_cc_for_build
|
||||
sed 's/^ //' << EOF >$dummy.c
|
||||
#include <features.h>
|
||||
#ifdef __ELF__
|
||||
# ifdef __GLIBC__
|
||||
# if __GLIBC__ >= 2
|
||||
LIBC=gnu
|
||||
# else
|
||||
LIBC=gnulibc1
|
||||
# endif
|
||||
# else
|
||||
LIBC=gnulibc1
|
||||
# endif
|
||||
#else
|
||||
#ifdef __INTEL_COMPILER
|
||||
LIBC=gnu
|
||||
#else
|
||||
LIBC=gnuaout
|
||||
#endif
|
||||
#endif
|
||||
#ifdef __dietlibc__
|
||||
LIBC=dietlibc
|
||||
#endif
|
||||
cat >$dummy.c <<EOF
|
||||
#include <features.h>
|
||||
#ifdef __cplusplus
|
||||
#include <stdio.h> /* for printf() prototype */
|
||||
int main (int argc, char *argv[]) {
|
||||
#else
|
||||
int main (argc, argv) int argc; char *argv[]; {
|
||||
#endif
|
||||
#ifdef __ELF__
|
||||
# ifdef __GLIBC__
|
||||
# if __GLIBC__ >= 2
|
||||
printf ("%s-pc-linux-gnu\n", argv[1]);
|
||||
# else
|
||||
printf ("%s-pc-linux-gnulibc1\n", argv[1]);
|
||||
# endif
|
||||
# else
|
||||
printf ("%s-pc-linux-gnulibc1\n", argv[1]);
|
||||
# endif
|
||||
#else
|
||||
printf ("%s-pc-linux-gnuaout\n", argv[1]);
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
EOF
|
||||
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
|
||||
test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0
|
||||
$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm -f $dummy.c $dummy && exit 0
|
||||
rm -f $dummy.c $dummy
|
||||
test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
|
||||
;;
|
||||
i*86:DYNIX/ptx:4*:*)
|
||||
@@ -1013,26 +894,6 @@ EOF
|
||||
# Use sysv4.2uw... so that sysv4* matches it.
|
||||
echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
|
||||
exit 0 ;;
|
||||
i*86:OS/2:*:*)
|
||||
# If we were able to find `uname', then EMX Unix compatibility
|
||||
# is probably installed.
|
||||
echo ${UNAME_MACHINE}-pc-os2-emx
|
||||
exit 0 ;;
|
||||
i*86:XTS-300:*:STOP)
|
||||
echo ${UNAME_MACHINE}-unknown-stop
|
||||
exit 0 ;;
|
||||
i*86:atheos:*:*)
|
||||
echo ${UNAME_MACHINE}-unknown-atheos
|
||||
exit 0 ;;
|
||||
i*86:syllable:*:*)
|
||||
echo ${UNAME_MACHINE}-pc-syllable
|
||||
exit 0 ;;
|
||||
i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
|
||||
echo i386-unknown-lynxos${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
i*86:*DOS:*:*)
|
||||
echo ${UNAME_MACHINE}-pc-msdosdjgpp
|
||||
exit 0 ;;
|
||||
i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
|
||||
UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
|
||||
if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
|
||||
@@ -1054,19 +915,22 @@ EOF
|
||||
UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
|
||||
echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
|
||||
elif /bin/uname -X 2>/dev/null >/dev/null ; then
|
||||
UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
|
||||
(/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
|
||||
(/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
|
||||
UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')`
|
||||
(/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486
|
||||
(/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \
|
||||
&& UNAME_MACHINE=i586
|
||||
(/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
|
||||
(/bin/uname -X|egrep '^Machine.*Pent ?II' >/dev/null) \
|
||||
&& UNAME_MACHINE=i686
|
||||
(/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
|
||||
(/bin/uname -X|egrep '^Machine.*Pentium Pro' >/dev/null) \
|
||||
&& UNAME_MACHINE=i686
|
||||
echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
|
||||
else
|
||||
echo ${UNAME_MACHINE}-pc-sysv32
|
||||
fi
|
||||
exit 0 ;;
|
||||
i*86:*DOS:*:*)
|
||||
echo ${UNAME_MACHINE}-pc-msdosdjgpp
|
||||
exit 0 ;;
|
||||
pc:*:*:*)
|
||||
# Left here for compatibility:
|
||||
# uname -m prints for DJGPP always 'pc', but it prints nothing about
|
||||
@@ -1090,15 +954,9 @@ EOF
|
||||
# "miniframe"
|
||||
echo m68010-convergent-sysv
|
||||
exit 0 ;;
|
||||
mc68k:UNIX:SYSTEM5:3.51m)
|
||||
echo m68k-convergent-sysv
|
||||
exit 0 ;;
|
||||
M680?0:D-NIX:5.3:*)
|
||||
echo m68k-diab-dnix
|
||||
exit 0 ;;
|
||||
M68*:*:R3V[567]*:*)
|
||||
test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
|
||||
3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0)
|
||||
3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 4850:*:4.0:3.0)
|
||||
OS_REL=''
|
||||
test -r /etc/.relid \
|
||||
&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
|
||||
@@ -1115,6 +973,9 @@ EOF
|
||||
mc68030:UNIX_System_V:4.*:*)
|
||||
echo m68k-atari-sysv4
|
||||
exit 0 ;;
|
||||
i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
|
||||
echo i386-unknown-lynxos${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
TSUNAMI:LynxOS:2.*:*)
|
||||
echo sparc-unknown-lynxos${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
@@ -1186,9 +1047,6 @@ EOF
|
||||
SX-5:SUPER-UX:*:*)
|
||||
echo sx5-nec-superux${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
SX-6:SUPER-UX:*:*)
|
||||
echo sx6-nec-superux${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
Power*:Rhapsody:*:*)
|
||||
echo powerpc-apple-rhapsody${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
@@ -1196,24 +1054,18 @@ EOF
|
||||
echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
*:Darwin:*:*)
|
||||
case `uname -p` in
|
||||
*86) UNAME_PROCESSOR=i686 ;;
|
||||
powerpc) UNAME_PROCESSOR=powerpc ;;
|
||||
esac
|
||||
echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
|
||||
echo `uname -p`-apple-darwin${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
*:procnto*:*:* | *:QNX:[0123456789]*:*)
|
||||
UNAME_PROCESSOR=`uname -p`
|
||||
if test "$UNAME_PROCESSOR" = "x86"; then
|
||||
UNAME_PROCESSOR=i386
|
||||
if test "${UNAME_MACHINE}" = "x86pc"; then
|
||||
UNAME_MACHINE=pc
|
||||
fi
|
||||
echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
|
||||
echo `uname -p`-${UNAME_MACHINE}-nto-qnx
|
||||
exit 0 ;;
|
||||
*:QNX:*:4*)
|
||||
echo i386-pc-qnx
|
||||
exit 0 ;;
|
||||
NSR-?:NONSTOP_KERNEL:*:*)
|
||||
NSR-[KW]:NONSTOP_KERNEL:*:*)
|
||||
echo nsr-tandem-nsk${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
*:NonStop-UX:*:*)
|
||||
@@ -1236,6 +1088,11 @@ EOF
|
||||
fi
|
||||
echo ${UNAME_MACHINE}-unknown-plan9
|
||||
exit 0 ;;
|
||||
i*86:OS/2:*:*)
|
||||
# If we were able to find `uname', then EMX Unix compatibility
|
||||
# is probably installed.
|
||||
echo ${UNAME_MACHINE}-pc-os2-emx
|
||||
exit 0 ;;
|
||||
*:TOPS-10:*:*)
|
||||
echo pdp10-unknown-tops10
|
||||
exit 0 ;;
|
||||
@@ -1254,11 +1111,11 @@ EOF
|
||||
*:ITS:*:*)
|
||||
echo pdp10-unknown-its
|
||||
exit 0 ;;
|
||||
SEI:*:*:SEIUX)
|
||||
echo mips-sei-seiux${UNAME_RELEASE}
|
||||
i*86:XTS-300:*:STOP)
|
||||
echo ${UNAME_MACHINE}-unknown-stop
|
||||
exit 0 ;;
|
||||
*:DragonFly:*:*)
|
||||
echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
|
||||
i*86:atheos:*:*)
|
||||
echo ${UNAME_MACHINE}-unknown-atheos
|
||||
exit 0 ;;
|
||||
esac
|
||||
|
||||
@@ -1380,7 +1237,8 @@ main ()
|
||||
}
|
||||
EOF
|
||||
|
||||
$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && $dummy && exit 0
|
||||
$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy && rm -f $dummy.c $dummy && exit 0
|
||||
rm -f $dummy.c $dummy
|
||||
|
||||
# Apollos put the system type in the environment.
|
||||
|
||||
|
356
config.sub
vendored
356
config.sub
vendored
@@ -1,9 +1,9 @@
|
||||
#! /bin/sh
|
||||
# Configuration validation subroutine script.
|
||||
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
||||
# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
|
||||
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||
# Free Software Foundation, Inc.
|
||||
|
||||
timestamp='2004-03-12'
|
||||
timestamp='2001-09-07'
|
||||
|
||||
# This file is (in principle) common to ALL 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
|
||||
# the same distribution terms that you use for the rest of that program.
|
||||
|
||||
# Please send patches to <config-patches@gnu.org>. Submit a context
|
||||
# diff and a properly formatted ChangeLog entry.
|
||||
# Please send patches to <config-patches@gnu.org>.
|
||||
#
|
||||
# Configuration subroutine to validate and canonicalize a configuration type.
|
||||
# Supply the specified configuration type as an argument.
|
||||
@@ -118,8 +117,7 @@ esac
|
||||
# Here we must recognize all the valid KERNEL-OS combinations.
|
||||
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
|
||||
case $maybe_os in
|
||||
nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \
|
||||
kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
|
||||
nto-qnx* | linux-gnu* | storm-chaos* | os2-emx* | windows32-*)
|
||||
os=-$maybe_os
|
||||
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
|
||||
;;
|
||||
@@ -228,46 +226,32 @@ case $basic_machine in
|
||||
1750a | 580 \
|
||||
| a29k \
|
||||
| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
|
||||
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
|
||||
| am33_2.0 \
|
||||
| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
|
||||
| c4x | clipper \
|
||||
| d10v | d30v | dlx | dsp16xx \
|
||||
| fr30 | frv \
|
||||
| d10v | d30v | dsp16xx \
|
||||
| fr30 \
|
||||
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
|
||||
| i370 | i860 | i960 | ia64 \
|
||||
| ip2k | iq2000 \
|
||||
| m32r | m32rle | m68000 | m68k | m88k | mcore \
|
||||
| mips | mipsbe | mipseb | mipsel | mipsle \
|
||||
| mips16 \
|
||||
| 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 \
|
||||
| m32r | m68000 | m68k | m88k | mcore \
|
||||
| mips16 | mips64 | mips64el | mips64orion | mips64orionel \
|
||||
| mips64vr4100 | mips64vr4100el | mips64vr4300 \
|
||||
| mips64vr4300el | mips64vr5000 | mips64vr5000el \
|
||||
| mipsbe | mipseb | mipsel | mipsle | mipstx39 | mipstx39el \
|
||||
| mipsisa32 \
|
||||
| mn10200 | mn10300 \
|
||||
| msp430 \
|
||||
| ns16k | ns32k \
|
||||
| openrisc | or32 \
|
||||
| openrisc \
|
||||
| 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 \
|
||||
| s390 | s390x \
|
||||
| sh | sh[34] | sh[34]eb | shbe | shle \
|
||||
| sparc | sparc64 | sparclet | sparclite | sparcv9 | sparcv9b \
|
||||
| stormy16 | strongarm \
|
||||
| tahoe | thumb | tic80 | tron \
|
||||
| v850 \
|
||||
| we32k \
|
||||
| x86 | xscale | xstormy16 | xtensa \
|
||||
| x86 | xscale \
|
||||
| z8k)
|
||||
basic_machine=$basic_machine-unknown
|
||||
;;
|
||||
@@ -294,56 +278,38 @@ case $basic_machine in
|
||||
580-* \
|
||||
| a29k-* \
|
||||
| alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
|
||||
| alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
|
||||
| alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
|
||||
| arm-* | armbe-* | armle-* | armeb-* | armv*-* \
|
||||
| avr-* \
|
||||
| alphapca5[67]-* | arc-* \
|
||||
| arm-* | armbe-* | armle-* | armv*-* \
|
||||
| bs2000-* \
|
||||
| c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
|
||||
| clipper-* | cydra-* \
|
||||
| d10v-* | d30v-* | dlx-* \
|
||||
| c[123]* | c30-* | [cjt]90-* | c54x-* \
|
||||
| clipper-* | cray2-* | cydra-* \
|
||||
| d10v-* | d30v-* \
|
||||
| elxsi-* \
|
||||
| f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
|
||||
| f30[01]-* | f700-* | fr30-* | fx80-* \
|
||||
| h8300-* | h8500-* \
|
||||
| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
|
||||
| i*86-* | i860-* | i960-* | ia64-* \
|
||||
| ip2k-* | iq2000-* \
|
||||
| m32r-* | m32rle-* \
|
||||
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
|
||||
| m32r-* \
|
||||
| m68000-* | m680[01234]0-* | m68360-* | m683?2-* | m68k-* \
|
||||
| m88110-* | m88k-* | mcore-* \
|
||||
| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
|
||||
| mips16-* \
|
||||
| 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-* \
|
||||
| mips-* | mips16-* | mips64-* | mips64el-* | mips64orion-* \
|
||||
| mips64orionel-* | mips64vr4100-* | mips64vr4100el-* \
|
||||
| mips64vr4300-* | mips64vr4300el-* | mipsbe-* | mipseb-* \
|
||||
| mipsle-* | mipsel-* | mipstx39-* | mipstx39el-* \
|
||||
| none-* | np1-* | 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-* \
|
||||
| s390-* | s390x-* \
|
||||
| sh-* | sh[34]-* | sh[34]eb-* | shbe-* | shle-* \
|
||||
| sparc-* | sparc64-* | sparc86x-* | sparclite-* \
|
||||
| sparcv9-* | sparcv9b-* | stormy16-* | strongarm-* | sv1-* \
|
||||
| t3e-* | tahoe-* | thumb-* | tic30-* | tic54x-* | tic80-* | tron-* \
|
||||
| v850-* | vax-* \
|
||||
| we32k-* \
|
||||
| x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
|
||||
| xtensa-* \
|
||||
| x86-* | x86_64-* | xmp-* | xps100-* | xscale-* \
|
||||
| ymp-* \
|
||||
| z8k-*)
|
||||
;;
|
||||
@@ -363,9 +329,6 @@ case $basic_machine in
|
||||
basic_machine=a29k-amd
|
||||
os=-udi
|
||||
;;
|
||||
abacus)
|
||||
basic_machine=abacus-unknown
|
||||
;;
|
||||
adobe68k)
|
||||
basic_machine=m68010-adobe
|
||||
os=-scout
|
||||
@@ -380,12 +343,6 @@ case $basic_machine in
|
||||
basic_machine=a29k-none
|
||||
os=-bsd
|
||||
;;
|
||||
amd64)
|
||||
basic_machine=x86_64-pc
|
||||
;;
|
||||
amd64-*)
|
||||
basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
|
||||
;;
|
||||
amdahl)
|
||||
basic_machine=580-amdahl
|
||||
os=-sysv
|
||||
@@ -417,10 +374,6 @@ case $basic_machine in
|
||||
basic_machine=ns32k-sequent
|
||||
os=-dynix
|
||||
;;
|
||||
c90)
|
||||
basic_machine=c90-cray
|
||||
os=-unicos
|
||||
;;
|
||||
convex-c1)
|
||||
basic_machine=c1-convex
|
||||
os=-bsd
|
||||
@@ -441,13 +394,17 @@ case $basic_machine in
|
||||
basic_machine=c38-convex
|
||||
os=-bsd
|
||||
;;
|
||||
cray | j90)
|
||||
basic_machine=j90-cray
|
||||
cray | ymp)
|
||||
basic_machine=ymp-cray
|
||||
os=-unicos
|
||||
;;
|
||||
cr16c)
|
||||
basic_machine=cr16c-unknown
|
||||
os=-elf
|
||||
cray2)
|
||||
basic_machine=cray2-cray
|
||||
os=-unicos
|
||||
;;
|
||||
[cjt]90)
|
||||
basic_machine=${basic_machine}-cray
|
||||
os=-unicos
|
||||
;;
|
||||
crds | unos)
|
||||
basic_machine=m68k-crds
|
||||
@@ -455,24 +412,12 @@ case $basic_machine in
|
||||
cris | cris-* | etrax*)
|
||||
basic_machine=cris-axis
|
||||
;;
|
||||
crx)
|
||||
basic_machine=crx-unknown
|
||||
os=-elf
|
||||
;;
|
||||
da30 | da30-*)
|
||||
basic_machine=m68k-da30
|
||||
;;
|
||||
decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
|
||||
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 \
|
||||
| 3300-motorola | delta-motorola)
|
||||
basic_machine=m68k-motorola
|
||||
@@ -653,6 +598,14 @@ case $basic_machine in
|
||||
basic_machine=m68k-atari
|
||||
os=-mint
|
||||
;;
|
||||
mipsel*-linux*)
|
||||
basic_machine=mipsel-unknown
|
||||
os=-linux-gnu
|
||||
;;
|
||||
mips*-linux*)
|
||||
basic_machine=mips-unknown
|
||||
os=-linux-gnu
|
||||
;;
|
||||
mips3*-*)
|
||||
basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
|
||||
;;
|
||||
@@ -667,10 +620,6 @@ case $basic_machine in
|
||||
basic_machine=m68k-rom68k
|
||||
os=-coff
|
||||
;;
|
||||
morphos)
|
||||
basic_machine=powerpc-unknown
|
||||
os=-morphos
|
||||
;;
|
||||
msdos)
|
||||
basic_machine=i386-pc
|
||||
os=-msdos
|
||||
@@ -743,10 +692,6 @@ case $basic_machine in
|
||||
np1)
|
||||
basic_machine=np1-gould
|
||||
;;
|
||||
nv1)
|
||||
basic_machine=nv1-cray
|
||||
os=-unicosmp
|
||||
;;
|
||||
nsr-tandem)
|
||||
basic_machine=nsr-tandem
|
||||
;;
|
||||
@@ -754,14 +699,6 @@ case $basic_machine in
|
||||
basic_machine=hppa1.1-oki
|
||||
os=-proelf
|
||||
;;
|
||||
or32 | or32-*)
|
||||
basic_machine=or32-unknown
|
||||
os=-coff
|
||||
;;
|
||||
os400)
|
||||
basic_machine=powerpc-ibm
|
||||
os=-os400
|
||||
;;
|
||||
OSE68000 | ose68000)
|
||||
basic_machine=m68000-ericsson
|
||||
os=-ose
|
||||
@@ -784,55 +721,49 @@ case $basic_machine in
|
||||
pbb)
|
||||
basic_machine=m68k-tti
|
||||
;;
|
||||
pc532 | pc532-*)
|
||||
pc532 | pc532-*)
|
||||
basic_machine=ns32k-pc532
|
||||
;;
|
||||
pentium | p5 | k5 | k6 | nexgen | viac3)
|
||||
pentium | p5 | k5 | k6 | nexgen)
|
||||
basic_machine=i586-pc
|
||||
;;
|
||||
pentiumpro | p6 | 6x86 | athlon | athlon_*)
|
||||
pentiumpro | p6 | 6x86 | athlon)
|
||||
basic_machine=i686-pc
|
||||
;;
|
||||
pentiumii | pentium2 | pentiumiii | pentium3)
|
||||
pentiumii | pentium2)
|
||||
basic_machine=i686-pc
|
||||
;;
|
||||
pentium4)
|
||||
basic_machine=i786-pc
|
||||
;;
|
||||
pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
|
||||
pentium-* | p5-* | k5-* | k6-* | nexgen-*)
|
||||
basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
|
||||
;;
|
||||
pentiumpro-* | p6-* | 6x86-* | athlon-*)
|
||||
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/^[^-]*-//'`
|
||||
;;
|
||||
pn)
|
||||
basic_machine=pn-gould
|
||||
;;
|
||||
power) basic_machine=power-ibm
|
||||
;;
|
||||
ppc) basic_machine=powerpc-unknown
|
||||
;;
|
||||
;;
|
||||
ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
|
||||
;;
|
||||
ppcle | powerpclittle | ppc-le | powerpc-little)
|
||||
basic_machine=powerpcle-unknown
|
||||
;;
|
||||
;;
|
||||
ppcle-* | powerpclittle-*)
|
||||
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/^[^-]*-//'`
|
||||
;;
|
||||
@@ -853,26 +784,10 @@ case $basic_machine in
|
||||
rtpc | rtpc-*)
|
||||
basic_machine=romp-ibm
|
||||
;;
|
||||
s390 | s390-*)
|
||||
basic_machine=s390-ibm
|
||||
;;
|
||||
s390x | s390x-*)
|
||||
basic_machine=s390x-ibm
|
||||
;;
|
||||
sa29200)
|
||||
basic_machine=a29k-amd
|
||||
os=-udi
|
||||
;;
|
||||
sb1)
|
||||
basic_machine=mipsisa64sb1-unknown
|
||||
;;
|
||||
sb1el)
|
||||
basic_machine=mipsisa64sb1el-unknown
|
||||
;;
|
||||
sei)
|
||||
basic_machine=mips-sei
|
||||
os=-seiux
|
||||
;;
|
||||
sequent)
|
||||
basic_machine=i386-sequent
|
||||
;;
|
||||
@@ -880,10 +795,7 @@ case $basic_machine in
|
||||
basic_machine=sh-hitachi
|
||||
os=-hms
|
||||
;;
|
||||
sh64)
|
||||
basic_machine=sh64-unknown
|
||||
;;
|
||||
sparclite-wrs | simso-wrs)
|
||||
sparclite-wrs)
|
||||
basic_machine=sparclite-wrs
|
||||
os=-vxworks
|
||||
;;
|
||||
@@ -950,42 +862,22 @@ case $basic_machine in
|
||||
os=-dynix
|
||||
;;
|
||||
t3e)
|
||||
basic_machine=alphaev5-cray
|
||||
os=-unicos
|
||||
;;
|
||||
t90)
|
||||
basic_machine=t90-cray
|
||||
basic_machine=t3e-cray
|
||||
os=-unicos
|
||||
;;
|
||||
tic54x | c54x*)
|
||||
basic_machine=tic54x-unknown
|
||||
os=-coff
|
||||
;;
|
||||
tic55x | c55x*)
|
||||
basic_machine=tic55x-unknown
|
||||
os=-coff
|
||||
;;
|
||||
tic6x | c6x*)
|
||||
basic_machine=tic6x-unknown
|
||||
os=-coff
|
||||
;;
|
||||
tx39)
|
||||
basic_machine=mipstx39-unknown
|
||||
;;
|
||||
tx39el)
|
||||
basic_machine=mipstx39el-unknown
|
||||
;;
|
||||
toad1)
|
||||
basic_machine=pdp10-xkl
|
||||
os=-tops20
|
||||
;;
|
||||
tower | tower-32)
|
||||
basic_machine=m68k-ncr
|
||||
;;
|
||||
tpf)
|
||||
basic_machine=s390x-ibm
|
||||
os=-tpf
|
||||
;;
|
||||
udi29k)
|
||||
basic_machine=a29k-amd
|
||||
os=-udi
|
||||
@@ -1007,8 +899,8 @@ case $basic_machine in
|
||||
os=-vms
|
||||
;;
|
||||
vpp*|vx|vx-*)
|
||||
basic_machine=f301-fujitsu
|
||||
;;
|
||||
basic_machine=f301-fujitsu
|
||||
;;
|
||||
vxworks960)
|
||||
basic_machine=i960-wrs
|
||||
os=-vxworks
|
||||
@@ -1029,13 +921,17 @@ case $basic_machine in
|
||||
basic_machine=hppa1.1-winbond
|
||||
os=-proelf
|
||||
;;
|
||||
xps | xps100)
|
||||
basic_machine=xps100-honeywell
|
||||
windows32)
|
||||
basic_machine=i386-pc
|
||||
os=-windows32-msvcrt
|
||||
;;
|
||||
ymp)
|
||||
basic_machine=ymp-cray
|
||||
xmp)
|
||||
basic_machine=xmp-cray
|
||||
os=-unicos
|
||||
;;
|
||||
xps | xps100)
|
||||
basic_machine=xps100-honeywell
|
||||
;;
|
||||
z8k-*-coff)
|
||||
basic_machine=z8k-unknown
|
||||
os=-sim
|
||||
@@ -1056,6 +952,13 @@ case $basic_machine in
|
||||
op60c)
|
||||
basic_machine=hppa1.1-oki
|
||||
;;
|
||||
mips)
|
||||
if [ x$os = x-linux-gnu ]; then
|
||||
basic_machine=mips-unknown
|
||||
else
|
||||
basic_machine=mips-mips
|
||||
fi
|
||||
;;
|
||||
romp)
|
||||
basic_machine=romp-ibm
|
||||
;;
|
||||
@@ -1075,16 +978,13 @@ case $basic_machine in
|
||||
we32k)
|
||||
basic_machine=we32k-att
|
||||
;;
|
||||
sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
|
||||
sh3 | sh4 | sh3eb | sh4eb)
|
||||
basic_machine=sh-unknown
|
||||
;;
|
||||
sh64)
|
||||
basic_machine=sh64-unknown
|
||||
;;
|
||||
sparc | sparcv8 | sparcv9 | sparcv9b)
|
||||
sparc | sparcv9 | sparcv9b)
|
||||
basic_machine=sparc-sun
|
||||
;;
|
||||
cydra)
|
||||
cydra)
|
||||
basic_machine=cydra-cydrome
|
||||
;;
|
||||
orion)
|
||||
@@ -1099,6 +999,10 @@ case $basic_machine in
|
||||
pmac | pmac-mpw)
|
||||
basic_machine=powerpc-apple
|
||||
;;
|
||||
c4x*)
|
||||
basic_machine=c4x-none
|
||||
os=-coff
|
||||
;;
|
||||
*-unknown)
|
||||
# Make sure to match an already-canonicalized machine name.
|
||||
;;
|
||||
@@ -1154,20 +1058,17 @@ case $os in
|
||||
| -aos* \
|
||||
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
|
||||
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
|
||||
| -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
|
||||
| -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
|
||||
| -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
|
||||
| -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
|
||||
| -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
|
||||
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
|
||||
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
|
||||
| -chorusos* | -chorusrdb* \
|
||||
| -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
|
||||
| -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
|
||||
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
|
||||
| -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
|
||||
| -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \
|
||||
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
|
||||
| -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
|
||||
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
|
||||
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
|
||||
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*)
|
||||
| -os2* | -vos*)
|
||||
# Remember, each alternative MUST END IN *, to match a version number.
|
||||
;;
|
||||
-qnx*)
|
||||
@@ -1179,10 +1080,8 @@ case $os in
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
-nto-qnx*)
|
||||
;;
|
||||
-nto*)
|
||||
os=`echo $os | sed -e 's|nto|nto-qnx|'`
|
||||
os=-nto-qnx
|
||||
;;
|
||||
-sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
|
||||
| -windows* | -osx | -abug | -netware* | -os9* | -beos* \
|
||||
@@ -1191,9 +1090,6 @@ case $os in
|
||||
-mac*)
|
||||
os=`echo $os | sed -e 's|mac|macos|'`
|
||||
;;
|
||||
-linux-dietlibc)
|
||||
os=-linux-dietlibc
|
||||
;;
|
||||
-linux*)
|
||||
os=`echo $os | sed -e 's|linux|linux-gnu|'`
|
||||
;;
|
||||
@@ -1206,9 +1102,6 @@ case $os in
|
||||
-opened*)
|
||||
os=-openedition
|
||||
;;
|
||||
-os400*)
|
||||
os=-os400
|
||||
;;
|
||||
-wince*)
|
||||
os=-wince
|
||||
;;
|
||||
@@ -1227,23 +1120,14 @@ case $os in
|
||||
-acis*)
|
||||
os=-aos
|
||||
;;
|
||||
-atheos*)
|
||||
os=-atheos
|
||||
;;
|
||||
-syllable*)
|
||||
os=-syllable
|
||||
;;
|
||||
-386bsd)
|
||||
os=-bsd
|
||||
;;
|
||||
-ctix* | -uts*)
|
||||
os=-sysv
|
||||
;;
|
||||
-nova*)
|
||||
os=-rtmk-nova
|
||||
;;
|
||||
-ns2 )
|
||||
os=-nextstep2
|
||||
os=-nextstep2
|
||||
;;
|
||||
-nsk*)
|
||||
os=-nsk
|
||||
@@ -1255,9 +1139,6 @@ case $os in
|
||||
-sinix*)
|
||||
os=-sysv4
|
||||
;;
|
||||
-tpf*)
|
||||
os=-tpf
|
||||
;;
|
||||
-triton*)
|
||||
os=-sysv3
|
||||
;;
|
||||
@@ -1285,14 +1166,8 @@ case $os in
|
||||
-xenix)
|
||||
os=-xenix
|
||||
;;
|
||||
-*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
|
||||
os=-mint
|
||||
;;
|
||||
-aros*)
|
||||
os=-aros
|
||||
;;
|
||||
-kaos*)
|
||||
os=-kaos
|
||||
-*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
|
||||
os=-mint
|
||||
;;
|
||||
-none)
|
||||
;;
|
||||
@@ -1325,14 +1200,10 @@ case $basic_machine in
|
||||
arm*-semi)
|
||||
os=-aout
|
||||
;;
|
||||
c4x-* | tic4x-*)
|
||||
os=-coff
|
||||
;;
|
||||
# This must come before the *-dec entry.
|
||||
pdp10-*)
|
||||
os=-tops20
|
||||
;;
|
||||
pdp11-*)
|
||||
pdp11-*)
|
||||
os=-none
|
||||
;;
|
||||
*-dec | vax-*)
|
||||
@@ -1359,9 +1230,6 @@ case $basic_machine in
|
||||
mips*-*)
|
||||
os=-elf
|
||||
;;
|
||||
or32-*)
|
||||
os=-coff
|
||||
;;
|
||||
*-tti) # must be before sparc entry or we get the wrong os.
|
||||
os=-sysv3
|
||||
;;
|
||||
@@ -1425,19 +1293,19 @@ case $basic_machine in
|
||||
*-next)
|
||||
os=-nextstep3
|
||||
;;
|
||||
*-gould)
|
||||
*-gould)
|
||||
os=-sysv
|
||||
;;
|
||||
*-highlevel)
|
||||
*-highlevel)
|
||||
os=-bsd
|
||||
;;
|
||||
*-encore)
|
||||
os=-bsd
|
||||
;;
|
||||
*-sgi)
|
||||
*-sgi)
|
||||
os=-irix
|
||||
;;
|
||||
*-siemens)
|
||||
*-siemens)
|
||||
os=-sysv4
|
||||
;;
|
||||
*-masscomp)
|
||||
@@ -1506,16 +1374,10 @@ case $basic_machine in
|
||||
-mvs* | -opened*)
|
||||
vendor=ibm
|
||||
;;
|
||||
-os400*)
|
||||
vendor=ibm
|
||||
;;
|
||||
-ptx*)
|
||||
vendor=sequent
|
||||
;;
|
||||
-tpf*)
|
||||
vendor=ibm
|
||||
;;
|
||||
-vxsim* | -vxworks* | -windiss*)
|
||||
-vxsim* | -vxworks*)
|
||||
vendor=wrs
|
||||
;;
|
||||
-aux*)
|
||||
|
4238
configure.in
4238
configure.in
File diff suppressed because it is too large
Load Diff
@@ -8,8 +8,6 @@ all:
|
||||
clean:
|
||||
cd src; $(MAKE) clean
|
||||
cd samples; $(MAKE) clean
|
||||
cd utils; $(MAKE) clean
|
||||
|
||||
|
||||
samples:
|
||||
cd samples; $(MAKE)
|
||||
|
3919
contrib/configure
vendored
3919
contrib/configure
vendored
File diff suppressed because it is too large
Load Diff
@@ -26,69 +26,26 @@ dnl Final subst
|
||||
PATH_IFS=$wx_cv_path_ifs
|
||||
WX_TARGET_LIBRARY=$wx_cv_target_library
|
||||
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(ESD_LINK)
|
||||
AC_SUBST(WX_TARGET_LIBRARY)
|
||||
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 File output
|
||||
|
||||
|
||||
AC_OUTPUT([
|
||||
Makefile
|
||||
src/Makefile
|
||||
src/ogl/Makefile
|
||||
src/mmedia/Makefile
|
||||
src/stc/Makefile
|
||||
src/svg/Makefile
|
||||
src/xrc/Makefile
|
||||
src/canvas/Makefile
|
||||
src/gizmos/Makefile
|
||||
src/plot/Makefile
|
||||
src/applet/Makefile
|
||||
src/fl/Makefile
|
||||
src/net/Makefile
|
||||
src/animate/Makefile
|
||||
samples/Makefile
|
||||
samples/animate/Makefile
|
||||
samples/mmedia/Makefile
|
||||
samples/ogl/Makefile
|
||||
samples/ogl/ogledit/Makefile
|
||||
samples/ogl/studio/Makefile
|
||||
samples/stc/Makefile
|
||||
samples/svg/Makefile
|
||||
samples/canvas/Makefile
|
||||
samples/canvas/test/Makefile
|
||||
samples/canvas/simple/Makefile
|
||||
samples/gizmos/Makefile
|
||||
samples/gizmos/editlbox/Makefile
|
||||
samples/gizmos/dynsash/Makefile
|
||||
samples/gizmos/dynsash_switch/Makefile
|
||||
samples/gizmos/multicell/Makefile
|
||||
samples/gizmos/splittree/Makefile
|
||||
samples/gizmos/led/Makefile
|
||||
samples/xrc/Makefile
|
||||
samples/plot/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/wxrc/Makefile
|
||||
utils/wxrcedit/Makefile
|
||||
utils/convertrc/Makefile
|
||||
])
|
||||
|
5
contrib/docs/.cvsignore
Normal file
5
contrib/docs/.cvsignore
Normal file
@@ -0,0 +1,5 @@
|
||||
html
|
||||
htmlhelp
|
||||
pdf
|
||||
winhelp
|
||||
htb
|
Binary file not shown.
Before Width: | Height: | Size: 978 B |
@@ -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.
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user