Compare commits
1 Commits
v2.4.2.5
...
wxPy_B4_UN
Author | SHA1 | Date | |
---|---|---|---|
|
c69047ec71 |
57
.cvsignore
@@ -1,57 +0,0 @@
|
||||
system.list
|
||||
bin
|
||||
.gdb_history
|
||||
Test
|
||||
config.cache
|
||||
configarg.cache
|
||||
config.status
|
||||
system.list
|
||||
linux.system.cache
|
||||
wx-config
|
||||
config.log
|
||||
linux-gnu.system.cache
|
||||
*.dsp
|
||||
*.dsw
|
||||
*.plg
|
||||
*.opt
|
||||
*.aps
|
||||
*.ncb
|
||||
*.pro
|
||||
*.opt
|
||||
*.d
|
||||
*.swp
|
||||
*.swo
|
||||
Release
|
||||
Debug
|
||||
ReleaseDLL
|
||||
DebugDLL
|
||||
UnivRelease
|
||||
UnivDebug
|
||||
BaseRelease
|
||||
BaseDebug
|
||||
robert
|
||||
stamp-h.in
|
||||
Makefile
|
||||
configure
|
||||
setup.h
|
||||
stamp-h
|
||||
libtool
|
||||
aclocal.m4
|
||||
base
|
||||
gtk
|
||||
motif
|
||||
win32
|
||||
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
|
266
BuildCVS.txt
@@ -1,266 +0,0 @@
|
||||
------------------------------------------------------------------------
|
||||
How to build the sources from CVS
|
||||
------------------------------------------------------------------------
|
||||
|
||||
Please use the install.txt files in docs/gtk, docs/msw, docs/motif, docs/mac
|
||||
etc. alongside these instructions.
|
||||
|
||||
I) Windows using plain makefiles
|
||||
----------------------------------------
|
||||
|
||||
a) If using Microsoft Visual C++ 5.0 or 6.0
|
||||
|
||||
Ensure that the command-line compiler and tools (including
|
||||
nmake) are installed and ready to run. Depending on your
|
||||
installation there may be a batch file (named something like
|
||||
VCVARS32.BAT) that needs to be run to set correct environment
|
||||
varaibles and PATH entries.
|
||||
|
||||
Continue with item c) below.
|
||||
|
||||
|
||||
b) If using the GNU Mingw32 or GNU Cygwin32 compilers
|
||||
|
||||
You can get Mingw32 from http://www.mingw.org
|
||||
|
||||
Cygwin32 is available at http://www.cygwin.com
|
||||
|
||||
The makefile might have small problems with Cygwin's tools
|
||||
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 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 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 Mingw32) or 0 (you have Cygwin32).
|
||||
If using MINGW32, also set the MINGW32VERSION variable
|
||||
appropiately.
|
||||
|
||||
|
||||
c) Build instructions
|
||||
|
||||
-> Assumming that you installed the wxWindows sources
|
||||
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 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
|
||||
|
||||
-> type: cd c:\wxWin\src\msw
|
||||
-> type: make -f makefile.g95 (if using GNU tools)
|
||||
or type: nmake -f makefile.vc (if using MS VC++)
|
||||
|
||||
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 set BCCDIR=c:\progra~1\borland\cb4
|
||||
-> type cd %WXWIN%\include\wx
|
||||
-> type copy msw\setup0.h setup.h
|
||||
-> type cd %WXWIN%\src\msw
|
||||
-> type make -f makefile.b32
|
||||
|
||||
II) Unix ports
|
||||
--------------
|
||||
|
||||
Building wxGTK or wxMotif completely without configure
|
||||
won't ever work, but there is now a new makefile system
|
||||
that works without libtool and automake, using only
|
||||
configure to create what is needed.
|
||||
|
||||
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).
|
||||
|
||||
Set WXWIN environment variable to the base directory such
|
||||
as ~/wxWindows (this is actually not really needed).
|
||||
|
||||
-> type: export WXWIN=~/wxWindows
|
||||
-> type: md mybuild
|
||||
-> type: cd mybuild
|
||||
-> type: ../configure --with-motif
|
||||
or type: ../configure --with-gtk
|
||||
-> type: make
|
||||
-> type: su <type root password>
|
||||
-> type: make install
|
||||
-> type: ldconfig
|
||||
-> type: exit
|
||||
|
||||
Call configure with --disable-shared to create a static
|
||||
library. Calling "make uninstall" will remove the installed
|
||||
library and "make dist" will create a distribution (not
|
||||
yet complete).
|
||||
|
||||
III) Windows 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)
|
||||
----------------------------------------
|
||||
|
||||
Refer to the readme.txt and install.txt files in docs/mac to build
|
||||
wxWindows under Classic Mac OS using CodeWarrior.
|
||||
|
||||
If you are checking out the CVS sources using cvs under Mac OS X and
|
||||
compiling under Classic Mac OS:
|
||||
|
||||
- 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.
|
||||
|
||||
- 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
|
||||
----------------------------------------
|
||||
|
||||
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 mingw32 and
|
||||
cygwin32 (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.
|
||||
|
||||
[ 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 mingw32 is
|
||||
preferable if you write portable C(++). ]
|
||||
|
||||
You might want to build both Unix and Windows binaries in the same source
|
||||
tree; to do this make subdirs for each e.g. unix and win32. If you've
|
||||
already build wxWindows in the main dir, do a 'make distclean' there,
|
||||
otherwise configure will get confused. (In any case, read the section 'Unix
|
||||
using configure' and make sure you're able to build a native wxWindows
|
||||
library; cross-compiling errors can be pretty obscure and you'll want to be
|
||||
sure that your configure setup is basically sound.)
|
||||
|
||||
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
|
||||
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!).
|
||||
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
|
||||
|
||||
(all assuming you're using mingw32)
|
||||
By default this will compile a DLL, if you want a static library,
|
||||
specify --disable-shared.
|
||||
|
||||
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)
|
||||
mingw32 headers which may be corrected by upgrading your compier,
|
||||
otherwise you might edit the file
|
||||
|
||||
${install_prefix}/lib/gcc-lib/i586-mingw32/egcs-2.91.57/include/stdarg.h
|
||||
|
||||
(instead of egcs-2.91.57 you may have something different), searching for
|
||||
the lines
|
||||
|
||||
/* Define __gnuc_va_list. */
|
||||
|
||||
#ifndef __GNUC_VA_LIST
|
||||
#define __GNUC_VA_LIST
|
||||
#if defined(__svr4__) || defined(_AIX) || defined(_M_UNIX) || defined(__NetBSD__)
|
||||
typedef char *__gnuc_va_list;
|
||||
#else
|
||||
typedef void *__gnuc_va_list;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
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:
|
||||
|
||||
-> cd samples/minimal
|
||||
-> make
|
||||
|
||||
and run it with wine, for example (or copy to a Windows box)
|
||||
-> wine minimal.exe
|
||||
|
||||
If all is well, do an install; from win32
|
||||
-> make install
|
||||
|
||||
Native and cross-compiled installations can co-exist peacefully
|
||||
(as long as their widget sets differ), except for wx-config. You might
|
||||
want to rename the cross-compiled one to i586-mingw32-wx-config, or something.
|
||||
|
||||
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 ]
|
||||
- static executables are HUGE -- there must be room for improvement.
|
||||
|
1465
Makefile.in
@@ -1,169 +0,0 @@
|
||||
*** \gcc-inc\basetyps.h Sat Jul 31 16:48:36 1999
|
||||
--- basetyps.h Fri Aug 06 11:14:36 1999
|
||||
***************
|
||||
*** 74,91 ****
|
||||
--- 74,97 ----
|
||||
STDMETHOD(Clone)(IENUM_THIS_(I) I**) PURE; \
|
||||
}
|
||||
#define DECLARE_ENUMERATOR(T) DECLARE_ENUMERATOR_(IEnum##T,T)
|
||||
|
||||
+ #ifndef GUID_DEFINED
|
||||
+ #define GUID_DEFINED
|
||||
typedef struct _GUID
|
||||
{
|
||||
unsigned long Data1;
|
||||
unsigned short Data2;
|
||||
unsigned short Data3;
|
||||
unsigned char Data4[8];
|
||||
} GUID;
|
||||
+ #endif /* GUID_DEFINED */
|
||||
typedef GUID *REFGUID;
|
||||
typedef GUID *LPGUID;
|
||||
+ #ifndef UUID_DEFINED
|
||||
+ #define UUID_DEFINED
|
||||
typedef GUID UUID;
|
||||
+ #endif /* UUID_DEFINED */
|
||||
typedef GUID IID;
|
||||
typedef GUID CLSID;
|
||||
typedef CLSID *LPCLSID;
|
||||
typedef IID *LPIID;
|
||||
|
||||
|
||||
*** \gcc-inc\oaidl.h Sat Jul 31 16:48:42 1999
|
||||
--- oaidl.h Fri Aug 06 13:18:48 1999
|
||||
***************
|
||||
*** 39,44 ****
|
||||
--- 39,53 ----
|
||||
#define IMPLTYPEFLAG_FRESTRICTED 4
|
||||
#define IMPLTYPEFLAG_FDEFAULTVTABLE 8
|
||||
|
||||
+ #define DISPID_UNKNOWN ( -1 )
|
||||
+ #define DISPID_VALUE ( 0 )
|
||||
+ #define DISPID_PROPERTYPUT ( -3 )
|
||||
+ #define DISPID_NEWENUM ( -4 )
|
||||
+ #define DISPID_EVALUATE ( -5 )
|
||||
+ #define DISPID_CONSTRUCTOR ( -6 )
|
||||
+ #define DISPID_DESTRUCTOR ( -7 )
|
||||
+ #define DISPID_COLLECT ( -8 )
|
||||
+
|
||||
typedef interface ITypeLib *LPTYPELIB;
|
||||
typedef interface ICreateTypeInfo *LPCREATETYPEINFO;
|
||||
typedef interface ICreateTypeInfo2 *LPCREATETYPEINFO2;
|
||||
***************
|
||||
*** 49,54 ****
|
||||
--- 58,73 ----
|
||||
typedef interface IDispatch *LPDISPATCH;
|
||||
typedef interface ICreateErrorInfo *LPCREATEERRORINFO;
|
||||
|
||||
+ extern "C" const IID IID_ITypeLib;
|
||||
+ extern "C" const IID IID_ICreateTypeInfo;
|
||||
+ extern "C" const IID IID_ICreateTypeInfo2;
|
||||
+ extern "C" const IID IID_ICreateTypeLib;
|
||||
+ extern "C" const IID IID_ICreateTypeLib2;
|
||||
+ extern "C" const IID IID_ITypeInfo;
|
||||
+ extern "C" const IID IID_IErrorInfo;
|
||||
+ extern "C" const IID IID_IDispatch;
|
||||
+ extern "C" const IID IID_ICreateErrorInfo;
|
||||
+
|
||||
typedef enum tagSYSKIND {
|
||||
SYS_WIN16,SYS_WIN32,SYS_MAC
|
||||
} SYSKIND;
|
||||
***************
|
||||
*** 375,382 ****
|
||||
STDMETHOD_(ULONG,Release)(THIS) PURE;
|
||||
STDMETHOD(GetTypeInfoCount)(THIS_ UINT*) PURE;
|
||||
STDMETHOD(GetTypeInfo)(THIS_ UINT,LCID,LPTYPEINFO*) PURE;
|
||||
! STDMETHOD(GetIDsOfNames)(THIS_ REFIID,LPOLESTR*,UINT,LCID,DISPID)
|
||||
PURE;
|
||||
! STDMETHOD(Invoked)(THIS_ DISPID,REFIID,LCID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*) PURE;
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
--- 394,401 ----
|
||||
STDMETHOD_(ULONG,Release)(THIS) PURE;
|
||||
STDMETHOD(GetTypeInfoCount)(THIS_ UINT*) PURE;
|
||||
STDMETHOD(GetTypeInfo)(THIS_ UINT,LCID,LPTYPEINFO*) PURE;
|
||||
! STDMETHOD(GetIDsOfNames)(THIS_ REFIID,LPOLESTR*,UINT,LCID,DISPID*)
|
||||
PURE;
|
||||
! STDMETHOD(Invoke)(THIS_ DISPID,REFIID,LCID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*) PURE;
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
|
||||
*** \gcc-inc\objidl.h Sat Jul 31 16:48:42 1999
|
||||
--- objidl.h Fri Aug 06 11:00:19 1999
|
||||
***************
|
||||
*** 627,633 ****
|
||||
STDMETHOD(QueryGetData)(THIS_ FORMATETC*) PURE;
|
||||
STDMETHOD(GetCanonicalFormatEtc)(THIS_ FORMATETC*,FORMATETC*) PURE;
|
||||
STDMETHOD(SetData)(THIS_ FORMATETC*,STGMEDIUM*,BOOL) PURE;
|
||||
! STDMETHOD(EnumFormatEtc)(THIS_ DWORD,IEnumFORMATETC*) PURE;
|
||||
STDMETHOD(DAdvise)(THIS_ FORMATETC*,DWORD,IAdviseSink*,PDWORD) PURE;
|
||||
STDMETHOD(DUnadvise)(THIS_ DWORD) PURE;
|
||||
STDMETHOD(EnumDAdvise)(THIS_ IEnumSTATDATA**);
|
||||
--- 627,633 ----
|
||||
STDMETHOD(QueryGetData)(THIS_ FORMATETC*) PURE;
|
||||
STDMETHOD(GetCanonicalFormatEtc)(THIS_ FORMATETC*,FORMATETC*) PURE;
|
||||
STDMETHOD(SetData)(THIS_ FORMATETC*,STGMEDIUM*,BOOL) PURE;
|
||||
! STDMETHOD(EnumFormatEtc)(THIS_ DWORD,IEnumFORMATETC**) PURE;
|
||||
STDMETHOD(DAdvise)(THIS_ FORMATETC*,DWORD,IAdviseSink*,PDWORD) PURE;
|
||||
STDMETHOD(DUnadvise)(THIS_ DWORD) PURE;
|
||||
STDMETHOD(EnumDAdvise)(THIS_ IEnumSTATDATA**);
|
||||
|
||||
|
||||
--- i386-mingw32\include\stdio.h Sun Aug 1 06:18:20 1999
|
||||
+++ stdio.h Sun Nov 7 03:41:40 1999
|
||||
@@ -203,9 +203,12 @@
|
||||
int fprintf (FILE* filePrintTo, const char* szFormat, ...);
|
||||
int printf (const char* szFormat, ...);
|
||||
int sprintf (char* caBuffer, const char* szFormat, ...);
|
||||
+int _snprintf (char* caBuffer, size_t n, const char* szFormat, ...);
|
||||
int vfprintf (FILE* filePrintTo, const char* szFormat, va_list varg);
|
||||
int vprintf (const char* szFormat, va_list varg);
|
||||
int vsprintf (char* caBuffer, const char* szFormat, va_list varg);
|
||||
+int _vsnprintf (char* caBuffer, size_t n, const char* szFormat,
|
||||
+ va_list varg);
|
||||
|
||||
/* Wide character versions */
|
||||
int fwprintf (FILE* filePrintTo, const wchar_t* wsFormat, ...);
|
||||
|
||||
|
||||
|
||||
--- i386-mingw32\include\winbase.h Sat Jul 31 17:48:48 1999
|
||||
+++ winbase.h Fri Feb 25 01:49:08 2000
|
||||
@@ -989,7 +989,7 @@
|
||||
BOOL WINAPI CopyFileExW(LPCWSTR,LPCWSTR,LPPROGRESS_ROUTINE,LPVOID,LPBOOL,DWORD);
|
||||
#define RtlMoveMemory memmove
|
||||
#define RtlCopyMemory memcpy
|
||||
-#define RtlFillMemory memset
|
||||
+#define RtlFillMemory(d,l,f) memset ((d),(f),(l))
|
||||
#define RtlZeroMemory(d,l) memset((d),0,(l))
|
||||
#define MoveMemory RtlMoveMemory
|
||||
#define CopyMemory RtlCopyMemory
|
||||
|
||||
--- i386-mingw32\include\winsock.h Sat Jul 31 17:48:50 1999
|
||||
+++ winsock.h Mon Mar 20 13:47:12 2000
|
||||
@@ -13,6 +13,10 @@
|
||||
#define _GNU_H_WINDOWS32_SOCKETS
|
||||
#include <windows.h>
|
||||
|
||||
+#ifdef __cplusplus
|
||||
+extern "C" {
|
||||
+#endif
|
||||
+
|
||||
#ifndef _SYS_TYPES_H
|
||||
typedef unsigned char u_char;
|
||||
typedef unsigned short u_short;
|
||||
@@ -495,4 +499,9 @@
|
||||
typedef struct timeval TIMEVAL;
|
||||
typedef struct timeval *PTIMEVAL;
|
||||
typedef struct timeval *LPTIMEVAL;
|
||||
+
|
||||
+#ifdef __cplusplus
|
||||
+}
|
||||
#endif
|
||||
+#endif
|
||||
+
|
||||
|
||||
|
608
acinclude.m4
@@ -1,608 +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;
|
||||
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;
|
||||
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],
|
||||
[
|
||||
ac_path_to_include=$1
|
||||
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
|
||||
])
|
||||
|
||||
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 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)
|
||||
AC_DEFUN([WX_ARG_ENABLE],
|
||||
[
|
||||
AC_MSG_CHECKING([for --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 "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 test for GTK+ 2.0
|
||||
dnl ---------------------------------------------------------------------------
|
||||
|
||||
dnl AM_PATH_GTK_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
|
||||
dnl Test for GTK, and define GTK_CFLAGS and GTK_LIBS
|
||||
dnl
|
||||
AC_DEFUN(AM_PATH_GTK_2_0,
|
||||
[dnl
|
||||
dnl Get the cflags and libraries from the gtk-config-2.0 script
|
||||
dnl
|
||||
AC_ARG_WITH(gtk-prefix,[ --with-gtk-prefix=PFX Prefix where GTK is installed (optional)],
|
||||
gtk_config_prefix="$withval", gtk_config_prefix="")
|
||||
AC_ARG_WITH(gtk-exec-prefix,[ --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)],
|
||||
gtk_config_exec_prefix="$withval", gtk_config_exec_prefix="")
|
||||
AC_ARG_ENABLE(gtktest, [ --disable-gtktest Do not try to compile and run a test GTK program],
|
||||
, enable_gtktest=yes)
|
||||
|
||||
for module in . $4
|
||||
do
|
||||
case "$module" in
|
||||
gthread)
|
||||
gtk_config_args="$gtk_config_args gthread"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
if test x$gtk_config_exec_prefix != x ; then
|
||||
gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
|
||||
if test x${GTK_CONFIG_2_0+set} != xset ; then
|
||||
GTK_CONFIG_2_0=$gtk_config_exec_prefix/bin/gtk-config-2.0
|
||||
fi
|
||||
fi
|
||||
if test x$gtk_config_prefix != x ; then
|
||||
gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
|
||||
if test x${GTK_CONFIG_2_0+set} != xset ; then
|
||||
GTK_CONFIG_2_0=$gtk_config_prefix/bin/gtk-config-2.0
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_PATH_PROG(GTK_CONFIG_2_0, gtk-config-2.0, no)
|
||||
min_gtk_version=ifelse([$1], ,1.3.1,$1)
|
||||
AC_MSG_CHECKING(for GTK - version >= $min_gtk_version)
|
||||
no_gtk=""
|
||||
if test "$GTK_CONFIG_2_0" = "no" ; then
|
||||
no_gtk=yes
|
||||
else
|
||||
GTK_CFLAGS=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
|
||||
GTK_LIBS=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
|
||||
gtk_config_major_version=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
|
||||
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
|
||||
gtk_config_minor_version=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
|
||||
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
|
||||
gtk_config_micro_version=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
|
||||
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
|
||||
if test "x$enable_gtktest" = "xyes" ; then
|
||||
ac_save_CFLAGS="$CFLAGS"
|
||||
ac_save_LIBS="$LIBS"
|
||||
CFLAGS="$CFLAGS $GTK_CFLAGS"
|
||||
LIBS="$GTK_LIBS $LIBS"
|
||||
dnl
|
||||
dnl Now check if the installed GTK is sufficiently new. (Also sanity
|
||||
dnl checks the results of gtk-config-2.0 to some extent
|
||||
dnl
|
||||
rm -f conf.gtktest
|
||||
AC_TRY_RUN([
|
||||
#include <gtk/gtk.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
int
|
||||
main ()
|
||||
{
|
||||
int major, minor, micro;
|
||||
char *tmp_version;
|
||||
|
||||
system ("touch conf.gtktest");
|
||||
|
||||
/* HP/UX 9 (%@#!) writes to sscanf strings */
|
||||
tmp_version = g_strdup("$min_gtk_version");
|
||||
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
|
||||
printf("%s, bad version string\n", "$min_gtk_version");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
if ((gtk_major_version != $gtk_config_major_version) ||
|
||||
(gtk_minor_version != $gtk_config_minor_version) ||
|
||||
(gtk_micro_version != $gtk_config_micro_version))
|
||||
{
|
||||
printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
|
||||
$gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
|
||||
gtk_major_version, gtk_minor_version, gtk_micro_version);
|
||||
printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
|
||||
printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
|
||||
printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
|
||||
printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
|
||||
printf("*** required on your system.\n");
|
||||
printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
|
||||
printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
|
||||
printf("*** before re-running configure\n");
|
||||
}
|
||||
#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
|
||||
else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
|
||||
(gtk_minor_version != GTK_MINOR_VERSION) ||
|
||||
(gtk_micro_version != GTK_MICRO_VERSION))
|
||||
{
|
||||
printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
|
||||
GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
|
||||
printf("*** library (version %d.%d.%d)\n",
|
||||
gtk_major_version, gtk_minor_version, gtk_micro_version);
|
||||
}
|
||||
#endif /* defined (GTK_MAJOR_VERSION) ... */
|
||||
else
|
||||
{
|
||||
if ((gtk_major_version > major) ||
|
||||
((gtk_major_version == major) && (gtk_minor_version > minor)) ||
|
||||
((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
|
||||
gtk_major_version, gtk_minor_version, gtk_micro_version);
|
||||
printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
|
||||
major, minor, micro);
|
||||
printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
|
||||
printf("***\n");
|
||||
printf("*** If you have already installed a sufficiently new version, this error\n");
|
||||
printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
|
||||
printf("*** being found. The easiest way to fix this is to remove the old version\n");
|
||||
printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
|
||||
printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
|
||||
printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
|
||||
printf("*** so that the correct libraries are found at run-time))\n");
|
||||
}
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
|
||||
CFLAGS="$ac_save_CFLAGS"
|
||||
LIBS="$ac_save_LIBS"
|
||||
fi
|
||||
fi
|
||||
if test "x$no_gtk" = x ; then
|
||||
AC_MSG_RESULT(yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version))
|
||||
ifelse([$2], , :, [$2])
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
if test "$GTK_CONFIG_2_0" = "no" ; then
|
||||
echo "*** The gtk-config-2.0 script installed by GTK could not be found"
|
||||
echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
|
||||
echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
|
||||
echo "*** full path to gtk-config-2.0."
|
||||
else
|
||||
if test -f conf.gtktest ; then
|
||||
:
|
||||
else
|
||||
echo "*** Could not run GTK test program, checking why..."
|
||||
CFLAGS="$CFLAGS $GTK_CFLAGS"
|
||||
LIBS="$LIBS $GTK_LIBS"
|
||||
AC_TRY_LINK([
|
||||
#include <gtk/gtk.h>
|
||||
#include <stdio.h>
|
||||
], [ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ],
|
||||
[ echo "*** The test program compiled, but did not run. This usually means"
|
||||
echo "*** that the run-time linker is not finding GTK or finding the wrong"
|
||||
echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
|
||||
echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
|
||||
echo "*** to the installed location Also, make sure you have run ldconfig if that"
|
||||
echo "*** is required on your system"
|
||||
echo "***"
|
||||
echo "*** If you have an old version installed, it is best to remove it, although"
|
||||
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
|
||||
echo "***"
|
||||
echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
|
||||
echo "*** came with the system with the command"
|
||||
echo "***"
|
||||
echo "*** rpm --erase --nodeps gtk gtk-devel" ],
|
||||
[ echo "*** The test program failed to compile or link. See the file config.log for the"
|
||||
echo "*** exact error that occured. This usually means GTK was incorrectly installed"
|
||||
echo "*** or that you have moved GTK since it was installed. In the latter case, you"
|
||||
echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0" ])
|
||||
CFLAGS="$ac_save_CFLAGS"
|
||||
LIBS="$ac_save_LIBS"
|
||||
fi
|
||||
fi
|
||||
GTK_CFLAGS=""
|
||||
GTK_LIBS=""
|
||||
ifelse([$3], , :, [$3])
|
||||
fi
|
||||
AC_SUBST(GTK_CFLAGS)
|
||||
AC_SUBST(GTK_LIBS)
|
||||
rm -f conf.gtktest
|
||||
])
|
816
aclocal.m4
vendored
@@ -1,816 +0,0 @@
|
||||
dnl aclocal.m4 generated automatically by aclocal 1.4
|
||||
|
||||
dnl Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
dnl with or without modifications, as long as this notice is preserved.
|
||||
|
||||
dnl This program is distributed in the hope that it will be useful,
|
||||
dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
dnl PARTICULAR PURPOSE.
|
||||
|
||||
dnl ---------------------------------------------------------------------------
|
||||
dnl
|
||||
dnl Macros for configure.in for wxWindows by Robert Roebling, Phil Blecker,
|
||||
dnl Vadim Zeitlin and Ron Lee
|
||||
dnl
|
||||
dnl This script is under the wxWindows licence.
|
||||
dnl
|
||||
dnl Version: $Id$
|
||||
dnl ---------------------------------------------------------------------------
|
||||
|
||||
dnl ===========================================================================
|
||||
dnl macros to find the a file in the list of include/lib paths
|
||||
dnl ===========================================================================
|
||||
|
||||
dnl ---------------------------------------------------------------------------
|
||||
dnl call WX_PATH_FIND_INCLUDES(search path, header name), sets ac_find_includes
|
||||
dnl to the full name of the file that was found or leaves it empty if not found
|
||||
dnl ---------------------------------------------------------------------------
|
||||
AC_DEFUN([WX_PATH_FIND_INCLUDES],
|
||||
[
|
||||
ac_find_includes=
|
||||
for ac_dir in $1;
|
||||
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;
|
||||
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],
|
||||
[
|
||||
ac_path_to_include=$1
|
||||
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
|
||||
])
|
||||
|
||||
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 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)
|
||||
AC_DEFUN([WX_ARG_ENABLE],
|
||||
[
|
||||
AC_MSG_CHECKING([for --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 "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 test for GTK+ 2.0
|
||||
dnl ---------------------------------------------------------------------------
|
||||
|
||||
dnl AM_PATH_GTK_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
|
||||
dnl Test for GTK, and define GTK_CFLAGS and GTK_LIBS
|
||||
dnl
|
||||
AC_DEFUN(AM_PATH_GTK_2_0,
|
||||
[dnl
|
||||
dnl Get the cflags and libraries from the gtk-config-2.0 script
|
||||
dnl
|
||||
AC_ARG_WITH(gtk-prefix,[ --with-gtk-prefix=PFX Prefix where GTK is installed (optional)],
|
||||
gtk_config_prefix="$withval", gtk_config_prefix="")
|
||||
AC_ARG_WITH(gtk-exec-prefix,[ --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)],
|
||||
gtk_config_exec_prefix="$withval", gtk_config_exec_prefix="")
|
||||
AC_ARG_ENABLE(gtktest, [ --disable-gtktest Do not try to compile and run a test GTK program],
|
||||
, enable_gtktest=yes)
|
||||
|
||||
for module in . $4
|
||||
do
|
||||
case "$module" in
|
||||
gthread)
|
||||
gtk_config_args="$gtk_config_args gthread"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
if test x$gtk_config_exec_prefix != x ; then
|
||||
gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
|
||||
if test x${GTK_CONFIG_2_0+set} != xset ; then
|
||||
GTK_CONFIG_2_0=$gtk_config_exec_prefix/bin/gtk-config-2.0
|
||||
fi
|
||||
fi
|
||||
if test x$gtk_config_prefix != x ; then
|
||||
gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
|
||||
if test x${GTK_CONFIG_2_0+set} != xset ; then
|
||||
GTK_CONFIG_2_0=$gtk_config_prefix/bin/gtk-config-2.0
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_PATH_PROG(GTK_CONFIG_2_0, gtk-config-2.0, no)
|
||||
min_gtk_version=ifelse([$1], ,1.3.1,$1)
|
||||
AC_MSG_CHECKING(for GTK - version >= $min_gtk_version)
|
||||
no_gtk=""
|
||||
if test "$GTK_CONFIG_2_0" = "no" ; then
|
||||
no_gtk=yes
|
||||
else
|
||||
GTK_CFLAGS=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
|
||||
GTK_LIBS=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
|
||||
gtk_config_major_version=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
|
||||
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
|
||||
gtk_config_minor_version=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
|
||||
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
|
||||
gtk_config_micro_version=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
|
||||
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
|
||||
if test "x$enable_gtktest" = "xyes" ; then
|
||||
ac_save_CFLAGS="$CFLAGS"
|
||||
ac_save_LIBS="$LIBS"
|
||||
CFLAGS="$CFLAGS $GTK_CFLAGS"
|
||||
LIBS="$GTK_LIBS $LIBS"
|
||||
dnl
|
||||
dnl Now check if the installed GTK is sufficiently new. (Also sanity
|
||||
dnl checks the results of gtk-config-2.0 to some extent
|
||||
dnl
|
||||
rm -f conf.gtktest
|
||||
AC_TRY_RUN([
|
||||
#include <gtk/gtk.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
int
|
||||
main ()
|
||||
{
|
||||
int major, minor, micro;
|
||||
char *tmp_version;
|
||||
|
||||
system ("touch conf.gtktest");
|
||||
|
||||
/* HP/UX 9 (%@#!) writes to sscanf strings */
|
||||
tmp_version = g_strdup("$min_gtk_version");
|
||||
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
|
||||
printf("%s, bad version string\n", "$min_gtk_version");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
if ((gtk_major_version != $gtk_config_major_version) ||
|
||||
(gtk_minor_version != $gtk_config_minor_version) ||
|
||||
(gtk_micro_version != $gtk_config_micro_version))
|
||||
{
|
||||
printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
|
||||
$gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
|
||||
gtk_major_version, gtk_minor_version, gtk_micro_version);
|
||||
printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
|
||||
printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
|
||||
printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
|
||||
printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
|
||||
printf("*** required on your system.\n");
|
||||
printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
|
||||
printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
|
||||
printf("*** before re-running configure\n");
|
||||
}
|
||||
#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
|
||||
else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
|
||||
(gtk_minor_version != GTK_MINOR_VERSION) ||
|
||||
(gtk_micro_version != GTK_MICRO_VERSION))
|
||||
{
|
||||
printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
|
||||
GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
|
||||
printf("*** library (version %d.%d.%d)\n",
|
||||
gtk_major_version, gtk_minor_version, gtk_micro_version);
|
||||
}
|
||||
#endif /* defined (GTK_MAJOR_VERSION) ... */
|
||||
else
|
||||
{
|
||||
if ((gtk_major_version > major) ||
|
||||
((gtk_major_version == major) && (gtk_minor_version > minor)) ||
|
||||
((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
|
||||
gtk_major_version, gtk_minor_version, gtk_micro_version);
|
||||
printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
|
||||
major, minor, micro);
|
||||
printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
|
||||
printf("***\n");
|
||||
printf("*** If you have already installed a sufficiently new version, this error\n");
|
||||
printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
|
||||
printf("*** being found. The easiest way to fix this is to remove the old version\n");
|
||||
printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
|
||||
printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
|
||||
printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
|
||||
printf("*** so that the correct libraries are found at run-time))\n");
|
||||
}
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
|
||||
CFLAGS="$ac_save_CFLAGS"
|
||||
LIBS="$ac_save_LIBS"
|
||||
fi
|
||||
fi
|
||||
if test "x$no_gtk" = x ; then
|
||||
AC_MSG_RESULT(yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version))
|
||||
ifelse([$2], , :, [$2])
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
if test "$GTK_CONFIG_2_0" = "no" ; then
|
||||
echo "*** The gtk-config-2.0 script installed by GTK could not be found"
|
||||
echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
|
||||
echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
|
||||
echo "*** full path to gtk-config-2.0."
|
||||
else
|
||||
if test -f conf.gtktest ; then
|
||||
:
|
||||
else
|
||||
echo "*** Could not run GTK test program, checking why..."
|
||||
CFLAGS="$CFLAGS $GTK_CFLAGS"
|
||||
LIBS="$LIBS $GTK_LIBS"
|
||||
AC_TRY_LINK([
|
||||
#include <gtk/gtk.h>
|
||||
#include <stdio.h>
|
||||
], [ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ],
|
||||
[ echo "*** The test program compiled, but did not run. This usually means"
|
||||
echo "*** that the run-time linker is not finding GTK or finding the wrong"
|
||||
echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
|
||||
echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
|
||||
echo "*** to the installed location Also, make sure you have run ldconfig if that"
|
||||
echo "*** is required on your system"
|
||||
echo "***"
|
||||
echo "*** If you have an old version installed, it is best to remove it, although"
|
||||
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
|
||||
echo "***"
|
||||
echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
|
||||
echo "*** came with the system with the command"
|
||||
echo "***"
|
||||
echo "*** rpm --erase --nodeps gtk gtk-devel" ],
|
||||
[ echo "*** The test program failed to compile or link. See the file config.log for the"
|
||||
echo "*** exact error that occured. This usually means GTK was incorrectly installed"
|
||||
echo "*** or that you have moved GTK since it was installed. In the latter case, you"
|
||||
echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0" ])
|
||||
CFLAGS="$ac_save_CFLAGS"
|
||||
LIBS="$ac_save_LIBS"
|
||||
fi
|
||||
fi
|
||||
GTK_CFLAGS=""
|
||||
GTK_LIBS=""
|
||||
ifelse([$3], , :, [$3])
|
||||
fi
|
||||
AC_SUBST(GTK_CFLAGS)
|
||||
AC_SUBST(GTK_LIBS)
|
||||
rm -f conf.gtktest
|
||||
])
|
||||
|
||||
# Configure paths for GTK+
|
||||
# Owen Taylor 97-11-3
|
||||
|
||||
dnl AM_PATH_GTK([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
|
||||
dnl Test for GTK, and define GTK_CFLAGS and GTK_LIBS
|
||||
dnl
|
||||
AC_DEFUN(AM_PATH_GTK,
|
||||
[dnl
|
||||
dnl Get the cflags and libraries from the gtk-config script
|
||||
dnl
|
||||
AC_ARG_WITH(gtk-prefix,[ --with-gtk-prefix=PFX Prefix where GTK is installed (optional)],
|
||||
gtk_config_prefix="$withval", gtk_config_prefix="")
|
||||
AC_ARG_WITH(gtk-exec-prefix,[ --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)],
|
||||
gtk_config_exec_prefix="$withval", gtk_config_exec_prefix="")
|
||||
AC_ARG_ENABLE(gtktest, [ --disable-gtktest Do not try to compile and run a test GTK program],
|
||||
, enable_gtktest=yes)
|
||||
|
||||
for module in . $4
|
||||
do
|
||||
case "$module" in
|
||||
gthread)
|
||||
gtk_config_args="$gtk_config_args gthread"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
if test x$gtk_config_exec_prefix != x ; then
|
||||
gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
|
||||
if test x${GTK_CONFIG+set} != xset ; then
|
||||
GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
|
||||
fi
|
||||
fi
|
||||
if test x$gtk_config_prefix != x ; then
|
||||
gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
|
||||
if test x${GTK_CONFIG+set} != xset ; then
|
||||
GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_PATH_PROG(GTK_CONFIG, gtk-config, no)
|
||||
min_gtk_version=ifelse([$1], ,0.99.7,$1)
|
||||
AC_MSG_CHECKING(for GTK - version >= $min_gtk_version)
|
||||
no_gtk=""
|
||||
if test "$GTK_CONFIG" = "no" ; then
|
||||
no_gtk=yes
|
||||
else
|
||||
GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
|
||||
GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
|
||||
gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
|
||||
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
|
||||
gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
|
||||
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
|
||||
gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
|
||||
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
|
||||
if test "x$enable_gtktest" = "xyes" ; then
|
||||
ac_save_CFLAGS="$CFLAGS"
|
||||
ac_save_LIBS="$LIBS"
|
||||
CFLAGS="$CFLAGS $GTK_CFLAGS"
|
||||
LIBS="$GTK_LIBS $LIBS"
|
||||
dnl
|
||||
dnl Now check if the installed GTK is sufficiently new. (Also sanity
|
||||
dnl checks the results of gtk-config to some extent
|
||||
dnl
|
||||
rm -f conf.gtktest
|
||||
AC_TRY_RUN([
|
||||
#include <gtk/gtk.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
int
|
||||
main ()
|
||||
{
|
||||
int major, minor, micro;
|
||||
char *tmp_version;
|
||||
|
||||
system ("touch conf.gtktest");
|
||||
|
||||
/* HP/UX 9 (%@#!) writes to sscanf strings */
|
||||
tmp_version = g_strdup("$min_gtk_version");
|
||||
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
|
||||
printf("%s, bad version string\n", "$min_gtk_version");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
if ((gtk_major_version != $gtk_config_major_version) ||
|
||||
(gtk_minor_version != $gtk_config_minor_version) ||
|
||||
(gtk_micro_version != $gtk_config_micro_version))
|
||||
{
|
||||
printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
|
||||
$gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
|
||||
gtk_major_version, gtk_minor_version, gtk_micro_version);
|
||||
printf ("*** was found! If gtk-config was correct, then it is best\n");
|
||||
printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
|
||||
printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
|
||||
printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
|
||||
printf("*** required on your system.\n");
|
||||
printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
|
||||
printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
|
||||
printf("*** before re-running configure\n");
|
||||
}
|
||||
#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
|
||||
else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
|
||||
(gtk_minor_version != GTK_MINOR_VERSION) ||
|
||||
(gtk_micro_version != GTK_MICRO_VERSION))
|
||||
{
|
||||
printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
|
||||
GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
|
||||
printf("*** library (version %d.%d.%d)\n",
|
||||
gtk_major_version, gtk_minor_version, gtk_micro_version);
|
||||
}
|
||||
#endif /* defined (GTK_MAJOR_VERSION) ... */
|
||||
else
|
||||
{
|
||||
if ((gtk_major_version > major) ||
|
||||
((gtk_major_version == major) && (gtk_minor_version > minor)) ||
|
||||
((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
|
||||
gtk_major_version, gtk_minor_version, gtk_micro_version);
|
||||
printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
|
||||
major, minor, micro);
|
||||
printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
|
||||
printf("***\n");
|
||||
printf("*** If you have already installed a sufficiently new version, this error\n");
|
||||
printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
|
||||
printf("*** being found. The easiest way to fix this is to remove the old version\n");
|
||||
printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
|
||||
printf("*** correct copy of gtk-config. (In this case, you will have to\n");
|
||||
printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
|
||||
printf("*** so that the correct libraries are found at run-time))\n");
|
||||
}
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
|
||||
CFLAGS="$ac_save_CFLAGS"
|
||||
LIBS="$ac_save_LIBS"
|
||||
fi
|
||||
fi
|
||||
if test "x$no_gtk" = x ; then
|
||||
AC_MSG_RESULT(yes)
|
||||
ifelse([$2], , :, [$2])
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
if test "$GTK_CONFIG" = "no" ; then
|
||||
echo "*** The gtk-config script installed by GTK could not be found"
|
||||
echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
|
||||
echo "*** your path, or set the GTK_CONFIG environment variable to the"
|
||||
echo "*** full path to gtk-config."
|
||||
else
|
||||
if test -f conf.gtktest ; then
|
||||
:
|
||||
else
|
||||
echo "*** Could not run GTK test program, checking why..."
|
||||
CFLAGS="$CFLAGS $GTK_CFLAGS"
|
||||
LIBS="$LIBS $GTK_LIBS"
|
||||
AC_TRY_LINK([
|
||||
#include <gtk/gtk.h>
|
||||
#include <stdio.h>
|
||||
], [ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ],
|
||||
[ echo "*** The test program compiled, but did not run. This usually means"
|
||||
echo "*** that the run-time linker is not finding GTK or finding the wrong"
|
||||
echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
|
||||
echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
|
||||
echo "*** to the installed location Also, make sure you have run ldconfig if that"
|
||||
echo "*** is required on your system"
|
||||
echo "***"
|
||||
echo "*** If you have an old version installed, it is best to remove it, although"
|
||||
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
|
||||
echo "***"
|
||||
echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
|
||||
echo "*** came with the system with the command"
|
||||
echo "***"
|
||||
echo "*** rpm --erase --nodeps gtk gtk-devel" ],
|
||||
[ echo "*** The test program failed to compile or link. See the file config.log for the"
|
||||
echo "*** exact error that occured. This usually means GTK was incorrectly installed"
|
||||
echo "*** or that you have moved GTK since it was installed. In the latter case, you"
|
||||
echo "*** may want to edit the gtk-config script: $GTK_CONFIG" ])
|
||||
CFLAGS="$ac_save_CFLAGS"
|
||||
LIBS="$ac_save_LIBS"
|
||||
fi
|
||||
fi
|
||||
GTK_CFLAGS=""
|
||||
GTK_LIBS=""
|
||||
ifelse([$3], , :, [$3])
|
||||
fi
|
||||
AC_SUBST(GTK_CFLAGS)
|
||||
AC_SUBST(GTK_LIBS)
|
||||
rm -f conf.gtktest
|
||||
])
|
||||
|
@@ -1,2 +0,0 @@
|
||||
#!/bin/sh
|
||||
autoconf
|
1317
config.guess
vendored
1411
config.sub
vendored
4915
configure.in
@@ -1,15 +0,0 @@
|
||||
#
|
||||
# Makefile : Builds wxWindows utils for Unix.
|
||||
#
|
||||
|
||||
all:
|
||||
cd src; $(MAKE)
|
||||
|
||||
clean:
|
||||
cd src; $(MAKE) clean
|
||||
cd samples; $(MAKE) clean
|
||||
cd utils; $(MAKE) clean
|
||||
|
||||
|
||||
samples:
|
||||
cd samples; $(MAKE)
|
1036
contrib/configure
vendored
@@ -1,79 +0,0 @@
|
||||
dnl Process this file with autoconf to produce a configure script.
|
||||
AC_REVISION($Id$)dnl
|
||||
|
||||
AC_INIT(Makefile.in)
|
||||
|
||||
dnl ---------------
|
||||
dnl MMedia specific
|
||||
dnl ---------------
|
||||
|
||||
dnl Check for ESD
|
||||
|
||||
ESD_LINK=
|
||||
AC_CHECK_HEADER(esd.h, [
|
||||
AC_CHECK_LIB(esd, esd_close, [
|
||||
ESD_LINK="-lesd"
|
||||
])
|
||||
])
|
||||
|
||||
if test "$ESD_LINK" != "" ; then
|
||||
echo "ESound detected"
|
||||
fi
|
||||
|
||||
dnl -----------
|
||||
dnl Final subst
|
||||
|
||||
PATH_IFS=$wx_cv_path_ifs
|
||||
WX_TARGET_LIBRARY=$wx_cv_target_library
|
||||
WX_TARGET_LIBRARY_TYPE=$wx_cv_target_libtype
|
||||
|
||||
AC_SUBST(PATH_IFS)
|
||||
AC_SUBST(ESD_LINK)
|
||||
AC_SUBST(WX_TARGET_LIBRARY)
|
||||
AC_SUBST(WX_TARGET_LIBRARY_TYPE)
|
||||
|
||||
dnl -----------
|
||||
dnl File output
|
||||
|
||||
|
||||
AC_OUTPUT([
|
||||
src/Makefile
|
||||
src/ogl/Makefile
|
||||
src/mmedia/Makefile
|
||||
src/stc/Makefile
|
||||
src/xrc/Makefile
|
||||
src/canvas/Makefile
|
||||
src/gizmos/Makefile
|
||||
src/plot/Makefile
|
||||
src/applet/Makefile
|
||||
src/fl/Makefile
|
||||
src/net/Makefile
|
||||
samples/Makefile
|
||||
samples/mmedia/Makefile
|
||||
samples/ogl/Makefile
|
||||
samples/ogl/ogledit/Makefile
|
||||
samples/ogl/studio/Makefile
|
||||
samples/stc/Makefile
|
||||
samples/canvas/Makefile
|
||||
samples/canvas/test/Makefile
|
||||
samples/canvas/simple/Makefile
|
||||
samples/gizmos/Makefile
|
||||
samples/gizmos/multicell/Makefile
|
||||
samples/gizmos/splittree/Makefile
|
||||
samples/gizmos/editlbox/Makefile
|
||||
samples/gizmos/dynsash/Makefile
|
||||
samples/gizmos/dynsash_switch/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
|
||||
])
|
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.
|
||||
|
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 440 B |
Before Width: | Height: | Size: 198 B |
@@ -1,92 +0,0 @@
|
||||
\chapter{Classes by category}\label{classesbycat}
|
||||
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
|
||||
\setfooter{\thepage}{}{}{}{}{\thepage}%
|
||||
|
||||
A classification of FL classes by category.
|
||||
|
||||
{\large {\bf Plugin classes}}
|
||||
|
||||
Plugins can be added to frame layouts to extend behaviour.
|
||||
|
||||
\twocolwidtha{6cm}
|
||||
\begin{twocollist}\itemsep=0pt
|
||||
\twocolitem{\helpref{cbAntiflickerPlugin}{cbantiflickerplugin}}{Double-buffering class}
|
||||
\twocolitem{\helpref{cbBarDragPlugin}{cbbardragplugin}}{Implements drag behaviour.}
|
||||
\twocolitem{\helpref{cbBarHintsPlugin}{cbbarhintsplugin}}{Implements bar decoration and sizing behaviour.}
|
||||
\twocolitem{\helpref{cbHintAnimationPlugin}{cbhintanimationplugin}}{Draws animated hints when the user drags a pane.}
|
||||
\twocolitem{\helpref{cbPaneDrawPlugin}{cbpanedrawplugin}}{Implements most of MFC-style control bar implementation.}
|
||||
\twocolitem{\helpref{cbPluginBase}{cbpluginbase}}{Abstract base class for all control-bar related plugins.}
|
||||
\twocolitem{\helpref{cbRowDragPlugin}{cbrowdragplugin}}{Implements row-dragging functionality.}
|
||||
\twocolitem{\helpref{cbRowLayoutPlugin}{cbrowlayoutplugin}}{Implements row layout functionality.}
|
||||
\twocolitem{\helpref{cbSimpleCustomizationPlugin}{cbsimplecustomizationplugin}}{Enables customization of a bar.}
|
||||
\twocolitem{\helpref{cbBarSpy}{cbbarspy}}{Helper class used for spying for unhandled mouse events on control bars and forwarding them to the frame layout.}
|
||||
\end{twocollist}
|
||||
|
||||
{\large {\bf Window classes}}
|
||||
|
||||
Windows classes (note that the mini-button implementations are not true windows
|
||||
in that they do not derive from wxWindow).
|
||||
|
||||
\twocolwidtha{6cm}
|
||||
\begin{twocollist}\itemsep=0pt
|
||||
\twocolitem{\helpref{wxToolWindow}{wxtoolwindow}}{A small frame that paints its own titlebar.}
|
||||
\twocolitem{\helpref{cbFloatedBarWindow}{cbfloatedbarwindow}}{A kind of wxToolWindow implementing floating windows.}
|
||||
\twocolitem{\helpref{cbMiniButton}{cbminibutton}}{Base class for wxToolWindow titlebar buttons.}
|
||||
\twocolitem{\helpref{cbCloseBox}{cbclosebox}}{Close button for wxToolWindow titlebar.}
|
||||
\twocolitem{\helpref{cbCollapseBox}{cbcollapsebox}}{Collapse button for wxToolWindow titlebar.}
|
||||
\twocolitem{\helpref{cbDockBox}{cbdockbox}}{Dock button for wxToolWindow titlebar.}
|
||||
\twocolitem{\helpref{cbCloseBox}{cbclosebox}}{Close button for wxToolWindow titlebar.}
|
||||
\twocolitem{\helpref{wxNewBitmapButton}{wxnewbitmapbutton}}{Alternative bitmap button class.}
|
||||
\end{twocollist}
|
||||
|
||||
{\large {\bf Layout management classes}}
|
||||
|
||||
These classes relate to the layout management framework.
|
||||
|
||||
\twocolwidtha{6cm}
|
||||
\begin{twocollist}\itemsep=0pt
|
||||
\twocolitem{\helpref{cbDockPane}{cbdockpane}}{Manages containment and control of bars in a prent frame.}
|
||||
\twocolitem{\helpref{BagLayout}{baglayout}}{BagLayout lays out items in left-to-right order from top to bottom.}
|
||||
\twocolitem{\helpref{cbUpdatesManagerBase}{cbupdatesmanagerbase}}{An abstract interface for display update optimization logic.}
|
||||
\twocolitem{\helpref{cbSimpleUpdatesMgr}{cbsimpleupdatesmgr}}{Implements optimized logic for refreshing areas of frame layout that need to be updated.}
|
||||
\twocolitem{\helpref{cbGCUpdatesMgr}{cbgcupdatesmgr}}{Implements optimized logic for refresh, based on a garbage collection algorithm.}
|
||||
\twocolitem{\helpref{GarbageCollector}{garbagecollector}}{A garbage collection algorithm for use in display refresh optimization.}
|
||||
\twocolitem{\helpref{wxFrameLayout}{wxframelayout}}{Manages containment and docking of control bars, which can be docked along the top, bottom, right, or left side of the parent frame.}
|
||||
\end{twocollist}
|
||||
|
||||
{\large {\bf Event classes}}
|
||||
|
||||
Events are used to decouple parts of the layout framework. For event macros and identifiers,
|
||||
please see the topic \helpref{Event macros and identifiers}{events}.
|
||||
|
||||
\twocolwidtha{6cm}
|
||||
\begin{twocollist}\itemsep=0pt
|
||||
\twocolitem{\helpref{cbCustomizeBarEvent}{cbcustomizebarevent}}{Class for bar customization events.}
|
||||
\twocolitem{\helpref{cbCustomizeLayoutEvent}{cbcustomizelayoutevent}}{Class for layout customization events.}
|
||||
\twocolitem{\helpref{cbDrawBarDecorEvent}{cbdrawbardecorevent}}{Class for bar decoration drawing events.}
|
||||
\twocolitem{\helpref{cbDrawBarHandlesEvent}{cbdrawbarhandlesevent}}{Class for bar handles drawing events.}
|
||||
\twocolitem{\helpref{cbDrawHintRectEvent}{cbdrawhintrectevent}}{Class for hint-rectangle drawing events.}
|
||||
\twocolitem{\helpref{cbDrawPaneBkGroundEvent}{cbdrawpanebkgroundevent}}{Class for pane background drawing events.}
|
||||
\twocolitem{\helpref{cbDrawPaneDecorEvent}{cbdrawpanedecorevent}}{Class for pane decoration drawing events.}
|
||||
\twocolitem{\helpref{cbDrawRowBkGroundEvent}{cbdrawrowbkgroundevent}}{Class for row background drawing events.}
|
||||
\twocolitem{\helpref{cbDrawRowDecorEvent}{cbdrawrowdecorevent}}{Class for row decoration drawing events.}
|
||||
\twocolitem{\helpref{cbDrawRowHandlesEvent}{cbdrawrowhandlesevent}}{Class for row handles drawing events.}
|
||||
\twocolitem{\helpref{cbFinishDrawInAreaEvent}{cbfinishdrawinareaevent}}{Class for finish drawing in area events.}
|
||||
\twocolitem{\helpref{cbInsertBarEvent}{cbinsertbarevent}}{Class for bar insertion events.}
|
||||
\twocolitem{\helpref{cbLayoutRowEvent}{cblayoutrowevent}}{Class for single row layout events.}
|
||||
\twocolitem{\helpref{cbLayoutRowsEvent}{cblayoutrowsevent}}{Class for multiple rows layout events.}
|
||||
\twocolitem{\helpref{cbLeftDClickEvent}{cbleftdclickevent}}{Class for mouse left double click events.}
|
||||
\twocolitem{\helpref{cbLeftDownEvent}{cbleftdownevent}}{Class for mouse left down events.}
|
||||
\twocolitem{\helpref{cbLeftUpEvent}{cbleftupevent}}{Class for mouse left up events.}
|
||||
\twocolitem{\helpref{cbMotionEvent}{cbmotionevent}}{Class for mouse motion events.}
|
||||
\twocolitem{\helpref{cbPluginEvent}{cbpluginevent}}{Base class for all control-bar plugin events.}
|
||||
\twocolitem{\helpref{cbRemoveBarEvent}{cbremovebarevent}}{Class for bar removal events.}
|
||||
\twocolitem{\helpref{cbResizeBarEvent}{cbresizebarevent}}{Class for bar resize events.}
|
||||
\twocolitem{\helpref{cbResizeRowEvent}{cbresizerowevent}}{Class for row resize events.}
|
||||
\twocolitem{\helpref{cbRightDownEvent}{cbrightdownevent}}{Class for mouse right down events.}
|
||||
\twocolitem{\helpref{cbRightUpEvent}{cbrightupevent}}{Class for mouse right up events.}
|
||||
\twocolitem{\helpref{cbSizeBarWndEvent}{cbsizebarwndevent}}{Class for bar window resize events.}
|
||||
\twocolitem{\helpref{cbStartBarDraggingEvent}{cbstartbardraggingevent}}{Class for start-bar-dragging events.}
|
||||
\twocolitem{\helpref{cbStartDrawInAreaEvent}{cbstartdrawinareaevent}}{Class for start drawing in area events.}
|
||||
\end{twocollist}
|
||||
|
@@ -1,88 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% antiflickpl.h at 21/Jan/02 21:14:17
|
||||
%
|
||||
|
||||
|
||||
\section{\class{cbAntiflickerPlugin}}\label{cbantiflickerplugin}
|
||||
|
||||
|
||||
Implements double-buffering to reduce flicker.
|
||||
Bitmap and memory DC buffers are shared 'resources' among all instances of
|
||||
antiflicker plugins within the application.
|
||||
|
||||
Locking for multithreaded applications is not yet implemented.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{cbPluginBase}{cbpluginbase}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/antiflickpl.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{cbAntiflickerPlugin::cbAntiflickerPlugin}\label{cbantiflickerplugincbantiflickerplugin}
|
||||
|
||||
\func{}{cbAntiflickerPlugin}{\void}
|
||||
|
||||
Default constructor.
|
||||
|
||||
|
||||
\func{}{cbAntiflickerPlugin}{\param{wxFrameLayout* }{pPanel}, \param{int }{paneMask = wxALL\_PANES}}
|
||||
|
||||
Constructor taking frame layout panel, and pane mask.
|
||||
|
||||
|
||||
\membersection{cbAntiflickerPlugin::\destruct{cbAntiflickerPlugin}}\label{cbantiflickerplugindtor}
|
||||
|
||||
\func{}{\destruct{cbAntiflickerPlugin}}{\void}
|
||||
|
||||
Destructor.
|
||||
|
||||
|
||||
\membersection{cbAntiflickerPlugin::AllocNewBuffer}\label{cbantiflickerpluginallocnewbuffer}
|
||||
|
||||
\func{wxDC*}{AllocNewBuffer}{\param{const wxRect\& }{forArea}}
|
||||
|
||||
Allocates a suitable buffer.
|
||||
|
||||
|
||||
\membersection{cbAntiflickerPlugin::FindSuitableBuffer}\label{cbantiflickerpluginfindsuitablebuffer}
|
||||
|
||||
\func{wxDC*}{FindSuitableBuffer}{\param{const wxRect\& }{forArea}}
|
||||
|
||||
Finds a suitable buffer. Returns NULL if a suitable buffer is not present.
|
||||
|
||||
|
||||
\membersection{cbAntiflickerPlugin::GetClientDC}\label{cbantiflickerplugingetclientdc}
|
||||
|
||||
\func{wxDC\&}{GetClientDC}{\void}
|
||||
|
||||
Gets the client device context.
|
||||
|
||||
|
||||
\membersection{cbAntiflickerPlugin::GetWindowDC}\label{cbantiflickerplugingetwindowdc}
|
||||
|
||||
\func{wxDC\&}{GetWindowDC}{\void}
|
||||
|
||||
Gets the window device context.
|
||||
|
||||
|
||||
\membersection{cbAntiflickerPlugin::OnFinishDrawInArea}\label{cbantiflickerpluginonfinishdrawinarea}
|
||||
|
||||
\func{void}{OnFinishDrawInArea}{\param{cbFinishDrawInAreaEvent\& }{event}}
|
||||
|
||||
Handler for plugin event.
|
||||
|
||||
|
||||
\membersection{cbAntiflickerPlugin::OnStartDrawInArea}\label{cbantiflickerpluginonstartdrawinarea}
|
||||
|
||||
\func{void}{OnStartDrawInArea}{\param{cbStartDrawInAreaEvent\& }{event}}
|
||||
|
||||
Handler for plugin event.
|
||||
|
@@ -1,66 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% controlbar.h at 21/Jan/02 21:14:13
|
||||
%
|
||||
|
||||
|
||||
\section{\class{cbBarDimHandlerBase}}\label{cbbardimhandlerbase}
|
||||
|
||||
|
||||
Abstract interface for bar-size handler classes.
|
||||
These objects receive notifications whenever the docking
|
||||
state of the bar is changed, thus they provide the possibility
|
||||
to adjust the values in cbDimInfo::mSizes accordingly.
|
||||
Specific handlers can be hooked up to specific types of bar.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{wxObject}{wxobject}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/controlbar.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{cbBarDimHandlerBase::cbBarDimHandlerBase}\label{cbbardimhandlerbasecbbardimhandlerbase}
|
||||
|
||||
\func{}{cbBarDimHandlerBase}{\void}
|
||||
|
||||
to multiple bars, it's instance is
|
||||
reference-counted
|
||||
Default constructor. The initial reference count is 0, since
|
||||
the handler is not used until the first invocation of AddRef().
|
||||
|
||||
|
||||
\membersection{cbBarDimHandlerBase::AddRef}\label{cbbardimhandlerbaseaddref}
|
||||
|
||||
\func{void}{AddRef}{\void}
|
||||
|
||||
Increments the reference count.
|
||||
|
||||
|
||||
\membersection{cbBarDimHandlerBase::OnChangeBarState}\label{cbbardimhandlerbaseonchangebarstate}
|
||||
|
||||
\func{void}{OnChangeBarState}{\param{cbBarInfo* }{pBar}, \param{int }{newState}}
|
||||
|
||||
Responds to "bar-state-changes" notifications.
|
||||
|
||||
|
||||
\membersection{cbBarDimHandlerBase::OnResizeBar}\label{cbbardimhandlerbaseonresizebar}
|
||||
|
||||
\func{void}{OnResizeBar}{\param{cbBarInfo* }{pBar}, \param{const wxSize\& }{given}, \param{wxSize\& }{preferred}}
|
||||
|
||||
Responds to bar resize notifications.
|
||||
|
||||
|
||||
\membersection{cbBarDimHandlerBase::RemoveRef}\label{cbbardimhandlerbaseremoveref}
|
||||
|
||||
\func{void}{RemoveRef}{\void}
|
||||
|
||||
Decrements the reference count, and if the count is at zero,
|
||||
delete 'this'.
|
||||
|
@@ -1,246 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% bardragpl.h at 21/Jan/02 21:14:17
|
||||
%
|
||||
|
||||
|
||||
\section{\class{cbBarDragPlugin}}\label{cbbardragplugin}
|
||||
|
||||
|
||||
Plugin class implementing bar dragging.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{cbPluginBase}{cbpluginbase}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/bardragpl.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{cbBarDragPlugin::cbBarDragPlugin}\label{cbbardragplugincbbardragplugin}
|
||||
|
||||
\func{}{cbBarDragPlugin}{\void}
|
||||
|
||||
Default constructor.
|
||||
|
||||
|
||||
\func{}{cbBarDragPlugin}{\param{wxFrameLayout* }{pPanel}, \param{int }{paneMask = wxALL\_PANES}}
|
||||
|
||||
Constructor taking a parent frame, and flag. See cbPluginBase.
|
||||
|
||||
|
||||
\membersection{cbBarDragPlugin::\destruct{cbBarDragPlugin}}\label{cbbardragplugindtor}
|
||||
|
||||
\func{}{\destruct{cbBarDragPlugin}}{\void}
|
||||
|
||||
Destructor.
|
||||
|
||||
|
||||
\membersection{cbBarDragPlugin::AdjustHintRect}\label{cbbardragpluginadjusthintrect}
|
||||
|
||||
\func{void}{AdjustHintRect}{\param{wxPoint\& }{mousePos}}
|
||||
|
||||
the thicker rectangle is drawn using hatched brush,
|
||||
the default border width for this rectangle is 8 pix.
|
||||
Internal implementation function.
|
||||
|
||||
|
||||
\membersection{cbBarDragPlugin::CalcOnScreenDims}\label{cbbardragplugincalconscreendims}
|
||||
|
||||
\func{void}{CalcOnScreenDims}{\param{wxRect\& }{rect}}
|
||||
|
||||
Internal implementation function.
|
||||
|
||||
|
||||
\membersection{cbBarDragPlugin::ClipPosInFrame}\label{cbbardragpluginclipposinframe}
|
||||
|
||||
\func{void}{ClipPosInFrame}{\param{wxPoint\& }{pos}}
|
||||
|
||||
Internal implementation function.
|
||||
|
||||
|
||||
\membersection{cbBarDragPlugin::ClipRectInFrame}\label{cbbardragplugincliprectinframe}
|
||||
|
||||
\func{void}{ClipRectInFrame}{\param{wxRect\& }{rect}}
|
||||
|
||||
Internal implementation function.
|
||||
|
||||
|
||||
\membersection{cbBarDragPlugin::DoDrawHintRect}\label{cbbardragplugindodrawhintrect}
|
||||
|
||||
\func{void}{DoDrawHintRect}{\param{wxRect\& }{rect}, \param{bool }{isInClientRect}}
|
||||
|
||||
Internal implementation function.
|
||||
Draw the hint rectangle.
|
||||
|
||||
|
||||
\membersection{cbBarDragPlugin::DrawHintRect}\label{cbbardragplugindrawhintrect}
|
||||
|
||||
\func{void}{DrawHintRect}{\param{wxRect\& }{rect}, \param{bool }{isInClientRect}}
|
||||
|
||||
Internal implementation function.
|
||||
Draw the visual hint while dragging.
|
||||
|
||||
|
||||
\membersection{cbBarDragPlugin::EraseHintRect}\label{cbbardragpluginerasehintrect}
|
||||
|
||||
\func{void}{EraseHintRect}{\param{wxRect\& }{rect}, \param{bool }{isInClientRect}}
|
||||
|
||||
Internal implementation function.
|
||||
Erase the visual hint while dragging.
|
||||
|
||||
|
||||
\membersection{cbBarDragPlugin::FinishTracking}\label{cbbardragpluginfinishtracking}
|
||||
|
||||
\func{void}{FinishTracking}{\void}
|
||||
|
||||
Internal implementation function.
|
||||
Stop showing the visual hint while dragging.
|
||||
|
||||
|
||||
\membersection{cbBarDragPlugin::GetBarHeightInPane}\label{cbbardragplugingetbarheightinpane}
|
||||
|
||||
\func{int}{GetBarHeightInPane}{\param{cbDockPane* }{pPane}}
|
||||
|
||||
Internal implementation function.
|
||||
|
||||
|
||||
\membersection{cbBarDragPlugin::GetBarWidthInPane}\label{cbbardragplugingetbarwidthinpane}
|
||||
|
||||
\func{int}{GetBarWidthInPane}{\param{cbDockPane* }{pPane}}
|
||||
|
||||
Internal implementation function.
|
||||
|
||||
|
||||
\membersection{cbBarDragPlugin::GetDistanceToPane}\label{cbbardragplugingetdistancetopane}
|
||||
|
||||
\func{int}{GetDistanceToPane}{\param{cbDockPane* }{pPane}, \param{wxPoint\& }{mousePos}}
|
||||
|
||||
Internal implementation function.
|
||||
|
||||
|
||||
\membersection{cbBarDragPlugin::HitTestPanes}\label{cbbardragpluginhittestpanes}
|
||||
|
||||
\func{cbDockPane*}{HitTestPanes}{\param{wxRect\& }{rect}}
|
||||
|
||||
Internal implementation function. Finds the pane
|
||||
under the specified rectangle.
|
||||
|
||||
|
||||
\func{cbDockPane*}{HitTestPanes}{\param{wxPoint\& }{pos}}
|
||||
|
||||
Internal implementation function. Finds the pane
|
||||
under the specified point.
|
||||
|
||||
|
||||
\membersection{cbBarDragPlugin::HitsPane}\label{cbbardragpluginhitspane}
|
||||
|
||||
\func{bool}{HitsPane}{\param{cbDockPane* }{pPane}, \param{wxRect\& }{rect}}
|
||||
|
||||
Internal implementation function.
|
||||
|
||||
|
||||
\membersection{cbBarDragPlugin::IsInClientArea}\label{cbbardragpluginisinclientarea}
|
||||
|
||||
\func{bool}{IsInClientArea}{\param{wxPoint\& }{mousePos}}
|
||||
|
||||
Internal implementation function.
|
||||
|
||||
|
||||
\func{bool}{IsInClientArea}{\param{wxRect\& }{rect}}
|
||||
|
||||
Internal implementation function.
|
||||
|
||||
|
||||
\membersection{cbBarDragPlugin::IsInOtherPane}\label{cbbardragpluginisinotherpane}
|
||||
|
||||
\func{bool}{IsInOtherPane}{\param{wxPoint\& }{mousePos}}
|
||||
|
||||
Internal implementation function.
|
||||
|
||||
|
||||
\membersection{cbBarDragPlugin::OnDrawHintRect}\label{cbbardragpluginondrawhintrect}
|
||||
|
||||
\func{void}{OnDrawHintRect}{\param{cbDrawHintRectEvent\& }{event}}
|
||||
|
||||
Handles event, which originates from itself.
|
||||
|
||||
|
||||
\membersection{cbBarDragPlugin::OnLButtonDown}\label{cbbardragpluginonlbuttondown}
|
||||
|
||||
\func{void}{OnLButtonDown}{\param{cbLeftDownEvent\& }{event}}
|
||||
|
||||
Handler for plugin event.
|
||||
|
||||
|
||||
\membersection{cbBarDragPlugin::OnLButtonUp}\label{cbbardragpluginonlbuttonup}
|
||||
|
||||
\func{void}{OnLButtonUp}{\param{cbLeftUpEvent\& }{event}}
|
||||
|
||||
Handler for plugin event.
|
||||
|
||||
|
||||
\membersection{cbBarDragPlugin::OnLDblClick}\label{cbbardragpluginonldblclick}
|
||||
|
||||
\func{void}{OnLDblClick}{\param{cbLeftDClickEvent\& }{event}}
|
||||
|
||||
Handler for plugin event.
|
||||
|
||||
|
||||
\membersection{cbBarDragPlugin::OnMouseMove}\label{cbbardragpluginonmousemove}
|
||||
|
||||
\func{void}{OnMouseMove}{\param{cbMotionEvent\& }{event}}
|
||||
|
||||
Handler for plugin event.
|
||||
|
||||
|
||||
\membersection{cbBarDragPlugin::OnStartBarDragging}\label{cbbardragpluginonstartbardragging}
|
||||
|
||||
\func{void}{OnStartBarDragging}{\param{cbStartBarDraggingEvent\& }{event}}
|
||||
|
||||
Handler for plugin event.
|
||||
|
||||
|
||||
\membersection{cbBarDragPlugin::RectToScr}\label{cbbardragpluginrecttoscr}
|
||||
|
||||
\func{void}{RectToScr}{\param{wxRect\& }{frameRect}, \param{wxRect\& }{scrRect}}
|
||||
|
||||
Internal implementation function.
|
||||
Converts the given rectangle from window to screen coordinates.
|
||||
|
||||
|
||||
\membersection{cbBarDragPlugin::ShowHint}\label{cbbardragpluginshowhint}
|
||||
|
||||
\func{void}{ShowHint}{\param{bool }{prevWasInClient}}
|
||||
|
||||
Internal implementation function.
|
||||
Show the hint; called within OnMouseMove.
|
||||
|
||||
|
||||
\membersection{cbBarDragPlugin::StartTracking}\label{cbbardragpluginstarttracking}
|
||||
|
||||
\func{void}{StartTracking}{\void}
|
||||
|
||||
on-screen hint-tracking related methods
|
||||
Internal implementation function.
|
||||
Start showing a visual hint while dragging.
|
||||
|
||||
|
||||
\membersection{cbBarDragPlugin::StickToPane}\label{cbbardragpluginsticktopane}
|
||||
|
||||
\func{void}{StickToPane}{\param{cbDockPane* }{pPane}, \param{wxPoint\& }{mousePos}}
|
||||
|
||||
Internal implementation function.
|
||||
|
||||
|
||||
\membersection{cbBarDragPlugin::UnstickFromPane}\label{cbbardragpluginunstickfrompane}
|
||||
|
||||
\func{void}{UnstickFromPane}{\param{cbDockPane* }{pPane}, \param{wxPoint\& }{mousePos}}
|
||||
|
||||
Internal implementation function.
|
||||
|
@@ -1,155 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% barhintspl.h at 21/Jan/02 21:14:18
|
||||
%
|
||||
|
||||
|
||||
\section{\class{cbBarHintsPlugin}}\label{cbbarhintsplugin}
|
||||
|
||||
|
||||
This class intercepts bar-decoration and sizing events, and draws 3D hints
|
||||
around fixed and flexible bars, similar to those in Microsoft DevStudio 6.x
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{cbPluginBase}{cbpluginbase}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/barhintspl.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{cbBarHintsPlugin::cbBarHintsPlugin}\label{cbbarhintsplugincbbarhintsplugin}
|
||||
|
||||
\func{}{cbBarHintsPlugin}{\void}
|
||||
|
||||
Default constructor.
|
||||
|
||||
|
||||
\func{}{cbBarHintsPlugin}{\param{wxFrameLayout* }{pLayout}, \param{int }{paneMask = wxALL\_PANES}}
|
||||
|
||||
Constructor, taking parent frame and pane mask flag.
|
||||
|
||||
|
||||
\membersection{cbBarHintsPlugin::\destruct{cbBarHintsPlugin}}\label{cbbarhintsplugindtor}
|
||||
|
||||
\func{}{\destruct{cbBarHintsPlugin}}{\void}
|
||||
|
||||
Destructor.
|
||||
|
||||
|
||||
\membersection{cbBarHintsPlugin::CreateBoxes}\label{cbbarhintsplugincreateboxes}
|
||||
|
||||
\func{void}{CreateBoxes}{\void}
|
||||
|
||||
Helper function: creates close and collapse boxes.
|
||||
|
||||
|
||||
\membersection{cbBarHintsPlugin::DoDrawHint}\label{cbbarhintsplugindodrawhint}
|
||||
|
||||
\func{void}{DoDrawHint}{\param{wxDC\& }{dc}, \param{wxRect\& }{rect}, \param{int }{pos}, \param{int }{boxOfs}, \param{int }{grooveOfs}, \param{bool }{isFixed}}
|
||||
|
||||
Helper function: draws a hint.
|
||||
|
||||
|
||||
\membersection{cbBarHintsPlugin::Draw3DBox}\label{cbbarhintsplugindraw3dbox}
|
||||
|
||||
\func{void}{Draw3DBox}{\param{wxDC\& }{dc}, \param{const wxPoint\& }{pos}, \param{bool }{pressed}}
|
||||
|
||||
Helper function: draws a 3D box.
|
||||
|
||||
|
||||
\membersection{cbBarHintsPlugin::DrawCloseBox}\label{cbbarhintsplugindrawclosebox}
|
||||
|
||||
\func{void}{DrawCloseBox}{\param{wxDC\& }{dc}, \param{const wxPoint\& }{pos}, \param{bool }{pressed}}
|
||||
|
||||
Helper function: draws a close box.
|
||||
|
||||
|
||||
\membersection{cbBarHintsPlugin::DrawCollapseBox}\label{cbbarhintsplugindrawcollapsebox}
|
||||
|
||||
\func{void}{DrawCollapseBox}{\param{wxDC\& }{dc}, \param{const wxPoint\& }{pos}, \param{bool }{atLeft}, \param{bool }{disabled}, \param{bool }{pressed}}
|
||||
|
||||
Helper function: draws a collapse box.
|
||||
|
||||
|
||||
\membersection{cbBarHintsPlugin::DrawGrooves}\label{cbbarhintsplugindrawgrooves}
|
||||
|
||||
\func{void}{DrawGrooves}{\param{wxDC\& }{dc}, \param{const wxPoint\& }{pos}, \param{int }{length}}
|
||||
|
||||
Helper function: draws grooves.
|
||||
|
||||
|
||||
\membersection{cbBarHintsPlugin::ExcludeHints}\label{cbbarhintspluginexcludehints}
|
||||
|
||||
\func{void}{ExcludeHints}{\param{wxRect\& }{rect}, \param{cbBarInfo\& }{info}}
|
||||
|
||||
Helper function.
|
||||
|
||||
|
||||
\membersection{cbBarHintsPlugin::GetHintsLayout}\label{cbbarhintsplugingethintslayout}
|
||||
|
||||
\func{void}{GetHintsLayout}{\param{wxRect\& }{rect}, \param{cbBarInfo\& }{info}, \param{int\& }{boxOfs}, \param{int\& }{grooveOfs}, \param{int\& }{pos}}
|
||||
|
||||
Helper function: gets the layout of a hint.
|
||||
|
||||
|
||||
\membersection{cbBarHintsPlugin::HitTestHints}\label{cbbarhintspluginhittesthints}
|
||||
|
||||
\func{int}{HitTestHints}{\param{cbBarInfo\& }{info}, \param{const wxPoint\& }{pos}}
|
||||
|
||||
Helper function: returns information about the hint under the given position.
|
||||
|
||||
|
||||
\membersection{cbBarHintsPlugin::OnDrawBarDecorations}\label{cbbarhintspluginondrawbardecorations}
|
||||
|
||||
\func{void}{OnDrawBarDecorations}{\param{cbDrawBarDecorEvent\& }{event}}
|
||||
|
||||
Handles a plugin event.
|
||||
|
||||
|
||||
\membersection{cbBarHintsPlugin::OnInitPlugin}\label{cbbarhintspluginoninitplugin}
|
||||
|
||||
\func{void}{OnInitPlugin}{\void}
|
||||
|
||||
Called to initialize this plugin.
|
||||
|
||||
|
||||
\membersection{cbBarHintsPlugin::OnLeftDown}\label{cbbarhintspluginonleftdown}
|
||||
|
||||
\func{void}{OnLeftDown}{\param{cbLeftDownEvent\& }{event}}
|
||||
|
||||
Handles a plugin event.
|
||||
|
||||
|
||||
\membersection{cbBarHintsPlugin::OnLeftUp}\label{cbbarhintspluginonleftup}
|
||||
|
||||
\func{void}{OnLeftUp}{\param{cbLeftUpEvent\& }{event}}
|
||||
|
||||
Handles a plugin event.
|
||||
|
||||
|
||||
\membersection{cbBarHintsPlugin::OnMotion}\label{cbbarhintspluginonmotion}
|
||||
|
||||
\func{void}{OnMotion}{\param{cbMotionEvent\& }{event}}
|
||||
|
||||
Handles a plugin event.
|
||||
|
||||
|
||||
\membersection{cbBarHintsPlugin::OnSizeBarWindow}\label{cbbarhintspluginonsizebarwindow}
|
||||
|
||||
\func{void}{OnSizeBarWindow}{\param{cbSizeBarWndEvent\& }{event}}
|
||||
|
||||
Handles a plugin event.
|
||||
|
||||
|
||||
\membersection{cbBarHintsPlugin::SetGrooveCount}\label{cbbarhintspluginsetgroovecount}
|
||||
|
||||
\func{void}{SetGrooveCount}{\param{int }{nGrooves}}
|
||||
|
||||
Set the number of grooves to be shown in the pane.
|
||||
|
@@ -1,52 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% controlbar.h at 21/Jan/02 21:14:14
|
||||
%
|
||||
|
||||
|
||||
\section{\class{cbBarInfo}}\label{cbbarinfo}
|
||||
|
||||
|
||||
Helper class used internally by the wxFrameLayout class.
|
||||
Holds and manages bar information.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{wxObject}{wxobject}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/controlbar.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{cbBarInfo::cbBarInfo}\label{cbbarinfocbbarinfo}
|
||||
|
||||
\func{}{cbBarInfo}{\void}
|
||||
|
||||
Constructor.
|
||||
|
||||
|
||||
\membersection{cbBarInfo::\destruct{cbBarInfo}}\label{cbbarinfodtor}
|
||||
|
||||
\func{}{\destruct{cbBarInfo}}{\void}
|
||||
|
||||
Destructor.
|
||||
|
||||
|
||||
\membersection{cbBarInfo::IsExpanded}\label{cbbarinfoisexpanded}
|
||||
|
||||
\constfunc{bool}{IsExpanded}{\void}
|
||||
|
||||
Returns TRUE if this bar is expanded.
|
||||
|
||||
|
||||
\membersection{cbBarInfo::IsFixed}\label{cbbarinfoisfixed}
|
||||
|
||||
\constfunc{bool}{IsFixed}{\void}
|
||||
|
||||
Returns TRUE if this bar is fixed.
|
||||
|
@@ -1,22 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% controlbar.h at 21/Jan/02 21:14:14
|
||||
%
|
||||
|
||||
|
||||
\section{\class{cbBarShapeData}}\label{cbbarshapedata}
|
||||
|
||||
|
||||
Used for storing the original bar's positions in the row, when the 'non-destructive-friction'
|
||||
option is turned on.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{wxObject}{wxobject}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/controlbar.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
@@ -1,72 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% controlbar.h at 21/Jan/02 21:14:13
|
||||
%
|
||||
|
||||
|
||||
\section{\class{cbBarSpy}}\label{cbbarspy}
|
||||
|
||||
|
||||
Helper class, used for spying for unhandled mouse events on control bars
|
||||
and forwarding them to the frame layout.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{wxEvtHandler}{wxevthandler}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/controlbar.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
{\small \begin{verbatim}
|
||||
typedef cbBarInfo* BarInfoPtrT
|
||||
\end{verbatim}}
|
||||
forward declarations
|
||||
|
||||
{\small \begin{verbatim}
|
||||
typedef cbRowInfo* RowInfoPtrT
|
||||
\end{verbatim}}
|
||||
enumeration of hittest results, see cbDockPane::HitTestPaneItems(..)
|
||||
\begin{verbatim}
|
||||
enum CB_HITTEST_RESULT
|
||||
{
|
||||
CB_NO_ITEMS_HITTED,
|
||||
|
||||
CB_UPPER_ROW_HANDLE_HITTED,
|
||||
CB_LOWER_ROW_HANDLE_HITTED,
|
||||
CB_LEFT_BAR_HANDLE_HITTED,
|
||||
CB_RIGHT_BAR_HANDLE_HITTED,
|
||||
CB_BAR_CONTENT_HITTED
|
||||
}
|
||||
\end{verbatim}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{cbBarSpy::cbBarSpy}\label{cbbarspycbbarspy}
|
||||
|
||||
\func{}{cbBarSpy}{\param{wxFrameLayout* }{pPanel}}
|
||||
|
||||
Constructor, taking a parent pane.
|
||||
|
||||
|
||||
\func{}{cbBarSpy}{\void}
|
||||
|
||||
Default constructor.
|
||||
|
||||
|
||||
\membersection{cbBarSpy::ProcessEvent}\label{cbbarspyprocessevent}
|
||||
|
||||
\func{bool}{ProcessEvent}{\param{wxEvent\& }{event}}
|
||||
|
||||
Performs special event processing.
|
||||
|
||||
|
||||
\membersection{cbBarSpy::SetBarWindow}\label{cbbarspysetbarwindow}
|
||||
|
||||
\func{void}{SetBarWindow}{\param{wxWindow* }{pWnd}}
|
||||
|
||||
Sets the bar window.
|
||||
|
@@ -1,30 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% toolwnd.h at 21/Jan/02 21:14:17
|
||||
%
|
||||
|
||||
|
||||
\section{\class{cbCloseBox}}\label{cbclosebox}
|
||||
|
||||
|
||||
cbCloseBox is a window close button, used in a wxToolWindow titlebar.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{cbMiniButton}{cbminibutton}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/toolwnd.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{cbCloseBox::Draw}\label{cbcloseboxdraw}
|
||||
|
||||
\func{void}{Draw}{\param{wxDC\& }{dc}}
|
||||
|
||||
Draws the close button appearance.
|
||||
|
@@ -1,30 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% toolwnd.h at 21/Jan/02 21:14:17
|
||||
%
|
||||
|
||||
|
||||
\section{\class{cbCollapseBox}}\label{cbcollapsebox}
|
||||
|
||||
|
||||
cbCollapseBox is a window collapse button, used in a wxToolWindow titlebar.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{cbMiniButton}{cbminibutton}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/toolwnd.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{cbCollapseBox::Draw}\label{cbcollapseboxdraw}
|
||||
|
||||
\func{void}{Draw}{\param{wxDC\& }{dc}}
|
||||
|
||||
Draws the collapse button appearance.
|
||||
|
@@ -1,58 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% controlbar.h at 21/Jan/02 21:14:14
|
||||
%
|
||||
|
||||
\section{\class{cbCommonPaneProperties}}\label{cbcommonpaneproperties}
|
||||
|
||||
A structure holding configuration options,
|
||||
which are usually the same for all panes in
|
||||
a frame layout. For an explanation of the data members, please
|
||||
see \helpref{Controlling dragging behaviour}{controllingdragbehav}.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{wxObject}{wxobject}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/controlbar.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\begin{verbatim}
|
||||
class cbCommonPaneProperties : public wxObject
|
||||
{
|
||||
DECLARE_DYNAMIC_CLASS( cbCommonPaneProperties )
|
||||
|
||||
// Look-and-feel configuration
|
||||
|
||||
bool mRealTimeUpdatesOn; // default: ON
|
||||
bool mOutOfPaneDragOn; // default: ON
|
||||
bool mExactDockPredictionOn; // default: OFF
|
||||
bool mNonDestructFrictionOn; // default: OFF
|
||||
|
||||
bool mShow3DPaneBorderOn; // default: ON
|
||||
|
||||
// The following properties are reserved for the "future"
|
||||
|
||||
bool mBarFloatingOn; // default: OFF
|
||||
bool mRowProportionsOn; // default: OFF
|
||||
bool mColProportionsOn; // default: ON
|
||||
bool mBarCollapseIconsOn; // default: OFF
|
||||
bool mBarDragHintsOn; // default: OFF
|
||||
|
||||
// Minimal dimensions for not-fixed bars in this pane (16x16 default)
|
||||
|
||||
wxSize mMinCBarDim;
|
||||
|
||||
// Width/height of resizing sash
|
||||
|
||||
int mResizeHandleSize;
|
||||
|
||||
// Default constructor.
|
||||
|
||||
cbCommonPaneProperties(void);
|
||||
};
|
||||
\end{verbatim}
|
||||
|
@@ -1,30 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% controlbar.h at 21/Jan/02 21:14:17
|
||||
%
|
||||
|
||||
|
||||
\section{\class{cbCustomizeBarEvent}}\label{cbcustomizebarevent}
|
||||
|
||||
|
||||
Class for bar customization events.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{cbPluginEvent}{cbpluginevent}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/controlbar.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{cbCustomizeBarEvent::cbCustomizeBarEvent}\label{cbcustomizebareventcbcustomizebarevent}
|
||||
|
||||
\func{}{cbCustomizeBarEvent}{\param{cbBarInfo* }{pBar}, \param{const wxPoint\& }{clickPos}, \param{cbDockPane* }{pPane}}
|
||||
|
||||
Constructor, taking bar information, mouse position, and pane.
|
||||
|
@@ -1,30 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% controlbar.h at 21/Jan/02 21:14:17
|
||||
%
|
||||
|
||||
|
||||
\section{\class{cbCustomizeLayoutEvent}}\label{cbcustomizelayoutevent}
|
||||
|
||||
|
||||
Class for layout customization events.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{cbPluginEvent}{cbpluginevent}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/controlbar.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{cbCustomizeLayoutEvent::cbCustomizeLayoutEvent}\label{cbcustomizelayouteventcbcustomizelayoutevent}
|
||||
|
||||
\func{}{cbCustomizeLayoutEvent}{\param{const wxPoint\& }{clickPos}}
|
||||
|
||||
Constructor, taking mouse position.
|
||||
|
@@ -1,80 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% controlbar.h at 21/Jan/02 21:14:13
|
||||
%
|
||||
|
||||
|
||||
\section{\class{cbDimInfo}}\label{cbdiminfo}
|
||||
|
||||
|
||||
Helper class used internally by the wxFrameLayout class.
|
||||
Holds and manages information about bar dimensions.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{wxObject}{wxobject}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/controlbar.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{cbDimInfo::cbDimInfo}\label{cbdiminfocbdiminfo}
|
||||
|
||||
\func{}{cbDimInfo}{\param{cbBarDimHandlerBase* }{pDimHandler}, \param{bool }{isFixed}}
|
||||
|
||||
Constructor.
|
||||
isFixed is TRUE if vertical/horizontal dimensions cannot be manually adjusted
|
||||
by the user using resizing handles. If FALSE, the frame-layout
|
||||
automatically places resizing handles among bars that do are not fixed.
|
||||
|
||||
|
||||
\func{}{cbDimInfo}{\param{int }{dh\_x}, \param{int }{dh\_y}, \param{int }{dv\_x}, \param{int }{dv\_y}, \param{int }{f\_x}, \param{int }{f\_y}, \param{bool }{isFixed = TRUE}, \param{int }{horizGap = 6}, \param{int }{vertGap = 6}, \param{cbBarDimHandlerBase* }{pDimHandler = NULL}}
|
||||
|
||||
Constructor taking dimenstion information.
|
||||
dh\_x, dh\_y are the dimensions when docked horizontally.
|
||||
dv\_x, dv\_y are the dimensions when docked vertically.
|
||||
f\_x, f\_y are the dimensions when floating.
|
||||
For information on isFixed, see comments above.
|
||||
horizGap is the left/right gap, separating decorations
|
||||
from the bar's actual wndow, filled with the frame's background colour.
|
||||
The dimension is given in the frame's coordinates.
|
||||
vertGap is the top/bottom gap, separating decorations
|
||||
from the bar's actual wndow, filled with the frame's background colour.
|
||||
The dimension is given in the frame's coordinates.
|
||||
|
||||
|
||||
\func{}{cbDimInfo}{\param{int }{x}, \param{int }{y}, \param{bool }{isFixed = TRUE}, \param{int }{gap = 6}, \param{cbBarDimHandlerBase* }{pDimHandler = NULL}}
|
||||
|
||||
Constructor.
|
||||
|
||||
|
||||
\func{}{cbDimInfo}{\void}
|
||||
|
||||
Default constructor.
|
||||
|
||||
|
||||
\membersection{cbDimInfo::\destruct{cbDimInfo}}\label{cbdiminfodtor}
|
||||
|
||||
\func{}{\destruct{cbDimInfo}}{\void}
|
||||
|
||||
Destructor. Destroys handler automatically, if present.
|
||||
|
||||
|
||||
\membersection{cbDimInfo::GetDimHandler}\label{cbdiminfogetdimhandler}
|
||||
|
||||
\func{cbBarDimHandlerBase*}{GetDimHandler}{\void}
|
||||
|
||||
Returns the handler, if any.
|
||||
|
||||
|
||||
\membersection{cbDimInfo::operator=}\label{cbdiminfooperatorassign}
|
||||
|
||||
\func{const cbDimInfo\& operator}{operator=}{\param{const cbDimInfo\& }{other}}
|
||||
|
||||
Assignment operator.
|
||||
|
@@ -1,30 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% toolwnd.h at 21/Jan/02 21:14:17
|
||||
%
|
||||
|
||||
|
||||
\section{\class{cbDockBox}}\label{cbdockbox}
|
||||
|
||||
|
||||
cbDockBox is a window dock button, used in a wxToolWindow titlebar.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{cbMiniButton}{cbminibutton}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/toolwnd.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{cbDockBox::Draw}\label{cbdockboxdraw}
|
||||
|
||||
\func{void}{Draw}{\param{wxDC\& }{dc}}
|
||||
|
||||
Draws the dock button appearance.
|
||||
|
@@ -1,578 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% controlbar.h at 21/Jan/02 21:14:14
|
||||
%
|
||||
|
||||
|
||||
\section{\class{cbDockPane}}\label{cbdockpane}
|
||||
|
||||
|
||||
This class manages containment and control of control bars
|
||||
along one of the four edges of the parent frame.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{wxObject}{wxobject}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/controlbar.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{cbDockPane::cbDockPane}\label{cbdockpanecbdockpane}
|
||||
|
||||
\func{}{cbDockPane}{\param{int }{alignment}, \param{wxFrameLayout* }{pPanel}}
|
||||
|
||||
Constructor, taking alignment and layout panel.
|
||||
|
||||
|
||||
\func{}{cbDockPane}{\void}
|
||||
|
||||
public members Default constructor.
|
||||
|
||||
|
||||
\membersection{cbDockPane::\destruct{cbDockPane}}\label{cbdockpanedtor}
|
||||
|
||||
\func{}{\destruct{cbDockPane}}{\void}
|
||||
|
||||
Destructor.
|
||||
|
||||
|
||||
\membersection{cbDockPane::BarPresent}\label{cbdockpanebarpresent}
|
||||
|
||||
\func{bool}{BarPresent}{\param{cbBarInfo* }{pBar}}
|
||||
|
||||
Returns TRUE if the given bar is present in this pane.
|
||||
|
||||
|
||||
\membersection{cbDockPane::CalcLengthRatios}\label{cbdockpanecalclengthratios}
|
||||
|
||||
\func{void}{CalcLengthRatios}{\param{cbRowInfo* }{pInRow}}
|
||||
|
||||
Calculate lengths.
|
||||
Internal function called by plugins.
|
||||
|
||||
|
||||
\membersection{cbDockPane::ContractBar}\label{cbdockpanecontractbar}
|
||||
|
||||
\func{void}{ContractBar}{\param{cbBarInfo* }{pBar}}
|
||||
|
||||
Contracts the bar.
|
||||
Internal function called by plugins.
|
||||
|
||||
|
||||
\membersection{cbDockPane::DoInsertBar}\label{cbdockpanedoinsertbar}
|
||||
|
||||
\func{void}{DoInsertBar}{\param{cbBarInfo* }{pBar}, \param{int }{rowNo}}
|
||||
|
||||
Inserts the bar at the given row number.
|
||||
Internal function called by plugins.
|
||||
|
||||
|
||||
\membersection{cbDockPane::DrawHorizHandle}\label{cbdockpanedrawhorizhandle}
|
||||
|
||||
\func{void}{DrawHorizHandle}{\param{wxDC\& }{dc}, \param{int }{x}, \param{int }{y}, \param{int }{width}}
|
||||
|
||||
Row/bar resizing related helper-method.
|
||||
|
||||
|
||||
\membersection{cbDockPane::DrawVertHandle}\label{cbdockpanedrawverthandle}
|
||||
|
||||
\func{void}{DrawVertHandle}{\param{wxDC\& }{dc}, \param{int }{x}, \param{int }{y}, \param{int }{height}}
|
||||
|
||||
protected really (accessed only by plugins) Row/bar resizing related helper-method.
|
||||
|
||||
|
||||
\membersection{cbDockPane::ExpandBar}\label{cbdockpaneexpandbar}
|
||||
|
||||
\func{void}{ExpandBar}{\param{cbBarInfo* }{pBar}}
|
||||
|
||||
Expands the bar.
|
||||
Internal function called by plugins.
|
||||
|
||||
|
||||
\membersection{cbDockPane::FinishDrawInArea}\label{cbdockpanefinishdrawinarea}
|
||||
|
||||
\func{void}{FinishDrawInArea}{\param{const wxRect\& }{area}}
|
||||
|
||||
Generates cbFinishDrawInAreaEvent and sends it to the layout.
|
||||
Internal function called by plugins.
|
||||
|
||||
|
||||
\membersection{cbDockPane::FrameToPane}\label{cbdockpaneframetopane}
|
||||
|
||||
\func{void}{FrameToPane}{\param{int* }{x}, \param{int* }{y}}
|
||||
|
||||
Coordinate translation between parent's frame and this pane.
|
||||
Internal function called by plugins.
|
||||
|
||||
|
||||
\func{void}{FrameToPane}{\param{wxRect* }{pRect}}
|
||||
|
||||
Coordinate translation between parent's frame and this pane.
|
||||
Internal function called by plugins.
|
||||
|
||||
|
||||
\membersection{cbDockPane::GetAlignment}\label{cbdockpanegetalignment}
|
||||
|
||||
\func{int}{GetAlignment}{\void}
|
||||
|
||||
Returns the alignment for this pane. The value is one of
|
||||
FL\_ALIGN\_TOP, FL\_ALIGN\_BOTTOM, FL\_ALIGN\_LEFT, FL\_ALIGN\_RIGHT.
|
||||
|
||||
|
||||
\membersection{cbDockPane::GetBarInfoByWindow}\label{cbdockpanegetbarinfobywindow}
|
||||
|
||||
\func{cbBarInfo*}{GetBarInfoByWindow}{\param{wxWindow* }{pBarWnd}}
|
||||
|
||||
Finds the bar information by corresponding window.
|
||||
|
||||
|
||||
\membersection{cbDockPane::GetBarResizeRange}\label{cbdockpanegetbarresizerange}
|
||||
|
||||
\func{void}{GetBarResizeRange}{\param{cbBarInfo* }{pBar}, \param{int* }{from}, \param{int* }{till}, \param{bool }{forLeftHandle}}
|
||||
|
||||
Returns the bar's resize range.
|
||||
|
||||
|
||||
\membersection{cbDockPane::GetDockingState}\label{cbdockpanegetdockingstate}
|
||||
|
||||
\func{int}{GetDockingState}{\void}
|
||||
|
||||
Returns wxCBAR\_DOCKED\_HORIZONTALLY if the alignment is top or bottom,
|
||||
or wxCBAR\_DOCKED\_VERTICALLY otherwise.
|
||||
|
||||
|
||||
\membersection{cbDockPane::GetFirstRow}\label{cbdockpanegetfirstrow}
|
||||
|
||||
\func{cbRowInfo*}{GetFirstRow}{\void}
|
||||
|
||||
Returns the first row.
|
||||
|
||||
|
||||
\membersection{cbDockPane::GetMinimalRowHeight}\label{cbdockpanegetminimalrowheight}
|
||||
|
||||
\func{int}{GetMinimalRowHeight}{\param{cbRowInfo* }{pRow}}
|
||||
|
||||
Returns the minimal row height for the given row.
|
||||
Internal function called by plugins.
|
||||
|
||||
|
||||
\membersection{cbDockPane::GetNotFixedBarsCount}\label{cbdockpanegetnotfixedbarscount}
|
||||
|
||||
\func{int}{GetNotFixedBarsCount}{\param{cbRowInfo* }{pRow}}
|
||||
|
||||
Returns the number of bars whose size is not fixed.
|
||||
Internal function called by plugins.
|
||||
|
||||
|
||||
\membersection{cbDockPane::GetPaneHeight}\label{cbdockpanegetpaneheight}
|
||||
|
||||
\func{int}{GetPaneHeight}{\void}
|
||||
|
||||
Returns the height in the pane's coordinates.
|
||||
|
||||
|
||||
\membersection{cbDockPane::GetRealRect}\label{cbdockpanegetrealrect}
|
||||
|
||||
\func{wxRect\&}{GetRealRect}{\void}
|
||||
|
||||
Returns the bounds of the pane, in parent coordinates.
|
||||
|
||||
|
||||
\membersection{cbDockPane::GetRow}\label{cbdockpanegetrow}
|
||||
|
||||
\func{cbRowInfo*}{GetRow}{\param{int }{row}}
|
||||
|
||||
protected really (accessed only by plugins) Returns the row info for a row index. Internal function called by plugins.
|
||||
|
||||
|
||||
\membersection{cbDockPane::GetRowAt}\label{cbdockpanegetrowat}
|
||||
|
||||
\func{int}{GetRowAt}{\param{int }{paneY}}
|
||||
|
||||
Returns the row at the given vertical position.
|
||||
Returns -1 if the row is not present at given vertical position.
|
||||
Internal function called by plugins.
|
||||
|
||||
|
||||
\func{int}{GetRowAt}{\param{int }{upperY}, \param{int }{lowerY}}
|
||||
|
||||
Returns the row between the given vertical positions.
|
||||
Returns -1 if the row is not present.
|
||||
Internal function called by plugins.
|
||||
|
||||
|
||||
\membersection{cbDockPane::GetRowIndex}\label{cbdockpanegetrowindex}
|
||||
|
||||
\func{int}{GetRowIndex}{\param{cbRowInfo* }{pRow}}
|
||||
|
||||
Returns the row index for the given row info. Internal function called by plugins.
|
||||
|
||||
|
||||
\membersection{cbDockPane::GetRowList}\label{cbdockpanegetrowlist}
|
||||
|
||||
\func{RowArrayT\&}{GetRowList}{\void}
|
||||
|
||||
Returns an array of rows. Used by updates-managers.
|
||||
|
||||
|
||||
\membersection{cbDockPane::GetRowResizeRange}\label{cbdockpanegetrowresizerange}
|
||||
|
||||
\func{void}{GetRowResizeRange}{\param{cbRowInfo* }{pRow}, \param{int* }{from}, \param{int* }{till}, \param{bool }{forUpperHandle}}
|
||||
|
||||
Returns the row's resize range.
|
||||
|
||||
|
||||
\membersection{cbDockPane::GetRowShapeData}\label{cbdockpanegetrowshapedata}
|
||||
|
||||
\func{void}{GetRowShapeData}{\param{cbRowInfo* }{pRow}, \param{wxList* }{pLst}}
|
||||
|
||||
Returns row shape data.
|
||||
cbBarShapeData objects will be added to the given pLst.
|
||||
cbBarShapeData is used for storing the original bar's positions in the row,
|
||||
when the 'non-destructive-friction' option is turned on.
|
||||
|
||||
|
||||
\membersection{cbDockPane::GetRowY}\label{cbdockpanegetrowy}
|
||||
|
||||
\func{int}{GetRowY}{\param{cbRowInfo* }{pRow}}
|
||||
|
||||
Gets the vertical position at the given row.
|
||||
Internal function called by plugins.
|
||||
|
||||
|
||||
\membersection{cbDockPane::HasNotFixedBarsLeft}\label{cbdockpanehasnotfixedbarsleft}
|
||||
|
||||
\func{bool}{HasNotFixedBarsLeft}{\param{cbBarInfo* }{pBar}}
|
||||
|
||||
Returns TRUE if there are any variable-sized rows to the left of this one.
|
||||
Internal function called by plugins.
|
||||
|
||||
|
||||
\membersection{cbDockPane::HasNotFixedBarsRight}\label{cbdockpanehasnotfixedbarsright}
|
||||
|
||||
\func{bool}{HasNotFixedBarsRight}{\param{cbBarInfo* }{pBar}}
|
||||
|
||||
Returns TRUE if there are any variable-sized rows to the right of this one.
|
||||
Internal function called by plugins.
|
||||
|
||||
|
||||
\membersection{cbDockPane::HasNotFixedRowsAbove}\label{cbdockpanehasnotfixedrowsabove}
|
||||
|
||||
\func{bool}{HasNotFixedRowsAbove}{\param{cbRowInfo* }{pRow}}
|
||||
|
||||
Returns TRUE if there are any variable-sized rows above this one.
|
||||
Internal function called by plugins.
|
||||
|
||||
|
||||
\membersection{cbDockPane::HasNotFixedRowsBelow}\label{cbdockpanehasnotfixedrowsbelow}
|
||||
|
||||
\func{bool}{HasNotFixedRowsBelow}{\param{cbRowInfo* }{pRow}}
|
||||
|
||||
Returns TRUE if there are any variable-sized rows below this one.
|
||||
Internal function called by plugins.
|
||||
|
||||
|
||||
\membersection{cbDockPane::HasPoint}\label{cbdockpanehaspoint}
|
||||
|
||||
\func{bool}{HasPoint}{\param{const wxPoint\& }{pos}, \param{int }{x}, \param{int }{y}, \param{int }{width}, \param{int }{height}}
|
||||
|
||||
Returns TRUE if pos is within the given rectangle.
|
||||
Internal function called by plugins.
|
||||
|
||||
|
||||
\membersection{cbDockPane::HitTestPaneItems}\label{cbdockpanehittestpaneitems}
|
||||
|
||||
\func{int}{HitTestPaneItems}{\param{const wxPoint\& }{pos}, \param{cbRowInfo** }{ppRow}, \param{cbBarInfo** }{ppBar}}
|
||||
|
||||
Returns the result of hit-testing items in the pane.
|
||||
See CB\_HITTEST\_RESULT enumerated type.
|
||||
pos is the position in this pane's coordinates.
|
||||
|
||||
|
||||
\membersection{cbDockPane::InitLinksForRow}\label{cbdockpaneinitlinksforrow}
|
||||
|
||||
\func{void}{InitLinksForRow}{\param{cbRowInfo* }{pRow}}
|
||||
|
||||
Sets up links between bars.
|
||||
Internal function called by plugins.
|
||||
|
||||
|
||||
\membersection{cbDockPane::InitLinksForRows}\label{cbdockpaneinitlinksforrows}
|
||||
|
||||
\func{void}{InitLinksForRows}{\void}
|
||||
|
||||
Sets up links between bars.
|
||||
Internal function called by plugins.
|
||||
|
||||
|
||||
\membersection{cbDockPane::InsertBar}\label{cbdockpaneinsertbar}
|
||||
|
||||
\func{void}{InsertBar}{\param{cbBarInfo* }{pBarInfo}}
|
||||
|
||||
Inserts bar and sets its position according to the preferred settings
|
||||
given in pBarInfo.
|
||||
|
||||
|
||||
\func{void}{InsertBar}{\param{cbBarInfo* }{pBar}, \param{const wxRect\& }{rect}}
|
||||
|
||||
Inserts the bar into this pane. rect is given in the parent frame's coordinates.
|
||||
|
||||
|
||||
\func{void}{InsertBar}{\param{cbBarInfo* }{pBar}, \param{cbRowInfo* }{pIntoRow}}
|
||||
|
||||
Inserts the bar into the given row, with dimensions and position
|
||||
stored in pBarInfo->mBounds. Returns the node of inserted bar.
|
||||
|
||||
|
||||
\membersection{cbDockPane::InsertRow}\label{cbdockpaneinsertrow}
|
||||
|
||||
\func{void}{InsertRow}{\param{cbRowInfo* }{pRow}, \param{cbRowInfo* }{pBeforeRow}}
|
||||
|
||||
Inserts a row. Does not refresh the inserted row immediately.
|
||||
If pBeforeRowNode is NULL, the row is appended to the end of pane's row list.
|
||||
|
||||
|
||||
\membersection{cbDockPane::IsFixedSize}\label{cbdockpaneisfixedsize}
|
||||
|
||||
\func{bool}{IsFixedSize}{\param{cbBarInfo* }{pInfo}}
|
||||
|
||||
Returns TRUE if the bar's dimension information indicates a fixed size.
|
||||
Internal function called by plugins.
|
||||
|
||||
|
||||
\membersection{cbDockPane::IsHorizontal}\label{cbdockpaneishorizontal}
|
||||
|
||||
\func{bool}{IsHorizontal}{\void}
|
||||
|
||||
Returns TRUE if the pane is aligned to the top or bottom.
|
||||
|
||||
|
||||
\membersection{cbDockPane::MatchesMask}\label{cbdockpanematchesmask}
|
||||
|
||||
\func{bool}{MatchesMask}{\param{int }{paneMask}}
|
||||
|
||||
Returns TRUE if the given mask matches the pane's mask.
|
||||
|
||||
|
||||
\membersection{cbDockPane::PaintBar}\label{cbdockpanepaintbar}
|
||||
|
||||
\func{void}{PaintBar}{\param{cbBarInfo* }{pBar}, \param{wxDC\& }{dc}}
|
||||
|
||||
Calls PaintBarDecorations and PaintBarHandles.
|
||||
Internal function called by plugins.
|
||||
|
||||
|
||||
\membersection{cbDockPane::PaintBarDecorations}\label{cbdockpanepaintbardecorations}
|
||||
|
||||
\func{void}{PaintBarDecorations}{\param{cbBarInfo* }{pBar}, \param{wxDC\& }{dc}}
|
||||
|
||||
protected really (accessed only by plugins) Generates a cbDrawBarDecorEvent and sends it to the layout to paint the bar decorations.
|
||||
Internal function called by plugins.
|
||||
|
||||
|
||||
\membersection{cbDockPane::PaintBarHandles}\label{cbdockpanepaintbarhandles}
|
||||
|
||||
\func{void}{PaintBarHandles}{\param{cbBarInfo* }{pBar}, \param{wxDC\& }{dc}}
|
||||
|
||||
Generates a cbDrawBarHandlesEvent and sends it to the layout to paint the bar handles.
|
||||
Internal function called by plugins.
|
||||
|
||||
|
||||
\membersection{cbDockPane::PaintPane}\label{cbdockpanepaintpane}
|
||||
|
||||
\func{void}{PaintPane}{\param{wxDC\& }{dc}}
|
||||
|
||||
Paints the pane background, the row background and decorations,
|
||||
and finally the pane decorations.
|
||||
Internal function called by plugins.
|
||||
|
||||
|
||||
\membersection{cbDockPane::PaintPaneBackground}\label{cbdockpanepaintpanebackground}
|
||||
|
||||
\func{void}{PaintPaneBackground}{\param{wxDC\& }{dc}}
|
||||
|
||||
Generates cbDrawPaneBkGroundEvent and sends it to the layout.
|
||||
Internal function called by plugins.
|
||||
|
||||
|
||||
\membersection{cbDockPane::PaintPaneDecorations}\label{cbdockpanepaintpanedecorations}
|
||||
|
||||
\func{void}{PaintPaneDecorations}{\param{wxDC\& }{dc}}
|
||||
|
||||
Generates cbDrawPaneDecorEvent and sends it to the layout.
|
||||
Internal function called by plugins.
|
||||
|
||||
|
||||
\membersection{cbDockPane::PaintRow}\label{cbdockpanepaintrow}
|
||||
|
||||
\func{void}{PaintRow}{\param{cbRowInfo* }{pRow}, \param{wxDC\& }{dc}}
|
||||
|
||||
Calls PaintRowBackground, PaintRowDecorations, PaintRowHandles.
|
||||
Internal function called by plugins.
|
||||
|
||||
|
||||
\membersection{cbDockPane::PaintRowBackground}\label{cbdockpanepaintrowbackground}
|
||||
|
||||
\func{void}{PaintRowBackground}{\param{cbRowInfo* }{pRow}, \param{wxDC\& }{dc}}
|
||||
|
||||
Generates cbDrawRowBkGroundEvent and sends it to the layout.
|
||||
Internal function called by plugins.
|
||||
|
||||
|
||||
\membersection{cbDockPane::PaintRowDecorations}\label{cbdockpanepaintrowdecorations}
|
||||
|
||||
\func{void}{PaintRowDecorations}{\param{cbRowInfo* }{pRow}, \param{wxDC\& }{dc}}
|
||||
|
||||
Calls PaintBarDecorations for each row.
|
||||
Internal function called by plugins.
|
||||
|
||||
|
||||
\membersection{cbDockPane::PaintRowHandles}\label{cbdockpanepaintrowhandles}
|
||||
|
||||
\func{void}{PaintRowHandles}{\param{cbRowInfo* }{pRow}, \param{wxDC\& }{dc}}
|
||||
|
||||
Generates cbDrawRowHandlesEvent and cbDrawRowDecorEvent and sends them to the layout.
|
||||
Internal function called by plugins.
|
||||
|
||||
|
||||
\membersection{cbDockPane::PaneToFrame}\label{cbdockpanepanetoframe}
|
||||
|
||||
\func{void}{PaneToFrame}{\param{wxRect* }{pRect}}
|
||||
|
||||
Coordinate translation between parent's frame and this pane.
|
||||
Internal function called by plugins.
|
||||
|
||||
|
||||
\func{void}{PaneToFrame}{\param{int* }{x}, \param{int* }{y}}
|
||||
|
||||
Coordinate translation between parent's frame and this pane.
|
||||
Internal function called by plugins.
|
||||
|
||||
|
||||
\membersection{cbDockPane::RecalcLayout}\label{cbdockpanerecalclayout}
|
||||
|
||||
\func{void}{RecalcLayout}{\void}
|
||||
|
||||
Generates events to perform layout calculations.
|
||||
|
||||
|
||||
\membersection{cbDockPane::RecalcRowLayout}\label{cbdockpanerecalcrowlayout}
|
||||
|
||||
\func{void}{RecalcRowLayout}{\param{cbRowInfo* }{pRow}}
|
||||
|
||||
Generates a cbLayoutRowEvent event to recalculate row layouts.
|
||||
Internal function called by plugins.
|
||||
|
||||
|
||||
\membersection{cbDockPane::RemoveBar}\label{cbdockpaneremovebar}
|
||||
|
||||
\func{void}{RemoveBar}{\param{cbBarInfo* }{pBar}}
|
||||
|
||||
Removes the bar from this pane. Does not destroy the bar.
|
||||
|
||||
|
||||
\membersection{cbDockPane::RemoveRow}\label{cbdockpaneremoverow}
|
||||
|
||||
\func{void}{RemoveRow}{\param{cbRowInfo* }{pRow}}
|
||||
|
||||
Removes the row from this pane. Does not destroy the row object.
|
||||
|
||||
|
||||
\membersection{cbDockPane::ResizeBar}\label{cbdockpaneresizebar}
|
||||
|
||||
\func{void}{ResizeBar}{\param{cbBarInfo* }{pBar}, \param{int }{ofs}, \param{bool }{forLeftHandle}}
|
||||
|
||||
Row/bar resizing related helper-method.
|
||||
|
||||
|
||||
\membersection{cbDockPane::ResizeRow}\label{cbdockpaneresizerow}
|
||||
|
||||
\func{void}{ResizeRow}{\param{cbRowInfo* }{pRow}, \param{int }{ofs}, \param{bool }{forUpperHandle}}
|
||||
|
||||
Row/bar resizing related helper-method.
|
||||
|
||||
|
||||
\membersection{cbDockPane::SetBoundsInParent}\label{cbdockpanesetboundsinparent}
|
||||
|
||||
\func{void}{SetBoundsInParent}{\param{const wxRect\& }{rect}}
|
||||
|
||||
Set the position and dimensions of the pane in the parent frame's coordinates.
|
||||
|
||||
|
||||
\membersection{cbDockPane::SetMargins}\label{cbdockpanesetmargins}
|
||||
|
||||
\func{void}{SetMargins}{\param{int }{top}, \param{int }{bottom}, \param{int }{left}, \param{int }{right}}
|
||||
|
||||
Sets pane's margins in frame's coordinate orientations.
|
||||
|
||||
|
||||
\membersection{cbDockPane::SetPaneWidth}\label{cbdockpanesetpanewidth}
|
||||
|
||||
\func{void}{SetPaneWidth}{\param{int }{width}}
|
||||
|
||||
Sets pane's width in the pane's coordinates (including margins).
|
||||
|
||||
|
||||
\membersection{cbDockPane::SetRowHeight}\label{cbdockpanesetrowheight}
|
||||
|
||||
\func{void}{SetRowHeight}{\param{cbRowInfo* }{pRow}, \param{int }{newHeight}}
|
||||
|
||||
Sets the row height for the given height. newHeight includes the height of row handles, if present.
|
||||
Internal function called by plugins.
|
||||
|
||||
|
||||
\membersection{cbDockPane::SetRowShapeData}\label{cbdockpanesetrowshapedata}
|
||||
|
||||
\func{void}{SetRowShapeData}{\param{cbRowInfo* }{pRowNode}, \param{wxList* }{pLst}}
|
||||
|
||||
Sets the shape data for the given row, using the data provided in pLst.
|
||||
cbBarShapeData is used for storing the original bar's positions in the row,
|
||||
when the 'non-destructive-friction' option is turned on.
|
||||
|
||||
|
||||
\membersection{cbDockPane::SizeBar}\label{cbdockpanesizebar}
|
||||
|
||||
\func{void}{SizeBar}{\param{cbBarInfo* }{pBar}}
|
||||
|
||||
Generates a cbSizeBarWndEvent and sends it to the layout.
|
||||
Internal function called by plugins.
|
||||
|
||||
|
||||
\membersection{cbDockPane::SizePaneObjects}\label{cbdockpanesizepaneobjects}
|
||||
|
||||
\func{void}{SizePaneObjects}{\void}
|
||||
|
||||
Calls SizeRowObjects for each row.
|
||||
Internal function called by plugins.
|
||||
|
||||
|
||||
\membersection{cbDockPane::SizeRowObjects}\label{cbdockpanesizerowobjects}
|
||||
|
||||
\func{void}{SizeRowObjects}{\param{cbRowInfo* }{pRow}}
|
||||
|
||||
Calls SizeBar for each bar in the row.
|
||||
Internal function called by plugins.
|
||||
|
||||
|
||||
\membersection{cbDockPane::StartDrawInArea}\label{cbdockpanestartdrawinarea}
|
||||
|
||||
\func{wxDC*}{StartDrawInArea}{\param{const wxRect\& }{area}}
|
||||
|
||||
Generates cbStartDrawInAreaEvent and sends it to the layout.
|
||||
Internal function called by plugins.
|
||||
|
||||
|
||||
\membersection{cbDockPane::SyncRowFlags}\label{cbdockpanesyncrowflags}
|
||||
|
||||
\func{void}{SyncRowFlags}{\param{cbRowInfo* }{pRow}}
|
||||
|
||||
Sets up flags in the row information structure, so that
|
||||
they match the changed state of row items correctly.
|
||||
Internal function called by plugins.
|
||||
|
@@ -1,30 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% controlbar.h at 21/Jan/02 21:14:16
|
||||
%
|
||||
|
||||
|
||||
\section{\class{cbDrawBarDecorEvent}}\label{cbdrawbardecorevent}
|
||||
|
||||
|
||||
Class for bar decoration drawing events.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{cbPluginEvent}{cbpluginevent}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/controlbar.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{cbDrawBarDecorEvent::cbDrawBarDecorEvent}\label{cbdrawbardecoreventcbdrawbardecorevent}
|
||||
|
||||
\func{}{cbDrawBarDecorEvent}{\param{cbBarInfo* }{pBar}, \param{wxDC\& }{dc}, \param{cbDockPane* }{pPane}}
|
||||
|
||||
Constructor, taking bar information, device context, and pane.
|
||||
|
@@ -1,30 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% controlbar.h at 21/Jan/02 21:14:16
|
||||
%
|
||||
|
||||
|
||||
\section{\class{cbDrawBarHandlesEvent}}\label{cbdrawbarhandlesevent}
|
||||
|
||||
|
||||
Class for bar handles drawing events.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{cbPluginEvent}{cbpluginevent}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/controlbar.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{cbDrawBarHandlesEvent::cbDrawBarHandlesEvent}\label{cbdrawbarhandleseventcbdrawbarhandlesevent}
|
||||
|
||||
\func{}{cbDrawBarHandlesEvent}{\param{cbBarInfo* }{pBar}, \param{wxDC\& }{dc}, \param{cbDockPane* }{pPane}}
|
||||
|
||||
Constructor, taking bar information, device context, and pane.
|
||||
|
@@ -1,31 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% controlbar.h at 21/Jan/02 21:14:16
|
||||
%
|
||||
|
||||
|
||||
\section{\class{cbDrawHintRectEvent}}\label{cbdrawhintrectevent}
|
||||
|
||||
|
||||
Class for hint-rectangle drawing events.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{cbPluginEvent}{cbpluginevent}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/controlbar.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{cbDrawHintRectEvent::cbDrawHintRectEvent}\label{cbdrawhintrecteventcbdrawhintrectevent}
|
||||
|
||||
\func{}{cbDrawHintRectEvent}{\param{const wxRect\& }{rect}, \param{bool }{isInClient}, \param{bool }{eraseRect}, \param{bool }{lastTime}}
|
||||
|
||||
e.g. with fat/hatched border
|
||||
Constructor, taking hint rectangle and three flags.
|
||||
|
@@ -1,30 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% controlbar.h at 21/Jan/02 21:14:16
|
||||
%
|
||||
|
||||
|
||||
\section{\class{cbDrawPaneBkGroundEvent}}\label{cbdrawpanebkgroundevent}
|
||||
|
||||
|
||||
Class for pane background drawing events.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{cbPluginEvent}{cbpluginevent}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/controlbar.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{cbDrawPaneBkGroundEvent::cbDrawPaneBkGroundEvent}\label{cbdrawpanebkgroundeventcbdrawpanebkgroundevent}
|
||||
|
||||
\func{}{cbDrawPaneBkGroundEvent}{\param{wxDC\& }{dc}, \param{cbDockPane* }{pPane}}
|
||||
|
||||
Constructor, taking device context and pane.
|
||||
|
@@ -1,30 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% controlbar.h at 21/Jan/02 21:14:16
|
||||
%
|
||||
|
||||
|
||||
\section{\class{cbDrawPaneDecorEvent}}\label{cbdrawpanedecorevent}
|
||||
|
||||
|
||||
Class for pane decoration drawing events.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{cbPluginEvent}{cbpluginevent}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/controlbar.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{cbDrawPaneDecorEvent::cbDrawPaneDecorEvent}\label{cbdrawpanedecoreventcbdrawpanedecorevent}
|
||||
|
||||
\func{}{cbDrawPaneDecorEvent}{\param{wxDC\& }{dc}, \param{cbDockPane* }{pPane}}
|
||||
|
||||
Constructor, taking device context and pane.
|
||||
|
@@ -1,30 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% controlbar.h at 21/Jan/02 21:14:16
|
||||
%
|
||||
|
||||
|
||||
\section{\class{cbDrawRowBkGroundEvent}}\label{cbdrawrowbkgroundevent}
|
||||
|
||||
|
||||
Class for row background drawing events.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{cbPluginEvent}{cbpluginevent}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/controlbar.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{cbDrawRowBkGroundEvent::cbDrawRowBkGroundEvent}\label{cbdrawrowbkgroundeventcbdrawrowbkgroundevent}
|
||||
|
||||
\func{}{cbDrawRowBkGroundEvent}{\param{cbRowInfo* }{pRow}, \param{wxDC\& }{dc}, \param{cbDockPane* }{pPane}}
|
||||
|
||||
Constructor, taking row information, device context, and pane.
|
||||
|
@@ -1,30 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% controlbar.h at 21/Jan/02 21:14:16
|
||||
%
|
||||
|
||||
|
||||
\section{\class{cbDrawRowDecorEvent}}\label{cbdrawrowdecorevent}
|
||||
|
||||
|
||||
Class for row decoration drawing events.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{cbPluginEvent}{cbpluginevent}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/controlbar.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{cbDrawRowDecorEvent::cbDrawRowDecorEvent}\label{cbdrawrowdecoreventcbdrawrowdecorevent}
|
||||
|
||||
\func{}{cbDrawRowDecorEvent}{\param{cbRowInfo* }{pRow}, \param{wxDC\& }{dc}, \param{cbDockPane* }{pPane}}
|
||||
|
||||
Constructor, taking row information, device context, and pane.
|
||||
|
@@ -1,30 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% controlbar.h at 21/Jan/02 21:14:16
|
||||
%
|
||||
|
||||
|
||||
\section{\class{cbDrawRowHandlesEvent}}\label{cbdrawrowhandlesevent}
|
||||
|
||||
|
||||
Class for row handles drawing events.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{cbPluginEvent}{cbpluginevent}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/controlbar.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{cbDrawRowHandlesEvent::cbDrawRowHandlesEvent}\label{cbdrawrowhandleseventcbdrawrowhandlesevent}
|
||||
|
||||
\func{}{cbDrawRowHandlesEvent}{\param{cbRowInfo* }{pRow}, \param{wxDC\& }{dc}, \param{cbDockPane* }{pPane}}
|
||||
|
||||
Constructor, taking row information, device context, and pane.
|
||||
|
@@ -1,37 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% dyntbarhnd.h at 21/Jan/02 21:14:19
|
||||
%
|
||||
|
||||
|
||||
\section{\class{cbDynToolBarDimHandler}}\label{cbdyntoolbardimhandler}
|
||||
|
||||
|
||||
Dynamic toolbar dimension handler.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{cbBarDimHandlerBase}{cbbardimhandlerbase}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/dyntbarhnd.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{cbDynToolBarDimHandler::OnChangeBarState}\label{cbdyntoolbardimhandleronchangebarstate}
|
||||
|
||||
\func{void}{OnChangeBarState}{\param{cbBarInfo* }{pBar}, \param{int }{newState}}
|
||||
|
||||
Called when the bar changes state.
|
||||
|
||||
|
||||
\membersection{cbDynToolBarDimHandler::OnResizeBar}\label{cbdyntoolbardimhandleronresizebar}
|
||||
|
||||
\func{void}{OnResizeBar}{\param{cbBarInfo* }{pBar}, \param{const wxSize\& }{given}, \param{wxSize\& }{preferred}}
|
||||
|
||||
Called when a bar is resized.
|
||||
|
@@ -1,30 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% controlbar.h at 21/Jan/02 21:14:16
|
||||
%
|
||||
|
||||
|
||||
\section{\class{cbFinishDrawInAreaEvent}}\label{cbfinishdrawinareaevent}
|
||||
|
||||
|
||||
Class for finish drawing in area events.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{cbPluginEvent}{cbpluginevent}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/controlbar.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{cbFinishDrawInAreaEvent::cbFinishDrawInAreaEvent}\label{cbfinishdrawinareaeventcbfinishdrawinareaevent}
|
||||
|
||||
\func{}{cbFinishDrawInAreaEvent}{\param{const wxRect\& }{area}, \param{cbDockPane* }{pPane}}
|
||||
|
||||
Constructor, taking rectangular area and pane.
|
||||
|
@@ -1,89 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% toolwnd.h at 21/Jan/02 21:14:17
|
||||
%
|
||||
|
||||
|
||||
\section{\class{cbFloatedBarWindow}}\label{cbfloatedbarwindow}
|
||||
|
||||
|
||||
cbFloatedBarWindow is a kind of wxToolWindow,
|
||||
implementing floating toolbars.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{wxToolWindow}{wxtoolwindow}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/toolwnd.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{cbFloatedBarWindow::cbFloatedBarWindow}\label{cbfloatedbarwindowcbfloatedbarwindow}
|
||||
|
||||
\func{}{cbFloatedBarWindow}{\void}
|
||||
|
||||
Default constructor.
|
||||
|
||||
|
||||
\membersection{cbFloatedBarWindow::GetBar}\label{cbfloatedbarwindowgetbar}
|
||||
|
||||
\func{cbBarInfo*}{GetBar}{\void}
|
||||
|
||||
Returns the bar information for this window.
|
||||
|
||||
|
||||
\membersection{cbFloatedBarWindow::GetPreferredSize}\label{cbfloatedbarwindowgetpreferredsize}
|
||||
|
||||
\func{wxSize}{GetPreferredSize}{\param{const wxSize\& }{given}}
|
||||
|
||||
Overridden function returning the preferred size.
|
||||
|
||||
|
||||
\membersection{cbFloatedBarWindow::HandleTitleClick}\label{cbfloatedbarwindowhandletitleclick}
|
||||
|
||||
\func{bool}{HandleTitleClick}{\param{wxMouseEvent\& }{event}}
|
||||
|
||||
Overridden function responding to mouse button clicks on the titlebar.
|
||||
|
||||
|
||||
\membersection{cbFloatedBarWindow::OnDblClick}\label{cbfloatedbarwindowondblclick}
|
||||
|
||||
\func{void}{OnDblClick}{\param{wxMouseEvent\& }{event}}
|
||||
|
||||
Responds to double-click mouse events.
|
||||
|
||||
|
||||
\membersection{cbFloatedBarWindow::OnMiniButtonClicked}\label{cbfloatedbarwindowonminibuttonclicked}
|
||||
|
||||
\func{void}{OnMiniButtonClicked}{\param{int }{btnIdx}}
|
||||
|
||||
Overridden function responding to mouse clicks on mini-buttons.
|
||||
|
||||
|
||||
\membersection{cbFloatedBarWindow::PositionFloatedWnd}\label{cbfloatedbarwindowpositionfloatedwnd}
|
||||
|
||||
\func{void}{PositionFloatedWnd}{\param{int }{scrX}, \param{int }{scrY}, \param{int }{width}, \param{int }{height}}
|
||||
|
||||
Position the floating window. The given coordinates
|
||||
are those of the bar itself; the floated container window's
|
||||
position and size are ajusted accordingly.
|
||||
|
||||
|
||||
\membersection{cbFloatedBarWindow::SetBar}\label{cbfloatedbarwindowsetbar}
|
||||
|
||||
\func{void}{SetBar}{\param{cbBarInfo* }{pBar}}
|
||||
|
||||
Sets the bar information for this window.
|
||||
|
||||
|
||||
\membersection{cbFloatedBarWindow::SetLayout}\label{cbfloatedbarwindowsetlayout}
|
||||
|
||||
\func{void}{SetLayout}{\param{wxFrameLayout* }{pLayout}}
|
||||
|
||||
Sets the layout for this window.
|
||||
|
@@ -1,131 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% gcupdatesmgr.h at 21/Jan/02 21:14:19
|
||||
%
|
||||
|
||||
|
||||
\section{\class{cbGCUpdatesMgr}}\label{cbgcupdatesmgr}
|
||||
|
||||
|
||||
This class implements optimized logic for refreshing
|
||||
the areas of frame layout that actually need to be updated.
|
||||
It is used as the default updates manager by wxFrameLayout.
|
||||
|
||||
It is called 'Garbage Collecting' updates manager because
|
||||
its implementation tries to find out dependencies between bars,
|
||||
and to order them into a 'hierarchy'. This hierarchical sorting resembles
|
||||
the implementation of heap-garbage collectors, which resolve
|
||||
dependencies between references.
|
||||
|
||||
Example: there are situations where the order in which the user
|
||||
moves windows does matter.
|
||||
|
||||
\begin{verbatim}
|
||||
case 1)
|
||||
------ ---
|
||||
| A | |B|
|
||||
------ ---> | |
|
||||
--- --- ------
|
||||
|B| | A |
|
||||
| | ------
|
||||
---
|
||||
(future)
|
||||
(past)
|
||||
\end{verbatim}
|
||||
|
||||
Past/future positions of A and B windows completely overlap, i.e.
|
||||
depend on each other, and there is no solution for
|
||||
moving the windows without refreshing both of them
|
||||
-- we have a cyclic dependency here. The garbage collection algorithm will
|
||||
find this cyclic dependecy and will force refresh after movement.
|
||||
|
||||
\begin{verbatim}
|
||||
case 2)
|
||||
|
||||
------
|
||||
| A |
|
||||
------ --->
|
||||
---
|
||||
|B| ------
|
||||
| | | A |
|
||||
--- ------
|
||||
---
|
||||
|B|
|
||||
| |
|
||||
---
|
||||
|
||||
(future)
|
||||
(past)
|
||||
\end{verbatim}
|
||||
|
||||
In this case past/future positions do not overlap, so
|
||||
it is enough only to move windows without refreshing them.
|
||||
Garbage collection will 'notice' this.
|
||||
|
||||
There is also a third case, when overlapping is partial.
|
||||
In this case the refreshing can also be avoided by
|
||||
moving windows in the order of 'most-dependant' towards the
|
||||
'least-dependent'. GC handles this automatically, by
|
||||
sorting windows by their dependency-level (or 'hierarchy').
|
||||
|
||||
See garbagec.h for more details of this method; garbagec.h/cpp
|
||||
implement sorting of generic dependencies and does not deal
|
||||
with graphical objects directly.
|
||||
|
||||
Summary: garbage collection improves performance when complex or large
|
||||
windows are moved around, by reducing the number of repaints. It also helps
|
||||
to avoid dirty non-client areas of moved windows
|
||||
in some special cases of 'overlapping anomalies'.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{cbSimpleUpdatesMgr}{cbsimpleupdatesmgr}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/gcupdatesmgr.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{cbGCUpdatesMgr::cbGCUpdatesMgr}\label{cbgcupdatesmgrcbgcupdatesmgr}
|
||||
|
||||
\func{}{cbGCUpdatesMgr}{\void}
|
||||
|
||||
Default constructor.
|
||||
|
||||
|
||||
\func{}{cbGCUpdatesMgr}{\param{wxFrameLayout* }{pPanel}}
|
||||
|
||||
Constructor, taking a frame layout.
|
||||
|
||||
|
||||
\membersection{cbGCUpdatesMgr::AddItem}\label{cbgcupdatesmgradditem}
|
||||
|
||||
\func{void}{AddItem}{\param{wxList\& }{itemList}, \param{cbBarInfo* }{pBar}, \param{cbDockPane* }{pPane}, \param{wxRect\& }{curBounds}, \param{wxRect\& }{prevBounds}}
|
||||
|
||||
Internal function for repositioning items.
|
||||
|
||||
|
||||
\membersection{cbGCUpdatesMgr::DoRepositionItems}\label{cbgcupdatesmgrdorepositionitems}
|
||||
|
||||
\func{void}{DoRepositionItems}{\param{wxList\& }{items}}
|
||||
|
||||
Internal function for repositioning items.
|
||||
|
||||
|
||||
\membersection{cbGCUpdatesMgr::OnStartChanges}\label{cbgcupdatesmgronstartchanges}
|
||||
|
||||
\func{void}{OnStartChanges}{\void}
|
||||
|
||||
Receives notifications from the frame layout.
|
||||
|
||||
|
||||
\membersection{cbGCUpdatesMgr::UpdateNow}\label{cbgcupdatesmgrupdatenow}
|
||||
|
||||
\func{void}{UpdateNow}{\void}
|
||||
|
||||
Refreshes the parts of the frame layout which need an update.
|
||||
|
@@ -1,21 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% rowdragpl.h at 21/Jan/02 21:14:19
|
||||
%
|
||||
|
||||
|
||||
\section{\class{cbHiddenBarInfo}}\label{cbhiddenbarinfo}
|
||||
|
||||
|
||||
Internal helper class.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{wxObject}{wxobject}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/rowdragpl.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
@@ -1,93 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% hintanimpl.h at 21/Jan/02 21:14:18
|
||||
%
|
||||
|
||||
|
||||
\section{\class{cbHintAnimationPlugin}}\label{cbhintanimationplugin}
|
||||
|
||||
|
||||
A plugin to draw animated hints when the user drags a pane.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{cbPluginBase}{cbpluginbase}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/hintanimpl.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{cbHintAnimationPlugin::cbHintAnimationPlugin}\label{cbhintanimationplugincbhintanimationplugin}
|
||||
|
||||
\func{}{cbHintAnimationPlugin}{\void}
|
||||
|
||||
Default constructor.
|
||||
|
||||
|
||||
\func{}{cbHintAnimationPlugin}{\param{wxFrameLayout* }{pPanel}, \param{int }{paneMask = wxALL\_PANES}}
|
||||
|
||||
Constructor, taking a layout panel and pane mask.
|
||||
|
||||
|
||||
\membersection{cbHintAnimationPlugin::\destruct{cbHintAnimationPlugin}}\label{cbhintanimationplugindtor}
|
||||
|
||||
\func{}{\destruct{cbHintAnimationPlugin}}{\void}
|
||||
|
||||
Destructor.
|
||||
|
||||
|
||||
\membersection{cbHintAnimationPlugin::DoDrawHintRect}\label{cbhintanimationplugindodrawhintrect}
|
||||
|
||||
\func{void}{DoDrawHintRect}{\param{wxRect\& }{rect}, \param{bool }{isInClientRect}}
|
||||
|
||||
Internal function for drawing a hint rectangle.
|
||||
|
||||
|
||||
\membersection{cbHintAnimationPlugin::DrawHintRect}\label{cbhintanimationplugindrawhintrect}
|
||||
|
||||
\func{void}{DrawHintRect}{\param{wxRect\& }{rect}, \param{bool }{isInClientRect}}
|
||||
|
||||
Internal function for drawing a hint rectangle.
|
||||
|
||||
|
||||
\membersection{cbHintAnimationPlugin::EraseHintRect}\label{cbhintanimationpluginerasehintrect}
|
||||
|
||||
\func{void}{EraseHintRect}{\param{wxRect\& }{rect}, \param{bool }{isInClientRect}}
|
||||
|
||||
Internal function for erasing a hint rectangle.
|
||||
|
||||
|
||||
\membersection{cbHintAnimationPlugin::FinishTracking}\label{cbhintanimationpluginfinishtracking}
|
||||
|
||||
\func{void}{FinishTracking}{\void}
|
||||
|
||||
Internal function for finishing tracking.
|
||||
|
||||
|
||||
\membersection{cbHintAnimationPlugin::OnDrawHintRect}\label{cbhintanimationpluginondrawhintrect}
|
||||
|
||||
\func{void}{OnDrawHintRect}{\param{cbDrawHintRectEvent\& }{event}}
|
||||
|
||||
Event handler respoding to hint draw events.
|
||||
|
||||
|
||||
\membersection{cbHintAnimationPlugin::RectToScr}\label{cbhintanimationpluginrecttoscr}
|
||||
|
||||
\func{void}{RectToScr}{\param{wxRect\& }{frameRect}, \param{wxRect\& }{scrRect}}
|
||||
|
||||
Internal function for translating coordinates.
|
||||
|
||||
|
||||
\membersection{cbHintAnimationPlugin::StartTracking}\label{cbhintanimationpluginstarttracking}
|
||||
|
||||
\func{void}{StartTracking}{\void}
|
||||
|
||||
speed is constant. Default: TRUE
|
||||
TBD:: get/set methods for above members
|
||||
Internal function for starting tracking.
|
||||
|
@@ -1,43 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% hintanimpl.h at 21/Jan/02 21:14:19
|
||||
%
|
||||
|
||||
|
||||
\section{\class{cbHintAnimTimer}}\label{cbhintanimtimer}
|
||||
|
||||
|
||||
A private helper class.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{wxTimer}{wxtimer}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/hintanimpl.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{cbHintAnimTimer::cbHintAnimTimer}\label{cbhintanimtimercbhintanimtimer}
|
||||
|
||||
\func{}{cbHintAnimTimer}{\void}
|
||||
|
||||
|
||||
\membersection{cbHintAnimTimer::Init}\label{cbhintanimtimerinit}
|
||||
|
||||
\func{bool}{Init}{\param{cbHintAnimationPlugin* }{pAnimPl}, \param{bool }{reinit}}
|
||||
|
||||
|
||||
\membersection{cbHintAnimTimer::MorphPoint}\label{cbhintanimtimermorphpoint}
|
||||
|
||||
\func{void}{MorphPoint}{\param{wxPoint\& }{origin}, \param{MorphInfoT\& }{info}, \param{wxPoint\& }{point}}
|
||||
|
||||
|
||||
\membersection{cbHintAnimTimer::Notify}\label{cbhintanimtimernotify}
|
||||
|
||||
\func{void}{Notify}{\void}
|
||||
|
@@ -1,30 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% controlbar.h at 21/Jan/02 21:14:15
|
||||
%
|
||||
|
||||
|
||||
\section{\class{cbInsertBarEvent}}\label{cbinsertbarevent}
|
||||
|
||||
|
||||
Class for bar insertion events.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{cbPluginEvent}{cbpluginevent}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/controlbar.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{cbInsertBarEvent::cbInsertBarEvent}\label{cbinsertbareventcbinsertbarevent}
|
||||
|
||||
\func{}{cbInsertBarEvent}{\param{cbBarInfo* }{pBar}, \param{cbRowInfo* }{pIntoRow}, \param{cbDockPane* }{pPane}}
|
||||
|
||||
Constructor, taking bar information, row information, and pane.
|
||||
|
@@ -1,30 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% controlbar.h at 21/Jan/02 21:14:15
|
||||
%
|
||||
|
||||
|
||||
\section{\class{cbLayoutRowEvent}}\label{cblayoutrowevent}
|
||||
|
||||
|
||||
Class for single row layout events.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{cbPluginEvent}{cbpluginevent}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/controlbar.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{cbLayoutRowEvent::cbLayoutRowEvent}\label{cblayoutroweventcblayoutrowevent}
|
||||
|
||||
\func{}{cbLayoutRowEvent}{\param{cbRowInfo* }{pRow}, \param{cbDockPane* }{pPane}}
|
||||
|
||||
Constructor, taking row information and pane.
|
||||
|
@@ -1,30 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% controlbar.h at 21/Jan/02 21:14:15
|
||||
%
|
||||
|
||||
|
||||
\section{\class{cbLayoutRowsEvent}}\label{cblayoutrowsevent}
|
||||
|
||||
|
||||
Class for multiple rows layout events.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{cbPluginEvent}{cbpluginevent}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/controlbar.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{cbLayoutRowsEvent::cbLayoutRowsEvent}\label{cblayoutrowseventcblayoutrowsevent}
|
||||
|
||||
\func{}{cbLayoutRowsEvent}{\param{cbDockPane* }{pPane}}
|
||||
|
||||
Constructor, taking pane.
|
||||
|
@@ -1,30 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% controlbar.h at 21/Jan/02 21:14:15
|
||||
%
|
||||
|
||||
|
||||
\section{\class{cbLeftDClickEvent}}\label{cbleftdclickevent}
|
||||
|
||||
|
||||
Class for mouse left double click events.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{cbPluginEvent}{cbpluginevent}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/controlbar.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{cbLeftDClickEvent::cbLeftDClickEvent}\label{cbleftdclickeventcbleftdclickevent}
|
||||
|
||||
\func{}{cbLeftDClickEvent}{\param{const wxPoint\& }{pos}, \param{cbDockPane* }{pPane}}
|
||||
|
||||
Constructor, taking mouse position and pane.
|
||||
|
@@ -1,30 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% controlbar.h at 21/Jan/02 21:14:15
|
||||
%
|
||||
|
||||
|
||||
\section{\class{cbLeftDownEvent}}\label{cbleftdownevent}
|
||||
|
||||
|
||||
Class for mouse left down events.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{cbPluginEvent}{cbpluginevent}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/controlbar.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{cbLeftDownEvent::cbLeftDownEvent}\label{cbleftdowneventcbleftdownevent}
|
||||
|
||||
\func{}{cbLeftDownEvent}{\param{const wxPoint\& }{pos}, \param{cbDockPane* }{pPane}}
|
||||
|
||||
Constructor, taking mouse position and pane.
|
||||
|
@@ -1,30 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% controlbar.h at 21/Jan/02 21:14:15
|
||||
%
|
||||
|
||||
|
||||
\section{\class{cbLeftUpEvent}}\label{cbleftupevent}
|
||||
|
||||
|
||||
Class for mouse left up events.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{cbPluginEvent}{cbpluginevent}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/controlbar.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{cbLeftUpEvent::cbLeftUpEvent}\label{cbleftupeventcbleftupevent}
|
||||
|
||||
\func{}{cbLeftUpEvent}{\param{const wxPoint\& }{pos}, \param{cbDockPane* }{pPane}}
|
||||
|
||||
Constructor, taking mouse position and pane.
|
||||
|
@@ -1,109 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% toolwnd.h at 21/Jan/02 21:14:17
|
||||
%
|
||||
|
||||
|
||||
\section{\class{cbMiniButton}}\label{cbminibutton}
|
||||
|
||||
|
||||
cbMiniButton is the base class for a small button that can be placed in a wxToolWindow
|
||||
titlebar.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{wxObject}{wxobject}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/toolwnd.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{cbMiniButton::cbMiniButton}\label{cbminibuttoncbminibutton}
|
||||
|
||||
\func{}{cbMiniButton}{\void}
|
||||
|
||||
Default constructor.
|
||||
|
||||
|
||||
\membersection{cbMiniButton::Draw}\label{cbminibuttondraw}
|
||||
|
||||
\func{void}{Draw}{\param{wxDC\& }{dc}}
|
||||
|
||||
Draws the button. Override this to implement
|
||||
the desired appearance.
|
||||
|
||||
|
||||
\membersection{cbMiniButton::Enable}\label{cbminibuttonenable}
|
||||
|
||||
\func{void}{Enable}{\param{bool }{enable}}
|
||||
|
||||
Enable or disable the button.
|
||||
|
||||
|
||||
\membersection{cbMiniButton::HitTest}\label{cbminibuttonhittest}
|
||||
|
||||
\func{bool}{HitTest}{\param{const wxPoint\& }{pos}}
|
||||
|
||||
Returns TRUE if the given position was over the button.
|
||||
|
||||
|
||||
\membersection{cbMiniButton::IsPressed}\label{cbminibuttonispressed}
|
||||
|
||||
\func{bool}{IsPressed}{\void}
|
||||
|
||||
Returns TRUE if this button is pressed.
|
||||
|
||||
|
||||
\membersection{cbMiniButton::OnLeftDown}\label{cbminibuttononleftdown}
|
||||
|
||||
\func{void}{OnLeftDown}{\param{const wxPoint\& }{pos}}
|
||||
|
||||
Responds to a left down event.
|
||||
|
||||
|
||||
\membersection{cbMiniButton::OnLeftUp}\label{cbminibuttononleftup}
|
||||
|
||||
\func{void}{OnLeftUp}{\param{const wxPoint\& }{pos}}
|
||||
|
||||
Responds to a left up event.
|
||||
|
||||
|
||||
\membersection{cbMiniButton::OnMotion}\label{cbminibuttononmotion}
|
||||
|
||||
\func{void}{OnMotion}{\param{const wxPoint\& }{pos}}
|
||||
|
||||
Responds to a mouse move event.
|
||||
|
||||
|
||||
\membersection{cbMiniButton::Refresh}\label{cbminibuttonrefresh}
|
||||
|
||||
\func{void}{Refresh}{\void}
|
||||
|
||||
Refreshes the button.
|
||||
|
||||
|
||||
\membersection{cbMiniButton::Reset}\label{cbminibuttonreset}
|
||||
|
||||
\func{void}{Reset}{\void}
|
||||
|
||||
Reset the button.
|
||||
|
||||
|
||||
\membersection{cbMiniButton::SetPos}\label{cbminibuttonsetpos}
|
||||
|
||||
\func{void}{SetPos}{\param{const wxPoint\& }{pos}}
|
||||
|
||||
Set the position of the button.
|
||||
|
||||
|
||||
\membersection{cbMiniButton::WasClicked}\label{cbminibuttonwasclicked}
|
||||
|
||||
\func{bool}{WasClicked}{\void}
|
||||
|
||||
Returns TRUE if the button was clicked.
|
||||
|
@@ -1,30 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% controlbar.h at 21/Jan/02 21:14:15
|
||||
%
|
||||
|
||||
|
||||
\section{\class{cbMotionEvent}}\label{cbmotionevent}
|
||||
|
||||
|
||||
Class for mouse motion events.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{cbPluginEvent}{cbpluginevent}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/controlbar.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{cbMotionEvent::cbMotionEvent}\label{cbmotioneventcbmotionevent}
|
||||
|
||||
\func{}{cbMotionEvent}{\param{const wxPoint\& }{pos}, \param{cbDockPane* }{pPane}}
|
||||
|
||||
Constructor, taking mouse position and pane.
|
||||
|
@@ -1,243 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% panedrawpl.h at 21/Jan/02 21:14:19
|
||||
%
|
||||
|
||||
|
||||
\section{\class{cbPaneDrawPlugin}}\label{cbpanedrawplugin}
|
||||
|
||||
|
||||
Simple but all-in-one plugin implementation. Resembles the look and feel of
|
||||
to MFC control-bars. The class handles painting of the pane and the items in it;
|
||||
it generates bar/layout customization events, when the user right-clicks the bar/pane.
|
||||
Hooking an instance of this and row-layout plugins for each pane
|
||||
would be enough for the frame layout to function properly
|
||||
(they are plugged in automatically by the wxFrameLayout class).
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{cbPluginBase}{cbpluginbase}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/panedrawpl.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{cbPaneDrawPlugin::cbPaneDrawPlugin}\label{cbpanedrawplugincbpanedrawplugin}
|
||||
|
||||
\func{}{cbPaneDrawPlugin}{\param{wxFrameLayout* }{pPanel}, \param{int }{paneMask = wxALL\_PANES}}
|
||||
|
||||
Constructor taking frame layout pane and a pane mask.
|
||||
|
||||
|
||||
\func{}{cbPaneDrawPlugin}{\void}
|
||||
|
||||
Default constructor.
|
||||
|
||||
|
||||
\membersection{cbPaneDrawPlugin::\destruct{cbPaneDrawPlugin}}\label{cbpanedrawplugindtor}
|
||||
|
||||
\func{}{\destruct{cbPaneDrawPlugin}}{\void}
|
||||
|
||||
Destructor.
|
||||
|
||||
|
||||
\membersection{cbPaneDrawPlugin::Clone}\label{cbpanedrawpluginclone}
|
||||
|
||||
\func{cbPluginBase*}{Clone}{\void}
|
||||
|
||||
Clone function, returning a new instance of this class.
|
||||
|
||||
|
||||
\membersection{cbPaneDrawPlugin::DrawBarInnerShadeRect}\label{cbpanedrawplugindrawbarinnershaderect}
|
||||
|
||||
\func{void}{DrawBarInnerShadeRect}{\param{cbBarInfo* }{pBar}, \param{wxDC\& }{dc}}
|
||||
|
||||
Internal helper: draws the inner bar shading.
|
||||
|
||||
|
||||
\membersection{cbPaneDrawPlugin::DrawDraggedHandle}\label{cbpanedrawplugindrawdraggedhandle}
|
||||
|
||||
\func{void}{DrawDraggedHandle}{\param{const wxPoint\& }{pos}, \param{cbDockPane\& }{pane}}
|
||||
|
||||
Internal helper: draws the dragged handle.
|
||||
|
||||
|
||||
\membersection{cbPaneDrawPlugin::DrawLowerRowHandle}\label{cbpanedrawplugindrawlowerrowhandle}
|
||||
|
||||
\func{void}{DrawLowerRowHandle}{\param{cbRowInfo* }{pRow}, \param{wxDC\& }{dc}}
|
||||
|
||||
Internal helper: draws the lower row handle.
|
||||
|
||||
|
||||
\membersection{cbPaneDrawPlugin::DrawLowerRowShades}\label{cbpanedrawplugindrawlowerrowshades}
|
||||
|
||||
\func{void}{DrawLowerRowShades}{\param{cbRowInfo* }{pRow}, \param{wxDC\& }{dc}, \param{int }{level}}
|
||||
|
||||
Internal helper: draws the lower row shading.
|
||||
|
||||
|
||||
\membersection{cbPaneDrawPlugin::DrawPaneShade}\label{cbpanedrawplugindrawpaneshade}
|
||||
|
||||
\func{void}{DrawPaneShade}{\param{wxDC\& }{dc}, \param{int }{alignment}}
|
||||
|
||||
Internal helper: draws the pane shading.
|
||||
|
||||
|
||||
\membersection{cbPaneDrawPlugin::DrawPaneShadeForRow}\label{cbpanedrawplugindrawpaneshadeforrow}
|
||||
|
||||
\func{void}{DrawPaneShadeForRow}{\param{cbRowInfo* }{pRow}, \param{wxDC\& }{dc}}
|
||||
|
||||
Internal helper: draws the pane shading for a row.
|
||||
|
||||
|
||||
\membersection{cbPaneDrawPlugin::DrawShade}\label{cbpanedrawplugindrawshade}
|
||||
|
||||
\func{void}{DrawShade}{\param{int }{level}, \param{wxRect\& }{rect}, \param{int }{alignment}, \param{wxDC\& }{dc}}
|
||||
|
||||
Internal helper: draws shading.
|
||||
|
||||
|
||||
\membersection{cbPaneDrawPlugin::DrawShade1}\label{cbpanedrawplugindrawshade1}
|
||||
|
||||
\func{void}{DrawShade1}{\param{int }{level}, \param{wxRect\& }{rect}, \param{int }{alignment}, \param{wxDC\& }{dc}}
|
||||
|
||||
Internal helper: draws shading.
|
||||
|
||||
|
||||
\membersection{cbPaneDrawPlugin::DrawUpperRowHandle}\label{cbpanedrawplugindrawupperrowhandle}
|
||||
|
||||
\func{void}{DrawUpperRowHandle}{\param{cbRowInfo* }{pRow}, \param{wxDC\& }{dc}}
|
||||
|
||||
Internal helper: draws the upper row handle.
|
||||
|
||||
|
||||
\membersection{cbPaneDrawPlugin::DrawUpperRowShades}\label{cbpanedrawplugindrawupperrowshades}
|
||||
|
||||
\func{void}{DrawUpperRowShades}{\param{cbRowInfo* }{pRow}, \param{wxDC\& }{dc}, \param{int }{level}}
|
||||
|
||||
Internal helper: draws the upper row shading.
|
||||
|
||||
|
||||
\membersection{cbPaneDrawPlugin::OnDrawBarDecorations}\label{cbpanedrawpluginondrawbardecorations}
|
||||
|
||||
\func{void}{OnDrawBarDecorations}{\param{cbDrawBarDecorEvent\& }{event}}
|
||||
|
||||
Handler for draw bar decorations events.
|
||||
|
||||
|
||||
\membersection{cbPaneDrawPlugin::OnDrawBarHandles}\label{cbpanedrawpluginondrawbarhandles}
|
||||
|
||||
\func{void}{OnDrawBarHandles}{\param{cbDrawBarHandlesEvent\& }{event}}
|
||||
|
||||
Handler for draw bar handles events.
|
||||
|
||||
|
||||
\membersection{cbPaneDrawPlugin::OnDrawPaneBackground}\label{cbpanedrawpluginondrawpanebackground}
|
||||
|
||||
\func{void}{OnDrawPaneBackground}{\param{cbDrawPaneBkGroundEvent\& }{event}}
|
||||
|
||||
Handler for draw pane background events.
|
||||
|
||||
|
||||
\membersection{cbPaneDrawPlugin::OnDrawPaneDecorations}\label{cbpanedrawpluginondrawpanedecorations}
|
||||
|
||||
\func{void}{OnDrawPaneDecorations}{\param{cbDrawPaneDecorEvent\& }{event}}
|
||||
|
||||
Handler for draw pane decoration events.
|
||||
|
||||
|
||||
\membersection{cbPaneDrawPlugin::OnDrawRowBackground}\label{cbpanedrawpluginondrawrowbackground}
|
||||
|
||||
\func{void}{OnDrawRowBackground}{\param{cbDrawRowBkGroundEvent\& }{event}}
|
||||
|
||||
Handler for draw row background events.
|
||||
|
||||
|
||||
\membersection{cbPaneDrawPlugin::OnDrawRowDecorations}\label{cbpanedrawpluginondrawrowdecorations}
|
||||
|
||||
\func{void}{OnDrawRowDecorations}{\param{cbDrawRowDecorEvent\& }{event}}
|
||||
|
||||
Handler for draw row decoration events.
|
||||
|
||||
|
||||
\membersection{cbPaneDrawPlugin::OnDrawRowHandles}\label{cbpanedrawpluginondrawrowhandles}
|
||||
|
||||
\func{void}{OnDrawRowHandles}{\param{cbDrawRowHandlesEvent\& }{event}}
|
||||
|
||||
Handler for draw row handles events.
|
||||
|
||||
|
||||
\membersection{cbPaneDrawPlugin::OnFinishDrawInArea}\label{cbpanedrawpluginonfinishdrawinarea}
|
||||
|
||||
\func{void}{OnFinishDrawInArea}{\param{cbFinishDrawInAreaEvent\& }{event}}
|
||||
|
||||
Handler for finish draw in area events.
|
||||
|
||||
|
||||
\membersection{cbPaneDrawPlugin::OnLButtonDown}\label{cbpanedrawpluginonlbuttondown}
|
||||
|
||||
\func{void}{OnLButtonDown}{\param{cbLeftDownEvent\& }{event}}
|
||||
|
||||
Handler for left mouse button down events.
|
||||
|
||||
|
||||
\membersection{cbPaneDrawPlugin::OnLButtonUp}\label{cbpanedrawpluginonlbuttonup}
|
||||
|
||||
\func{void}{OnLButtonUp}{\param{cbLeftUpEvent\& }{event}}
|
||||
|
||||
Handler for left mouse button up events.
|
||||
|
||||
|
||||
\membersection{cbPaneDrawPlugin::OnLDblClick}\label{cbpanedrawpluginonldblclick}
|
||||
|
||||
\func{void}{OnLDblClick}{\param{cbLeftDClickEvent\& }{event}}
|
||||
|
||||
Handler for left double-click mouse button down events.
|
||||
|
||||
|
||||
\membersection{cbPaneDrawPlugin::OnMouseMove}\label{cbpanedrawpluginonmousemove}
|
||||
|
||||
\func{void}{OnMouseMove}{\param{cbMotionEvent\& }{event}}
|
||||
|
||||
Handler for mouse move events.
|
||||
|
||||
|
||||
\membersection{cbPaneDrawPlugin::OnRButtonUp}\label{cbpanedrawpluginonrbuttonup}
|
||||
|
||||
\func{void}{OnRButtonUp}{\param{cbRightUpEvent\& }{event}}
|
||||
|
||||
Handler for right mouse button up events.
|
||||
|
||||
|
||||
\membersection{cbPaneDrawPlugin::OnSizeBarWindow}\label{cbpanedrawpluginonsizebarwindow}
|
||||
|
||||
\func{void}{OnSizeBarWindow}{\param{cbSizeBarWndEvent\& }{event}}
|
||||
|
||||
Handler for bar size events.
|
||||
|
||||
|
||||
\membersection{cbPaneDrawPlugin::OnStartDrawInArea}\label{cbpanedrawpluginonstartdrawinarea}
|
||||
|
||||
\func{void}{OnStartDrawInArea}{\param{cbStartDrawInAreaEvent\& }{event}}
|
||||
|
||||
Handler for start draw in area events.
|
||||
|
||||
|
||||
\membersection{cbPaneDrawPlugin::SetDarkPixel}\label{cbpanedrawpluginsetdarkpixel}
|
||||
|
||||
\func{void}{SetDarkPixel}{\param{int }{x}, \param{int }{y}, \param{wxDC\& }{dc}}
|
||||
|
||||
Internal helper: sets a dark pixel at the given location.
|
||||
|
||||
|
||||
\membersection{cbPaneDrawPlugin::SetLightPixel}\label{cbpanedrawpluginsetlightpixel}
|
||||
|
||||
\func{void}{SetLightPixel}{\param{int }{x}, \param{int }{y}, \param{wxDC\& }{dc}}
|
||||
|
||||
Internal helper: sets a light pixel at the given location.
|
||||
|
@@ -1,77 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% controlbar.h at 21/Jan/02 21:14:14
|
||||
%
|
||||
|
||||
|
||||
\section{\class{cbPluginBase}}\label{cbpluginbase}
|
||||
|
||||
|
||||
Abstract base class for all control-bar related plugins.
|
||||
Note: pointer positions of mouse events sent to plugins
|
||||
are always in the pane's coordinates (the pane to which
|
||||
this plugin is hooked).
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{wxEvtHandler}{wxevthandler}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/controlbar.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{cbPluginBase::cbPluginBase}\label{cbpluginbasecbpluginbase}
|
||||
|
||||
\func{}{cbPluginBase}{\param{wxFrameLayout* }{pPanel}, \param{int }{paneMask = wxALL\_PANES}}
|
||||
|
||||
Constructor taking layout panel and a mask.
|
||||
|
||||
|
||||
\func{}{cbPluginBase}{\void}
|
||||
|
||||
Default constructor.
|
||||
|
||||
|
||||
\membersection{cbPluginBase::\destruct{cbPluginBase}}\label{cbpluginbasedtor}
|
||||
|
||||
\func{}{\destruct{cbPluginBase}}{\void}
|
||||
|
||||
Destructor. Destroys the whole plugin chain of connected plugins.
|
||||
|
||||
|
||||
\membersection{cbPluginBase::GetPaneMask}\label{cbpluginbasegetpanemask}
|
||||
|
||||
\func{int}{GetPaneMask}{\void}
|
||||
|
||||
Returns the pane mask.
|
||||
|
||||
|
||||
\membersection{cbPluginBase::IsReady}\label{cbpluginbaseisready}
|
||||
|
||||
\func{bool}{IsReady}{\void}
|
||||
|
||||
Returns TRUE if the plugin is ready to receive events.
|
||||
|
||||
|
||||
\membersection{cbPluginBase::OnInitPlugin}\label{cbpluginbaseoninitplugin}
|
||||
|
||||
\func{void}{OnInitPlugin}{\void}
|
||||
|
||||
Override this method to do plugin-specific initialization.
|
||||
At this point plugin is already attached to the frame layout,
|
||||
and pane masks are set.
|
||||
|
||||
|
||||
\membersection{cbPluginBase::ProcessEvent}\label{cbpluginbaseprocessevent}
|
||||
|
||||
\func{bool}{ProcessEvent}{\param{wxEvent\& }{event}}
|
||||
|
||||
Overridden to determine whether the target pane specified in the
|
||||
event matches the pane mask of this plugin (specific plugins
|
||||
do not override this method).
|
||||
|
@@ -1,38 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% controlbar.h at 21/Jan/02 21:14:14
|
||||
%
|
||||
|
||||
|
||||
\section{\class{cbPluginEvent}}\label{cbpluginevent}
|
||||
|
||||
|
||||
Base class for all control-bar plugin events.
|
||||
This is not a dynamically-creatable class.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{wxEvent}{wxevent}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/controlbar.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{cbPluginEvent::cbPluginEvent}\label{cbplugineventcbpluginevent}
|
||||
|
||||
\func{}{cbPluginEvent}{\param{wxEventType }{eventType}, \param{cbDockPane* }{pPane}}
|
||||
|
||||
Constructor, taking event type and pane.
|
||||
|
||||
|
||||
\membersection{cbPluginEvent::Clone}\label{cbplugineventclone}
|
||||
|
||||
\constfunc{wxEvent*}{Clone}{\void}
|
||||
|
||||
Not used, but required.
|
||||
|
@@ -1,30 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% controlbar.h at 21/Jan/02 21:14:15
|
||||
%
|
||||
|
||||
|
||||
\section{\class{cbRemoveBarEvent}}\label{cbremovebarevent}
|
||||
|
||||
|
||||
Class for bar removal events.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{cbPluginEvent}{cbpluginevent}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/controlbar.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{cbRemoveBarEvent::cbRemoveBarEvent}\label{cbremovebareventcbremovebarevent}
|
||||
|
||||
\func{}{cbRemoveBarEvent}{\param{cbBarInfo* }{pBar}, \param{cbDockPane* }{pPane}}
|
||||
|
||||
Constructor, taking bar information and pane.
|
||||
|
@@ -1,30 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% controlbar.h at 21/Jan/02 21:14:15
|
||||
%
|
||||
|
||||
|
||||
\section{\class{cbResizeBarEvent}}\label{cbresizebarevent}
|
||||
|
||||
|
||||
Class for bar resize events.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{cbPluginEvent}{cbpluginevent}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/controlbar.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{cbResizeBarEvent::cbResizeBarEvent}\label{cbresizebareventcbresizebarevent}
|
||||
|
||||
\func{}{cbResizeBarEvent}{\param{cbBarInfo* }{pBar}, \param{cbRowInfo* }{pRow}, \param{cbDockPane* }{pPane}}
|
||||
|
||||
Constructor, taking bar information, row information, and pane.
|
||||
|
@@ -1,30 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% controlbar.h at 21/Jan/02 21:14:15
|
||||
%
|
||||
|
||||
|
||||
\section{\class{cbResizeRowEvent}}\label{cbresizerowevent}
|
||||
|
||||
|
||||
Class for row resize events.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{cbPluginEvent}{cbpluginevent}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/controlbar.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{cbResizeRowEvent::cbResizeRowEvent}\label{cbresizeroweventcbresizerowevent}
|
||||
|
||||
\func{}{cbResizeRowEvent}{\param{cbRowInfo* }{pRow}, \param{int }{handleOfs}, \param{bool }{forUpperHandle}, \param{cbDockPane* }{pPane}}
|
||||
|
||||
Constructor, taking row information, two parameters of currently unknown use, and pane.
|
||||
|
@@ -1,30 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% controlbar.h at 21/Jan/02 21:14:15
|
||||
%
|
||||
|
||||
|
||||
\section{\class{cbRightDownEvent}}\label{cbrightdownevent}
|
||||
|
||||
|
||||
Class for mouse right down events.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{cbPluginEvent}{cbpluginevent}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/controlbar.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{cbRightDownEvent::cbRightDownEvent}\label{cbrightdowneventcbrightdownevent}
|
||||
|
||||
\func{}{cbRightDownEvent}{\param{const wxPoint\& }{pos}, \param{cbDockPane* }{pPane}}
|
||||
|
||||
Constructor, taking mouse position and pane.
|
||||
|
@@ -1,30 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% controlbar.h at 21/Jan/02 21:14:15
|
||||
%
|
||||
|
||||
|
||||
\section{\class{cbRightUpEvent}}\label{cbrightupevent}
|
||||
|
||||
|
||||
Class for mouse right up events.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{cbPluginEvent}{cbpluginevent}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/controlbar.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{cbRightUpEvent::cbRightUpEvent}\label{cbrightupeventcbrightupevent}
|
||||
|
||||
\func{}{cbRightUpEvent}{\param{const wxPoint\& }{pos}, \param{cbDockPane* }{pPane}}
|
||||
|
||||
Constructor, taking mouse position and pane.
|
||||
|
@@ -1,339 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% rowdragpl.h at 21/Jan/02 21:14:19
|
||||
%
|
||||
|
||||
|
||||
\section{\class{cbRowDragPlugin}}\label{cbrowdragplugin}
|
||||
|
||||
|
||||
This plugin adds row-dragging functionality to the pane.
|
||||
It handles mouse movement and pane background-erasing plugin events.
|
||||
The behaviour and appearance resembles drag and drop positioning
|
||||
of the toolbar rows in Netscape Communicator 4.xx.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{cbPluginBase}{cbpluginbase}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/rowdragpl.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{cbRowDragPlugin::cbRowDragPlugin}\label{cbrowdragplugincbrowdragplugin}
|
||||
|
||||
\func{}{cbRowDragPlugin}{\param{wxFrameLayout* }{pLayout}, \param{int }{paneMask = wxALL\_PANES}}
|
||||
|
||||
Constructor, taking paren layout frame and pane mask.
|
||||
|
||||
|
||||
\func{}{cbRowDragPlugin}{\void}
|
||||
|
||||
Default constructor.
|
||||
|
||||
|
||||
\membersection{cbRowDragPlugin::\destruct{cbRowDragPlugin}}\label{cbrowdragplugindtor}
|
||||
|
||||
\func{}{\destruct{cbRowDragPlugin}}{\void}
|
||||
|
||||
Destructor.
|
||||
|
||||
|
||||
\membersection{cbRowDragPlugin::CaptureDCArea}\label{cbrowdragplugincapturedcarea}
|
||||
|
||||
\func{wxBitmap*}{CaptureDCArea}{\param{wxDC\& }{dc}, \param{wxRect\& }{area}}
|
||||
|
||||
Helper for drag and drop.
|
||||
|
||||
|
||||
\membersection{cbRowDragPlugin::CheckPrevItemInFocus}\label{cbrowdragplugincheckpreviteminfocus}
|
||||
|
||||
\func{void}{CheckPrevItemInFocus}{\param{cbRowInfo* }{pRow}, \param{int }{iconIdx}}
|
||||
|
||||
Helper for drag and drop.
|
||||
|
||||
|
||||
\membersection{cbRowDragPlugin::Clone}\label{cbrowdragpluginclone}
|
||||
|
||||
\func{cbPluginBase*}{Clone}{\void}
|
||||
|
||||
Clone function, returning a new instance of this class.
|
||||
|
||||
|
||||
\membersection{cbRowDragPlugin::CollapseRow}\label{cbrowdragplugincollapserow}
|
||||
|
||||
\func{void}{CollapseRow}{\param{cbRowInfo* }{pRow}}
|
||||
|
||||
Helper for drag and drop.
|
||||
|
||||
|
||||
\membersection{cbRowDragPlugin::Draw3DPattern}\label{cbrowdragplugindraw3dpattern}
|
||||
|
||||
\func{void}{Draw3DPattern}{\param{wxRect\& }{inRect}, \param{wxDC\& }{dc}}
|
||||
|
||||
Implements 'hard-coded metafile' for Netscape Navigator look.
|
||||
|
||||
|
||||
\membersection{cbRowDragPlugin::Draw3DRect}\label{cbrowdragplugindraw3drect}
|
||||
|
||||
\func{void}{Draw3DRect}{\param{wxRect\& }{inRect}, \param{wxDC\& }{dc}, \param{wxBrush\& }{bkBrush}}
|
||||
|
||||
Implements 'hard-coded metafile' for Netscape Navigator look.
|
||||
|
||||
|
||||
\membersection{cbRowDragPlugin::DrawCollapsedRowIcon}\label{cbrowdragplugindrawcollapsedrowicon}
|
||||
|
||||
\func{void}{DrawCollapsedRowIcon}{\param{int }{index}, \param{wxDC\& }{dc}, \param{bool }{isHighlighted}}
|
||||
|
||||
Draws collapsed row icon (appearance-dependent).
|
||||
|
||||
|
||||
\membersection{cbRowDragPlugin::DrawCollapsedRowsBorder}\label{cbrowdragplugindrawcollapsedrowsborder}
|
||||
|
||||
\func{void}{DrawCollapsedRowsBorder}{\param{wxDC\& }{dc}}
|
||||
|
||||
Draws collapsed rows border (appearance-dependent).
|
||||
|
||||
|
||||
\membersection{cbRowDragPlugin::DrawEmptyRow}\label{cbrowdragplugindrawemptyrow}
|
||||
|
||||
\func{void}{DrawEmptyRow}{\param{wxDC\& }{dc}, \param{wxRect\& }{rowBounds}}
|
||||
|
||||
Draws empty row (appearance-dependent).
|
||||
|
||||
|
||||
\membersection{cbRowDragPlugin::DrawOrtoRomb}\label{cbrowdragplugindrawortoromb}
|
||||
|
||||
\func{void}{DrawOrtoRomb}{\param{wxRect\& }{inRect}, \param{wxDC\& }{dc}, \param{wxBrush\& }{bkBrush}}
|
||||
|
||||
Implements 'hard-coded metafile' for Netscape Navigator look.
|
||||
|
||||
|
||||
\membersection{cbRowDragPlugin::DrawRectShade}\label{cbrowdragplugindrawrectshade}
|
||||
|
||||
\func{void}{DrawRectShade}{\param{wxRect\& }{inRect}, \param{wxDC\& }{dc}, \param{int }{level}, \param{wxPen\& }{upperPen}, \param{wxPen\& }{lowerPen}}
|
||||
|
||||
Implements 'hard-coded metafile' for Netscape Navigator look.
|
||||
|
||||
|
||||
\membersection{cbRowDragPlugin::DrawRomb}\label{cbrowdragplugindrawromb}
|
||||
|
||||
\func{void}{DrawRomb}{\param{wxRect\& }{inRect}, \param{wxDC\& }{dc}, \param{wxBrush\& }{bkBrush}}
|
||||
|
||||
Implements 'hard-coded metafile' for Netscape Navigator look.
|
||||
|
||||
|
||||
\membersection{cbRowDragPlugin::DrawRombShades}\label{cbrowdragplugindrawrombshades}
|
||||
|
||||
\func{void}{DrawRombShades}{\param{wxPoint\& }{p1}, \param{wxPoint\& }{p2}, \param{wxPoint\& }{p3}, \param{wxPoint\& }{p4}, \param{wxDC\& }{dc}}
|
||||
|
||||
Implements 'hard-coded metafile' for Netscape Navigator look.
|
||||
|
||||
|
||||
\membersection{cbRowDragPlugin::DrawRowDragHint}\label{cbrowdragplugindrawrowdraghint}
|
||||
|
||||
\func{void}{DrawRowDragHint}{\param{cbRowInfo* }{pRow}, \param{wxDC\& }{dc}, \param{bool }{isHighlighted}}
|
||||
|
||||
Draws row drag hint (appearance-dependent).
|
||||
|
||||
|
||||
\membersection{cbRowDragPlugin::DrawRowsDragHintsBorder}\label{cbrowdragplugindrawrowsdraghintsborder}
|
||||
|
||||
\func{void}{DrawRowsDragHintsBorder}{\param{wxDC\& }{dc}}
|
||||
|
||||
Draws rows drag hints border (appearance-dependent).
|
||||
|
||||
|
||||
\membersection{cbRowDragPlugin::DrawTrianDown}\label{cbrowdragplugindrawtriandown}
|
||||
|
||||
\func{void}{DrawTrianDown}{\param{wxRect\& }{inRect}, \param{wxDC\& }{dc}}
|
||||
|
||||
Implements 'hard-coded metafile' for Netscape Navigator look.
|
||||
|
||||
|
||||
\membersection{cbRowDragPlugin::DrawTrianRight}\label{cbrowdragplugindrawtrianright}
|
||||
|
||||
\func{void}{DrawTrianRight}{\param{wxRect\& }{inRect}, \param{wxDC\& }{dc}}
|
||||
|
||||
Implements 'hard-coded metafile' for Netscape Navigator look.
|
||||
|
||||
|
||||
\membersection{cbRowDragPlugin::DrawTrianUp}\label{cbrowdragplugindrawtrianup}
|
||||
|
||||
\func{void}{DrawTrianUp}{\param{wxRect\& }{inRect}, \param{wxDC\& }{dc}}
|
||||
|
||||
Implements 'hard-coded metafile' for Netscape Navigator look.
|
||||
|
||||
|
||||
\membersection{cbRowDragPlugin::ExpandRow}\label{cbrowdragpluginexpandrow}
|
||||
|
||||
\func{void}{ExpandRow}{\param{int }{collapsedIconIdx}}
|
||||
|
||||
Helper for drag and drop.
|
||||
|
||||
|
||||
\membersection{cbRowDragPlugin::FinishOnScreenDraw}\label{cbrowdragpluginfinishonscreendraw}
|
||||
|
||||
\func{void}{FinishOnScreenDraw}{\void}
|
||||
|
||||
Helper for drag and drop.
|
||||
|
||||
|
||||
\membersection{cbRowDragPlugin::GetCollapsedIconsPos}\label{cbrowdragplugingetcollapsediconspos}
|
||||
|
||||
\func{int}{GetCollapsedIconsPos}{\void}
|
||||
|
||||
Helper for drag and drop.
|
||||
|
||||
|
||||
\membersection{cbRowDragPlugin::GetCollapsedInconRect}\label{cbrowdragplugingetcollapsedinconrect}
|
||||
|
||||
\func{void}{GetCollapsedInconRect}{\param{int }{iconIdx}, \param{wxRect\& }{rect}}
|
||||
|
||||
Helper for drag and drop.
|
||||
|
||||
|
||||
\membersection{cbRowDragPlugin::GetCollapsedRowIconHeight}\label{cbrowdragplugingetcollapsedrowiconheight}
|
||||
|
||||
\func{int}{GetCollapsedRowIconHeight}{\void}
|
||||
|
||||
Gets the collapsed row icon height.
|
||||
|
||||
|
||||
\membersection{cbRowDragPlugin::GetFirstRow}\label{cbrowdragplugingetfirstrow}
|
||||
|
||||
\func{cbRowInfo*}{GetFirstRow}{\void}
|
||||
|
||||
Helper for drag and drop.
|
||||
|
||||
|
||||
\membersection{cbRowDragPlugin::GetHRowsCountForPane}\label{cbrowdragplugingethrowscountforpane}
|
||||
|
||||
\func{int}{GetHRowsCountForPane}{\param{cbDockPane* }{pPane}}
|
||||
|
||||
Helper for drag and drop.
|
||||
|
||||
|
||||
\membersection{cbRowDragPlugin::GetRowDragHintWidth}\label{cbrowdragplugingetrowdraghintwidth}
|
||||
|
||||
\func{int}{GetRowDragHintWidth}{\void}
|
||||
|
||||
Gets the row drag hint width.
|
||||
|
||||
|
||||
\membersection{cbRowDragPlugin::GetRowHintRect}\label{cbrowdragplugingetrowhintrect}
|
||||
|
||||
\func{void}{GetRowHintRect}{\param{cbRowInfo* }{pRow}, \param{wxRect\& }{rect}}
|
||||
|
||||
Helper for drag and drop.
|
||||
|
||||
|
||||
\membersection{cbRowDragPlugin::HitTestCollapsedRowIcon}\label{cbrowdragpluginhittestcollapsedrowicon}
|
||||
|
||||
\func{bool}{HitTestCollapsedRowIcon}{\param{int }{iconIdx}, \param{const wxPoint\& }{pos}}
|
||||
|
||||
Test for the collapsed row icon position.
|
||||
|
||||
|
||||
\membersection{cbRowDragPlugin::HitTestRowDragHint}\label{cbrowdragpluginhittestrowdraghint}
|
||||
|
||||
\func{bool}{HitTestRowDragHint}{\param{cbRowInfo* }{pRow}, \param{const wxPoint\& }{pos}}
|
||||
|
||||
Test for the row drag hint position.
|
||||
|
||||
|
||||
\membersection{cbRowDragPlugin::InsertDraggedRowBefore}\label{cbrowdragplugininsertdraggedrowbefore}
|
||||
|
||||
\func{void}{InsertDraggedRowBefore}{\param{cbRowInfo* }{pBeforeRow}}
|
||||
|
||||
Helper for drag and drop.
|
||||
|
||||
|
||||
\membersection{cbRowDragPlugin::ItemIsInFocus}\label{cbrowdragpluginitemisinfocus}
|
||||
|
||||
\func{bool}{ItemIsInFocus}{\void}
|
||||
|
||||
Helper for drag and drop.
|
||||
|
||||
|
||||
\membersection{cbRowDragPlugin::OnDrawPaneBackground}\label{cbrowdragpluginondrawpanebackground}
|
||||
|
||||
\func{void}{OnDrawPaneBackground}{\param{cbDrawPaneDecorEvent\& }{event}}
|
||||
|
||||
Handles pane drawing plugin events (appearance-independent logic).
|
||||
|
||||
|
||||
\membersection{cbRowDragPlugin::OnInitPlugin}\label{cbrowdragpluginoninitplugin}
|
||||
|
||||
\func{void}{OnInitPlugin}{\void}
|
||||
|
||||
Called to initialize this plugin.
|
||||
|
||||
|
||||
\membersection{cbRowDragPlugin::OnLButtonDown}\label{cbrowdragpluginonlbuttondown}
|
||||
|
||||
\func{void}{OnLButtonDown}{\param{cbLeftDownEvent\& }{event}}
|
||||
|
||||
Handles left button down plugin events (appearance-independent logic).
|
||||
|
||||
|
||||
\membersection{cbRowDragPlugin::OnLButtonUp}\label{cbrowdragpluginonlbuttonup}
|
||||
|
||||
\func{void}{OnLButtonUp}{\param{cbLeftUpEvent\& }{event}}
|
||||
|
||||
Handles left button up plugin events (appearance-independent logic).
|
||||
|
||||
|
||||
\membersection{cbRowDragPlugin::OnMouseMove}\label{cbrowdragpluginonmousemove}
|
||||
|
||||
\func{void}{OnMouseMove}{\param{cbMotionEvent\& }{event}}
|
||||
|
||||
Handles mouse move plugin events (appearance-independent logic).
|
||||
|
||||
|
||||
\membersection{cbRowDragPlugin::PrepareForRowDrag}\label{cbrowdragpluginprepareforrowdrag}
|
||||
|
||||
\func{void}{PrepareForRowDrag}{\void}
|
||||
|
||||
Helper for drag and drop.
|
||||
|
||||
|
||||
\membersection{cbRowDragPlugin::SetMouseCapture}\label{cbrowdragpluginsetmousecapture}
|
||||
|
||||
\func{void}{SetMouseCapture}{\param{bool }{captureOn}}
|
||||
|
||||
Helper for drag and drop.
|
||||
|
||||
|
||||
\membersection{cbRowDragPlugin::SetPaneMargins}\label{cbrowdragpluginsetpanemargins}
|
||||
|
||||
\func{void}{SetPaneMargins}{\void}
|
||||
|
||||
Sets the pane margins.
|
||||
|
||||
|
||||
\membersection{cbRowDragPlugin::ShowDraggedRow}\label{cbrowdragpluginshowdraggedrow}
|
||||
|
||||
\func{void}{ShowDraggedRow}{\param{int }{offset}}
|
||||
|
||||
Helper for drag and drop.
|
||||
|
||||
|
||||
\membersection{cbRowDragPlugin::ShowPaneImage}\label{cbrowdragpluginshowpaneimage}
|
||||
|
||||
\func{void}{ShowPaneImage}{\void}
|
||||
|
||||
Helper for drag and drop.
|
||||
|
||||
|
||||
\membersection{cbRowDragPlugin::UnhighlightItemInFocus}\label{cbrowdragpluginunhighlightiteminfocus}
|
||||
|
||||
\func{void}{UnhighlightItemInFocus}{\void}
|
||||
|
||||
Helper for drag and drop.
|
||||
|
@@ -1,45 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% controlbar.h at 21/Jan/02 21:14:13
|
||||
%
|
||||
|
||||
|
||||
\section{\class{cbRowInfo}}\label{cbrowinfo}
|
||||
|
||||
|
||||
Helper class used internally by the wxFrameLayout class.
|
||||
Holds and manages information about bar rows.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{wxObject}{wxobject}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/controlbar.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{cbRowInfo::cbRowInfo}\label{cbrowinfocbrowinfo}
|
||||
|
||||
\func{}{cbRowInfo}{\void}
|
||||
|
||||
Constructor.
|
||||
|
||||
|
||||
\membersection{cbRowInfo::\destruct{cbRowInfo}}\label{cbrowinfodtor}
|
||||
|
||||
\func{}{\destruct{cbRowInfo}}{\void}
|
||||
|
||||
Destructor.
|
||||
|
||||
|
||||
\membersection{cbRowInfo::GetFirstBar}\label{cbrowinfogetfirstbar}
|
||||
|
||||
\func{cbBarInfo*}{GetFirstBar}{\void}
|
||||
|
||||
Returns the first bar.
|
||||
|
@@ -1,204 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% rowlayoutpl.h at 21/Jan/02 21:14:19
|
||||
%
|
||||
|
||||
|
||||
\section{\class{cbRowLayoutPlugin}}\label{cbrowlayoutplugin}
|
||||
|
||||
|
||||
Simple implementation of a plugin which handles row layout
|
||||
requests sent from a frame layout.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{cbPluginBase}{cbpluginbase}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/rowlayoutpl.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{cbRowLayoutPlugin::cbRowLayoutPlugin}\label{cbrowlayoutplugincbrowlayoutplugin}
|
||||
|
||||
\func{}{cbRowLayoutPlugin}{\param{wxFrameLayout* }{pPanel}, \param{int }{paneMask = wxALL\_PANES}}
|
||||
|
||||
Constructor taking frame layout pane and pane mask.
|
||||
|
||||
|
||||
\func{}{cbRowLayoutPlugin}{\void}
|
||||
|
||||
Default constructor.
|
||||
|
||||
|
||||
\membersection{cbRowLayoutPlugin::AdjustLengthOfInserted}\label{cbrowlayoutpluginadjustlengthofinserted}
|
||||
|
||||
\func{void}{AdjustLengthOfInserted}{\param{cbRowInfo* }{pRow}, \param{cbBarInfo* }{pTheBar}}
|
||||
|
||||
Internal helper relating to not-fixed-bars layout.
|
||||
|
||||
|
||||
\membersection{cbRowLayoutPlugin::ApplyLengthRatios}\label{cbrowlayoutpluginapplylengthratios}
|
||||
|
||||
\func{void}{ApplyLengthRatios}{\param{cbRowInfo* }{pRow}}
|
||||
|
||||
Internal helper relating to not-fixed-bars layout.
|
||||
|
||||
|
||||
\membersection{cbRowLayoutPlugin::CalcRowHeight}\label{cbrowlayoutplugincalcrowheight}
|
||||
|
||||
\func{int}{CalcRowHeight}{\param{cbRowInfo\& }{row}}
|
||||
|
||||
Row layout helper simulating bar 'friction'.
|
||||
|
||||
|
||||
\membersection{cbRowLayoutPlugin::CheckIfAtTheBoundary}\label{cbrowlayoutplugincheckifattheboundary}
|
||||
|
||||
\func{void}{CheckIfAtTheBoundary}{\param{cbBarInfo* }{pTheBar}, \param{cbRowInfo\& }{rowInfo}}
|
||||
|
||||
Internal helper relating to not-fixed-bars layout.
|
||||
|
||||
|
||||
\membersection{cbRowLayoutPlugin::DetectBarHandles}\label{cbrowlayoutplugindetectbarhandles}
|
||||
|
||||
\func{void}{DetectBarHandles}{\param{cbRowInfo* }{pRow}}
|
||||
|
||||
Internal helper relating to not-fixed-bars layout.
|
||||
|
||||
|
||||
\membersection{cbRowLayoutPlugin::DoInsertBar}\label{cbrowlayoutplugindoinsertbar}
|
||||
|
||||
\func{void}{DoInsertBar}{\param{cbBarInfo* }{pTheBar}, \param{cbRowInfo\& }{row}}
|
||||
|
||||
Insert the bar before the given row.
|
||||
|
||||
|
||||
\membersection{cbRowLayoutPlugin::ExpandNotFixedBars}\label{cbrowlayoutpluginexpandnotfixedbars}
|
||||
|
||||
\func{void}{ExpandNotFixedBars}{\param{cbRowInfo* }{pRow}}
|
||||
|
||||
Internal helper relating to not-fixed-bars layout.
|
||||
|
||||
|
||||
\membersection{cbRowLayoutPlugin::FitBarsToRange}\label{cbrowlayoutpluginfitbarstorange}
|
||||
|
||||
\func{void}{FitBarsToRange}{\param{int }{from}, \param{int }{till}, \param{cbBarInfo* }{pTheBar}, \param{cbRowInfo* }{pRow}}
|
||||
|
||||
Internal helper relating to not-fixed-bars layout.
|
||||
|
||||
|
||||
\membersection{cbRowLayoutPlugin::GetRowFreeSpace}\label{cbrowlayoutplugingetrowfreespace}
|
||||
|
||||
\func{int}{GetRowFreeSpace}{\param{cbRowInfo* }{pRow}}
|
||||
|
||||
Internal helper relating to not-fixed-bars layout.
|
||||
|
||||
|
||||
\membersection{cbRowLayoutPlugin::InsertBefore}\label{cbrowlayoutplugininsertbefore}
|
||||
|
||||
\func{void}{InsertBefore}{\param{cbBarInfo* }{pBeforeBar}, \param{cbBarInfo* }{pTheBar}, \param{cbRowInfo\& }{row}}
|
||||
|
||||
Insert the bar before the given row.
|
||||
|
||||
|
||||
\membersection{cbRowLayoutPlugin::LayoutItemsVertically}\label{cbrowlayoutpluginlayoutitemsvertically}
|
||||
|
||||
\func{void}{LayoutItemsVertically}{\param{cbRowInfo\& }{row}}
|
||||
|
||||
Row layout helper simulating bar 'friction'.
|
||||
|
||||
|
||||
\membersection{cbRowLayoutPlugin::MinimzeNotFixedBars}\label{cbrowlayoutpluginminimzenotfixedbars}
|
||||
|
||||
\func{void}{MinimzeNotFixedBars}{\param{cbRowInfo* }{pRow}, \param{cbBarInfo* }{pBarToPreserve}}
|
||||
|
||||
Internal helper relating to not-fixed-bars layout.
|
||||
|
||||
|
||||
\membersection{cbRowLayoutPlugin::OnInsertBar}\label{cbrowlayoutpluginoninsertbar}
|
||||
|
||||
\func{void}{OnInsertBar}{\param{cbInsertBarEvent\& }{event}}
|
||||
|
||||
Responds to bar insertion event.
|
||||
|
||||
|
||||
\membersection{cbRowLayoutPlugin::OnLayoutRow}\label{cbrowlayoutpluginonlayoutrow}
|
||||
|
||||
\func{void}{OnLayoutRow}{\param{cbLayoutRowEvent\& }{event}}
|
||||
|
||||
Responds to row layout event.
|
||||
|
||||
|
||||
\membersection{cbRowLayoutPlugin::OnLayoutRows}\label{cbrowlayoutpluginonlayoutrows}
|
||||
|
||||
\func{void}{OnLayoutRows}{\param{cbLayoutRowsEvent\& }{event}}
|
||||
|
||||
Responds to rows layout event.
|
||||
|
||||
|
||||
\membersection{cbRowLayoutPlugin::OnRemoveBar}\label{cbrowlayoutpluginonremovebar}
|
||||
|
||||
\func{void}{OnRemoveBar}{\param{cbRemoveBarEvent\& }{event}}
|
||||
|
||||
Responds to bar removal event.
|
||||
|
||||
|
||||
\membersection{cbRowLayoutPlugin::OnResizeRow}\label{cbrowlayoutpluginonresizerow}
|
||||
|
||||
\func{void}{OnResizeRow}{\param{cbResizeRowEvent\& }{event}}
|
||||
|
||||
Responds to row resize event.
|
||||
|
||||
|
||||
\membersection{cbRowLayoutPlugin::RecalcLengthRatios}\label{cbrowlayoutpluginrecalclengthratios}
|
||||
|
||||
\func{void}{RecalcLengthRatios}{\param{cbRowInfo* }{pRow}}
|
||||
|
||||
Internal helper relating to not-fixed-bars layout.
|
||||
|
||||
|
||||
\membersection{cbRowLayoutPlugin::RelayoutNotFixedBarsAround}\label{cbrowlayoutpluginrelayoutnotfixedbarsaround}
|
||||
|
||||
\func{void}{RelayoutNotFixedBarsAround}{\param{cbBarInfo* }{pTheBar}, \param{cbRowInfo* }{pRow}}
|
||||
|
||||
Internal helper relating to not-fixed-bars layout.
|
||||
|
||||
|
||||
\membersection{cbRowLayoutPlugin::ShiftLeftTrashold}\label{cbrowlayoutpluginshiftlefttrashold}
|
||||
|
||||
\func{void}{ShiftLeftTrashold}{\param{cbBarInfo* }{pTheBar}, \param{cbRowInfo\& }{row}}
|
||||
|
||||
Row layout helper simulating bar 'friction'.
|
||||
|
||||
|
||||
\membersection{cbRowLayoutPlugin::ShiftRightTrashold}\label{cbrowlayoutpluginshiftrighttrashold}
|
||||
|
||||
\func{void}{ShiftRightTrashold}{\param{cbBarInfo* }{pTheBar}, \param{cbRowInfo\& }{row}}
|
||||
|
||||
Row layout helper simulating bar 'friction'.
|
||||
|
||||
|
||||
\membersection{cbRowLayoutPlugin::SlideLeftSideBars}\label{cbrowlayoutpluginslideleftsidebars}
|
||||
|
||||
\func{void}{SlideLeftSideBars}{\param{cbBarInfo* }{pTheBar}}
|
||||
|
||||
Row layout helper simulating bar 'friction'.
|
||||
|
||||
|
||||
\membersection{cbRowLayoutPlugin::SlideRightSideBars}\label{cbrowlayoutpluginsliderightsidebars}
|
||||
|
||||
\func{void}{SlideRightSideBars}{\param{cbBarInfo* }{pTheBar}}
|
||||
|
||||
Row layout helper simulating bar 'friction'.
|
||||
|
||||
|
||||
\membersection{cbRowLayoutPlugin::StickRightSideBars}\label{cbrowlayoutpluginstickrightsidebars}
|
||||
|
||||
\func{void}{StickRightSideBars}{\param{cbBarInfo* }{pToBar}}
|
||||
|
||||
Row layout helper simulating bar 'friction'.
|
||||
|
@@ -1,58 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% cbcustom.h at 21/Jan/02 21:14:18
|
||||
%
|
||||
|
||||
|
||||
\section{\class{cbSimpleCustomizationPlugin}}\label{cbsimplecustomizationplugin}
|
||||
|
||||
|
||||
This class enables customization of a bar, popping up a
|
||||
menu and handling basic customization such as floating
|
||||
and horizontal/vertical alignment of the bar.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{cbPluginBase}{cbpluginbase}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/cbcustom.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{cbSimpleCustomizationPlugin::cbSimpleCustomizationPlugin}\label{cbsimplecustomizationplugincbsimplecustomizationplugin}
|
||||
|
||||
\func{}{cbSimpleCustomizationPlugin}{\param{wxFrameLayout* }{pPanel}, \param{int }{paneMask = wxALL\_PANES}}
|
||||
|
||||
Constructor, taking parent pane and a pane mask flag.
|
||||
|
||||
|
||||
\func{}{cbSimpleCustomizationPlugin}{\void}
|
||||
|
||||
Default constructor.
|
||||
|
||||
|
||||
\membersection{cbSimpleCustomizationPlugin::OnCustomizeBar}\label{cbsimplecustomizationpluginoncustomizebar}
|
||||
|
||||
\func{void}{OnCustomizeBar}{\param{cbCustomizeBarEvent\& }{event}}
|
||||
|
||||
Plugin event handler for cbCustomizeBarEvent.
|
||||
|
||||
|
||||
\membersection{cbSimpleCustomizationPlugin::OnCustomizeLayout}\label{cbsimplecustomizationpluginoncustomizelayout}
|
||||
|
||||
\func{void}{OnCustomizeLayout}{\param{cbCustomizeLayoutEvent\& }{event}}
|
||||
|
||||
Plugin event handler for cbCustomizeLayoutEvent.
|
||||
|
||||
|
||||
\membersection{cbSimpleCustomizationPlugin::OnMenuItemSelected}\label{cbsimplecustomizationpluginonmenuitemselected}
|
||||
|
||||
\func{void}{OnMenuItemSelected}{\param{wxCommandEvent\& }{event}}
|
||||
|
||||
Menu event handler.
|
||||
|
@@ -1,98 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% updatesmgr.h at 21/Jan/02 21:14:18
|
||||
%
|
||||
|
||||
|
||||
\section{\class{cbSimpleUpdatesMgr}}\label{cbsimpleupdatesmgr}
|
||||
|
||||
|
||||
This class implements slightly optimized logic for refreshing
|
||||
the areas of frame layout that actually need to be updated.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{cbUpdatesManagerBase}{cbupdatesmanagerbase}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/updatesmgr.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{cbSimpleUpdatesMgr::cbSimpleUpdatesMgr}\label{cbsimpleupdatesmgrcbsimpleupdatesmgr}
|
||||
|
||||
\func{}{cbSimpleUpdatesMgr}{\void}
|
||||
|
||||
Default constructor.
|
||||
|
||||
|
||||
\func{}{cbSimpleUpdatesMgr}{\param{wxFrameLayout* }{pPanel}}
|
||||
|
||||
Constructor taking frame layout panel.
|
||||
|
||||
|
||||
\membersection{cbSimpleUpdatesMgr::OnBarWillChange}\label{cbsimpleupdatesmgronbarwillchange}
|
||||
|
||||
\func{void}{OnBarWillChange}{\param{cbBarInfo* }{pBar}, \param{cbRowInfo* }{pInRow}, \param{cbDockPane* }{pInPane}}
|
||||
|
||||
Notification received from Frame Layout in the order in which
|
||||
they would usually be invoked.
|
||||
|
||||
|
||||
\membersection{cbSimpleUpdatesMgr::OnFinishChanges}\label{cbsimpleupdatesmgronfinishchanges}
|
||||
|
||||
\func{void}{OnFinishChanges}{\void}
|
||||
|
||||
Notification received from Frame Layout in the order in which
|
||||
they would usually be invoked.
|
||||
|
||||
|
||||
\membersection{cbSimpleUpdatesMgr::OnPaneMarginsWillChange}\label{cbsimpleupdatesmgronpanemarginswillchange}
|
||||
|
||||
\func{void}{OnPaneMarginsWillChange}{\param{cbDockPane* }{pPane}}
|
||||
|
||||
Notification received from Frame Layout in the order in which
|
||||
they would usually be invoked.
|
||||
|
||||
|
||||
\membersection{cbSimpleUpdatesMgr::OnPaneWillChange}\label{cbsimpleupdatesmgronpanewillchange}
|
||||
|
||||
\func{void}{OnPaneWillChange}{\param{cbDockPane* }{pPane}}
|
||||
|
||||
Notification received from Frame Layout in the order in which
|
||||
they would usually be invoked.
|
||||
|
||||
|
||||
\membersection{cbSimpleUpdatesMgr::OnRowWillChange}\label{cbsimpleupdatesmgronrowwillchange}
|
||||
|
||||
\func{void}{OnRowWillChange}{\param{cbRowInfo* }{pRow}, \param{cbDockPane* }{pInPane}}
|
||||
|
||||
Notification received from Frame Layout in the order in which
|
||||
they would usually be invoked.
|
||||
|
||||
|
||||
\membersection{cbSimpleUpdatesMgr::OnStartChanges}\label{cbsimpleupdatesmgronstartchanges}
|
||||
|
||||
\func{void}{OnStartChanges}{\void}
|
||||
|
||||
Notification received from Frame Layout in the order in which
|
||||
they would usually be invoked.
|
||||
|
||||
|
||||
\membersection{cbSimpleUpdatesMgr::UpdateNow}\label{cbsimpleupdatesmgrupdatenow}
|
||||
|
||||
\func{void}{UpdateNow}{\void}
|
||||
|
||||
Refreshes the parts of the frame layoutthat need an update.
|
||||
|
||||
|
||||
\membersection{cbSimpleUpdatesMgr::WasChanged}\label{cbsimpleupdatesmgrwaschanged}
|
||||
|
||||
\func{bool}{WasChanged}{\param{cbUpdateMgrData\& }{data}, \param{wxRect\& }{currentBounds}}
|
||||
|
||||
Helper function.
|
||||
|
@@ -1,30 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% controlbar.h at 21/Jan/02 21:14:16
|
||||
%
|
||||
|
||||
|
||||
\section{\class{cbSizeBarWndEvent}}\label{cbsizebarwndevent}
|
||||
|
||||
|
||||
Class for bar window resize events.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{cbPluginEvent}{cbpluginevent}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/controlbar.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{cbSizeBarWndEvent::cbSizeBarWndEvent}\label{cbsizebarwndeventcbsizebarwndevent}
|
||||
|
||||
\func{}{cbSizeBarWndEvent}{\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:16
|
||||
%
|
||||
|
||||
|
||||
\section{\class{cbStartBarDraggingEvent}}\label{cbstartbardraggingevent}
|
||||
|
||||
|
||||
Class for start-bar-dragging events.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{cbPluginEvent}{cbpluginevent}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/controlbar.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{cbStartBarDraggingEvent::cbStartBarDraggingEvent}\label{cbstartbardraggingeventcbstartbardraggingevent}
|
||||
|
||||
\func{}{cbStartBarDraggingEvent}{\param{cbBarInfo* }{pBar}, \param{const wxPoint\& }{pos}, \param{cbDockPane* }{pPane}}
|
||||
|
||||
Constructor, taking bar information, mouse position, and pane.
|
||||
|
@@ -1,31 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% controlbar.h at 21/Jan/02 21:14:16
|
||||
%
|
||||
|
||||
|
||||
\section{\class{cbStartDrawInAreaEvent}}\label{cbstartdrawinareaevent}
|
||||
|
||||
|
||||
Class for start 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{cbStartDrawInAreaEvent::cbStartDrawInAreaEvent}\label{cbstartdrawinareaeventcbstartdrawinareaevent}
|
||||
|
||||
\func{}{cbStartDrawInAreaEvent}{\param{const wxRect\& }{area}, \param{wxDC** }{ppDCForArea}, \param{cbDockPane* }{pPane}}
|
||||
|
||||
to the obtained buffer-context should be placed
|
||||
Constructor, taking rectangular area, device context pointer to a pointer, and pane.
|
||||
|
@@ -1,60 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% controlbar.h at 21/Jan/02 21:14:13
|
||||
%
|
||||
|
||||
|
||||
\section{\class{cbUpdateMgrData}}\label{cbupdatemgrdata}
|
||||
|
||||
|
||||
A structure that is present in each item of layout,
|
||||
used by any particular updates-manager to store
|
||||
auxiliary information to be used by its updating algorithm.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{wxObject}{wxobject}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/controlbar.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{cbUpdateMgrData::cbUpdateMgrData}\label{cbupdatemgrdatacbupdatemgrdata}
|
||||
|
||||
\func{}{cbUpdateMgrData}{\void}
|
||||
|
||||
Default constructor. Is-dirty flag is set TRUE initially.
|
||||
|
||||
|
||||
\membersection{cbUpdateMgrData::IsDirty}\label{cbupdatemgrdataisdirty}
|
||||
|
||||
\func{bool}{IsDirty}{\void}
|
||||
|
||||
Returns the is-dirty flag.
|
||||
|
||||
|
||||
\membersection{cbUpdateMgrData::SetCustomData}\label{cbupdatemgrdatasetcustomdata}
|
||||
|
||||
\func{void}{SetCustomData}{\param{wxObject* }{pCustomData}}
|
||||
|
||||
Set custom data.
|
||||
|
||||
|
||||
\membersection{cbUpdateMgrData::SetDirty}\label{cbupdatemgrdatasetdirty}
|
||||
|
||||
\func{void}{SetDirty}{\param{bool }{isDirty = TRUE}}
|
||||
|
||||
Set the dirty flag.
|
||||
|
||||
|
||||
\membersection{cbUpdateMgrData::StoreItemState}\label{cbupdatemgrdatastoreitemstate}
|
||||
|
||||
\func{void}{StoreItemState}{\param{const wxRect\& }{boundsInParent}}
|
||||
|
||||
Store the item state.
|
||||
|
@@ -1,112 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% controlbar.h at 21/Jan/02 21:14:14
|
||||
%
|
||||
|
||||
|
||||
\section{\class{cbUpdatesManagerBase}}\label{cbupdatesmanagerbase}
|
||||
|
||||
|
||||
This class declares an abstract interface for optimized logic that should refresh
|
||||
areas of frame layout that actually need to be updated. This should be extended in future
|
||||
to implement a custom updating strategy.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{wxObject}{wxobject}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/controlbar.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{cbUpdatesManagerBase::cbUpdatesManagerBase}\label{cbupdatesmanagerbasecbupdatesmanagerbase}
|
||||
|
||||
\func{}{cbUpdatesManagerBase}{\param{wxFrameLayout* }{pPanel}}
|
||||
|
||||
Constructor taking layout panel.
|
||||
|
||||
|
||||
\func{}{cbUpdatesManagerBase}{\void}
|
||||
|
||||
Default constructor
|
||||
|
||||
|
||||
\membersection{cbUpdatesManagerBase::\destruct{cbUpdatesManagerBase}}\label{cbupdatesmanagerbasedtor}
|
||||
|
||||
\func{}{\destruct{cbUpdatesManagerBase}}{\void}
|
||||
|
||||
Destructor.
|
||||
|
||||
|
||||
\membersection{cbUpdatesManagerBase::OnBarWillChange}\label{cbupdatesmanagerbaseonbarwillchange}
|
||||
|
||||
\func{void}{OnBarWillChange}{\param{cbBarInfo* }{pBar}, \param{cbRowInfo* }{pInRow}, \param{cbDockPane* }{pInPane}}
|
||||
|
||||
This function receives a notification from the frame layout (in the order in which
|
||||
they would usually be invoked). Custom updates-managers may utilize
|
||||
these notifications to implement a more fine-grained updating strategy.
|
||||
|
||||
|
||||
\membersection{cbUpdatesManagerBase::OnFinishChanges}\label{cbupdatesmanagerbaseonfinishchanges}
|
||||
|
||||
\func{void}{OnFinishChanges}{\void}
|
||||
|
||||
This function receives a notification from the frame layout (in the order in which
|
||||
they would usually be invoked). Custom updates-managers may utilize
|
||||
these notifications to implement a more fine-grained updating strategy.
|
||||
|
||||
|
||||
\membersection{cbUpdatesManagerBase::OnPaneMarginsWillChange}\label{cbupdatesmanagerbaseonpanemarginswillchange}
|
||||
|
||||
\func{void}{OnPaneMarginsWillChange}{\param{cbDockPane* }{pPane}}
|
||||
|
||||
This function receives a notification from the frame layout (in the order in which
|
||||
they would usually be invoked). Custom updates-managers may utilize
|
||||
these notifications to implement a more fine-grained updating strategy.
|
||||
|
||||
|
||||
\membersection{cbUpdatesManagerBase::OnPaneWillChange}\label{cbupdatesmanagerbaseonpanewillchange}
|
||||
|
||||
\func{void}{OnPaneWillChange}{\param{cbDockPane* }{pPane}}
|
||||
|
||||
This function receives a notification from the frame layout (in the order in which
|
||||
they would usually be invoked). Custom updates-managers may utilize
|
||||
these notifications to implement a more fine-grained updating strategy.
|
||||
|
||||
|
||||
\membersection{cbUpdatesManagerBase::OnRowWillChange}\label{cbupdatesmanagerbaseonrowwillchange}
|
||||
|
||||
\func{void}{OnRowWillChange}{\param{cbRowInfo* }{pRow}, \param{cbDockPane* }{pInPane}}
|
||||
|
||||
This function receives a notification from the frame layout (in the order in which
|
||||
they would usually be invoked). Custom updates-managers may utilize
|
||||
these notifications to implement a more fine-grained updating strategy.
|
||||
|
||||
|
||||
\membersection{cbUpdatesManagerBase::OnStartChanges}\label{cbupdatesmanagerbaseonstartchanges}
|
||||
|
||||
\func{void}{OnStartChanges}{\void}
|
||||
|
||||
This function receives a notification from the frame layout (in the order in which
|
||||
they would usually be invoked). Custom updates-managers may utilize
|
||||
these notifications to implement a more fine-grained updating strategy.
|
||||
|
||||
|
||||
\membersection{cbUpdatesManagerBase::SetLayout}\label{cbupdatesmanagerbasesetlayout}
|
||||
|
||||
\func{void}{SetLayout}{\param{wxFrameLayout* }{pLayout}}
|
||||
|
||||
Sets the associated layout.
|
||||
|
||||
|
||||
\membersection{cbUpdatesManagerBase::UpdateNow}\label{cbupdatesmanagerbaseupdatenow}
|
||||
|
||||
\func{void}{UpdateNow}{\void}
|
||||
|
||||
Refreshes parts of the frame layout that need an update.
|
||||
|
@@ -1,77 +0,0 @@
|
||||
\chapter{Alphabetical class reference}\label{classref}
|
||||
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
|
||||
\setfooter{\thepage}{}{}{}{}{\thepage}%
|
||||
|
||||
% NB: the files should be in alphabetic order of the classes documented in
|
||||
% them and *not* in alphabetic order of the file names!
|
||||
|
||||
\input baglayout.tex
|
||||
\input bariterator.tex
|
||||
\input cbantiflickerplugin.tex
|
||||
\input cbbardimhandlerbase.tex
|
||||
\input cbbardragplugin.tex
|
||||
\input cbbarhintsplugin.tex
|
||||
\input cbbarinfo.tex
|
||||
\input cbbarshapedata.tex
|
||||
\input cbbarspy.tex
|
||||
\input cbclosebox.tex
|
||||
\input cbcollapsebox.tex
|
||||
\input cbcommonpaneproperties.tex
|
||||
\input cbcustomizebarevent.tex
|
||||
\input cbcustomizelayoutevent.tex
|
||||
\input cbdiminfo.tex
|
||||
\input cbdockbox.tex
|
||||
\input cbdockpane.tex
|
||||
\input cbdrawbardecorevent.tex
|
||||
\input cbdrawbarhandlesevent.tex
|
||||
\input cbdrawhintrectevent.tex
|
||||
\input cbdrawpanebkgroundevent.tex
|
||||
\input cbdrawpanedecorevent.tex
|
||||
\input cbdrawrowbkgroundevent.tex
|
||||
\input cbdrawrowdecorevent.tex
|
||||
\input cbdrawrowhandlesevent.tex
|
||||
\input cbdyntoolbardimhandler.tex
|
||||
\input cbfinishdrawinareaevent.tex
|
||||
\input cbfloatedbarwindow.tex
|
||||
\input cbgcupdatesmgr.tex
|
||||
%\input cbhiddenbarinfo.tex
|
||||
\input cbhintanimationplugin.tex
|
||||
%\input cbhintanimtimer.tex
|
||||
\input cbinsertbarevent.tex
|
||||
\input cblayoutrowevent.tex
|
||||
\input cblayoutrowsevent.tex
|
||||
\input cbleftdclickevent.tex
|
||||
\input cbleftdownevent.tex
|
||||
\input cbleftupevent.tex
|
||||
\input cbminibutton.tex
|
||||
\input cbmotionevent.tex
|
||||
\input cbpanedrawplugin.tex
|
||||
\input cbpluginbase.tex
|
||||
\input cbpluginevent.tex
|
||||
\input cbremovebarevent.tex
|
||||
\input cbresizebarevent.tex
|
||||
\input cbresizerowevent.tex
|
||||
\input cbrightdownevent.tex
|
||||
\input cbrightupevent.tex
|
||||
\input cbrowdragplugin.tex
|
||||
\input cbrowinfo.tex
|
||||
\input cbrowlayoutplugin.tex
|
||||
\input cbsimplecustomizationplugin.tex
|
||||
\input cbsimpleupdatesmgr.tex
|
||||
\input cbsizebarwndevent.tex
|
||||
\input cbstartbardraggingevent.tex
|
||||
\input cbstartdrawinareaevent.tex
|
||||
\input cbupdatemgrdata.tex
|
||||
\input cbupdatesmanagerbase.tex
|
||||
\input dynamictoolbar.tex
|
||||
\input dyntoolinfo.tex
|
||||
\input framelayout.tex
|
||||
\input framemanager.tex
|
||||
%\input frameview.tex
|
||||
\input garbagecollector.tex
|
||||
\input layoutmanagerbase.tex
|
||||
%\input morphinfot.tex
|
||||
\input newbitmapbutton.tex
|
||||
\input toollayoutitem.tex
|
||||
\input toolwindow.tex
|
||||
|
Before Width: | Height: | Size: 996 B |
@@ -1,227 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% dyntbar.h at 21/Jan/02 21:14:18
|
||||
%
|
||||
|
||||
|
||||
\section{\class{wxDynamicToolBar}}\label{wxdynamictoolbar}
|
||||
|
||||
|
||||
wxDynamicToolBar manages containment and layout of tool windows.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{wxToolBarBase}{wxtoolbarbase}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/dyntbar.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{wxDynamicToolBar::wxDynamicToolBar}\label{wxdynamictoolbarwxdynamictoolbar}
|
||||
|
||||
\func{}{wxDynamicToolBar}{\void}
|
||||
|
||||
Default constructor.
|
||||
|
||||
|
||||
\func{}{wxDynamicToolBar}{\param{wxWindow* }{parent}, \param{const wxWindowID }{id}, \param{const wxPoint\& }{pos = wxDefaultPosition}, \param{const wxSize\& }{size = wxDefaultSize}, \param{const long }{style = wxNO\_BORDER}, \param{const int }{orientation = wxVERTICAL}, \param{const int }{RowsOrColumns = 1}, \param{const wxString\& }{name = wxToolBarNameStr}}
|
||||
|
||||
Constructor: see the documentation for wxToolBar for details.
|
||||
|
||||
|
||||
\membersection{wxDynamicToolBar::\destruct{wxDynamicToolBar}}\label{wxdynamictoolbardtor}
|
||||
|
||||
\func{}{\destruct{wxDynamicToolBar}}{\void}
|
||||
|
||||
Destructor.
|
||||
|
||||
|
||||
\membersection{wxDynamicToolBar::AddSeparator}\label{wxdynamictoolbaraddseparator}
|
||||
|
||||
\func{void}{AddSeparator}{\param{wxWindow* }{pSepartorWnd = NULL}}
|
||||
|
||||
Adds a separator. See the documentation for wxToolBar for details.
|
||||
|
||||
|
||||
\membersection{wxDynamicToolBar::AddTool}\label{wxdynamictoolbaraddtool}
|
||||
|
||||
\func{void}{AddTool}{\param{int }{toolIndex}, \param{wxWindow* }{pToolWindow}, \param{const wxSize\& }{size = wxDefaultSize}}
|
||||
|
||||
Adds a tool. See the documentation for wxToolBar for details.
|
||||
|
||||
|
||||
\func{void}{AddTool}{\param{int }{toolIndex}, \param{const wxString\& }{imageFileName}, \param{wxBitmapType }{imageFileType = wxBITMAP\_TYPE\_BMP}, \param{const wxString\& }{labelText = ""}, \param{bool }{alignTextRight = FALSE}, \param{bool }{isFlat = TRUE}}
|
||||
|
||||
Adds a tool. See the documentation for wxToolBar for details.
|
||||
|
||||
|
||||
\func{void}{AddTool}{\param{int }{toolIndex}, \param{wxBitmap }{labelBmp}, \param{const wxString\& }{labelText = ""}, \param{bool }{alignTextRight = FALSE}, \param{bool }{isFlat = TRUE}}
|
||||
|
||||
Adds a tool. See the documentation for wxToolBar for details.
|
||||
|
||||
|
||||
\func{wxToolBarToolBase*}{AddTool}{\param{const int }{toolIndex}, \param{const wxBitmap\& }{bitmap}, \param{const wxBitmap\& }{pushedBitmap = wxNullBitmap}, \param{const bool }{toggle = FALSE}, \param{const long }{xPos = -1}, \param{const long }{yPos = -1}, \param{wxObject* }{clientData = NULL}, \param{const wxString\& }{helpString1 = ""}, \param{const wxString\& }{helpString2 = ""}}
|
||||
|
||||
Method from wxToolBarBase (for compatibility), only
|
||||
the first two arguments are valid.
|
||||
See the documentation for wxToolBar for details.
|
||||
|
||||
|
||||
\membersection{wxDynamicToolBar::Create}\label{wxdynamictoolbarcreate}
|
||||
|
||||
\func{bool}{Create}{\param{wxWindow* }{parent}, \param{const wxWindowID }{id}, \param{const wxPoint\& }{pos = wxDefaultPosition}, \param{const wxSize\& }{size = wxDefaultSize}, \param{const long }{style = wxNO\_BORDER}, \param{const int }{orientation = wxVERTICAL}, \param{const int }{RowsOrColumns = 1}, \param{const wxString\& }{name = wxToolBarNameStr}}
|
||||
|
||||
Creation function: see the documentation for wxToolBar for details.
|
||||
|
||||
|
||||
\membersection{wxDynamicToolBar::CreateDefaultLayout}\label{wxdynamictoolbarcreatedefaultlayout}
|
||||
|
||||
\func{LayoutManagerBase*}{CreateDefaultLayout}{\void}
|
||||
|
||||
Creates the default layout (BagLayout).
|
||||
|
||||
|
||||
\membersection{wxDynamicToolBar::CreateTool}\label{wxdynamictoolbarcreatetool}
|
||||
|
||||
\func{wxToolBarToolBase*}{CreateTool}{\param{wxControl* }{control}}
|
||||
|
||||
Creates a toolbar tool.
|
||||
|
||||
|
||||
\func{wxToolBarToolBase*}{CreateTool}{\param{int }{id}, \param{const wxBitmap\& }{bitmap1}, \param{const wxBitmap\& }{bitmap2}, \param{bool }{toggle}, \param{wxObject* }{clientData}, \param{const wxString\& }{shortHelpString}, \param{const wxString\& }{longHelpString}}
|
||||
|
||||
Creates a toolbar tool.
|
||||
|
||||
|
||||
\membersection{wxDynamicToolBar::DoDeleteTool}\label{wxdynamictoolbardodeletetool}
|
||||
|
||||
\func{bool}{DoDeleteTool}{\param{size\_t }{pos}, \param{wxToolBarToolBase* }{tool}}
|
||||
|
||||
Deletes a tool. The tool is still in m\_tools list when this function is called, and it will
|
||||
only be deleted from it if it succeeds.
|
||||
|
||||
|
||||
\membersection{wxDynamicToolBar::DoEnableTool}\label{wxdynamictoolbardoenabletool}
|
||||
|
||||
\func{void}{DoEnableTool}{\param{wxToolBarToolBase* }{tool}, \param{bool }{enable}}
|
||||
|
||||
Called when the tools enabled flag changes.
|
||||
|
||||
|
||||
\membersection{wxDynamicToolBar::DoInsertTool}\label{wxdynamictoolbardoinserttool}
|
||||
|
||||
\func{bool}{DoInsertTool}{\param{size\_t }{pos}, \param{wxToolBarToolBase* }{tool}}
|
||||
|
||||
Inserts a tool at the given position.
|
||||
|
||||
|
||||
\membersection{wxDynamicToolBar::DoSetToggle}\label{wxdynamictoolbardosettoggle}
|
||||
|
||||
\func{void}{DoSetToggle}{\param{wxToolBarToolBase* }{tool}, \param{bool }{toggle}}
|
||||
|
||||
Called when the tools 'can be toggled' flag changes.
|
||||
|
||||
|
||||
\membersection{wxDynamicToolBar::DoToggleTool}\label{wxdynamictoolbardotoggletool}
|
||||
|
||||
\func{void}{DoToggleTool}{\param{wxToolBarToolBase* }{tool}, \param{bool }{toggle}}
|
||||
|
||||
Called when the tool is toggled.
|
||||
|
||||
|
||||
\membersection{wxDynamicToolBar::DrawSeparator}\label{wxdynamictoolbardrawseparator}
|
||||
|
||||
\func{void}{DrawSeparator}{\param{wxDynToolInfo\& }{info}, \param{wxDC\& }{dc}}
|
||||
|
||||
Draws a separator. The default implementation draws a shaded line.
|
||||
|
||||
|
||||
\membersection{wxDynamicToolBar::EnableTool}\label{wxdynamictoolbarenabletool}
|
||||
|
||||
\func{void}{EnableTool}{\param{const int }{toolIndex}, \param{const bool }{enable = TRUE}}
|
||||
|
||||
Enables or disables the given tool.
|
||||
|
||||
|
||||
\membersection{wxDynamicToolBar::FindToolForPosition}\label{wxdynamictoolbarfindtoolforposition}
|
||||
|
||||
\constfunc{wxToolBarToolBase*}{FindToolForPosition}{\param{wxCoord }{x}, \param{wxCoord }{y}}
|
||||
|
||||
Finds a tool for the given position.
|
||||
|
||||
|
||||
\membersection{wxDynamicToolBar::GetPreferredDim}\label{wxdynamictoolbargetpreferreddim}
|
||||
|
||||
\func{void}{GetPreferredDim}{\param{const wxSize\& }{givenDim}, \param{wxSize\& }{prefDim}}
|
||||
|
||||
Returns the preferred dimension, taking the given dimension and a reference to the result.
|
||||
|
||||
|
||||
\membersection{wxDynamicToolBar::GetToolInfo}\label{wxdynamictoolbargettoolinfo}
|
||||
|
||||
\func{wxDynToolInfo*}{GetToolInfo}{\param{int }{toolIndex}}
|
||||
|
||||
Returns tool information for the given tool index.
|
||||
|
||||
|
||||
\membersection{wxDynamicToolBar::Layout}\label{wxdynamictoolbarlayout}
|
||||
|
||||
\func{bool}{Layout}{\void}
|
||||
|
||||
Performs layout. See definitions of orientation types.
|
||||
|
||||
|
||||
\membersection{wxDynamicToolBar::OnEraseBackground}\label{wxdynamictoolbaronerasebackground}
|
||||
|
||||
\func{void}{OnEraseBackground}{\param{wxEraseEvent\& }{event}}
|
||||
|
||||
Responds to background erase events. Currently does nothing.
|
||||
|
||||
|
||||
\membersection{wxDynamicToolBar::OnPaint}\label{wxdynamictoolbaronpaint}
|
||||
|
||||
\func{void}{OnPaint}{\param{wxPaintEvent\& }{event}}
|
||||
|
||||
Responds to paint events, drawing separators.
|
||||
|
||||
|
||||
\membersection{wxDynamicToolBar::OnSize}\label{wxdynamictoolbaronsize}
|
||||
|
||||
\func{void}{OnSize}{\param{wxSizeEvent\& }{event}}
|
||||
|
||||
Responds to size events, calling Layout.
|
||||
|
||||
|
||||
\membersection{wxDynamicToolBar::Realize}\label{wxdynamictoolbarrealize}
|
||||
|
||||
\func{bool}{Realize}{\void}
|
||||
|
||||
Overriden from wxToolBarBase; does nothing.
|
||||
|
||||
|
||||
\membersection{wxDynamicToolBar::RemveTool}\label{wxdynamictoolbarremvetool}
|
||||
|
||||
\func{void}{RemveTool}{\param{int }{toolIndex}}
|
||||
|
||||
Removes the given tool. Misspelt in order not to clash with a similar function
|
||||
in the base class.
|
||||
|
||||
|
||||
\membersection{wxDynamicToolBar::SetLayout}\label{wxdynamictoolbarsetlayout}
|
||||
|
||||
\func{void}{SetLayout}{\param{LayoutManagerBase* }{pLayout}}
|
||||
|
||||
Sets the layout for this toolbar.
|
||||
|
||||
|
||||
\membersection{wxDynamicToolBar::SizeToolWindows}\label{wxdynamictoolbarsizetoolwindows}
|
||||
|
||||
\func{void}{SizeToolWindows}{\void}
|
||||
|
||||
Internal function for sizing tool windows.
|
||||
|
@@ -1,21 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% dyntbar.h at 21/Jan/02 21:14:18
|
||||
%
|
||||
|
||||
|
||||
\section{\class{wxDynToolInfo}}\label{wxdyntoolinfo}
|
||||
|
||||
|
||||
This class holds dynamic toolbar item information.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{wxToolLayoutItem}{wxtoollayoutitem}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/dyntbar.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
@@ -1,79 +0,0 @@
|
||||
\documentstyle[a4,11pt,makeidx,verbatim,texhelp,fancyheadings,palatino]{report}
|
||||
% JACS: doesn't make it through Tex2RTF, sorry. I will put it into texhelp.sty
|
||||
% since Tex2RTF doesn't parse it.
|
||||
% BTW, style MUST be report for it to work for Tex2RTF.
|
||||
%KB:
|
||||
%\addtolength{\textwidth}{1in}
|
||||
%\addtolength{\oddsidemargin}{-0.5in}
|
||||
%\addtolength{\topmargin}{-0.5in}
|
||||
%\addtolength{\textheight}{1in}
|
||||
%\sloppy
|
||||
%end of my changes
|
||||
\newcommand{\indexit}[1]{#1\index{#1}}%
|
||||
\newcommand{\pipe}[0]{$\|$\ }%
|
||||
\definecolour{black}{0}{0}{0}%
|
||||
\definecolour{cyan}{0}{255}{255}%
|
||||
\definecolour{green}{0}{255}{0}%
|
||||
\definecolour{magenta}{255}{0}{255}%
|
||||
\definecolour{red}{255}{0}{0}%
|
||||
\definecolour{blue}{0}{0}{200}%
|
||||
\definecolour{yellow}{255}{255}{0}%
|
||||
\definecolour{white}{255}{255}{255}%
|
||||
%
|
||||
\input psbox.tex
|
||||
% Remove this for processing with dvi2ps instead of dvips
|
||||
%\special{!/@scaleunit 1 def}
|
||||
\parskip=10pt
|
||||
\parindent=0pt
|
||||
\title{FL: a Frame Layout Framework}
|
||||
\author{by Aleksandras Gluchovas and others}
|
||||
\date{January 2nd 2002}
|
||||
|
||||
\makeindex
|
||||
\begin{document}
|
||||
\maketitle
|
||||
\pagestyle{fancyplain}
|
||||
\bibliographystyle{plain}
|
||||
\setheader{{\it CONTENTS}}{}{}{}{}{{\it CONTENTS}}
|
||||
\setfooter{\thepage}{}{}{}{}{\thepage}%
|
||||
\pagenumbering{roman}
|
||||
\tableofcontents
|
||||
|
||||
\chapter{Copyright notice}
|
||||
\setheader{{\it COPYRIGHT}}{}{}{}{}{{\it COPYRIGHT}}%
|
||||
\setfooter{\thepage}{}{}{}{}{\thepage}%
|
||||
|
||||
FL is copyright Aleksandras Gluchovas, 2001-2002.
|
||||
|
||||
The licence is the wxWindows Licence.
|
||||
|
||||
\input{body.tex}
|
||||
\input{classes.tex}
|
||||
\input{category.tex}
|
||||
\input{topics.tex}
|
||||
|
||||
\begin{comment}
|
||||
\bibliography{refs}
|
||||
\addcontentsline{toc}{chapter}{Bibliography}
|
||||
\setheader{{\it REFERENCES}}{}{}{}{}{{\it REFERENCES}}%
|
||||
\setfooter{\thepage}{}{}{}{}{\thepage}%
|
||||
|
||||
\newpage
|
||||
% Note: In RTF, the \printindex must come before the
|
||||
% change of header/footer, since the \printindex inserts
|
||||
% the RTF \sect command which divides one chapter from
|
||||
% the next.
|
||||
\rtfonly{\printindex
|
||||
\addcontentsline{toc}{chapter}{Index}
|
||||
\setheader{{\it INDEX}}{}{}{}{}{{\it INDEX}}%
|
||||
\setfooter{\thepage}{}{}{}{}{\thepage}
|
||||
}
|
||||
% In Latex, it must be this way around (I think)
|
||||
\latexonly{\addcontentsline{toc}{chapter}{Index}
|
||||
\setheader{{\it INDEX}}{}{}{}{}{{\it INDEX}}%
|
||||
\setfooter{\thepage}{}{}{}{}{\thepage}
|
||||
\printindex
|
||||
}
|
||||
\end{comment}
|
||||
|
||||
\end{document}
|
Before Width: | Height: | Size: 959 B |
@@ -1,655 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% controlbar.h at 21/Jan/02 21:14:13
|
||||
%
|
||||
|
||||
|
||||
\section{\class{wxFrameLayout}}\label{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.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{wxEvtHandler}{wxevthandler}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/controlbar.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::wxFrameLayout}\label{wxframelayoutwxframelayout}
|
||||
|
||||
\func{}{wxFrameLayout}{\param{wxWindow* }{pParentFrame}, \param{wxWindow* }{pFrameClient = NULL}, \param{bool }{activateNow = TRUE}}
|
||||
|
||||
Constructor, taking parent window, the (MDI) client of the parent if there
|
||||
is one, and flag specifying whether to activate the layout.
|
||||
|
||||
|
||||
\func{}{wxFrameLayout}{\void}
|
||||
|
||||
Default constructor, used only for serialization.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::\destruct{wxFrameLayout}}\label{wxframelayoutdtor}
|
||||
|
||||
\func{}{\destruct{wxFrameLayout}}{\void}
|
||||
|
||||
Destructor. It does not destroy the bar windows.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::Activate}\label{wxframelayoutactivate}
|
||||
|
||||
\func{void}{Activate}{\void}
|
||||
|
||||
Activate can be called after some other layout has been deactivated,
|
||||
and this one must take over the current contents of the frame window.
|
||||
Effectively hooks itself to the frame window, re-displays all non-hidden
|
||||
bar windows and repaints the decorations.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::AddBar}\label{wxframelayoutaddbar}
|
||||
|
||||
\func{void}{AddBar}{\param{wxWindow* }{pBarWnd}, \param{const cbDimInfo\& }{dimInfo}, \param{int }{alignment = FL\_ALIGN\_TOP}, \param{int }{rowNo = 0}, \param{int }{columnPos = 0}, \param{const wxString\& }{name = "bar"}, \param{bool }{spyEvents = FALSE}, \param{int }{state = wxCBAR\_DOCKED\_HORIZONTALLY}}
|
||||
|
||||
Adds bar information to the frame layout. The appearance of the layout is not refreshed
|
||||
immediately; RefreshNow() can be called if necessary.
|
||||
Notes: the argument pBarWnd can by NULL, resulting in bar decorations to be drawn
|
||||
around the empty rectangle (filled with default background colour).
|
||||
Argument dimInfo can be reused for adding any number of bars, since
|
||||
it is not used directly - instead its members are copied. If the dimensions
|
||||
handler is present, its instance is shared (reference counted). The dimension
|
||||
handler should always be allocated on the heap.
|
||||
pBarWnd is the window to be managed.
|
||||
dimInfo contains dimension information.
|
||||
alignment is a value such as FL\_ALIGN\_TOP.
|
||||
rowNo is the vertical position or row in the pane (if in docked state).
|
||||
columnPos is the horizontal position within the row in pixels (if in docked state).
|
||||
name is a name by which the bar can be referred in layout customization dialogs.
|
||||
If spyEvents is TRUE, input events for the bar should be "spyed" in order
|
||||
to forward unhandled mouse clicks to the frame layout, for example to enable
|
||||
easy draggablity of toolbars just by clicking on their interior regions.
|
||||
For widgets like text/tree control this value should be FALSE,
|
||||
since there's no certain way to detect whether the event was actually handled.
|
||||
state is the initial state, such as wxCBAR\_DOCKED\_HORIZONTALLY,
|
||||
wxCBAR\_FLOATING, wxCBAR\_HIDDEN.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::AddPlugin}\label{wxframelayoutaddplugin}
|
||||
|
||||
\func{void}{AddPlugin}{\param{wxClassInfo* }{pPlInfo}, \param{int }{paneMask = wxALL\_PANES}}
|
||||
|
||||
An advanced methods for plugin configuration using their
|
||||
dynamic class information, for example CLASSINFO(pluginClass).
|
||||
First checks if the plugin of the given class is already "hooked up".
|
||||
If not, adds it to the top of the plugins chain.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::AddPluginBefore}\label{wxframelayoutaddpluginbefore}
|
||||
|
||||
\func{void}{AddPluginBefore}{\param{wxClassInfo* }{pNextPlInfo}, \param{wxClassInfo* }{pPlInfo}, \param{int }{paneMask = wxALL\_PANES}}
|
||||
|
||||
First checks if the plugin of the given class is already hooked.
|
||||
If so, removes it, and then inserts it into the chain
|
||||
before the plugin of the class given by pNextPlInfo.
|
||||
Note: this method is handy in some cases where the order
|
||||
of the plugin-chain could be important, for example when one plugin overrides
|
||||
some functionality of another already-hooked plugin,
|
||||
so that the former plugin should be hooked before the one
|
||||
whose functionality is being overridden.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::ApplyBarProperties}\label{wxframelayoutapplybarproperties}
|
||||
|
||||
\func{void}{ApplyBarProperties}{\param{cbBarInfo* }{pBar}}
|
||||
|
||||
Reflects changes in bar information structure visually.
|
||||
For example, moves the bar, changes its dimension information,
|
||||
or changes the pane to which it is docked.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::CanReparent}\label{wxframelayoutcanreparent}
|
||||
|
||||
\func{bool}{CanReparent}{\void}
|
||||
|
||||
Returns TRUE if the platform allows reparenting. This may not return TRUE
|
||||
for all platforms. Reparenting allows control bars to be floated.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::CaptureEventsForPane}\label{wxframelayoutcaptureeventsforpane}
|
||||
|
||||
\func{void}{CaptureEventsForPane}{\param{cbDockPane* }{toPane}}
|
||||
|
||||
Called by plugins; also captures the mouse in the parent frame.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::CaptureEventsForPlugin}\label{wxframelayoutcaptureeventsforplugin}
|
||||
|
||||
\func{void}{CaptureEventsForPlugin}{\param{cbPluginBase* }{pPlugin}}
|
||||
|
||||
Captures user input events for the given plugin.
|
||||
Input events are: mouse movement, mouse clicks, keyboard input.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::CreateCursors}\label{wxframelayoutcreatecursors}
|
||||
|
||||
\func{void}{CreateCursors}{\void}
|
||||
|
||||
Creates the cursors.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::CreateUpdatesManager}\label{wxframelayoutcreateupdatesmanager}
|
||||
|
||||
\func{cbUpdatesManagerBase*}{CreateUpdatesManager}{\void}
|
||||
|
||||
Returns a new cbGCUpdatesMgr object.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::Deactivate}\label{wxframelayoutdeactivate}
|
||||
|
||||
\func{void}{Deactivate}{\void}
|
||||
|
||||
Deactivate unhooks itself from frame window, and hides all non-hidden windows.
|
||||
Note: two frame layouts should not be active at the same time in the
|
||||
same frame window, since it would cause messy overlapping of bar windows
|
||||
from both layouts.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::DestroyBarWindows}\label{wxframelayoutdestroybarwindows}
|
||||
|
||||
\func{void}{DestroyBarWindows}{\void}
|
||||
|
||||
Destroys the bar windows.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::DoSetBarState}\label{wxframelayoutdosetbarstate}
|
||||
|
||||
\func{void}{DoSetBarState}{\param{cbBarInfo* }{pBar}}
|
||||
|
||||
Applies the state to the window objects.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::EnableFloating}\label{wxframelayoutenablefloating}
|
||||
|
||||
\func{void}{EnableFloating}{\param{bool }{enable = TRUE}}
|
||||
|
||||
Enables floating behaviour. By default floating of control bars is on.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::FindBarByName}\label{wxframelayoutfindbarbyname}
|
||||
|
||||
\func{cbBarInfo*}{FindBarByName}{\param{const wxString\& }{name}}
|
||||
|
||||
Finds the bar in the framelayout, by name.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::FindBarByWindow}\label{wxframelayoutfindbarbywindow}
|
||||
|
||||
\func{cbBarInfo*}{FindBarByWindow}{\param{const wxWindow* }{pWnd}}
|
||||
|
||||
Finds the bar in the framelayout, by window.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::FindPlugin}\label{wxframelayoutfindplugin}
|
||||
|
||||
\func{cbPluginBase*}{FindPlugin}{\param{wxClassInfo* }{pPlInfo}}
|
||||
|
||||
Finds a plugin with the given class, or returns NULL if a plugin of the given
|
||||
class is not hooked.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::FirePluginEvent}\label{wxframelayoutfirepluginevent}
|
||||
|
||||
\func{void}{FirePluginEvent}{\param{cbPluginEvent\& }{event}}
|
||||
|
||||
This function should be used instead of passing the event to the ProcessEvent method
|
||||
of the top-level plugin directly. This method checks if events are currently
|
||||
captured and ensures that plugin-event is routed correctly.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::ForwardMouseEvent}\label{wxframelayoutforwardmouseevent}
|
||||
|
||||
\func{void}{ForwardMouseEvent}{\param{wxMouseEvent\& }{event}, \param{cbDockPane* }{pToPane}, \param{int }{eventType}}
|
||||
|
||||
Delegated from "bar-spy".
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::GetBarPane}\label{wxframelayoutgetbarpane}
|
||||
|
||||
\func{cbDockPane*}{GetBarPane}{\param{cbBarInfo* }{pBar}}
|
||||
|
||||
Returns the pane to which the given bar belongs.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::GetBars}\label{wxframelayoutgetbars}
|
||||
|
||||
\func{BarArrayT\&}{GetBars}{\void}
|
||||
|
||||
Gets an array of bars.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::GetClientHeight}\label{wxframelayoutgetclientheight}
|
||||
|
||||
\func{int}{GetClientHeight}{\void}
|
||||
|
||||
Returns the client height.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::GetClientRect}\label{wxframelayoutgetclientrect}
|
||||
|
||||
\func{wxRect\&}{GetClientRect}{\void}
|
||||
|
||||
Returns the client's rectangle.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::GetClientWidth}\label{wxframelayoutgetclientwidth}
|
||||
|
||||
\func{int}{GetClientWidth}{\void}
|
||||
|
||||
Returns the client width.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::GetFrameClient}\label{wxframelayoutgetframeclient}
|
||||
|
||||
\func{wxWindow*}{GetFrameClient}{\void}
|
||||
|
||||
Returns the frame client, or NULL if not present.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::GetPane}\label{wxframelayoutgetpane}
|
||||
|
||||
\func{cbDockPane*}{GetPane}{\param{int }{alignment}}
|
||||
|
||||
Returns a pane for the given alignment. See pane alignment types.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::GetPaneProperties}\label{wxframelayoutgetpaneproperties}
|
||||
|
||||
\func{void}{GetPaneProperties}{\param{cbCommonPaneProperties\& }{props}, \param{int }{alignment = FL\_ALIGN\_TOP}}
|
||||
|
||||
Gets the pane properties for the given alignment.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::GetPanesArray}\label{wxframelayoutgetpanesarray}
|
||||
|
||||
\func{cbDockPane**}{GetPanesArray}{\void}
|
||||
|
||||
Returns an array of panes. Used by update managers.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::GetParentFrame}\label{wxframelayoutgetparentframe}
|
||||
|
||||
\func{wxWindow\&}{GetParentFrame}{\void}
|
||||
|
||||
Returns the parent frame.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::GetPrevClientRect}\label{wxframelayoutgetprevclientrect}
|
||||
|
||||
\func{wxRect\&}{GetPrevClientRect}{\void}
|
||||
|
||||
Returns the previous client window rectangle.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::GetTopPlugin}\label{wxframelayoutgettopplugin}
|
||||
|
||||
\func{cbPluginBase\&}{GetTopPlugin}{\void}
|
||||
|
||||
Returns the current top-level plugin (the one that receives events first,
|
||||
except if input events are currently captured by some other plugin).
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::GetUpdatesManager}\label{wxframelayoutgetupdatesmanager}
|
||||
|
||||
\func{cbUpdatesManagerBase\&}{GetUpdatesManager}{\void}
|
||||
|
||||
Returns a reference to the updates manager.
|
||||
Note: in future, the updates manager will become a normal plugin.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::HasTopPlugin}\label{wxframelayouthastopplugin}
|
||||
|
||||
\func{bool}{HasTopPlugin}{\void}
|
||||
|
||||
Returns true if there is a top plugin.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::HideBarWindows}\label{wxframelayouthidebarwindows}
|
||||
|
||||
\func{void}{HideBarWindows}{\void}
|
||||
|
||||
Hides the bar windows, and also the client window if present.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::HitTestPane}\label{wxframelayouthittestpane}
|
||||
|
||||
\func{bool}{HitTestPane}{\param{cbDockPane* }{pPane}, \param{int }{x}, \param{int }{y}}
|
||||
|
||||
Returns TRUE if the position is within the given pane.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::HitTestPanes}\label{wxframelayouthittestpanes}
|
||||
|
||||
\func{cbDockPane*}{HitTestPanes}{\param{const wxRect\& }{rect}, \param{cbDockPane* }{pCurPane}}
|
||||
|
||||
Returns the pane for which the rectangle hit test succeeds, giving
|
||||
preference to the given pane if supplied.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::HookUpToFrame}\label{wxframelayouthookuptoframe}
|
||||
|
||||
\func{void}{HookUpToFrame}{\void}
|
||||
|
||||
Hooks the layout up to the frame (pushes the layout onto the
|
||||
frame's event handler stack).
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::InverseVisibility}\label{wxframelayoutinversevisibility}
|
||||
|
||||
\func{void}{InverseVisibility}{\param{cbBarInfo* }{pBar}}
|
||||
|
||||
Toggles the bar between visible and hidden.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::LocateBar}\label{wxframelayoutlocatebar}
|
||||
|
||||
\func{bool}{LocateBar}{\param{cbBarInfo* }{pBarInfo}, \param{cbRowInfo** }{ppRow}, \param{cbDockPane** }{ppPane}}
|
||||
|
||||
The purpose of this function is unknown.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::OnActivate}\label{wxframelayoutonactivate}
|
||||
|
||||
\func{void}{OnActivate}{\param{wxActivateEvent\& }{event}}
|
||||
|
||||
Handles activation events. Currently does nothing.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::OnEraseBackground}\label{wxframelayoutonerasebackground}
|
||||
|
||||
\func{void}{OnEraseBackground}{\param{wxEraseEvent\& }{event}}
|
||||
|
||||
Handles background erase events. Currently does nothing.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::OnIdle}\label{wxframelayoutonidle}
|
||||
|
||||
\func{void}{OnIdle}{\param{wxIdleEvent\& }{event}}
|
||||
|
||||
Handles idle events.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::OnKillFocus}\label{wxframelayoutonkillfocus}
|
||||
|
||||
\func{void}{OnKillFocus}{\param{wxFocusEvent\& }{event}}
|
||||
|
||||
Handles focus kill events. Currently does nothing.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::OnLButtonDown}\label{wxframelayoutonlbuttondown}
|
||||
|
||||
\func{void}{OnLButtonDown}{\param{wxMouseEvent\& }{event}}
|
||||
|
||||
Event handler for a left down button event.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::OnLButtonUp}\label{wxframelayoutonlbuttonup}
|
||||
|
||||
\func{void}{OnLButtonUp}{\param{wxMouseEvent\& }{event}}
|
||||
|
||||
Event handler for a left button up event.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::OnLDblClick}\label{wxframelayoutonldblclick}
|
||||
|
||||
\func{void}{OnLDblClick}{\param{wxMouseEvent\& }{event}}
|
||||
|
||||
Event handler for a left doubleclick button event.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::OnMouseMove}\label{wxframelayoutonmousemove}
|
||||
|
||||
\func{void}{OnMouseMove}{\param{wxMouseEvent\& }{event}}
|
||||
|
||||
Event handler for a mouse move event.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::OnPaint}\label{wxframelayoutonpaint}
|
||||
|
||||
\func{void}{OnPaint}{\param{wxPaintEvent\& }{event}}
|
||||
|
||||
Handles paint events, calling PaintPane for each pane.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::OnRButtonDown}\label{wxframelayoutonrbuttondown}
|
||||
|
||||
\func{void}{OnRButtonDown}{\param{wxMouseEvent\& }{event}}
|
||||
|
||||
Event handler for a right button down event.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::OnRButtonUp}\label{wxframelayoutonrbuttonup}
|
||||
|
||||
\func{void}{OnRButtonUp}{\param{wxMouseEvent\& }{event}}
|
||||
|
||||
Event handler for a right button up event.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::OnSetFocus}\label{wxframelayoutonsetfocus}
|
||||
|
||||
\func{void}{OnSetFocus}{\param{wxFocusEvent\& }{event}}
|
||||
|
||||
Handles focus set events. Currently does nothing.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::OnSize}\label{wxframelayoutonsize}
|
||||
|
||||
\func{void}{OnSize}{\param{wxSizeEvent\& }{event}}
|
||||
|
||||
Event handler for a size event.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::PopAllPlugins}\label{wxframelayoutpopallplugins}
|
||||
|
||||
\func{void}{PopAllPlugins}{\void}
|
||||
|
||||
Pop all plugins.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::PopPlugin}\label{wxframelayoutpopplugin}
|
||||
|
||||
\func{void}{PopPlugin}{\void}
|
||||
|
||||
Similar to wxWindow's "push/pop-event-handler" methods, execept
|
||||
that the plugin is deleted upon "popping".
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::PositionClientWindow}\label{wxframelayoutpositionclientwindow}
|
||||
|
||||
\func{void}{PositionClientWindow}{\void}
|
||||
|
||||
Called to apply the calculated layout to window objects.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::PositionPanes}\label{wxframelayoutpositionpanes}
|
||||
|
||||
\func{void}{PositionPanes}{\void}
|
||||
|
||||
Called to apply the calculated layout to window objects.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::PushDefaultPlugins}\label{wxframelayoutpushdefaultplugins}
|
||||
|
||||
\func{void}{PushDefaultPlugins}{\void}
|
||||
|
||||
Adds the default plugins. These are cbPaneDrawPlugin, cbRowLayoutPlugin, cbBarDragPlugin,
|
||||
cbAntiflickerPlugin, cbSimpleCustomizePlugin.
|
||||
This method is automatically invoked if no plugins were found upon
|
||||
firing of the first plugin-event, i.e. when wxFrameLayout configures itself.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::PushPlugin}\label{wxframelayoutpushplugin}
|
||||
|
||||
\func{void}{PushPlugin}{\param{cbPluginBase* }{pPugin}}
|
||||
|
||||
Similar to wxWindow's "push/pop-event-handler" methods, execept
|
||||
that the plugin is deleted upon "popping".
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::RecalcLayout}\label{wxframelayoutrecalclayout}
|
||||
|
||||
\func{void}{RecalcLayout}{\param{bool }{repositionBarsNow = FALSE}}
|
||||
|
||||
Recalculates the layout of panes, and all bars/rows in each pane.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::RedockBar}\label{wxframelayoutredockbar}
|
||||
|
||||
\func{bool}{RedockBar}{\param{cbBarInfo* }{pBar}, \param{const wxRect\& }{shapeInParent}, \param{cbDockPane* }{pToPane = NULL}, \param{bool }{updateNow = TRUE}}
|
||||
|
||||
ReddockBar can be used for repositioning existing bars. The given bar is first removed
|
||||
from the pane it currently belongs to, and inserted into the pane, which "matches"
|
||||
the given rectangular area. If pToPane is not NULL, the bar is docked to this given pane.
|
||||
To dock a bar which is floating, use the wxFrameLayout::DockBar method.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::RefreshNow}\label{wxframelayoutrefreshnow}
|
||||
|
||||
\func{void}{RefreshNow}{\param{bool }{recalcLayout = TRUE}}
|
||||
|
||||
Recalculates layout and performs on-screen update of all panes.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::ReleaseEventsFromPane}\label{wxframelayoutreleaseeventsfrompane}
|
||||
|
||||
\func{void}{ReleaseEventsFromPane}{\param{cbDockPane* }{fromPane}}
|
||||
|
||||
Called by plugins; also releases mouse in the parent frame.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::ReleaseEventsFromPlugin}\label{wxframelayoutreleaseeventsfromplugin}
|
||||
|
||||
\func{void}{ReleaseEventsFromPlugin}{\param{cbPluginBase* }{pPlugin}}
|
||||
|
||||
Releases user input events for the given plugin.
|
||||
Input events are: mouse movement, mouse clicks, keyboard input
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::RemoveBar}\label{wxframelayoutremovebar}
|
||||
|
||||
\func{void}{RemoveBar}{\param{cbBarInfo* }{pBar}}
|
||||
|
||||
Removes the bar from the layout permanently, and hides its corresponding window if present.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::RemovePlugin}\label{wxframelayoutremoveplugin}
|
||||
|
||||
\func{void}{RemovePlugin}{\param{wxClassInfo* }{pPlInfo}}
|
||||
|
||||
Checks if the plugin of the given class is hooked, and removes
|
||||
it if found.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::ReparentWindow}\label{wxframelayoutreparentwindow}
|
||||
|
||||
\func{void}{ReparentWindow}{\param{wxWindow* }{pChild}, \param{wxWindow* }{pNewParent}}
|
||||
|
||||
Reparents pChild to have parent pNewParent.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::RepositionFloatedBar}\label{wxframelayoutrepositionfloatedbar}
|
||||
|
||||
\func{void}{RepositionFloatedBar}{\param{cbBarInfo* }{pBar}}
|
||||
|
||||
Applies the calculated layout to a floating bar.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::RouteMouseEvent}\label{wxframelayoutroutemouseevent}
|
||||
|
||||
\func{void}{RouteMouseEvent}{\param{wxMouseEvent\& }{event}, \param{int }{pluginEvtType}}
|
||||
|
||||
Routes the mouse event to the appropriate pane.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::SetBarState}\label{wxframelayoutsetbarstate}
|
||||
|
||||
\func{void}{SetBarState}{\param{cbBarInfo* }{pBar}, \param{int }{newStatem}, \param{bool }{updateNow}}
|
||||
|
||||
Changes the bar's docking state (see possible control bar states).
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::SetFrameClient}\label{wxframelayoutsetframeclient}
|
||||
|
||||
\func{void}{SetFrameClient}{\param{wxWindow* }{pFrameClient}}
|
||||
|
||||
Passes the client window (e.g. MDI client window) to be controlled by
|
||||
frame layout, the size and position of which should be adjusted to be
|
||||
surrounded by controlbar panes, whenever the frame is resized or the dimensions
|
||||
of control panes change.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::SetMargins}\label{wxframelayoutsetmargins}
|
||||
|
||||
\func{void}{SetMargins}{\param{int }{top}, \param{int }{bottom}, \param{int }{left}, \param{int }{right}, \param{int }{paneMask = wxALL\_PANES}}
|
||||
|
||||
Sets the margins for the given panes.
|
||||
The margins should go into cbCommonPaneProperties in the future.
|
||||
Note: this method should be called before any custom plugins are attached.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::SetPaneBackground}\label{wxframelayoutsetpanebackground}
|
||||
|
||||
\func{void}{SetPaneBackground}{\param{const wxColour\& }{colour}}
|
||||
|
||||
Sets the pane background colour.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::SetPaneProperties}\label{wxframelayoutsetpaneproperties}
|
||||
|
||||
\func{void}{SetPaneProperties}{\param{const cbCommonPaneProperties\& }{props}, \param{int }{paneMask = wxALL\_PANES}}
|
||||
|
||||
Sets the pane properties for the given alignment.
|
||||
Note: changing properties of panes does not result immediate on-screen update.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::SetTopPlugin}\label{wxframelayoutsettopplugin}
|
||||
|
||||
\func{void}{SetTopPlugin}{\param{cbPluginBase* }{pPlugin}}
|
||||
|
||||
Hooking custom plugins to frame layout.
|
||||
Note: when hooking one plugin on top of the other,
|
||||
use SetNextHandler or similar methods
|
||||
of wxEvtHandler class to compose the chain of plugins,
|
||||
than pass the left-most handler in this chain to
|
||||
the above methods (assuming that events are delegated
|
||||
from left-most towards right-most handler).
|
||||
This secenario is very inconvenient and "low-level",
|
||||
so use the Add/Push/PopPlugin methods instead.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::SetUpdatesManager}\label{wxframelayoutsetupdatesmanager}
|
||||
|
||||
\func{void}{SetUpdatesManager}{\param{cbUpdatesManagerBase* }{pUMgr}}
|
||||
|
||||
Destroys the previous manager if any, and sets the new one.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::ShowFloatedWindows}\label{wxframelayoutshowfloatedwindows}
|
||||
|
||||
\func{void}{ShowFloatedWindows}{\param{bool }{show}}
|
||||
|
||||
Shows all floated windows.
|
||||
|
||||
|
||||
\membersection{wxFrameLayout::UnhookFromFrame}\label{wxframelayoutunhookfromframe}
|
||||
|
||||
\func{void}{UnhookFromFrame}{\void}
|
||||
|
||||
Unhooks the layout from the frame.
|
||||
|
@@ -1,143 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% frmview.h at 05/Jan/02 22:50:57
|
||||
%
|
||||
|
||||
|
||||
\section{\class{wxFrameManager}}\label{wxframemanager}
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{wxObject}{wxobject}
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{wxFrameManager::wxFrameManager}\label{wxframemanagerwxframemanager}
|
||||
|
||||
\func{}{wxFrameManager}{\void}
|
||||
|
||||
|
||||
\membersection{wxFrameManager::\destruct{wxFrameManager}}\label{wxframemanagerdtor}
|
||||
|
||||
\func{}{\destruct{wxFrameManager}}{\void}
|
||||
|
||||
|
||||
\membersection{wxFrameManager::ActivateView}\label{wxframemanageractivateview}
|
||||
|
||||
\func{void}{ActivateView}{\param{wxFrameView* }{pFrmView}}
|
||||
|
||||
|
||||
\func{void}{ActivateView}{\param{int }{viewNo}}
|
||||
|
||||
|
||||
\membersection{wxFrameManager::AddView}\label{wxframemanageraddview}
|
||||
|
||||
\func{void}{AddView}{\param{wxFrameView* }{pFrmView}}
|
||||
|
||||
|
||||
\membersection{wxFrameManager::DeactivateCurrentView}\label{wxframemanagerdeactivatecurrentview}
|
||||
|
||||
\func{void}{DeactivateCurrentView}{\void}
|
||||
|
||||
|
||||
\membersection{wxFrameManager::DestroyViews}\label{wxframemanagerdestroyviews}
|
||||
|
||||
\func{void}{DestroyViews}{\void}
|
||||
|
||||
|
||||
\membersection{wxFrameManager::DoSerialize}\label{wxframemanagerdoserialize}
|
||||
|
||||
\func{void}{DoSerialize}{\param{wxObjectStorage\& }{store}}
|
||||
|
||||
|
||||
\membersection{wxFrameManager::EnableMenusForView}\label{wxframemanagerenablemenusforview}
|
||||
|
||||
\func{void}{EnableMenusForView}{\param{wxFrameView* }{pView}, \param{bool }{enable}}
|
||||
|
||||
|
||||
\membersection{wxFrameManager::GetActiveView}\label{wxframemanagergetactiveview}
|
||||
|
||||
\func{wxFrameView*}{GetActiveView}{\void}
|
||||
|
||||
|
||||
\membersection{wxFrameManager::GetActiveViewNo}\label{wxframemanagergetactiveviewno}
|
||||
|
||||
\func{int}{GetActiveViewNo}{\void}
|
||||
|
||||
|
||||
\membersection{wxFrameManager::GetActiveViewNode}\label{wxframemanagergetactiveviewnode}
|
||||
|
||||
\func{wxNode*}{GetActiveViewNode}{\void}
|
||||
|
||||
|
||||
\membersection{wxFrameManager::GetClientWindow}\label{wxframemanagergetclientwindow}
|
||||
|
||||
\func{wxWindow*}{GetClientWindow}{\void}
|
||||
|
||||
|
||||
\membersection{wxFrameManager::GetObjectStore}\label{wxframemanagergetobjectstore}
|
||||
|
||||
\func{wxObjectStorage\&}{GetObjectStore}{\void}
|
||||
|
||||
|
||||
\membersection{wxFrameManager::GetParentFrame}\label{wxframemanagergetparentframe}
|
||||
|
||||
\func{wxFrame*}{GetParentFrame}{\void}
|
||||
|
||||
synonyms
|
||||
|
||||
|
||||
\membersection{wxFrameManager::GetParentWindow}\label{wxframemanagergetparentwindow}
|
||||
|
||||
\func{wxWindow*}{GetParentWindow}{\void}
|
||||
|
||||
|
||||
\membersection{wxFrameManager::GetView}\label{wxframemanagergetview}
|
||||
|
||||
\func{wxFrameView*}{GetView}{\param{int }{viewNo}}
|
||||
|
||||
|
||||
\membersection{wxFrameManager::GetViewNo}\label{wxframemanagergetviewno}
|
||||
|
||||
\func{int}{GetViewNo}{\param{wxFrameView* }{pView}}
|
||||
|
||||
|
||||
\membersection{wxFrameManager::Init}\label{wxframemanagerinit}
|
||||
|
||||
\func{void}{Init}{\param{wxWindow* }{pMainFrame}, \param{const wxString\& }{settingsFile = ""}}
|
||||
|
||||
if file name is empty, views are are not saved/loaded
|
||||
|
||||
|
||||
\membersection{wxFrameManager::ReloadViews}\label{wxframemanagerreloadviews}
|
||||
|
||||
\func{bool}{ReloadViews}{\void}
|
||||
|
||||
|
||||
\membersection{wxFrameManager::RemoveView}\label{wxframemanagerremoveview}
|
||||
|
||||
\func{void}{RemoveView}{\param{wxFrameView* }{pFrmView}}
|
||||
|
||||
|
||||
\membersection{wxFrameManager::SaveViewsNow}\label{wxframemanagersaveviewsnow}
|
||||
|
||||
\func{void}{SaveViewsNow}{\void}
|
||||
|
||||
|
||||
\membersection{wxFrameManager::SetClinetWindow}\label{wxframemanagersetclinetwindow}
|
||||
|
||||
\func{void}{SetClinetWindow}{\param{wxWindow* }{pFrameClient}}
|
||||
|
||||
|
||||
\membersection{wxFrameManager::SyncAllMenus}\label{wxframemanagersyncallmenus}
|
||||
|
||||
\func{void}{SyncAllMenus}{\void}
|
||||
|
||||
|
||||
\membersection{wxFrameManager::ViewsAreLoaded}\label{wxframemanagerviewsareloaded}
|
||||
|
||||
\func{bool}{ViewsAreLoaded}{\void}
|
||||
|
@@ -1,115 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% frmview.h at 05/Jan/02 22:50:57
|
||||
%
|
||||
|
||||
|
||||
\section{\class{wxFrameView}}\label{wxframeview}
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{wxEvtHandler}{wxevthandler}
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{wxFrameView::wxFrameView}\label{wxframeviewwxframeview}
|
||||
|
||||
\func{}{wxFrameView}{\void}
|
||||
|
||||
|
||||
\membersection{wxFrameView::\destruct{wxFrameView}}\label{wxframeviewdtor}
|
||||
|
||||
\func{}{\destruct{wxFrameView}}{\void}
|
||||
|
||||
|
||||
\membersection{wxFrameView::Activate}\label{wxframeviewactivate}
|
||||
|
||||
\func{void}{Activate}{\void}
|
||||
|
||||
|
||||
\membersection{wxFrameView::CreateLayout}\label{wxframeviewcreatelayout}
|
||||
|
||||
\func{void}{CreateLayout}{\void}
|
||||
|
||||
|
||||
\membersection{wxFrameView::Deactivate}\label{wxframeviewdeactivate}
|
||||
|
||||
\func{void}{Deactivate}{\void}
|
||||
|
||||
|
||||
\membersection{wxFrameView::GetClientWindow}\label{wxframeviewgetclientwindow}
|
||||
|
||||
\func{wxWindow*}{GetClientWindow}{\void}
|
||||
|
||||
|
||||
\membersection{wxFrameView::GetFrameManager}\label{wxframeviewgetframemanager}
|
||||
|
||||
\func{wxFrameManager\&}{GetFrameManager}{\void}
|
||||
|
||||
|
||||
\membersection{wxFrameView::GetLayout}\label{wxframeviewgetlayout}
|
||||
|
||||
\func{wxFrameLayout*}{GetLayout}{\void}
|
||||
|
||||
|
||||
\membersection{wxFrameView::GetParentFrame}\label{wxframeviewgetparentframe}
|
||||
|
||||
\func{wxFrame*}{GetParentFrame}{\void}
|
||||
|
||||
|
||||
\membersection{wxFrameView::OnActiveate}\label{wxframeviewonactiveate}
|
||||
|
||||
\func{void}{OnActiveate}{\void}
|
||||
|
||||
|
||||
\membersection{wxFrameView::OnDeactivate}\label{wxframeviewondeactivate}
|
||||
|
||||
\func{void}{OnDeactivate}{\void}
|
||||
|
||||
|
||||
\membersection{wxFrameView::OnIdle}\label{wxframeviewonidle}
|
||||
|
||||
\func{void}{OnIdle}{\param{wxIdleEvent\& }{event}}
|
||||
|
||||
|
||||
\membersection{wxFrameView::OnInit}\label{wxframeviewoninit}
|
||||
|
||||
\func{void}{OnInit}{\void}
|
||||
|
||||
hooks for specific frame-views
|
||||
|
||||
|
||||
\membersection{wxFrameView::OnInitMenus}\label{wxframeviewoninitmenus}
|
||||
|
||||
\func{void}{OnInitMenus}{\void}
|
||||
|
||||
|
||||
\membersection{wxFrameView::OnRecreate}\label{wxframeviewonrecreate}
|
||||
|
||||
\func{void}{OnRecreate}{\void}
|
||||
|
||||
imp. is mandatory
|
||||
|
||||
|
||||
\membersection{wxFrameView::OnSerialize}\label{wxframeviewonserialize}
|
||||
|
||||
\func{void}{OnSerialize}{\param{wxObjectStorage\& }{store}}
|
||||
|
||||
|
||||
\membersection{wxFrameView::RegisterMenu}\label{wxframeviewregistermenu}
|
||||
|
||||
\func{void}{RegisterMenu}{\param{const wxString\& }{topMenuName}}
|
||||
|
||||
|
||||
\membersection{wxFrameView::SetLayout}\label{wxframeviewsetlayout}
|
||||
|
||||
\func{void}{SetLayout}{\param{wxFrameLayout* }{pLayout}}
|
||||
|
||||
|
||||
\membersection{wxFrameView::SetToolUpdates}\label{wxframeviewsettoolupdates}
|
||||
|
||||
\func{void}{SetToolUpdates}{\param{bool }{doToolUpdates = TRUE}}
|
||||
|
@@ -1,40 +0,0 @@
|
||||
\chapter{Functions}\label{functions}
|
||||
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
|
||||
\setfooter{\thepage}{}{}{}{}{\thepage}
|
||||
|
||||
The functions and macros defined in FL are described here.
|
||||
|
||||
\section{Version macros}\label{versionfunctions}
|
||||
|
||||
The following constants are defined in wxWindows:
|
||||
|
||||
\begin{itemize}\itemsep=0pt
|
||||
\item {\tt wxMAJOR\_VERSION} is the major version of wxWindows
|
||||
\item {\tt wxMINOR\_VERSION} is the minor version of wxWindows
|
||||
\item {\tt wxRELEASE\_NUMBER} is the release number
|
||||
\end{itemize}
|
||||
|
||||
For example, the values or these constants for wxWindows 2.1.15 are 2, 1 and
|
||||
15.
|
||||
|
||||
Additionally, {\tt wxVERSION\_STRING} is a user-readable string containing
|
||||
the full wxWindows version and {\tt wxVERSION\_NUMBER} is a combination of the
|
||||
three version numbers above: for 2.1.15, it is 2115 and it is 2200 for
|
||||
wxWindows 2.2.
|
||||
|
||||
\section{Initialisation functions}\label{initfunctions}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/pmf/pmf.h>
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
Todo
|
||||
|
||||
\membersection{::Function1}\label{function1}
|
||||
|
||||
\func{void}{Function1}{\void}
|
||||
|
||||
Explanation.
|
||||
|
@@ -1,114 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% garbagec.h at 21/Jan/02 21:14:19
|
||||
%
|
||||
|
||||
|
||||
\section{\class{GarbageCollector}}\label{garbagecollector}
|
||||
|
||||
|
||||
This class implements an extremely slow but simple garbage collection algorithm.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
No base class
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/garbagec.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{GarbageCollector::GarbageCollector}\label{garbagecollectorgarbagecollector}
|
||||
|
||||
\func{}{GarbageCollector}{\void}
|
||||
|
||||
Default constructor.
|
||||
|
||||
|
||||
\membersection{GarbageCollector::\destruct{GarbageCollector}}\label{garbagecollectordtor}
|
||||
|
||||
\func{}{\destruct{GarbageCollector}}{\void}
|
||||
|
||||
Destructor.
|
||||
|
||||
|
||||
\membersection{GarbageCollector::AddDependency}\label{garbagecollectoradddependency}
|
||||
|
||||
\func{void}{AddDependency}{\param{void* }{pObj}, \param{void* }{pDependsOnObj}}
|
||||
|
||||
Prepare data for garbage collection.
|
||||
|
||||
|
||||
\membersection{GarbageCollector::AddObject}\label{garbagecollectoraddobject}
|
||||
|
||||
\func{void}{AddObject}{\param{void* }{pObj}, \param{int }{refCnt = 1}}
|
||||
|
||||
Prepare data for garbage collection.
|
||||
|
||||
|
||||
\membersection{GarbageCollector::ArrangeCollection}\label{garbagecollectorarrangecollection}
|
||||
|
||||
\func{void}{ArrangeCollection}{\void}
|
||||
|
||||
Executes garbage collection algorithm.
|
||||
|
||||
|
||||
\membersection{GarbageCollector::DestroyItemList}\label{garbagecollectordestroyitemlist}
|
||||
|
||||
\func{void}{DestroyItemList}{\param{wxList\& }{lst}}
|
||||
|
||||
Destroys a list of items.
|
||||
|
||||
|
||||
\membersection{GarbageCollector::FindItemNode}\label{garbagecollectorfinditemnode}
|
||||
|
||||
\func{wxNode*}{FindItemNode}{\param{void* }{pForObj}}
|
||||
|
||||
Internal method for finding a node.
|
||||
|
||||
|
||||
\membersection{GarbageCollector::FindReferenceFreeItemNode}\label{garbagecollectorfindreferencefreeitemnode}
|
||||
|
||||
\func{wxNode*}{FindReferenceFreeItemNode}{\void}
|
||||
|
||||
Internal method for findind and freeing a node.
|
||||
|
||||
|
||||
\membersection{GarbageCollector::GetCycledObjects}\label{garbagecollectorgetcycledobjects}
|
||||
|
||||
\func{wxList\&}{GetCycledObjects}{\void}
|
||||
|
||||
Get cycled objects.
|
||||
|
||||
|
||||
\membersection{GarbageCollector::GetRegularObjects}\label{garbagecollectorgetregularobjects}
|
||||
|
||||
\func{wxList\&}{GetRegularObjects}{\void}
|
||||
|
||||
Accesses the results of the algorithm.
|
||||
|
||||
|
||||
\membersection{GarbageCollector::RemoveReferencesToNode}\label{garbagecollectorremovereferencestonode}
|
||||
|
||||
\func{void}{RemoveReferencesToNode}{\param{wxNode* }{pItemNode}}
|
||||
|
||||
Remove references to this node.
|
||||
|
||||
|
||||
\membersection{GarbageCollector::Reset}\label{garbagecollectorreset}
|
||||
|
||||
\func{void}{Reset}{\void}
|
||||
|
||||
Removes all data from the garbage collector.
|
||||
|
||||
|
||||
\membersection{GarbageCollector::ResolveReferences}\label{garbagecollectorresolvereferences}
|
||||
|
||||
\func{void}{ResolveReferences}{\void}
|
||||
|
||||
Internal method for resolving references.
|
||||
|
@@ -1,18 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% garbagec.h at 21/Jan/02 21:14:19
|
||||
%
|
||||
|
||||
|
||||
\section{\class{GCItem}}\label{gcitem}
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
No base class
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/garbagec.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
@@ -1,37 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% dyntbar.h at 21/Jan/02 21:14:18
|
||||
%
|
||||
|
||||
|
||||
\section{\class{LayoutManagerBase}}\label{layoutmanagerbase}
|
||||
|
||||
|
||||
This is a base class for layout algorithm implementations.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
No base class
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/dyntbar.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{LayoutManagerBase::\destruct{LayoutManagerBase}}\label{layoutmanagerbasedtor}
|
||||
|
||||
\func{}{\destruct{LayoutManagerBase}}{\void}
|
||||
|
||||
Destructor.
|
||||
|
||||
|
||||
\membersection{LayoutManagerBase::Layout}\label{layoutmanagerbaselayout}
|
||||
|
||||
\func{void}{Layout}{\param{const wxSize\& }{parentDim}, \param{wxSize\& }{resultingDim}, \param{wxLayoutItemArrayT\& }{items}, \param{int }{horizGap}, \param{int }{vertGap}}
|
||||
|
||||
Constructor.
|
||||
|
@@ -1,107 +0,0 @@
|
||||
# File: makefile.vc
|
||||
# Author: Julian Smart
|
||||
# Created: 2002
|
||||
# Updated:
|
||||
# Copyright: (c) 2002, Julian Smart
|
||||
#
|
||||
# "%W% %G%"
|
||||
#
|
||||
# Makefile : Builds documents using VC++ nmake
|
||||
#
|
||||
|
||||
WXDIR=$(WXWIN)
|
||||
THISDIR=$(WXDIR)\contrib\docs\latex\fl
|
||||
DOCDIR = $(WXDIR)\docs
|
||||
WAITFLAG=/w
|
||||
|
||||
docs: dirs winhelp html pdfrtf htb htmlhelp
|
||||
winhelp: $(DOCDIR)/winhelp/fl.hlp
|
||||
rtf: $(THISDIR)/latex/fl/fl.rtf
|
||||
pdfrtf: $(DOCDIR)/pdf/fl.rtf
|
||||
htb: $(DOCDIR)\htb\fl.htb
|
||||
html: $(DOCDIR)\html\fl\fl.htm
|
||||
htmlhelp: $(DOCDIR)\htmlhelp\fl.chm
|
||||
|
||||
dirs:
|
||||
-mkdir $(DOCDIR)\winhelp
|
||||
-mkdir $(DOCDIR)\html
|
||||
-mkdir $(DOCDIR)\html\fl
|
||||
-mkdir $(DOCDIR)\htmlhelp
|
||||
-mkdir $(DOCDIR)\htb
|
||||
-mkdir $(DOCDIR)\pdf
|
||||
|
||||
$(DOCDIR)/winhelp/fl.hlp: $(THISDIR)/fl.rtf $(THISDIR)/fl.hpj
|
||||
cd $(THISDIR)
|
||||
-erase fl.ph
|
||||
hc fl
|
||||
-erase $(DOCDIR)\winhelp\fl.hlp
|
||||
-erase $(DOCDIR)\winhelp\fl.cnt
|
||||
move fl.hlp $(DOCDIR)\winhelp\fl.hlp
|
||||
move fl.cnt $(DOCDIR)\winhelp\fl.cnt
|
||||
cd $(THISDIR)
|
||||
|
||||
$(THISDIR)/fl.rtf: $(THISDIR)/classes.tex $(THISDIR)/body.tex $(THISDIR)/topics.tex $(THISDIR)/fl.tex
|
||||
cd $(THISDIR)
|
||||
-start $(WAITFLAG) tex2rtf $(THISDIR)/fl.tex $(THISDIR)/fl.rtf -twice -winhelp
|
||||
cd $(THISDIR)
|
||||
|
||||
$(DOCDIR)/pdf/fl.rtf: $(THISDIR)/classes.tex $(THISDIR)/body.tex $(THISDIR)/topics.tex $(THISDIR)/fl.tex
|
||||
cd $(THISDIR)
|
||||
-copy *.wmf $(DOCDIR)\pdf
|
||||
-copy *.bmp $(DOCDIR)\pdf
|
||||
-start $(WAITFLAG) tex2rtf $(THISDIR)/fl.tex $(DOCDIR)/pdf/fl.rtf -twice -rtf
|
||||
cd $(THISDIR)
|
||||
|
||||
$(DOCDIR)\html\fl\fl.htm: $(THISDIR)\classes.tex $(THISDIR)\body.tex $(THISDIR)/topics.tex $(THISDIR)\fl.tex
|
||||
cd $(THISDIR)
|
||||
-mkdir $(DOCDIR)\html\fl
|
||||
copy *.gif $(DOCDIR)\html\fl
|
||||
-start $(WAITFLAG) tex2rtf $(THISDIR)\fl.tex $(DOCDIR)\html\fl\fl.htm -twice -html
|
||||
-erase $(DOCDIR)\html\fl\*.con
|
||||
-erase $(DOCDIR)\html\fl\*.ref
|
||||
-erase $(THISDIR)\*.con
|
||||
-erase $(THISDIR)\*.ref
|
||||
cd $(THISDIR)
|
||||
|
||||
$(DOCDIR)\htmlhelp\fl.chm : $(DOCDIR)\html\fl\fl.htm $(DOCDIR)\html\fl\fl.hhp
|
||||
cd $(DOCDIR)\html\fl
|
||||
-hhc fl.hhp
|
||||
-mkdir ..\..\htmlhelp
|
||||
-erase $(DOCDIR)\htmlhelp\fl.chm
|
||||
move fl.chm ..\..\htmlhelp
|
||||
cd $(THISDIR)
|
||||
|
||||
# An htb file is a zip file containing the .htm, .gif, .hhp, .hhc and .hhk
|
||||
# files, renamed to htb.
|
||||
# This can then be used with e.g. helpview.
|
||||
# Optionally, a cached version of the .hhp file can be generated with hhp2cached.
|
||||
$(DOCDIR)\htb\fl.htb: $(DOCDIR)\html\fl\fl.htm
|
||||
cd $(WXDIR)\docs\html\fl
|
||||
-erase fl.zip fl.htb
|
||||
zip fl.zip *.htm *.gif *.hhp *.hhc *.hhk
|
||||
-mkdir $(DOCDIR)\htb
|
||||
move fl.zip $(DOCDIR)\htb\fl.htb
|
||||
cd $(THISDIR)
|
||||
|
||||
# In order to force document reprocessing
|
||||
touchfl:
|
||||
-touch $(WXDIR)\contrib\docs\latex\fl\fl.tex
|
||||
|
||||
updatedocs: touchfl alldocs
|
||||
|
||||
cleandocs:
|
||||
-erase $(DOCDIR)\winhelp\fl.hlp
|
||||
-erase $(DOCDIR)\winhelp\fl.cnt
|
||||
-erase $(DOCDIR)\html\fl\*.htm
|
||||
-erase $(DOCDIR)\pdf\fl.rtf
|
||||
-erase $(THISDIR)\fl.rtf
|
||||
-erase $(THISDIR)\fl.PH
|
||||
-erase $(DOCDIR)\htmlhelp\fl.chm
|
||||
-erase $(DOCDIR)\htb\fl.htb
|
||||
|
||||
# Start Word, running the GeneratePDF macro. MakeManual.dot should be in the
|
||||
# Office StartUp folder, and PDFMaker should be installed.
|
||||
#updatepdf: # touchfl pdfrtf
|
||||
# start $(WAITFLAG) "winword d:\wx2\wxWindows\docs\latex\pdf\fl.rtf /mGeneratePDF"
|
||||
|
||||
|
@@ -1,21 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% hintanimpl.h at 21/Jan/02 21:14:19
|
||||
%
|
||||
|
||||
|
||||
\section{\class{MorphInfoT}}\label{morphinfot}
|
||||
|
||||
|
||||
A private helper class.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
No base class
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/hintanimpl.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
@@ -1,177 +0,0 @@
|
||||
%
|
||||
% automatically generated by HelpGen $Revision$ from
|
||||
% newbmpbtn.h at 21/Jan/02 21:14:19
|
||||
%
|
||||
|
||||
|
||||
\section{\class{wxNewBitmapButton}}\label{wxnewbitmapbutton}
|
||||
|
||||
|
||||
This is an alternative class to wxBitmapButton. It is used
|
||||
in the implementation of dynamic toolbars.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{wxPanel}{wxpanel}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/fl/newbmpbtn.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{wxNewBitmapButton::wxNewBitmapButton}\label{wxnewbitmapbuttonwxnewbitmapbutton}
|
||||
|
||||
\func{}{wxNewBitmapButton}{\param{const wxBitmap\& }{labelBitmap = wxNullBitmap}, \param{const wxString\& }{labelText = ""}, \param{int }{alignText = NB\_ALIGN\_TEXT\_BOTTOM}, \param{bool }{isFlat = TRUE}, \param{int }{firedEventType = wxEVT\_COMMAND\_MENU\_SELECTED}, \param{int }{marginX = 2}, \param{int }{marginY = 2}, \param{int }{textToLabelGap = 2}, \param{bool }{isSticky = FALSE}}
|
||||
|
||||
Constructor.
|
||||
|
||||
|
||||
\func{}{wxNewBitmapButton}{\param{const wxString\& }{bitmapFileName}, \param{const wxBitmapType }{bitmapFileType = wxBITMAP\_TYPE\_BMP}, \param{const wxString\& }{labelText = ""}, \param{int }{alignText = NB\_ALIGN\_TEXT\_BOTTOM}, \param{bool }{isFlat = TRUE}, \param{int }{firedEventType = wxEVT\_COMMAND\_MENU\_SELECTED}, \param{int }{marginX = 2}, \param{int }{marginY = 2}, \param{int }{textToLabelGap = 2}, \param{bool }{isSticky = FALSE}}
|
||||
|
||||
Use this constructor if buttons have to be persistant
|
||||
|
||||
|
||||
\membersection{wxNewBitmapButton::\destruct{wxNewBitmapButton}}\label{wxnewbitmapbuttondtor}
|
||||
|
||||
\func{}{\destruct{wxNewBitmapButton}}{\void}
|
||||
|
||||
Destructor.
|
||||
|
||||
|
||||
\membersection{wxNewBitmapButton::DestroyLabels}\label{wxnewbitmapbuttondestroylabels}
|
||||
|
||||
\func{void}{DestroyLabels}{\void}
|
||||
|
||||
Internal function for destroying labels.
|
||||
|
||||
|
||||
\membersection{wxNewBitmapButton::DrawDecorations}\label{wxnewbitmapbuttondrawdecorations}
|
||||
|
||||
\func{void}{DrawDecorations}{\param{wxDC\& }{dc}}
|
||||
|
||||
Draws the decorations.
|
||||
|
||||
|
||||
\membersection{wxNewBitmapButton::DrawLabel}\label{wxnewbitmapbuttondrawlabel}
|
||||
|
||||
\func{void}{DrawLabel}{\param{wxDC\& }{dc}}
|
||||
|
||||
Draws the label.
|
||||
|
||||
|
||||
\membersection{wxNewBitmapButton::DrawShade}\label{wxnewbitmapbuttondrawshade}
|
||||
|
||||
\func{void}{DrawShade}{\param{int }{outerLevel}, \param{wxDC\& }{dc}, \param{wxPen\& }{upperLeftSidePen}, \param{wxPen\& }{lowerRightSidePen}}
|
||||
|
||||
Draws shading on the button.
|
||||
|
||||
|
||||
\membersection{wxNewBitmapButton::GetStateLabel}\label{wxnewbitmapbuttongetstatelabel}
|
||||
|
||||
\func{wxBitmap*}{GetStateLabel}{\void}
|
||||
|
||||
Returns the label that matches the current button state.
|
||||
|
||||
|
||||
\membersection{wxNewBitmapButton::IsInWindow}\label{wxnewbitmapbuttonisinwindow}
|
||||
|
||||
\func{bool}{IsInWindow}{\param{int }{x}, \param{int }{y}}
|
||||
|
||||
Returns TRUE if the given point is in the window.
|
||||
|
||||
|
||||
\membersection{wxNewBitmapButton::OnEraseBackground}\label{wxnewbitmapbuttononerasebackground}
|
||||
|
||||
\func{void}{OnEraseBackground}{\param{wxEraseEvent\& }{event}}
|
||||
|
||||
Responds to an erase background event.
|
||||
|
||||
|
||||
\membersection{wxNewBitmapButton::OnKillFocus}\label{wxnewbitmapbuttononkillfocus}
|
||||
|
||||
\func{void}{OnKillFocus}{\param{wxFocusEvent\& }{event}}
|
||||
|
||||
Responds to a kill focus event.
|
||||
|
||||
|
||||
\membersection{wxNewBitmapButton::OnLButtonDown}\label{wxnewbitmapbuttononlbuttondown}
|
||||
|
||||
\func{void}{OnLButtonDown}{\param{wxMouseEvent\& }{event}}
|
||||
|
||||
Responds to a left mouse button down event.
|
||||
|
||||
|
||||
\membersection{wxNewBitmapButton::OnLButtonUp}\label{wxnewbitmapbuttononlbuttonup}
|
||||
|
||||
\func{void}{OnLButtonUp}{\param{wxMouseEvent\& }{event}}
|
||||
|
||||
Responds to a left mouse button up event.
|
||||
|
||||
|
||||
\membersection{wxNewBitmapButton::OnMouseMove}\label{wxnewbitmapbuttononmousemove}
|
||||
|
||||
\func{void}{OnMouseMove}{\param{wxMouseEvent\& }{event}}
|
||||
|
||||
Responds to a mouse move event.
|
||||
|
||||
|
||||
\membersection{wxNewBitmapButton::OnPaint}\label{wxnewbitmapbuttononpaint}
|
||||
|
||||
\func{void}{OnPaint}{\param{wxPaintEvent\& }{event}}
|
||||
|
||||
Responds to a paint event.
|
||||
|
||||
|
||||
\membersection{wxNewBitmapButton::OnSize}\label{wxnewbitmapbuttononsize}
|
||||
|
||||
\func{void}{OnSize}{\param{wxSizeEvent\& }{event}}
|
||||
|
||||
Responds to a size event.
|
||||
|
||||
|
||||
\membersection{wxNewBitmapButton::RenderAllLabelImages}\label{wxnewbitmapbuttonrenderalllabelimages}
|
||||
|
||||
\func{void}{RenderAllLabelImages}{\void}
|
||||
|
||||
Renders label images.
|
||||
|
||||
|
||||
\membersection{wxNewBitmapButton::RenderLabelImage}\label{wxnewbitmapbuttonrenderlabelimage}
|
||||
|
||||
\func{void}{RenderLabelImage}{\param{wxBitmap*\& }{destBmp}, \param{wxBitmap* }{srcBmp}, \param{bool }{isEnabled = TRUE}, \param{bool }{isPressed = FALSE}}
|
||||
|
||||
Renders the label image.
|
||||
|
||||
|
||||
\membersection{wxNewBitmapButton::RenderLabelImages}\label{wxnewbitmapbuttonrenderlabelimages}
|
||||
|
||||
\func{void}{RenderLabelImages}{\void}
|
||||
|
||||
Renders label images.
|
||||
|
||||
|
||||
\membersection{wxNewBitmapButton::Reshape}\label{wxnewbitmapbuttonreshape}
|
||||
|
||||
\func{void}{Reshape}{\void}
|
||||
|
||||
This function should be called after Create. It renders the labels, having
|
||||
reloaded the button image if necessary.
|
||||
|
||||
|
||||
\membersection{wxNewBitmapButton::SetAlignments}\label{wxnewbitmapbuttonsetalignments}
|
||||
|
||||
\func{void}{SetAlignments}{\param{int }{alignText = NB\_ALIGN\_TEXT\_BOTTOM}, \param{int }{marginX = 2}, \param{int }{marginY = 2}, \param{int }{textToLabelGap = 2}}
|
||||
|
||||
Sets the text alignment and margins.
|
||||
|
||||
|
||||
\membersection{wxNewBitmapButton::SetLabel}\label{wxnewbitmapbuttonsetlabel}
|
||||
|
||||
\func{void}{SetLabel}{\param{const wxBitmap\& }{labelBitmap}, \param{const wxString\& }{labelText = ""}}
|
||||
|
||||
Sets the label and optionally label text.
|
||||
|
@@ -1,116 +0,0 @@
|
||||
Generating the FL Reference Manual
|
||||
===================================
|
||||
|
||||
Like the wxWindows manual, the FL manual uses Tex2RTF to
|
||||
generate HTML, MS HTML Help, wxHTML Help, WinHelp, RTF, and PDF
|
||||
formats.
|
||||
|
||||
VC++ users can use makefile.vc in this directory, e.g.:
|
||||
|
||||
nmake -f makefile.vc docs ; Create directories and
|
||||
; all formats
|
||||
|
||||
or
|
||||
|
||||
nmake -f makefile.vc dirs html ; Create directories, then
|
||||
; HTML files
|
||||
|
||||
The targets that the makefile supports are:
|
||||
|
||||
html ; HTML
|
||||
htb ; wxHTML Help: the HTML files + hhp, hhc files,
|
||||
; archived in a fl.htb (zip format) file
|
||||
htmlhelp ; MS HTML Help: the HTML files + hhp, hhc files
|
||||
; then processed with hhc to produce fl.chm
|
||||
winhelp ; WinHelp format: Tex2RTF produces RTF and CNT
|
||||
; files, then the makefile invokes hc.exe to produce
|
||||
; the fl.hlp file
|
||||
rtf: ; WinHelp RTF (intermediate stage for winhelp)
|
||||
pdfrtf ; Makes an RTF file suitable for loading into
|
||||
; MS Word and generating a PDF via Adobe Acrobat
|
||||
|
||||
If you wish to run Tex2RTF directly, you can do e.g.
|
||||
|
||||
tex2rtf $(DOCDIR)\latex\FL\manual.tex $(DOCDIR)\html\FL\fl.htm -twice -html
|
||||
|
||||
For more information on using Tex2RTF, please see:
|
||||
|
||||
docs/tech/tn0003.txt: Adding wxWindows class documentation
|
||||
|
||||
in the wxWindows hierarchy, and also utils/tex2rtf. The Tex2RTF
|
||||
manual is supplied with wxWindows documentation, in (for example)
|
||||
docs/html/tex2rtf/t2rtf.htm or docs/htmlhelp/tex2rtf.chm.
|
||||
|
||||
You can configure the way Tex2RTF works with tex2rtf.ini in
|
||||
docs/latex/fl.
|
||||
|
||||
Generating HTML format
|
||||
======================
|
||||
|
||||
To generate HTML documentation, you need to use the -html
|
||||
argument to Tex2RTF. A whole directory of files will be
|
||||
generated.
|
||||
|
||||
Generating MS HTML Help format
|
||||
==============================
|
||||
|
||||
To generate MS HTML Help documentation, you need to generate
|
||||
the HTML files as above and then run
|
||||
|
||||
hhc fl.hhp
|
||||
|
||||
You'll need the MS HTML Help compiler, obtainable from Microsoft
|
||||
or bundled with your C++ compiler.
|
||||
|
||||
Generating wxHTML Help format
|
||||
=============================
|
||||
|
||||
To generate wxHTML Help documentation, you need to generate
|
||||
the HTML files as above and then archive the HTML, image,
|
||||
hhc, hhp and optionally hhk files into fl.htb.
|
||||
|
||||
The helpview program can be used to view fl.htb
|
||||
on supported platforms. Get it from the wxWindows web site
|
||||
or compile it with samples/html/helpview in the wxWindows
|
||||
distribution.
|
||||
|
||||
Generating WinHelp format
|
||||
=========================
|
||||
|
||||
To generate Windows Help documentation, you need to generate
|
||||
the RTF file and contents file (.cnt) using --winhelp and
|
||||
then run hc.exe to produce the .hlp file
|
||||
|
||||
Generating PDF format
|
||||
=====================
|
||||
|
||||
Run Tex2RTF with the -rtf argument, load the RTF into MS Word,
|
||||
select the whole document, press F9, then apply wordstyle.dot
|
||||
found in distrib/msw in the wxWindows distribution.
|
||||
Then generate the PDF using Adobe Acrobat PDFWriter.
|
||||
|
||||
Note that for the contents to be formatted correctly,
|
||||
each class section should end with a blank line. Otherwise
|
||||
the contents will have bits of the reference in it.
|
||||
|
||||
Generating .tex files from .h files
|
||||
===================================
|
||||
|
||||
Much of the class reference is generated from the headers.
|
||||
The intention is to comment the headers more thoroughly, then
|
||||
regenerate the .tex files, before working directly on the
|
||||
.tex files.
|
||||
|
||||
To regenerate .tex files, you'll need the HelpGen utility from
|
||||
latest wxWindows CVS, in utils/helpgen/src. Compile wxBase,
|
||||
then HelpGen. Run helpgen with e.g.
|
||||
|
||||
helpgen dump file.h
|
||||
|
||||
and a separate .tex file for each class will appear in the
|
||||
current directory.
|
||||
|
||||
--
|
||||
Julian Smart, January 3rd 2002
|
||||
julian.smart@btopenworld.com
|
||||
|
@@ -1,59 +0,0 @@
|
||||
@techreport{robins87,
|
||||
author = {Robins, Gabriel},
|
||||
title = {The {ISI} grapher: a portable tool for displaying graphs pictorially (ISI/RS-87-196)},
|
||||
institution = {University of South California},
|
||||
year = {1987},
|
||||
month = {September}
|
||||
}
|
||||
@book{helpbook,
|
||||
author = {Boggan, Scott and Fakas, David and Welinske, Joe}
|
||||
, title = {Developing on-line help for {W}indows}
|
||||
, publisher = {Sams Publishing}
|
||||
, address = {11711 North College, Carmel, Indiana 46032, USA}
|
||||
, year = {1993}
|
||||
}
|
||||
@book{wong93,
|
||||
author = {Wong, William}
|
||||
, title = {Plug and play programming}
|
||||
, publisher = {M and T Books}
|
||||
, address = {115 West 18th Street, New York, New York 10011}
|
||||
, year = {1993}
|
||||
}
|
||||
@book{pree94,
|
||||
author = {Pree, Wolfgang}
|
||||
, title = {Design patterns for object-oriented software development}
|
||||
, publisher = {Addison-Wesley}
|
||||
, address = {Reading, MA}
|
||||
, year = {1994}
|
||||
}
|
||||
@book{gamma95,
|
||||
author = {Gamma, Erich and Helm, Richard and Johnson, Ralph and Vlissides, John}
|
||||
, title = {Design patterns: elements of reusable object-oriented software}
|
||||
, publisher = {Addison-Wesley}
|
||||
, address = {Reading, MA}
|
||||
, year = {1994}
|
||||
}
|
||||
@book{kopka,
|
||||
author = {Kopka, Helmut and Daly, Patrick W.}
|
||||
, title = {A Guide to LaTeX}
|
||||
, publisher = {Addison-Wesley}
|
||||
, year = {1993}
|
||||
}
|
||||
@manual{smart95a,
|
||||
author = {Smart, Julian}
|
||||
, title = {wxCLIPS User Manual}
|
||||
, publisher = {Artificial Intelligence Applications Institute}
|
||||
, organization = {University of Edinburgh}
|
||||
, address = {80 South Bridge, Edinburgh, EH1 1HN}
|
||||
, year = {1995}
|
||||
}
|
||||
|
||||
@manual{smart95b,
|
||||
author = {Smart, Julian}
|
||||
, title = {Tex2RTF User Manual}
|
||||
, publisher = {Artificial Intelligence Applications Institute}
|
||||
, organization = {University of Edinburgh}
|
||||
, address = {80 South Bridge, Edinburgh, EH1 1HN}
|
||||
, year = {1995}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 152 KiB |
Before Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 630 B |
@@ -1,73 +0,0 @@
|
||||
\section{Event macros and identifiers}\label{events}
|
||||
|
||||
These are the event macros and event identifiers defined by FL.
|
||||
|
||||
\twocolwidtha{7cm}
|
||||
\begin{twocollist}\itemsep=0pt
|
||||
\twocolitemruled{{\bf Event macro}}{{\bf Event identifier}}
|
||||
\twocolitem{EVT\_PL\_LEFT\_DOWN(func)}{cbEVT\_PL\_LEFT\_DOWN}
|
||||
\twocolitem{EVT\_PL\_LEFT\_UP(func)}{cbEVT\_PL\_LEFT\_UP}
|
||||
\twocolitem{EVT\_PL\_RIGHT\_DOWN(func)}{cbEVT\_PL\_RIGHT\_DOWN}
|
||||
\twocolitem{EVT\_PL\_RIGHT\_UP(func)}{cbEVT\_PL\_RIGHT\_UP}
|
||||
\twocolitem{EVT\_PL\_MOTION(func)}{cbEVT\_PL\_MOTION}
|
||||
\twocolitem{EVT\_PL\_LEFT\_DCLICK(func)}{cbEVT\_PL\_LEFT\_DCLICK}
|
||||
|
||||
\twocolitem{EVT\_PL\_LAYOUT\_ROW(func)}{cbEVT\_PL\_LAYOUT\_ROW}
|
||||
\twocolitem{EVT\_PL\_RESIZE\_ROW(func)}{cbEVT\_PL\_RESIZE\_ROW}
|
||||
\twocolitem{EVT\_PL\_LAYOUT\_ROWS(func)}{cbEVT\_PL\_LAYOUT\_ROWS}
|
||||
\twocolitem{EVT\_PL\_INSERT\_BAR(func)}{cbEVT\_PL\_INSERT\_BAR}
|
||||
\twocolitem{EVT\_PL\_RESIZE\_BAR(func)}{cbEVT\_PL\_RESIZE\_BAR}
|
||||
\twocolitem{EVT\_PL\_REMOVE\_BAR(func)}{cbEVT\_PL\_REMOVE\_BAR}
|
||||
\twocolitem{EVT\_PL\_SIZE\_BAR\_WND(func)}{cbEVT\_PL\_SIZE\_BAR\_WND}
|
||||
|
||||
\twocolitem{EVT\_PL\_DRAW\_BAR\_DECOR(func)}{cbEVT\_PL\_DRAW\_BAR\_DECOR}
|
||||
\twocolitem{EVT\_PL\_DRAW\_ROW\_DECOR(func)}{cbEVT\_PL\_DRAW\_ROW\_DECOR}
|
||||
\twocolitem{EVT\_PL\_DRAW\_PANE\_DECOR(func)}{cbEVT\_PL\_DRAW\_PANE\_DECOR}
|
||||
\twocolitem{EVT\_PL\_DRAW\_BAR\_HANDLES(func)}{cbEVT\_PL\_DRAW\_BAR\_HANDLES}
|
||||
\twocolitem{EVT\_PL\_DRAW\_ROW\_HANDLES(func)}{cbEVT\_PL\_DRAW\_ROW\_HANDLES}
|
||||
\twocolitem{EVT\_PL\_DRAW\_ROW\_BKGROUND(func)}{cbEVT\_PL\_DRAW\_ROW\_BKGROUND}
|
||||
\twocolitem{EVT\_PL\_DRAW\_PANE\_BKGROUND(func)}{cbEVT\_PL\_DRAW\_PANE\_BKGROUND}
|
||||
|
||||
\twocolitem{EVT\_PL\_START\_BAR\_DRAGGING(func)}{cbEVT\_PL\_START\_BAR\_DRAGGING}
|
||||
\twocolitem{EVT\_PL\_DRAW\_HINT\_RECT(func)}{cbEVT\_PL\_DRAW\_HINT\_RECT}
|
||||
|
||||
\twocolitem{EVT\_PL\_START\_DRAW\_IN\_AREA(func)}{cbEVT\_PL\_START\_DRAW\_IN\_AREA}
|
||||
\twocolitem{EVT\_PL\_FINISH\_DRAW\_IN\_AREA(func)}{cbEVT\_PL\_FINISH\_DRAW\_IN\_AREA}
|
||||
|
||||
\twocolitem{EVT\_PL\_CUSTOMIZE\_BAR(func)}{cbEVT\_PL\_CUSTOMIZE\_BAR}
|
||||
\twocolitem{EVT\_PL\_CUSTOMIZE\_LAYOUT(func)}{cbEVT\_PL\_CUSTOMIZE\_LAYOUT}
|
||||
\end{twocollist}
|
||||
|
||||
See also the classes:
|
||||
|
||||
\twocolwidtha{7cm}
|
||||
\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}
|
||||
|