+++ /dev/null
-richeditM5.mcp
-richeditM*Data
-*Classic?Debug*
-*Classic?Release*
-*Carbon?Debug*
-*Carbon?Release*
+++ /dev/null
-# =========================================================================
-# This makefile was generated by
-# Bakefile 0.1.9 (http://bakefile.sourceforge.net)
-# Do not modify, all changes will be overwritten!
-# =========================================================================
-
-
-@MAKE_SET@
-
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-INSTALL = @INSTALL@
-EXEEXT = @EXEEXT@
-WINDRES = @WINDRES@
-REZ = @REZ@
-SETFILE = @SETFILE@
-NM = @NM@
-srcdir = @srcdir@
-top_srcdir = @top_srcdir@
-top_builddir = @top_builddir@
-LDFLAGS_GUI = @LDFLAGS_GUI@
-CXX = @CXX@
-CXXFLAGS = @CXXFLAGS@
-CPPFLAGS = @CPPFLAGS@
-LDFLAGS = @LDFLAGS@
-WX_LIB_FLAVOUR = @WX_LIB_FLAVOUR@
-TOOLKIT = @TOOLKIT@
-TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
-TOOLKIT_VERSION = @TOOLKIT_VERSION@
-TOOLCHAIN_FULLNAME = @TOOLCHAIN_FULLNAME@
-EXTRALIBS = @EXTRALIBS@
-EXTRALIBS_GUI = @EXTRALIBS_GUI@
-HOST_SUFFIX = @HOST_SUFFIX@
-SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@
-SAMPLES_RPATH_POSTLINK = @SAMPLES_RPATH_POSTLINK@
-
-### Variables: ###
-
-DESTDIR =
-WX_RELEASE = 2.7
-WX_VERSION = $(WX_RELEASE).0
-LIBDIRNAME = $(top_builddir)lib
-RICHEDIT_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
- $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
- -I$(srcdir) $(__DLLFLAG_p) -I$(srcdir)/../../samples $(CPPFLAGS) $(CXXFLAGS)
-RICHEDIT_OBJECTS = \
- $(__richedit___win32rc) \
- $(__richedit_os2_lib_res) \
- richedit_wxLayout.o \
- richedit_kbList.o \
- richedit_wxllist.o \
- richedit_wxlparser.o \
- richedit_wxlwindow.o
-
-### Conditionally set variables: ###
-
-@COND_DEPS_TRACKING_0@CXXC = $(CXX)
-@COND_DEPS_TRACKING_1@CXXC = $(top_builddir)./bk-deps $(CXX)
-@COND_USE_GUI_0@PORTNAME = base
-@COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
-@COND_TOOLKIT_MAC@WXBASEPORT = _carbon
-@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@WXDEBUGFLAG = d
-@COND_DEBUG_FLAG_1@WXDEBUGFLAG = d
-@COND_UNICODE_1@WXUNICODEFLAG = u
-@COND_WXUNIV_1@WXUNIVNAME = univ
-@COND_MONOLITHIC_0@EXTRALIBS_FOR_BASE = $(EXTRALIBS)
-@COND_MONOLITHIC_1@EXTRALIBS_FOR_BASE = $(EXTRALIBS) $(EXTRALIBS_GUI)
-@COND_MONOLITHIC_0@EXTRALIBS_FOR_GUI = $(EXTRALIBS_GUI)
-@COND_MONOLITHIC_1@EXTRALIBS_FOR_GUI =
-@COND_PLATFORM_MAC_1@__richedit___mac_setfilecmd = \
-@COND_PLATFORM_MAC_1@ $(SETFILE) -a C richedit$(EXEEXT)
-@COND_PLATFORM_MAC_1@__richedit___mac_rezcmd = $(__MACOSX_RESOURCES_p_1)
-@COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
-@COND_WXUNIV_1@__WXUNIV_DEFINE_p_1 = -d __WXUNIVERSAL__
-@COND_WXUNIV_1@__WXUNIV_DEFINE_p_2 = --define __WXUNIVERSAL__
-@COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
-@COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p_1 = -d wxNO_EXCEPTIONS
-@COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p_2 = --define wxNO_EXCEPTIONS
-@COND_USE_RTTI_0@__RTTI_DEFINE_p = -DwxNO_RTTI
-@COND_USE_RTTI_0@__RTTI_DEFINE_p_1 = -d wxNO_RTTI
-@COND_USE_RTTI_0@__RTTI_DEFINE_p_2 = --define wxNO_RTTI
-@COND_USE_THREADS_0@__THREAD_DEFINE_p = -DwxNO_THREADS
-@COND_USE_THREADS_0@__THREAD_DEFINE_p_1 = -d wxNO_THREADS
-@COND_USE_THREADS_0@__THREAD_DEFINE_p_2 = --define wxNO_THREADS
-@COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL
-@COND_SHARED_1@__DLLFLAG_p_1 = -d WXUSINGDLL
-@COND_SHARED_1@__DLLFLAG_p_2 = --define WXUSINGDLL
-COND_PLATFORM_OS2_1___richedit___os2_emxbindcmd = $(NM) richedit$(EXEEXT) | if \
- grep -q pmwin.763 ; then emxbind -ep richedit$(EXEEXT) ; fi
-@COND_PLATFORM_OS2_1@__richedit___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___richedit___os2_emxbindcmd)
-@COND_TOOLKIT_MSW@__RCDEFDIR_p = -i \
-@COND_TOOLKIT_MSW@ $(LIBDIRNAME)/wx/include/$(TOOLCHAIN_FULLNAME)
-@COND_TOOLKIT_MSW@__RCDEFDIR_p_1 = --include-dir \
-@COND_TOOLKIT_MSW@ $(LIBDIRNAME)/wx/include/$(TOOLCHAIN_FULLNAME)
-@COND_PLATFORM_WIN32_1@__richedit___win32rc = richedit_sample_rc.o
-@COND_PLATFORM_OS2_1@__richedit_os2_lib_res = \
-@COND_PLATFORM_OS2_1@ $(top_srcdir)/include/wx/os2/wx.res
-@COND_PLATFORM_MACOSX_1@__richedit_bundle___depname = richedit_bundle
-@COND_TOOLKIT_COCOA@____richedit_BUNDLE_TGT_REF_DEP = \
-@COND_TOOLKIT_COCOA@ richedit.app/Contents/PkgInfo
-@COND_TOOLKIT_MAC@____richedit_BUNDLE_TGT_REF_DEP = \
-@COND_TOOLKIT_MAC@ richedit.app/Contents/PkgInfo
-COND_MONOLITHIC_0___WXLIB_CORE_p = \
- -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core-$(WX_RELEASE)$(HOST_SUFFIX)
-@COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
-COND_MONOLITHIC_0___WXLIB_BASE_p = \
- -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
-@COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p)
-COND_MONOLITHIC_1___WXLIB_MONO_p = \
- -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
-@COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
-@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \
-@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \
-@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
-@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \
-@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \
-@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
-@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \
-@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \
-@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
-@COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \
-@COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
-@COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \
-@COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
-COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p = \
- -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
-@COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = $(COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p)
-@COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \
-@COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
-COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1 = $(REZ) -d __DARWIN__ -t APPL -d \
- __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) \
- $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) -i $(srcdir) $(__DLLFLAG_p_1) -i \
- $(srcdir)/../../samples $(__RCDEFDIR_p) -i $(top_srcdir)/include -o \
- richedit$(EXEEXT) Carbon.r sample.r
-@COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_1 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1)
-
-### Targets: ###
-
-all: richedit$(EXEEXT) $(__richedit_bundle___depname) data
-
-install: all
-
-uninstall:
-
-install-strip: install
-
-clean:
- rm -rf ./.deps ./.pch
- rm -f ./*.o
- rm -f richedit$(EXEEXT)
- rm -rf richedit.app
-
-distclean: clean
- rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
-
-richedit$(EXEEXT): $(RICHEDIT_OBJECTS) $(__richedit___win32rc)
- $(CXX) -o $@ $(RICHEDIT_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(LDFLAGS_GUI) $(SAMPLES_RPATH_FLAG) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(__LIB_ZLIB_p) $(__LIB_ODBC_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS_FOR_BASE) $(EXTRALIBS_FOR_GUI)
- $(__richedit___mac_rezcmd)
- $(__richedit___mac_setfilecmd)
- $(__richedit___os2_emxbindcmd)
- $(SAMPLES_RPATH_POSTLINK)
-
-richedit.app/Contents/PkgInfo: richedit$(EXEEXT) $(top_srcdir)/src/mac/carbon/Info.plist.in $(top_srcdir)/src/mac/carbon/wxmac.icns
- mkdir -p richedit.app/Contents
- mkdir -p richedit.app/Contents/MacOS
- mkdir -p richedit.app/Contents/Resources
-
-
- sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \
- -e "s/EXECUTABLE/richedit/" \
- -e "s/VERSION/$(WX_VERSION)/" \
- $(top_srcdir)/src/mac/carbon/Info.plist.in >richedit.app/Contents/Info.plist
-
-
- echo -n "APPL????" >richedit.app/Contents/PkgInfo
-
-
- ln -f richedit$(EXEEXT) richedit.app/Contents/MacOS/richedit
-
-
- cp -f $(top_srcdir)/src/mac/carbon/wxmac.icns richedit.app/Contents/Resources/wxmac.icns
-
-@COND_PLATFORM_MACOSX_1@richedit_bundle: $(____richedit_BUNDLE_TGT_REF_DEP)
-
-data:
- @mkdir -p .
- @for f in wxLayout.cpp; do \
- if test ! -f ./$$f -a ! -d ./$$f ; \
- then x=yep ; \
- else x=`find $(srcdir)/$$f -newer ./$$f -print` ; \
- fi; \
- case "$$x" in ?*) \
- cp -pRf $(srcdir)/$$f . ;; \
- esac; \
- done
-
-richedit_sample_rc.o: $(srcdir)/../../samples/sample.rc
- $(WINDRES) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_2) $(__EXCEPTIONS_DEFINE_p_2) $(__RTTI_DEFINE_p_2) $(__THREAD_DEFINE_p_2) --include-dir $(srcdir) $(__DLLFLAG_p_2) --include-dir $(srcdir)/../../samples $(__RCDEFDIR_p_1) --include-dir $(top_srcdir)/include
-
-richedit_wxLayout.o: $(srcdir)/wxLayout.cpp
- $(CXXC) -c -o $@ $(RICHEDIT_CXXFLAGS) $(srcdir)/wxLayout.cpp
-
-richedit_kbList.o: $(srcdir)/kbList.cpp
- $(CXXC) -c -o $@ $(RICHEDIT_CXXFLAGS) $(srcdir)/kbList.cpp
-
-richedit_wxllist.o: $(srcdir)/wxllist.cpp
- $(CXXC) -c -o $@ $(RICHEDIT_CXXFLAGS) $(srcdir)/wxllist.cpp
-
-richedit_wxlparser.o: $(srcdir)/wxlparser.cpp
- $(CXXC) -c -o $@ $(RICHEDIT_CXXFLAGS) $(srcdir)/wxlparser.cpp
-
-richedit_wxlwindow.o: $(srcdir)/wxlwindow.cpp
- $(CXXC) -c -o $@ $(RICHEDIT_CXXFLAGS) $(srcdir)/wxlwindow.cpp
-
-
-# Include dependency info, if present:
-@IF_GNU_MAKE@-include .deps/*.d
-
-.PHONY: all install uninstall clean distclean richedit_bundle data
+++ /dev/null
-/* XPM */
-static char *Micon_xpm[] = {
-/* width height num_colors chars_per_pixel */
-" 64 48 254 2",
-/* colors */
-".. c #040207",
-".# c #6482b4",
-".a c #2a4471",
-".b c #9cc2d4",
-".c c #4c627f",
-".d c #94918e",
-".e c #0c243e",
-".f c #4c4a4a",
-".g c #3c63a8",
-".h c #7ca2ac",
-".i c #24447e",
-".j c #2c2c2c",
-".k c #5482cc",
-".l c #d4d0d0",
-".m c #99aab7",
-".n c #5c74b1",
-".o c #2c5287",
-".p c #1a2a4d",
-".q c #acdefc",
-".r c #646362",
-".s c #7491d0",
-".t c #bcc4bf",
-".u c #5273aa",
-".v c #b4b1aa",
-".w c #3d5583",
-".x c #828482",
-".y c #8c9490",
-".z c #6f7369",
-".A c #1c365c",
-".B c #041220",
-".C c #2c325c",
-".D c #94b6e4",
-".E c #3e4242",
-".F c #648edc",
-".G c #d4f2fc",
-".H c #cbd3d1",
-".I c #3c54a1",
-".J c #243244",
-".K c #4c69aa",
-".L c #7c8ba2",
-".M c #4c5d84",
-".N c #34497f",
-".O c #1c2228",
-".P c #6484c5",
-".Q c #6a7788",
-".R c #9ba09b",
-".S c #2c3634",
-".T c #acb6b4",
-".U c #141517",
-".V c #a0c4e8",
-".W c #515753",
-".X c #5c76cc",
-".Y c #1b2f51",
-".Z c #4472c4",
-".0 c #7c8a88",
-".1 c #5a6262",
-".2 c #a4aba6",
-".3 c #bcc8d5",
-".4 c #7494df",
-".5 c #84b2d4",
-".6 c #6784d9",
-".7 c #acd3e4",
-".8 c #304b72",
-".9 c #2c4c81",
-"#. c #3c5b93",
-"## c #5468bc",
-"#a c #b5bbb0",
-"#b c #1c3765",
-"#c c #444e44",
-"#d c #ecece8",
-"#e c #7ca3dc",
-"#f c #d4deda",
-"#g c #345495",
-"#h c #1c2641",
-"#i c #94a6cc",
-"#j c #243252",
-"#k c #a7acb5",
-"#l c #5c7ab3",
-"#m c #0a152d",
-"#n c #c4def0",
-"#o c #686e84",
-"#p c #a4a19e",
-"#q c #3e3c3a",
-"#r c #84aaee",
-"#s c #040a09",
-"#t c #3c6294",
-"#u c #7c929c",
-"#v c #3c5c9d",
-"#w c #4e6ead",
-"#x c #344458",
-"#y c #446bae",
-"#z c #696b6a",
-"#A c #547cbc",
-"#B c #789ae3",
-"#C c #112a44",
-"#D c #4f504b",
-"#E c #2c3140",
-"#F c #8c8688",
-"#G c #5e5c5c",
-"#H c #8c8c80",
-"#I c #cccccc",
-"#J c #4c6398",
-"#K c #c7cbc4",
-"#L c #5174b8",
-"#M c #3d558e",
-"#N c #2c3c5f",
-"#O c #acbad4",
-"#P c #3f495a",
-"#Q c #354e82",
-"#R c #6a8ac7",
-"#S c #767c84",
-"#T c #30374b",
-"#U c #b1c9e7",
-"#V c #1b315d",
-"#W c #537bcb",
-"#X c #c4bec0",
-"#Y c #243e6a",
-"#Z c #969892",
-"#0 c #7e858e",
-"#1 c #94b3f1",
-"#2 c #c2d4e8",
-"#3 c #141e35",
-"#4 c #acb2ac",
-"#5 c #c4ced0",
-"#6 c #2b4d8e",
-"#7 c #445ca2",
-"#8 c #2c3e6f",
-"#9 c #14243e",
-"a. c #f1fdfa",
-"a# c #8c9abc",
-"aa c #d7f9f9",
-"ab c #5a697e",
-"ac c #c7ebf7",
-"ad c #bceefc",
-"ae c #b4c2b4",
-"af c #889cf0",
-"ag c #d8d6c8",
-"ah c #748598",
-"ai c #b4d2fc",
-"aj c #4c5eb0",
-"ak c #3f4f64",
-"al c #8492bc",
-"am c #161d1e",
-"an c #5d7dcf",
-"ao c #5c86d6",
-"ap c #9cacc8",
-"aq c #6c92e6",
-"ar c #e4ecec",
-"as c #89b7ef",
-"at c #a6d0f8",
-"au c #e4e2e0",
-"av c #8c98a4",
-"aw c #ccdaec",
-"ax c #94bee4",
-"ay c #232b2b",
-"az c #1c2b43",
-"aA c #0c1c33",
-"aB c #99bcf7",
-"aC c #6c72bc",
-"aD c #7c766c",
-"aE c #a4a2b4",
-"aF c #6c7eac",
-"aG c #e4d6dc",
-"aH c #e4fefc",
-"aI c #84aeb4",
-"aJ c #b4b6bf",
-"aK c #345b9b",
-"aL c #bce2ef",
-"aM c #ccc6bc",
-"aN c #82a3ef",
-"aO c #7c7b77",
-"aP c #040c1e",
-"aQ c #6c7e94",
-"aR c #9ca69c",
-"aS c #acbebc",
-"aT c #a2cafa",
-"aU c #545e5f",
-"aV c #5c6a74",
-"aW c #cae6ee",
-"aX c #5c6e7c",
-"aY c #5474c6",
-"aZ c #fcfaf4",
-"a0 c #344672",
-"a1 c #446ec4",
-"a2 c #b4c4d4",
-"a3 c #313231",
-"a4 c #9cb2b4",
-"a5 c #345a8c",
-"a6 c #7496d4",
-"a7 c #0c1a24",
-"a8 c #444a47",
-"a9 c #343e3c",
-"b. c #dce6e4",
-"b# c #a9b2bc",
-"ba c #a6a6a3",
-"bb c #446a9c",
-"bc c #c4f2f8",
-"bd c #445667",
-"be c #727475",
-"bf c #6a7896",
-"bg c #9aa0a7",
-"bh c #9ec4fa",
-"bi c #545a61",
-"bj c #6474e0",
-"bk c #546674",
-"bl c #b8bcbd",
-"bm c #5d7cbf",
-"bn c #515255",
-"bo c #979a9f",
-"bp c #849cd0",
-"bq c #546a8f",
-"br c #d7d8d5",
-"bs c #688ada",
-"bt c #4f6ebe",
-"bu c #343e4c",
-"bv c #dafefc",
-"bw c #acd6fc",
-"bx c #b4b6b0",
-"by c #8c9a94",
-"bz c #203a44",
-"bA c #a4b6c8",
-"bB c #4c6a98",
-"bC c #040214",
-"bD c #5c74be",
-"bE c #4c5c98",
-"bF c #24325c",
-"bG c #8c8c8f",
-"bH c #4464a7",
-"bI c #2c457e",
-"bJ c #5c83c7",
-"bK c #34538a",
-"bL c #b4dff1",
-"bM c #7c92d4",
-"bN c #c4c4c0",
-"bO c #243759",
-"bP c #0c151e",
-"bQ c #9cb2d4",
-"bR c #6c8fd3",
-"bS c #546aab",
-"bT c #848c9f",
-"bU c #242420",
-"bV c #6c83c0",
-"bW c #343935",
-"bX c #848b89",
-"bY c #acaca6",
-"bZ c #c4cad0",
-"b0 c #445c90",
-"b1 c #243865",
-"b2 c #dce0dc",
-"b3 c #747b76",
-"b4 c #8cacee",
-"b5 c #0c0c08",
-"b6 c #446299",
-"b7 c #8493a4",
-/* pixels */
-"................................................................................................................................",
-"..................................bC....bC....bC..bC....bC..bCbCbCbC..bCbC..bC..bC..bC..bCbC..bC..bC....bC....bC................",
-"..#9#C#h#C.p.Y.Y.Y#j.Y.Y.Y#V#V#Vb1bFb1b1#8#Y.a.a#Q#Q.a.N#Q.abI.i.9bI#Q#MbK#M.wb0#M.9.N.N.N.9.abI.a#Y#Yb1b1#b#bb1b1b1#V#V#V#Vaz..",
-"..#h#C.p.p#9.Y.Y#j.AbObO.A.AbO.Ab1#Y#Y#8.a.aa0.N.8.w.w#QbK.w.ibI.9#6#Q#.#Mb0b0#J#MbK#M.NbK.N.9.NbI.N#YbIb1#Y#8#8bOb1bO#j#V#Caz..",
-"..#9.e#h#C.p.p.Y.YbO.A#b#N.a#8#Y#bb1#8#Y.Na0.9.8#Q.w.Mb0#Q#MbK.9bK#g#6.Kb6#J#J#wb0#M#MbKbK#Q#M.9bI.N.N.a.N.a.a.ab1b1#V.Y#V.Y.Y..",
-"..#9#C.p#h.p.p.p.Y#VbO#b.a.ia0.9#Q.N#YbI.a.N.N.N.w#Q.wb6b6b0b6#.#g#v#M.K#w#L.n.n#vbH#.bH.Ib6aK#MbK.9#Q#Q#Q#Q.a#Yb1.AbF#VbO.Y#j..",
-"..#h#h.p.p.p.Y.p#bbF#bb1#Y.a.8.N#Q#M#M#Q.N.9#QbK#M#Mb0b0.ubB.K.K#..K#v#w.nbmbV.nbHbS#w#7#w#vb0#.#M#Mb0#M#Q.9#Y#Yb1#Yb1b1.Y.Y.Y..",
-"..#h#9.p.p.p#V#V#b#b#Y#Y.a.ibI.N.w#Mb0b6#7#M#Q#QbK#.b6b6bq#l.n#LbHbH#y#L#R.s.4#AaY#w#w#L.K.KbH.g.KbH#v#M.9bI.i.8.a#Yb1.A.A.A#j..",
-"..#h#C.p.p.Y#V#V#bb1.abIbI#6.o.o#g.oaK#tbH.K.KbH#M.Iaj.K#w.n#R.P#Rbt#W#W.4bpb4aoanbsaobm#La1#L#A#L.ga5bK#g#g#Q.8#Y#bb1b1bOb1bO..",
-"...p.p.Y#V.Y#V.Ab1#YbI.9#Q#Q#M#M#7#7#M#v.M#J.K.K.nbS#MbH.nbm.#b4.s#Baq#Wb4aB#1aqaq#R.P.##l#RbmbD.K#7#J#J#.#Q.9.i.N.a#Y#Yb1.Aaz..",
-"..az#C#V#j#V.A#N#8.N.N.ibObz#T.J#E.J#T#Tbu.Y.8#..K.nbVbD#wbm.4a6aTb4aoaNaTaiasaNa6.n.m.3bZ#2bN.3aR#2#2.3#J#Q#MbK.8.a#8#b.AbO#j..",
-"..#h.p.p.Y.Yb1bO.ibI#g#Mbd#hambU.jbW.Sa3aybP.Y.9bHbH.ubm#BbM.P#rbhbc.qasbL.G.VbhaBbpbZaJbobxbl#I#a#abXbP#V.9#6.NbI#8#8#bbF#V#j..",
-"..az#C.Y.Y.Y#bb1.abI#Q.oaj#Pa3a3aya3a3bW.Eayb0.K.g#y.K#LanbRbhaTaxbLbvbLbvbvaLadaTai.mbobYba#Xbl.H#I#P#m#.#M#QbIbI#Y#Yb1#b#V#j..",
-"..az.p.p#VbObO#Y.a.N#g#g.I#xbW.j.ja3.E.Ebnbib0bmananbm#wanbs.4asacbLbvaHa.aHbvbc.7aIbY#p#pblbl#Kbe#F#k#9#..I#g#6.i#8#8b1b1.A#j..",
-"..#h#C.p.YbO#bb1a0bIbKbK#7#xaya3.jaya3#q.Wbn.J.wbD#Lbm.X#Bb4bhat.b#na.a.a.aZaHaHaW#k#a.vagbNaObl#I.vb3#3#w.K#7#v#M#QbIa0#Y#N#N..",
-"..#haz.p#V.YbO#Y#Y.N.9#g#7#P.EbUa8#q#D.f.f.fbi#hbB#LaY.n.P#R#e.5.7aLa.a.aZaZa.a.aS#5#p.d#p.t.l.HbYaObo.Y#w.Kb6#.#M.Na0.a#8#NbO..",
-"..#h#C.YbO#V#N#Y.8#Q#g#t##ak.j.W.f.Wbn#Gbe#zbnaU.M#Ra6#eaNb4bh.7bLaWa.aZaZaZa.br.H.2ba.H.T#fau.H.H#p.x#3#w.K#tb0#Q#Q.a#8#Nb1bO..",
-"..az#j#j.Ab1#N.a.8#Q#.bb##ak.Ebnbn.1.Ua8.zaO#z.xbubqbsbR.saqaN#1bw.7aaaHa.b.a.a4bZ#k#dbgbP.H#IbG#4bY#o#9#w.K#7b0#Q.8.a#8#NbObO..",
-"..az#j.Y.YbO#8.a.8#Q#7#t##bd.r#D#D.rbPaV#G#z.x.y#z.p.u#W.6#B#r#eaTaTaLaWaaaI#5#aau#XbraU#8.HbN.T.RbY#0#9#w.Kb6#M#Q#Qa0#Y#Y#N#N..",
-"..#h#j.YbOb1bO#Ya0.NbKa5aj.c.f#G#z.1#3.Mbe#zaO.x#pbT#.bmbsbs.F#1#easat.Gbc.hb.b2aragbgbPaC.3#k.v#4babe#9.KbH#7b0#Qak.a.i#N#Y#T..",
-"..az.Y#j.Y.Ab1#Y.8.N#gbK.IaX.r.raDaV.Bb0bfbeb3bab3#HazbBaYbsaqbRaf#1.DaB#na2#K#4b3.ybC.Yaf#k#Z.y.d#p#S#3#v#7#M#g.N.N.a#N#Y#NbO..",
-"..#h.p#C#jbFbO#8.a.NbK#.#7bk.z.zb3#H#9aKbm#J.y#Hbablb#.e.PaqbmbsaNaN#1aB#2bZ.x.2aub3.AbSbjapbobobo.rbn#9#v#gbK.9bI.a.a#Yb1bObO..",
-"..#haz.YbF#VbO#Y.abI#QaK.I.Q.z.WaO#za7b0an.ub#.R.y.R#XbXbEbtbJbR#Bbsb4.D.3.v#p#za3#s.ubJbj#u.WbWb3.Rbe#9#v#v#g.9bI#Yb1b1#b.A#j..",
-"..#h#C.p#C.Y#bbO#YbI.9.o.Iab#Zb3.x.da7bK#WbmalbTae.t#F#Gaz.nbsaqbJ.6#R#U#aaMbx#KbPbz#laoanb#ba.2.RbG#G#9#v#v#g.9bI.ab1#bbF#Vaz..",
-"..#haz.p.p#V#Vb1#Y.a#6bK#7bk.1#z#Z.y#m#.a1a1bq.LbX#HblbN.3#N.PaobJafbQ.3.tblbx.TazbB.X.kaYb7bG.d.x#ZaV#3bH#v#Q.NbI#8b1b1.A.Y.Y..",
-"..az#h#C.p#VbO#b#YbIbK#g#7aQ.d.y.RbX#mbK#y#ybt.#bZ#IaM.l.2bdbmanaobMap.t.2bY.2.ObO.s.X#W.6bX#F.yaOaD#G#9b6#7.I#Q.a.ab1#bbF.Y.Y..",
-"..#9#h.p.p#V#Vb1.a.NbK#..IaQ.xbob3aO#m.9#L.ZaY#w#iaJagaGbr#5.8aF.4a#blbN#Z#Z.WaP#l#l.6#WaY#0aO.y.xb3#PaA#7b6bK#QbI#8b1bO.A#V.Y..",
-"..#h.p#C#V.YbO#Y.abI.9aK.Ibf#D.1bYbY#mbK#ybt#ybHbSbT#aba.tbx#S.M#B.y#kbxbYbYaP.YbR#A.6bmbt.Lb3#z.W#Dbn#3bK#.#M#Q.N#Yb1b1#V.Yaz..",
-"..#h#C.p#V.p#b.A.a#Y#Q#..Ib7#kbe#4#pa7bK#ybH.g.gbHbfbZbN#4bNbgakah#Zbg#F.x.1#9bK.P#A.X.#btbTaO.W.r.ra8.e#Q.o#Q#Q.a.ab1bO.A.Yaz..",
-"..#h.p#h#C#VbOb1#YbI.9.o.I.L#H#Z.2.vaA#QbHaK.g.g#y#7#nbr#a.H.vaE.zaU#4blbebCbIaK#Lbm#LbJbtaXaO.z#z#G.EaA#g#Q.9bI.a.a#Nb1#jbO.Y..",
-"..#h#C#h#V.p#V.A.a#8.9.9.Iah#4bY#4bGbP#QaKaKaKaK#7#wbEbg.z.zay.E#a#K.2#ZbCbO#v#gbH.Xbb.ubDbk#z.r#c.f.E#9#Q#6bI.i#8b1#YbO.AbO.J..",
-"..#h.p#9.p.p#b.A#8#Y.9.9.I.0.R.2bN#XbP.NaK.IaK#v.IbS.KaQaR.Wbl#K.RbY.R.y#9#M#gaKbH.Kbb#yaCbk.r#Ga8#D#TaAbK#6.i.a#Y#bbObO.Y#jaz..",
-"..#9#9.p.p.Y#V.Ab1#YbI.9#7a#bn.Hb2#FaP.a.I#g#g#g#v#7bHb0.L.HbY.y.0#ZaObC.8b0#g#6aKbH#wbb#LaX#D#q.Ea3.UaAbK#QbI#Y#Y#bbO.AbO.Y.Y..",
-"..#9#h#h#C.p.Y#V#Y#Y#6.obEbk.H.2bUbe#m.a#g#g#Q#M#M#vaK#6bq#k.d.x.y#Z..az#M#v.o#6.o#v#L#tbSbda8bU.Ub5.O#3#6#6bI.ib1#bbF.Y#C.Yaz..",
-"..#9#9.p.p.p#Vb1#Y.N#6.o#Q#O.R.xaM.HaPa0bK#Q#Q#M#M#MbK#gb0akb3aO.xbX#9#x#v#g.N#6.9.wbH#yb0bn#D.f#q.j.U#3.N#6#8.i#b#b.Y.p.Y.paz..",
-"..#9#h#9.p.p#V#bb1#8bI#g.NbAb.br.t#H#m#Y#Q#g#Q.9.9.N#6.o#gb0avbG#Z...Y.w#g#6bIbIbIbK#v.K#Ma7#s#s....#haA#Q.NbI#Yb1#V#V#V.p.paz..",
-"..#9#9#9.p.p#VbO#Y#8#6.i#M.Q#z.H#f#K.B#Y#6.9.N.9bIbI.9.9#M#M#JbybP.B.Nb0.NbIbI#Y.ibI#vbH.wbubW.E.Sa3a7#m.o#Q#Y#Yb1#V#V#C.p.p.e..",
-"..#3#9#9#9.Y#V#VbF#Y#8#6ak#O#db2br.HaP#N.N#QbIbI.a#Y.i.8#M#Qa0.L.B.p#Q#Q.i.i.i#Y.ibI#Q#..c.E.ja3a3bWambP.N.9#Y#Y#b#b#V.p.p.p#9..",
-"..#3.e#9.p.p.Y.Yb1b1#Y#.#Ubgbl.T#S..aw#obI.a.a#8#Y#Y.a#YbI.Na0.8bO#8a0#Qa0#8b1#Y#Y#8#Q.ibO#Ta9a9bWa3ay#Eb1.a.ab1#V#V.Y.p.p.e#9..",
-"..#3#9.p#h#C.p.Y#Vb1#b#V.a.Y.Y.Y#CazbO.eb1#8#Y#b#bb1b1#8bI#Y.8.abIb1#Y.Nb1#Y#Y#Y#b#Y.9.8.8.C.JbO#j.Yaz#C.p.Y#bb1#V.p.p.p#C.e#9..",
-"..#9#9#9.p#9.p.Y.Y#V#b#bb1#8.i#8.a.a#Y#Y#Y#Yb1b1#b#bb1#N#Y#8b1#Y#Yb1#8#Yb1#b#b#b#bb1#Y.N.w.8.N.8#Q.8.i.a#b#Y#bbO#V.Y.p#C.p.p#9..",
-"..#3#9.e#9.p.p#9#C.Y#V#b#b#b#Y#Y#Y#Y#Y#Yb1b1bO#V.Y#j#Vb1b1bObObObO.Ab1#N.A.AbF#V#V#V#b#8.aa0.a.ibI.8#Y#Yb1#V#V#V#V.p.p#9.p.e#9..",
-"..#3#3#9.e.e.p.p.p.p#V.Y#b#b#Vb1#b#Yb1.A#V.Y.Y.Y.Y.Y.A#j.YbO#VbO.Y#jbO#b#j#j#V.Y#V#V#bb1#Y.a#Yb1.a#8b1b1#b.A#V#C.p.p.p.p.e.e#9..",
-"..#3aAaA#3#9.e.e#9#C#C.Y.p.Y#V#VbF#VbO.Y#j.p.p.Y#C#j.Y#j.Y#j.Y#j.Y.YbO.Y#j.Y.p.p.p.p.Y#VbOb1#NbObOb1b1.A#V.p.p.p#C.p#9#9#9.e#9..",
-"..#3#9.e#3aA#9.e#9.p.p.e.p.p.p#V#j.Y.Y.Y#9.p.p#9.Yaz.Yaz.paz.Y.paz.Y.Y#j#C.p#C.p#C#C.p#V#VbO#VbF#V#j#V#j.p.p.p#C.p#9#C#C#9.e#9..",
-"..#3aA#9aA#9aA.e#9.e#9#9.p.p.p.p#Caz.Y#C.p.p#9.p#C#Caz.p#Caz.Y#C.p#9#j.p#h.p#C#C#C.e.p#9.Y#j.Y.Y.p.p.p#C.p.p#9#9#9#9#9.e#9.e#3..",
-"..#3.e#3.e#3.e#9#9aA#9.e.e.e.p#C.p#h#Caz#9.p.p.p#h.Y#9.p.p#C.paz.p#h.Yaz#9.p#C.e.e.e.p.p#9.p.paz#C.paz.Y#9.p.e#9.e#9#9#9#9aA#9..",
-"......bC..bC..bCbCbCbCbCbCbC..bC....bC..bCbCbCbCbC..bC....bC......bC..bCbCbCbCbCbCbCbCbCbCbC....bC......bCbC..bC..bC..bC........"
-};
+++ /dev/null
-/*
- This is an empty Mpch.h file to allow me to move the
- wxl* files between Mahogany and the wxLayout sample
- without modifying them.
-*/
-
-// static int _mpch_dummy = 0;
-
+++ /dev/null
-
-README for wxLayout classes
----------------------------
-
-All the source in this directory is copyrighted under the
-GPL (GNU GENERAL PUBLIC LICENSE), version 2,
-by Karsten Ballueder <ballueder@usa.net>.
-
-
-This is still work in progress, so if you want to make any significant
-changes, please get in touch with me before.
-
-
-*** THIS SOURCE IS USUALLY OUTDATED AND FOR DEMONSTRATION ONLY ***
-*** GET THE VERY LATEST VERSION OF THE WXLAYOUT CLASSES FROM ***
-*** THE SOURCE OF THE MAHOGANY MAIL/NEWS CLIENT, AVAILABLE FROM ***
-*** http://www.wxwindows.org/Mahogany/ ***
-
-
-
-There are three building blocks for rich text editing:
-
-wxllist :
-
-The wxLayoutList layout engine. It is a linked list of wxLayoutObjects
-which can arrange and display them on any wxDC. I am trying to keep
-this class as simple as possible, to be just the core layout
-engine. All "convenience" functions should be defined in classes built
-on top of this.
-The wxLayoutList is derived from kbList, a double-linked list with an
-interface modelled after the STL list. As wxLayoutList depends on the
-way kbList treats iterators (i.e. the iterator value after an insert()
-or erase() operation), I don't feel like rewriting it for wxList.
-
-wxlwindow :
-
-Contains a class wxLayoutWindow, derived from wxScrolledWindow which
-can directly be used as a rich-text display or editing window. The
-function responsible for keyboard handling is virtual and can be
-overloaded for different keybindings. wxLayoutWindow can sent fake
-menu-events to the application to react to the user clicking on
-objects.
-
-wxlparser:
-
-Contains several high level functions operating on
-wxLayoutList. Currently implemented is inserting of text (including
-linebreaks) and export of objects, text or html.
-Planned for the future is an html parser for importing html.
-
-
-wxLayout.cpp is a simple test program. It will export Text and HTML to
-stdout and demonstrate some of the features and bugs of wxLayoutList.
-
-There are still things to do and I'm working on them. :-)
-
-Karsten Ballueder <Ballueder@usa.ne> 29 June 1998
-
+++ /dev/null
-
-BUGS
-=====================================================================
-
-- word wrap for objects with lots of non-space needs to search in positive
- direction if begin of first object is reached
-
-TODO
-=====================================================================
-
-- use printsetup margins
-
- - UNDO!!
- - replacement of llist in window
-
-- update rectangle (needs support in wxllist and wxWindows)
- --> needs a bit of fixing still
- some code bits are commented out in wxlwindow.cpp
- offset handling seems a bit dodgy, white shadow to top/left of cursor
-
-- add wxHTML parser to import HTML
-- add some kind of callback for objects with userdata
-- use wxTempFile to get rid of temporary image files
+++ /dev/null
-#*****************************************************************************
-# *
-# Make file for VMS *
-# Author : J.Jansen (joukj@hrem.stm.tudelft.nl) *
-# Date : 15 October 2001 *
-# *
-#*****************************************************************************
-.first
- define wx [--.include.wx]
-
-.ifdef __WXMOTIF__
-CXX_DEFINE = /define=(__WXMOTIF__=1)/name=(as_is,short)\
- /assume=(nostdnew,noglobal_array_new)
-.else
-.ifdef __WXGTK__
-CXX_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm\
- /assume=(nostdnew,noglobal_array_new)
-.else
-CXX_DEFINE =
-.endif
-.endif
-
-.suffixes : .cpp
-
-.cpp.obj :
- cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp
-
-all :
-.ifdef __WXMOTIF__
- $(MMS)$(MMSQUALIFIERS) wxlayout.exe
-.else
-.ifdef __WXGTK__
- $(MMS)$(MMSQUALIFIERS) wxlayout_gtk.exe
-.endif
-.endif
-
-.ifdef __WXMOTIF__
-wxlayout.exe : wxlayout.obj,kbList.obj,wxllist.obj,wxlparser.obj,wxlwindow.obj
-
- cxxlink wxlayout,kbList.obj,wxllist.obj,wxlparser.obj,wxlwindow.obj,\
- [--.lib]vms/opt
-.else
-.ifdef __WXGTK__
-wxlayout_gtk.exe : wxlayout.obj,kbList.obj,wxllist.obj,wxlparser.obj,\
- wxlwindow.obj
- cxxlink/exec=wxlayout_gtk.exe wxlayout,kbList.obj,wxllist.obj,\
- wxlparser.obj,wxlwindow.obj,[--.lib]vms_gtk/opt
-.endif
-.endif
-
-wxlayout.obj : wxlayout.cpp
-kbList.obj : kblist.cpp
-wxllist.obj : wxllist.cpp
-wxlparser.obj : wxlparser.cpp
-wxlwindow.obj : wxlwindow.cpp
+++ /dev/null
-/*-*- c++ -*-********************************************************
- * kbList.cc : a double linked list *
- * *
- * (C) 1998 by Karsten Ballüder (Ballueder@usa.net) *
- * *
- * $Id$ *
- * *
- * $Log$
- * Revision 1.5 2005/09/23 12:52:18 MR
- * Nuke #pragma implementation/interface's
- *
- * Revision 1.4 2005/05/31 09:19:38 JS
- * Typo correction patch [ 1208110 ] Lots of typo corrections
- * Olly Betts
- *
- * Revision 1.3 2004/08/06 17:27:18 ABX
- * Deleting void is undefined.
- *
- * Revision 1.2 2002/01/16 13:39:50 GT
- * Added checks for wxUSE_IOSTREAMH to determine which iostream(.h) to use
- *
- * Revision 1.1 1999/06/07 09:57:12 KB
- * Formerly known as wxLayout.
- *
- * Revision 1.3 1998/11/19 20:34:50 KB
- * fixes
- *
- * Revision 1.8 1998/09/23 08:57:27 KB
- * changed deletion behaviour
- *
- * Revision 1.7 1998/08/16 21:21:29 VZ
- *
- * 1) fixed config file bug: it was never created (attempt to create ~/.M/config
- * always failed, must mkdir("~/.M") first)
- * 2) "redesign" of "Folder properties" dialog and bug corrected, small change to
- * MInputBox (it was too wide)
- * 3) bug in ProvFC when it didn't recognize the books as being in the correct
- * format (=> messages "can't reopen book") corrected
- * 4) I tried to enhance MDialog_About(), but it didn't really work... oh well,
- * I've never said I was an artist
- *
- * Revision 1.6 1998/07/08 11:56:56 KB
- * M compiles and runs on Solaris 2.5/gcc 2.8/c-client gso
- *
- * Revision 1.5 1998/06/27 20:07:18 KB
- * several bug fixes for kbList
- * started adding my layout stuff
- *
- * Revision 1.1.1.1 1998/06/13 21:51:12 karsten
- * initial code
- *
- * Revision 1.4 1998/05/24 14:48:00 KB
- * lots of progress on Python, but cannot call functions yet
- * kbList fixes again?
- *
- * Revision 1.3 1998/05/18 17:48:34 KB
- * more list<>->kbList changes, fixes for wxXt, improved makefiles
- *
- * Revision 1.2 1998/05/14 16:39:31 VZ
- *
- * fixed SIGSEGV in ~kbList if the list is empty
- *
- * Revision 1.1 1998/05/13 19:02:11 KB
- * added kbList, adapted MimeTypes for it, more python, new icons
- *
- *******************************************************************/
-
-#include "wx/wxprec.h"
-
-#ifdef __BORLANDC__
-# pragma hdrstop
-#endif
-
-#include "wx/wx.h"
-
-#include "kbList.h"
-
-
-kbListNode::kbListNode( void *ielement,
- kbListNode *iprev,
- kbListNode *inext)
-{
- next = inext;
- prev = iprev;
- if(prev)
- prev->next = this;
- if(next)
- next->prev = this;
- element = ielement;
-}
-
-kbListNode::~kbListNode()
-{
- if(prev)
- prev->next = next;
- if(next)
- next->prev = prev;
-}
-
-
-kbList::iterator::iterator(kbListNode *n)
-{
- node = n;
-}
-
-void *
-kbList::iterator::operator*()
-{
- return node->element;
-}
-
-kbList::iterator &
-kbList::iterator::operator++()
-{
- node = node ? node->next : NULL;
- return *this;
-}
-
-kbList::iterator &
-kbList::iterator::operator--()
-{
- node = node ? node->prev : NULL;
- return *this;
-}
-kbList::iterator &
-kbList::iterator::operator++(int /* foo */)
-{
- return operator++();
-}
-
-kbList::iterator &
-kbList::iterator::operator--(int /* bar */)
-{
- return operator--();
-}
-
-
-bool
-kbList::iterator::operator !=(kbList::iterator const & i) const
-{
- return node != i.node;
-}
-
-bool
-kbList::iterator::operator ==(kbList::iterator const & i) const
-{
- return node == i.node;
-}
-
-kbList::kbList(bool ownsEntriesFlag)
-{
- first = NULL;
- last = NULL;
- ownsEntries = ownsEntriesFlag;
-}
-
-void
-kbList::push_back(void *element)
-{
- if(! first) // special case of empty list
- {
- first = new kbListNode(element);
- last = first;
- return;
- }
- else
- last = new kbListNode(element, last);
-}
-
-void
-kbList::push_front(void *element)
-{
- if(! first) // special case of empty list
- {
- push_back(element);
- return;
- }
- else
- first = new kbListNode(element, NULL, first);
-}
-
-void *
-kbList::pop_back(void)
-{
- iterator i;
- void *data;
- bool ownsFlagBak = ownsEntries;
- i = tail();
- data = *i;
- ownsEntries = false;
- erase(i);
- ownsEntries = ownsFlagBak;
- return data;
-}
-
-void *
-kbList::pop_front(void)
-{
- iterator i;
- void *data;
- bool ownsFlagBak = ownsEntries;
-
- i = begin();
- data = *i;
- ownsEntries = false;
- erase(i);
- ownsEntries = ownsFlagBak;
- return data;
-
-}
-
-void
-kbList::insert(kbList::iterator & i, void *element)
-{
- if(! i.Node())
- return;
- else if(i.Node() == first)
- {
- push_front(element);
- i = first;
- return;
- }
- i = kbList::iterator(new kbListNode(element, i.Node()->prev, i.Node()));
-}
-
-void
-kbList::doErase(kbList::iterator & i)
-{
- kbListNode
- *node = i.Node(),
- *prev, *next;
-
- if(! node) // illegal iterator
- return;
-
- prev = node->prev;
- next = node->next;
-
- // correct first/last:
- if(node == first)
- first = node->next;
- if(node == last) // don't put else here!
- last = node->prev;
-
- // build new links:
- if(prev)
- prev->next = next;
- if(next)
- next->prev = prev;
-
- // delete this node and contents:
- // now done separately
- //if(ownsEntries)
- //delete *i;
- delete i.Node();
-
- // change the iterator to next element:
- i = kbList::iterator(next);
-}
-
-kbList::~kbList()
-{
- kbListNode *next;
-
- while ( first != NULL )
- {
- next = first->next;
- if(ownsEntries)
- {
-#if 0
- delete first->element;
-#else
- wxLogError(wxT("Deleting `void*' is undefined."));
- wxLogError(wxT("Entries of kbList should be deleted by destructors of derived classes."));
-#endif
- }
- delete first;
- first = next;
- }
-}
-
-kbList::iterator
-kbList::begin(void) const
-{
- return kbList::iterator(first);
-}
-
-kbList::iterator
-kbList::tail(void) const
-{
- return kbList::iterator(last);
-}
-
-kbList::iterator
-kbList::end(void) const
-{
- return kbList::iterator(NULL); // the one after the last
-}
-
-unsigned
-kbList::size(void) const // inefficient
-{
- unsigned count = 0;
- kbList::iterator i;
- for(i = begin(); i != end(); i++, count++)
- ;
- return count;
-}
-
-
-
-
-
-
-
-#ifdef KBLIST_TEST
-
-#if wxUSE_IOSTREAMH
- #include <iostream.h>
-#else
- #include <iostream>
-#endif
-
-KBLIST_DEFINE(kbListInt,int);
-
-int main(void)
-{
- int
- n, *ptr;
- kbListInt
- l;
- kbListInt::iterator
- i;
-
- for(n = 0; n < 10; n++)
- {
- ptr = new int;
- *ptr = n*n;
- l.push_back(ptr);
- }
-
- i = l.begin(); // first element
- i++; // 2nd
- i++; // 3rd
- i++; // 4th, insert here:
- ptr = new int;
- *ptr = 4444;
- l.insert(i,ptr);
-
- // this cannot work, because l.end() returns NULL:
- i = l.end(); // behind last
- i--; // still behind last
- l.erase(i); // doesn't do anything
-
- // this works:
- i = l.tail(); // last element
- i--;
- --i;
- l.erase(i); // erase 3rd last element (49)
-
- for(i = l.begin(); i != l.end(); i++)
- cout << *i << '\t' << *((int *)*i) << endl;
-
-
- return 0;
-}
-#endif
+++ /dev/null
-/*-*- c++ -*-********************************************************
- * kbList.h : a double linked list *
- * *
- * (C) 1998-1999 by Karsten Ballüder (karsten@phy.hw.ac.uk) *
- * *
- * $Id$
- *
- *******************************************************************/
-
-
-
-#ifndef KBLIST_H
-# define KBLIST_H
-
-#ifndef NULL
-# define NULL 0
-#endif
-
-/**@name Double linked list implementation. */
-//@{
-
-/** kbListNode is a class used by kbList. It represents a single
- element in the list. It is not intended for general use outside
- kbList functions.
-*/
-struct kbListNode
-{
- /// pointer to next node or NULL
- struct kbListNode *next;
- /// pointer to previous node or NULL
- struct kbListNode *prev;
- /// pointer to the actual data
- void *element;
- /** Constructor - it automatically links the node into the list, if
- the iprev, inext parameters are given.
- @param ielement pointer to the data for this node (i.e. the data itself)
- @param iprev if not NULL, use this as previous element in list
- @param inext if not NULL, use this as next element in list
- */
- kbListNode( void *ielement,
- kbListNode *iprev = NULL,
- kbListNode *inext = NULL);
- /// Destructor.
- ~kbListNode();
-};
-
-/** The main list class, handling void pointers as data.
- */
-
-class kbList
-{
-public:
- /// An iterator class for kbList, just like for the STL classes.
- class iterator
- {
- protected:
- /// the node to which this iterator points
- kbListNode *node;
- friend class kbList;
- public:
- /** Constructor.
- @param n if not NULL, the node to which to point
- */
- iterator(kbListNode *n = NULL);
- /** Dereference operator.
- @return the data pointer of the node belonging to this
- iterator
- */
- void * operator*();
-
- /** This operator allows us to write if(i). It is <em>not</em> a
- dereference operator and the result is always useless apart
- from its logical value!
- */
- operator void*() const { return node == NULL ? (void*)0 : (void*)(-1); }
-
-
- /** Increment operator - prefix, goes to next node in list.
- @return itself
- */
- iterator & operator++();
-
- /** Decrement operator - prefix, goes to previous node in list.
- @return itself
- */
- iterator & operator--();
-
- /** Increment operator - prefix, goes to next node in list.
- @return itself
- */
- iterator & operator++(int); //postfix
-
- /** Decrement operator - prefix, goes to previous node in list.
- @return itself
- */
- iterator & operator--(int); //postfix
-
- /** Comparison operator.
- @return true if not equal.
- */
- bool operator !=(iterator const &) const;
-
- /* Comparison operator.
- @return true if equal
- */
- bool operator ==(iterator const &) const;
-
- /** Returns a pointer to the node associated with this iterator.
- This function is not for general use and should be
- protected. However, if protected, it cannot be called from
- derived classes' iterators. (Is this a bug in gcc/egcs?)
- @return the node pointer
- */
- inline kbListNode * Node(void) const
- { return node; }
- };
-
- /** Constructor.
- @param ownsEntriesFlag if true, the list owns the entries and
- will issue a delete on each of them when deleting them. If
- false, the entries themselves will not get deleted. Do not use
- this with array types!
- */
- kbList(bool ownsEntriesFlag = true);
-
- /** Destructor.
- If entries are owned, they will all get deleted from here.
- */
- ~kbList();
-
- /** Tell list whether it owns objects. If owned, they can be
- deleted by list. See the constructor for more details.
- @param ownsflag if true, list will own entries
- */
- void ownsObjects(bool ownsflag)
- { ownsEntries = ownsflag; }
-
- /** Query whether list owns entries.
- @return true if list owns entries
- */
- bool ownsObjects(void)
- { return ownsEntries; }
-
- // This must be protected to disallow insertion of wrong elements.
-protected:
- /** Add an entry at the end of the list.
- @param element pointer to data
- */
- void push_back(void *element);
-
- /** Add an entry at the head of the list.
- @param element pointer to data
- */
- void push_front(void *element);
-
- /** Insert an element into the list.
- @param i an iterator pointing to the element, before which the new one should be inserted
- @param element the element data
- */
- void insert(iterator & i, void *element);
-
-public:
- /** Get element from end of the list and delete it.
- NOTE: In this case the element's data will not get deleted by
- the list. It is the responsibility of the caller to free it.
- @return the element data
- */
- void * pop_back(void);
-
- /** Get element from head of the list and delete it.
- NOTE: In this case the element's data will not get deleted by
- the list. It is the responsibility of the caller to free it.
- @return the element data
- */
- void * pop_front(void);
-
- /** Remove an element from the list _without_ deleting the object.
- @param i iterator pointing to the element to be deleted
- @return the value of the element just removed
- */
- void *remove(iterator& i) { void *p = *i; doErase(i); return p; }
-
- /** Erase an element, move iterator to following element.
- @param i iterator pointing to the element to be deleted
- */
- void erase(iterator & i) { deleteContent(i); doErase(i); }
-
- /* Get head of list.
- @return iterator pointing to head of list
- */
- iterator begin(void) const;
-
- /* Get end of list.
- @return iterator pointing after the end of the list. This is an
- invalid iterator which cannot be dereferenced or decremented. It is
- only of use in comparisons. NOTE: this is different from STL!
- @see tail
- */
- iterator end(void) const;
-
- /* Get last element in list.
- @return iterator pointing to the last element in the list.
- @see end
- */
- iterator tail(void) const;
-
- /* Get the number of elements in the list.
- @return number of elements in the list
- */
- unsigned size(void) const;
-
- /* Query whether list is empty.
- @return true if list is empty
- */
- inline bool empty(void) const
- { return first == NULL ; }
-
-protected:
- /// if true, list owns entries
- bool ownsEntries;
- /// pointer to first element in list
- kbListNode *first;
- /// pointer to last element in list
- kbListNode *last;
-protected:
- /** Erase an element, move iterator to following element.
- @param i iterator pointing to the element to be deleted
- */
- void doErase(iterator & i);
-
- /** Deletes the actual content if ownsflag is set.
- param iterator i
- */
- inline void deleteContent(iterator i)
- {
- iterator *i_ptr = &i;
- if(ownsEntries) delete i_ptr;
- }
-
-
-private:
- /// forbid copy construction
- kbList(kbList const &foo);
- /// forbid assignments
- kbList& operator=(const kbList& foo);
-};
-
-/// just for backward compatibility, will be removed soon
-typedef kbList::iterator kbListIterator;
-/// cast an iterator to a pointer, compatibility only to be removed
-#define kbListICast(type, iterator) ((type *)*iterator)
-/// cast an iterator to a const pointer, compatibility only to be removed
-#define kbListIcCast(type, iterator) ((type const *)*iterator)
-
-/** Macro to define a kbList with a given name, having elements of
- pointer to the given type. I.e. KBLIST_DEFINE(Int,int) would
- create a kbListInt type holding int pointers.
-*/
-#define KBLIST_DEFINE(name,type) \
-class name : public kbList \
-{ \
-public: \
- class iterator : public kbList::iterator \
- { \
- protected: \
- inline iterator(kbList::iterator const & i) \
- { node = i.Node(); } \
- friend class name; \
- public: \
- inline iterator(kbListNode *n = NULL) \
- : kbList::iterator(n) {} \
- inline type * operator*() \
- /* the cast is needed for MS VC++ 5.0 */ \
- { return (type *)((kbList::iterator *)this)->operator*() ; } \
- }; \
- inline name(bool ownsEntriesFlag = true) \
- : kbList(ownsEntriesFlag) {} \
- \
- inline type *pop_back(void) \
- { return (type *) kbList::pop_back(); } \
- \
- inline type *pop_front(void) \
- { return (type *) kbList::pop_front(); } \
- inline void push_back(type *element) \
- { kbList::push_back( (void *) element); } \
- void push_front(type *element) \
- { kbList::push_front( (void *) element); } \
- void insert(iterator & i, void *element) \
- { kbList::insert( i, (void *) element); } \
- type *remove(iterator& i) \
- { return (type *)kbList::remove(i); } \
- inline void erase(iterator & i) \
- { deleteContent(i); doErase(i); } \
- \
- inline iterator begin(void) const \
- { return kbList::begin(); } \
- \
- inline iterator end(void) const \
- { return kbList::end(); } \
- \
- inline iterator tail(void) const \
- { return kbList::tail(); } \
- ~name() \
- { \
- kbListNode *next; \
- while ( first != NULL ) \
- { \
- next = first->next; \
- if(ownsEntries) \
- delete (type *)first->element; \
- delete first; \
- first = next; \
- } \
- } \
-protected: \
- inline void deleteContent(iterator i) \
- { if(ownsEntries) delete *i; } \
-}
-
-#ifdef MCONFIG_H
-/// define the most commonly used list type once:
-KBLIST_DEFINE(kbStringList, String);
-#endif
-//@}
-
-#endif // KBLIST_H
+++ /dev/null
-# =========================================================================
-# This makefile was generated by
-# Bakefile 0.1.9 (http://bakefile.sourceforge.net)
-# Do not modify, all changes will be overwritten!
-# =========================================================================
-
-.autodepend
-
-!ifndef BCCDIR
-!ifndef MAKEDIR
-!error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
-!endif
-BCCDIR = $(MAKEDIR)\..
-!endif
-
-!include ../../build/msw/config.bcc
-
-# -------------------------------------------------------------------------
-# Do not modify the rest of this file!
-# -------------------------------------------------------------------------
-
-### Variables: ###
-
-WX_RELEASE_NODOT = 27
-OBJS = \
- bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
-LIBDIRNAME = .\..\..\lib\bcc_$(LIBTYPE_SUFFIX)$(CFG)
-SETUPHDIR = \
- $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
-RICHEDIT_CXXFLAGS = $(__RUNTIME_LIBS_7) -I$(BCCDIR)\include $(__DEBUGINFO) \
- $(__OPTIMIZEFLAG_2) $(__THREADSFLAG_6) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
- $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
- $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
- -I.\..\..\include -I$(SETUPHDIR) -I. $(__DLLFLAG_p) -I.\..\..\samples -DNOPCH \
- $(CPPFLAGS) $(CXXFLAGS)
-RICHEDIT_OBJECTS = \
- $(OBJS)\richedit_wxLayout.obj \
- $(OBJS)\richedit_kbList.obj \
- $(OBJS)\richedit_wxllist.obj \
- $(OBJS)\richedit_wxlparser.obj \
- $(OBJS)\richedit_wxlwindow.obj
-
-### Conditionally set variables: ###
-
-!if "$(USE_GUI)" == "0"
-PORTNAME = base
-!endif
-!if "$(USE_GUI)" == "1"
-PORTNAME = msw
-!endif
-!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
-WXDEBUGFLAG = d
-!endif
-!if "$(DEBUG_FLAG)" == "1"
-WXDEBUGFLAG = d
-!endif
-!if "$(UNICODE)" == "1"
-WXUNICODEFLAG = u
-!endif
-!if "$(WXUNIV)" == "1"
-WXUNIVNAME = univ
-!endif
-!if "$(SHARED)" == "1"
-WXDLLFLAG = dll
-!endif
-!if "$(SHARED)" == "0"
-LIBTYPE_SUFFIX = lib
-!endif
-!if "$(SHARED)" == "1"
-LIBTYPE_SUFFIX = dll
-!endif
-!if "$(MONOLITHIC)" == "0"
-EXTRALIBS_FOR_BASE =
-!endif
-!if "$(MONOLITHIC)" == "1"
-EXTRALIBS_FOR_BASE =
-!endif
-!if "$(BUILD)" == "debug"
-__OPTIMIZEFLAG_2 = -Od
-!endif
-!if "$(BUILD)" == "release"
-__OPTIMIZEFLAG_2 = -O2
-!endif
-!if "$(USE_THREADS)" == "0"
-__THREADSFLAG_5 =
-!endif
-!if "$(USE_THREADS)" == "1"
-__THREADSFLAG_5 = mt
-!endif
-!if "$(USE_THREADS)" == "0"
-__THREADSFLAG_6 =
-!endif
-!if "$(USE_THREADS)" == "1"
-__THREADSFLAG_6 = -tWM
-!endif
-!if "$(RUNTIME_LIBS)" == "dynamic"
-__RUNTIME_LIBS_7 = -tWR
-!endif
-!if "$(RUNTIME_LIBS)" == "static"
-__RUNTIME_LIBS_7 =
-!endif
-!if "$(RUNTIME_LIBS)" == "dynamic"
-__RUNTIME_LIBS_8 = i
-!endif
-!if "$(RUNTIME_LIBS)" == "static"
-__RUNTIME_LIBS_8 =
-!endif
-!if "$(WXUNIV)" == "1"
-__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
-!endif
-!if "$(WXUNIV)" == "1"
-__WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__
-!endif
-!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
-__DEBUG_DEFINE_p = -D__WXDEBUG__
-!endif
-!if "$(DEBUG_FLAG)" == "1"
-__DEBUG_DEFINE_p = -D__WXDEBUG__
-!endif
-!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
-__DEBUG_DEFINE_p_1 = -d__WXDEBUG__
-!endif
-!if "$(DEBUG_FLAG)" == "1"
-__DEBUG_DEFINE_p_1 = -d__WXDEBUG__
-!endif
-!if "$(USE_EXCEPTIONS)" == "0"
-__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
-!endif
-!if "$(USE_EXCEPTIONS)" == "0"
-__EXCEPTIONS_DEFINE_p_1 = -dwxNO_EXCEPTIONS
-!endif
-!if "$(USE_RTTI)" == "0"
-__RTTI_DEFINE_p = -DwxNO_RTTI
-!endif
-!if "$(USE_RTTI)" == "0"
-__RTTI_DEFINE_p_1 = -dwxNO_RTTI
-!endif
-!if "$(USE_THREADS)" == "0"
-__THREAD_DEFINE_p = -DwxNO_THREADS
-!endif
-!if "$(USE_THREADS)" == "0"
-__THREAD_DEFINE_p_1 = -dwxNO_THREADS
-!endif
-!if "$(UNICODE)" == "1"
-__UNICODE_DEFINE_p = -D_UNICODE
-!endif
-!if "$(UNICODE)" == "1"
-__UNICODE_DEFINE_p_1 = -d_UNICODE
-!endif
-!if "$(MSLU)" == "1"
-__MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
-!endif
-!if "$(MSLU)" == "1"
-__MSLU_DEFINE_p_1 = -dwxUSE_UNICODE_MSLU=1
-!endif
-!if "$(SHARED)" == "1"
-__DLLFLAG_p = -DWXUSINGDLL
-!endif
-!if "$(SHARED)" == "1"
-__DLLFLAG_p_1 = -dWXUSINGDLL
-!endif
-!if "$(MONOLITHIC)" == "0"
-__WXLIB_CORE_p = \
- wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
-!endif
-!if "$(MONOLITHIC)" == "0"
-__WXLIB_BASE_p = \
- wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
-!endif
-!if "$(MONOLITHIC)" == "1"
-__WXLIB_MONO_p = \
- wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
-!endif
-!if "$(USE_GUI)" == "1"
-__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
-!endif
-!if "$(USE_GUI)" == "1"
-__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
-!endif
-!if "$(USE_GUI)" == "1"
-__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
-!endif
-!if "$(MSLU)" == "1"
-__UNICOWS_LIB_p = unicows.lib
-!endif
-!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
-__DEBUGINFO = -v
-!endif
-!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
-__DEBUGINFO = -v-
-!endif
-!if "$(DEBUG_INFO)" == "0"
-__DEBUGINFO = -v-
-!endif
-!if "$(DEBUG_INFO)" == "1"
-__DEBUGINFO = -v
-!endif
-
-
-all: $(OBJS)
-$(OBJS):
- -if not exist $(OBJS) mkdir $(OBJS)
-
-### Targets: ###
-
-all: $(OBJS)\richedit.exe data
-
-clean:
- -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
- -if exist $(OBJS)\*.res del $(OBJS)\*.res
- -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
- -if exist $(OBJS)\richedit.exe del $(OBJS)\richedit.exe
- -if exist $(OBJS)\richedit.tds del $(OBJS)\richedit.tds
- -if exist $(OBJS)\richedit.ilc del $(OBJS)\richedit.ilc
- -if exist $(OBJS)\richedit.ild del $(OBJS)\richedit.ild
- -if exist $(OBJS)\richedit.ilf del $(OBJS)\richedit.ilf
- -if exist $(OBJS)\richedit.ils del $(OBJS)\richedit.ils
-
-$(OBJS)\richedit.exe: $(RICHEDIT_OBJECTS) $(OBJS)\richedit_sample.res
- ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
- c0w32.obj $(RICHEDIT_OBJECTS),$@,, $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) ole2w32.lib oleacc.lib odbc32.lib import32.lib cw32$(__THREADSFLAG_5)$(__RUNTIME_LIBS_8).lib,, $(OBJS)\richedit_sample.res
-|
-
-data:
- if not exist $(OBJS) mkdir $(OBJS)
- for %f in (wxLayout.cpp) do if not exist $(OBJS)\%f copy .\%f $(OBJS)
-
-$(OBJS)\richedit_sample.res: .\..\..\samples\sample.rc
- brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) $(__MSLU_DEFINE_p_1) -i.\..\..\include -i$(SETUPHDIR) -i. $(__DLLFLAG_p_1) -i.\..\..\samples $**
-
-$(OBJS)\richedit_wxLayout.obj: .\wxLayout.cpp
- $(CXX) -q -c -P -o$@ $(RICHEDIT_CXXFLAGS) $**
-
-$(OBJS)\richedit_kbList.obj: .\kbList.cpp
- $(CXX) -q -c -P -o$@ $(RICHEDIT_CXXFLAGS) $**
-
-$(OBJS)\richedit_wxllist.obj: .\wxllist.cpp
- $(CXX) -q -c -P -o$@ $(RICHEDIT_CXXFLAGS) $**
-
-$(OBJS)\richedit_wxlparser.obj: .\wxlparser.cpp
- $(CXX) -q -c -P -o$@ $(RICHEDIT_CXXFLAGS) $**
-
-$(OBJS)\richedit_wxlwindow.obj: .\wxlwindow.cpp
- $(CXX) -q -c -P -o$@ $(RICHEDIT_CXXFLAGS) $**
-
+++ /dev/null
-# =========================================================================
-# This makefile was generated by
-# Bakefile 0.1.9 (http://bakefile.sourceforge.net)
-# Do not modify, all changes will be overwritten!
-# =========================================================================
-
-include ../../build/msw/config.gcc
-
-# -------------------------------------------------------------------------
-# Do not modify the rest of this file!
-# -------------------------------------------------------------------------
-
-### Variables: ###
-
-CPPDEPS = -MT$@ -MF$@.d -MD
-WX_RELEASE_NODOT = 27
-OBJS = \
- gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
-LIBDIRNAME = .\..\..\lib\gcc_$(LIBTYPE_SUFFIX)$(CFG)
-SETUPHDIR = \
- $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
-RICHEDIT_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG_2) $(__THREADSFLAG) \
- $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
- $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
- $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
- -I.\..\..\include -I$(SETUPHDIR) -W -Wall -I. $(__DLLFLAG_p) -I.\..\..\samples \
- -DNOPCH $(__RTTIFLAG_5) $(__EXCEPTIONSFLAG_6) -Wno-ctor-dtor-privacy \
- $(CPPFLAGS) $(CXXFLAGS)
-RICHEDIT_OBJECTS = \
- $(OBJS)\richedit_sample_rc.o \
- $(OBJS)\richedit_wxLayout.o \
- $(OBJS)\richedit_kbList.o \
- $(OBJS)\richedit_wxllist.o \
- $(OBJS)\richedit_wxlparser.o \
- $(OBJS)\richedit_wxlwindow.o
-
-### Conditionally set variables: ###
-
-ifeq ($(GCC_VERSION),2.95)
-GCCFLAGS = -fvtable-thunks
-endif
-ifeq ($(USE_GUI),0)
-PORTNAME = base
-endif
-ifeq ($(USE_GUI),1)
-PORTNAME = msw
-endif
-ifeq ($(BUILD),debug)
-ifeq ($(DEBUG_FLAG),default)
-WXDEBUGFLAG = d
-endif
-endif
-ifeq ($(DEBUG_FLAG),1)
-WXDEBUGFLAG = d
-endif
-ifeq ($(UNICODE),1)
-WXUNICODEFLAG = u
-endif
-ifeq ($(WXUNIV),1)
-WXUNIVNAME = univ
-endif
-ifeq ($(SHARED),1)
-WXDLLFLAG = dll
-endif
-ifeq ($(SHARED),0)
-LIBTYPE_SUFFIX = lib
-endif
-ifeq ($(SHARED),1)
-LIBTYPE_SUFFIX = dll
-endif
-ifeq ($(MONOLITHIC),0)
-EXTRALIBS_FOR_BASE =
-endif
-ifeq ($(MONOLITHIC),1)
-EXTRALIBS_FOR_BASE =
-endif
-ifeq ($(BUILD),debug)
-__OPTIMIZEFLAG_2 = -O0
-endif
-ifeq ($(BUILD),release)
-__OPTIMIZEFLAG_2 = -O2
-endif
-ifeq ($(USE_RTTI),0)
-__RTTIFLAG_5 = -fno-rtti
-endif
-ifeq ($(USE_RTTI),1)
-__RTTIFLAG_5 =
-endif
-ifeq ($(USE_EXCEPTIONS),0)
-__EXCEPTIONSFLAG_6 = -fno-exceptions
-endif
-ifeq ($(USE_EXCEPTIONS),1)
-__EXCEPTIONSFLAG_6 =
-endif
-ifeq ($(WXUNIV),1)
-__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
-endif
-ifeq ($(WXUNIV),1)
-__WXUNIV_DEFINE_p_1 = --define __WXUNIVERSAL__
-endif
-ifeq ($(BUILD),debug)
-ifeq ($(DEBUG_FLAG),default)
-__DEBUG_DEFINE_p = -D__WXDEBUG__
-endif
-endif
-ifeq ($(DEBUG_FLAG),1)
-__DEBUG_DEFINE_p = -D__WXDEBUG__
-endif
-ifeq ($(BUILD),debug)
-ifeq ($(DEBUG_FLAG),default)
-__DEBUG_DEFINE_p_1 = --define __WXDEBUG__
-endif
-endif
-ifeq ($(DEBUG_FLAG),1)
-__DEBUG_DEFINE_p_1 = --define __WXDEBUG__
-endif
-ifeq ($(USE_EXCEPTIONS),0)
-__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
-endif
-ifeq ($(USE_EXCEPTIONS),0)
-__EXCEPTIONS_DEFINE_p_1 = --define wxNO_EXCEPTIONS
-endif
-ifeq ($(USE_RTTI),0)
-__RTTI_DEFINE_p = -DwxNO_RTTI
-endif
-ifeq ($(USE_RTTI),0)
-__RTTI_DEFINE_p_1 = --define wxNO_RTTI
-endif
-ifeq ($(USE_THREADS),0)
-__THREAD_DEFINE_p = -DwxNO_THREADS
-endif
-ifeq ($(USE_THREADS),0)
-__THREAD_DEFINE_p_1 = --define wxNO_THREADS
-endif
-ifeq ($(UNICODE),1)
-__UNICODE_DEFINE_p = -D_UNICODE
-endif
-ifeq ($(UNICODE),1)
-__UNICODE_DEFINE_p_1 = --define _UNICODE
-endif
-ifeq ($(MSLU),1)
-__MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
-endif
-ifeq ($(MSLU),1)
-__MSLU_DEFINE_p_1 = --define wxUSE_UNICODE_MSLU=1
-endif
-ifeq ($(SHARED),1)
-__DLLFLAG_p = -DWXUSINGDLL
-endif
-ifeq ($(SHARED),1)
-__DLLFLAG_p_1 = --define WXUSINGDLL
-endif
-ifeq ($(MONOLITHIC),0)
-__WXLIB_CORE_p = \
- -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
-endif
-ifeq ($(MONOLITHIC),0)
-__WXLIB_BASE_p = \
- -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
-endif
-ifeq ($(MONOLITHIC),1)
-__WXLIB_MONO_p = \
- -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
-endif
-ifeq ($(USE_GUI),1)
-__LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
-endif
-ifeq ($(USE_GUI),1)
-__LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
-endif
-ifeq ($(USE_GUI),1)
-__LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
-endif
-ifeq ($(MSLU),1)
-__UNICOWS_LIB_p = -lunicows
-endif
-ifeq ($(BUILD),debug)
-ifeq ($(DEBUG_INFO),default)
-__DEBUGINFO = -g
-endif
-endif
-ifeq ($(BUILD),release)
-ifeq ($(DEBUG_INFO),default)
-__DEBUGINFO =
-endif
-endif
-ifeq ($(DEBUG_INFO),0)
-__DEBUGINFO =
-endif
-ifeq ($(DEBUG_INFO),1)
-__DEBUGINFO = -g
-endif
-ifeq ($(USE_THREADS),0)
-__THREADSFLAG =
-endif
-ifeq ($(USE_THREADS),1)
-__THREADSFLAG = -mthreads
-endif
-
-
-all: $(OBJS)
-$(OBJS):
- -if not exist $(OBJS) mkdir $(OBJS)
-
-### Targets: ###
-
-all: $(OBJS)\richedit.exe data
-
-clean:
- -if exist $(OBJS)\*.o del $(OBJS)\*.o
- -if exist $(OBJS)\*.d del $(OBJS)\*.d
- -if exist $(OBJS)\richedit.exe del $(OBJS)\richedit.exe
-
-$(OBJS)\richedit.exe: $(RICHEDIT_OBJECTS) $(OBJS)\richedit_sample_rc.o
- $(CXX) -o $@ $(RICHEDIT_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) -Wl,--subsystem,windows -mwindows $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32
-
-data:
- if not exist $(OBJS) mkdir $(OBJS)
- for %%f in (wxLayout.cpp) do if not exist $(OBJS)\%%f copy .\%%f $(OBJS)
-
-$(OBJS)\richedit_sample_rc.o: ./../../samples/sample.rc
- windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) $(__MSLU_DEFINE_p_1) --include-dir ./../../include --include-dir $(SETUPHDIR) --include-dir . $(__DLLFLAG_p_1) --include-dir ./../../samples
-
-$(OBJS)\richedit_wxLayout.o: ./wxLayout.cpp
- $(CXX) -c -o $@ $(RICHEDIT_CXXFLAGS) $(CPPDEPS) $<
-
-$(OBJS)\richedit_kbList.o: ./kbList.cpp
- $(CXX) -c -o $@ $(RICHEDIT_CXXFLAGS) $(CPPDEPS) $<
-
-$(OBJS)\richedit_wxllist.o: ./wxllist.cpp
- $(CXX) -c -o $@ $(RICHEDIT_CXXFLAGS) $(CPPDEPS) $<
-
-$(OBJS)\richedit_wxlparser.o: ./wxlparser.cpp
- $(CXX) -c -o $@ $(RICHEDIT_CXXFLAGS) $(CPPDEPS) $<
-
-$(OBJS)\richedit_wxlwindow.o: ./wxlwindow.cpp
- $(CXX) -c -o $@ $(RICHEDIT_CXXFLAGS) $(CPPDEPS) $<
-
-.PHONY: all clean data
-
-
-# Dependencies tracking:
--include $(OBJS)/*.d
+++ /dev/null
-#Digital Mars (was Symantec) C++ makefile
-WXDIR = ..\..
-EXTRALIBS=
-TARGET=wxlayout
-OBJECTS = wxLayout.obj kbList.obj wxllist.obj wxlparser.obj wxlwindow.obj
-include $(WXDIR)\src\makeprog.sc
+++ /dev/null
-# Purpose: makefile for richedit example (Unix)
-# Created: 2000-03-14
-# hand hacked from template file by Ron <ron@debian.org>
-
-CXX = $(shell wx-config --cxx)
-
-PROGRAM = wxLayout
-
-OBJECTS = $(PROGRAM).o kbList.o wxllist.o wxlparser.o wxlwindow.o
-
-# implementation
-
-.SUFFIXES: .o .cpp
-
-.cpp.o :
- $(CXX) -c `wx-config --cxxflags` -o $@ $<
-
-$(PROGRAM): $(OBJECTS)
- $(CXX) -o $(PROGRAM) $(OBJECTS) `wx-config --libs`
-
-clean:
- rm -f *.o $(PROGRAM)
+++ /dev/null
-# =========================================================================
-# This makefile was generated by
-# Bakefile 0.1.9 (http://bakefile.sourceforge.net)
-# Do not modify, all changes will be overwritten!
-# =========================================================================
-
-!include <../../build/msw/config.vc>
-
-# -------------------------------------------------------------------------
-# Do not modify the rest of this file!
-# -------------------------------------------------------------------------
-
-### Variables: ###
-
-WX_RELEASE_NODOT = 27
-OBJS = \
- vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)$(DIR_SUFFIX_CPU)
-LIBDIRNAME = .\..\..\lib\vc$(DIR_SUFFIX_CPU)_$(LIBTYPE_SUFFIX)$(CFG)
-SETUPHDIR = \
- $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
-RICHEDIT_CXXFLAGS = /M$(__RUNTIME_LIBS_8)$(__DEBUGRUNTIME_3) /DWIN32 \
- $(__DEBUGINFO_0) /Fd$(OBJS)\richedit.pdb $(____DEBUGRUNTIME_2_p) \
- $(__OPTIMIZEFLAG_4) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
- $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
- $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
- /I$(SETUPHDIR) /I.\..\..\include /W4 /I. $(__DLLFLAG_p) /D_WINDOWS \
- /I.\..\..\samples /DNOPCH $(__RTTIFLAG_9) $(__EXCEPTIONSFLAG_10) $(CPPFLAGS) \
- $(CXXFLAGS)
-RICHEDIT_OBJECTS = \
- $(OBJS)\richedit_sample.res \
- $(OBJS)\richedit_wxLayout.obj \
- $(OBJS)\richedit_kbList.obj \
- $(OBJS)\richedit_wxllist.obj \
- $(OBJS)\richedit_wxlparser.obj \
- $(OBJS)\richedit_wxlwindow.obj
-
-### Conditionally set variables: ###
-
-!if "$(USE_GUI)" == "0"
-PORTNAME = base
-!endif
-!if "$(USE_GUI)" == "1"
-PORTNAME = msw
-!endif
-!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
-WXDEBUGFLAG = d
-!endif
-!if "$(DEBUG_FLAG)" == "1"
-WXDEBUGFLAG = d
-!endif
-!if "$(UNICODE)" == "1"
-WXUNICODEFLAG = u
-!endif
-!if "$(WXUNIV)" == "1"
-WXUNIVNAME = univ
-!endif
-!if "$(TARGET_CPU)" == "amd64"
-DIR_SUFFIX_CPU = _amd64
-!endif
-!if "$(TARGET_CPU)" == "amd64"
-DIR_SUFFIX_CPU = _amd64
-!endif
-!if "$(TARGET_CPU)" == "ia64"
-DIR_SUFFIX_CPU = _ia64
-!endif
-!if "$(TARGET_CPU)" == "ia64"
-DIR_SUFFIX_CPU = _ia64
-!endif
-!if "$(SHARED)" == "1"
-WXDLLFLAG = dll
-!endif
-!if "$(SHARED)" == "0"
-LIBTYPE_SUFFIX = lib
-!endif
-!if "$(SHARED)" == "1"
-LIBTYPE_SUFFIX = dll
-!endif
-!if "$(TARGET_CPU)" == "amd64"
-LINK_TARGET_CPU = /MACHINE:AMD64
-!endif
-!if "$(TARGET_CPU)" == "amd64"
-LINK_TARGET_CPU = /MACHINE:AMD64
-!endif
-!if "$(TARGET_CPU)" == "ia64"
-LINK_TARGET_CPU = /MACHINE:IA64
-!endif
-!if "$(TARGET_CPU)" == "ia64"
-LINK_TARGET_CPU = /MACHINE:IA64
-!endif
-!if "$(MONOLITHIC)" == "0"
-EXTRALIBS_FOR_BASE =
-!endif
-!if "$(MONOLITHIC)" == "1"
-EXTRALIBS_FOR_BASE =
-!endif
-!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
-__DEBUGINFO_0 = /Zi
-!endif
-!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
-__DEBUGINFO_0 =
-!endif
-!if "$(DEBUG_INFO)" == "0"
-__DEBUGINFO_0 =
-!endif
-!if "$(DEBUG_INFO)" == "1"
-__DEBUGINFO_0 = /Zi
-!endif
-!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
-__DEBUGINFO_1 = /DEBUG
-!endif
-!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
-__DEBUGINFO_1 =
-!endif
-!if "$(DEBUG_INFO)" == "0"
-__DEBUGINFO_1 =
-!endif
-!if "$(DEBUG_INFO)" == "1"
-__DEBUGINFO_1 = /DEBUG
-!endif
-!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
-____DEBUGRUNTIME_2_p = /D_DEBUG
-!endif
-!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
-____DEBUGRUNTIME_2_p =
-!endif
-!if "$(DEBUG_RUNTIME_LIBS)" == "0"
-____DEBUGRUNTIME_2_p =
-!endif
-!if "$(DEBUG_RUNTIME_LIBS)" == "1"
-____DEBUGRUNTIME_2_p = /D_DEBUG
-!endif
-!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
-____DEBUGRUNTIME_2_p_1 = /d _DEBUG
-!endif
-!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
-____DEBUGRUNTIME_2_p_1 =
-!endif
-!if "$(DEBUG_RUNTIME_LIBS)" == "0"
-____DEBUGRUNTIME_2_p_1 =
-!endif
-!if "$(DEBUG_RUNTIME_LIBS)" == "1"
-____DEBUGRUNTIME_2_p_1 = /d _DEBUG
-!endif
-!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
-__DEBUGRUNTIME_3 = d
-!endif
-!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
-__DEBUGRUNTIME_3 =
-!endif
-!if "$(DEBUG_RUNTIME_LIBS)" == "0"
-__DEBUGRUNTIME_3 =
-!endif
-!if "$(DEBUG_RUNTIME_LIBS)" == "1"
-__DEBUGRUNTIME_3 = d
-!endif
-!if "$(BUILD)" == "debug"
-__OPTIMIZEFLAG_4 = /Od
-!endif
-!if "$(BUILD)" == "release"
-__OPTIMIZEFLAG_4 = /O2
-!endif
-!if "$(USE_THREADS)" == "0"
-__THREADSFLAG_7 = L
-!endif
-!if "$(USE_THREADS)" == "1"
-__THREADSFLAG_7 = T
-!endif
-!if "$(RUNTIME_LIBS)" == "dynamic"
-__RUNTIME_LIBS_8 = D
-!endif
-!if "$(RUNTIME_LIBS)" == "static"
-__RUNTIME_LIBS_8 = $(__THREADSFLAG_7)
-!endif
-!if "$(USE_RTTI)" == "0"
-__RTTIFLAG_9 =
-!endif
-!if "$(USE_RTTI)" == "1"
-__RTTIFLAG_9 = /GR
-!endif
-!if "$(USE_EXCEPTIONS)" == "0"
-__EXCEPTIONSFLAG_10 =
-!endif
-!if "$(USE_EXCEPTIONS)" == "1"
-__EXCEPTIONSFLAG_10 = /EHsc
-!endif
-!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
-__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
-!endif
-!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
-__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
-!endif
-!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
-__NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
-!endif
-!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
-__NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
-!endif
-!if "$(WXUNIV)" == "1"
-__WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
-!endif
-!if "$(WXUNIV)" == "1"
-__WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
-!endif
-!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
-__DEBUG_DEFINE_p = /D__WXDEBUG__
-!endif
-!if "$(DEBUG_FLAG)" == "1"
-__DEBUG_DEFINE_p = /D__WXDEBUG__
-!endif
-!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
-__DEBUG_DEFINE_p_1 = /d __WXDEBUG__
-!endif
-!if "$(DEBUG_FLAG)" == "1"
-__DEBUG_DEFINE_p_1 = /d __WXDEBUG__
-!endif
-!if "$(USE_EXCEPTIONS)" == "0"
-__EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
-!endif
-!if "$(USE_EXCEPTIONS)" == "0"
-__EXCEPTIONS_DEFINE_p_1 = /d wxNO_EXCEPTIONS
-!endif
-!if "$(USE_RTTI)" == "0"
-__RTTI_DEFINE_p = /DwxNO_RTTI
-!endif
-!if "$(USE_RTTI)" == "0"
-__RTTI_DEFINE_p_1 = /d wxNO_RTTI
-!endif
-!if "$(USE_THREADS)" == "0"
-__THREAD_DEFINE_p = /DwxNO_THREADS
-!endif
-!if "$(USE_THREADS)" == "0"
-__THREAD_DEFINE_p_1 = /d wxNO_THREADS
-!endif
-!if "$(UNICODE)" == "1"
-__UNICODE_DEFINE_p = /D_UNICODE
-!endif
-!if "$(UNICODE)" == "1"
-__UNICODE_DEFINE_p_1 = /d _UNICODE
-!endif
-!if "$(MSLU)" == "1"
-__MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
-!endif
-!if "$(MSLU)" == "1"
-__MSLU_DEFINE_p_1 = /d wxUSE_UNICODE_MSLU=1
-!endif
-!if "$(SHARED)" == "1"
-__DLLFLAG_p = /DWXUSINGDLL
-!endif
-!if "$(SHARED)" == "1"
-__DLLFLAG_p_1 = /d WXUSINGDLL
-!endif
-!if "$(MONOLITHIC)" == "0"
-__WXLIB_CORE_p = \
- wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
-!endif
-!if "$(MONOLITHIC)" == "0"
-__WXLIB_BASE_p = \
- wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
-!endif
-!if "$(MONOLITHIC)" == "1"
-__WXLIB_MONO_p = \
- wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
-!endif
-!if "$(USE_GUI)" == "1"
-__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
-!endif
-!if "$(USE_GUI)" == "1"
-__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
-!endif
-!if "$(USE_GUI)" == "1"
-__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
-!endif
-!if "$(MSLU)" == "1"
-__UNICOWS_LIB_p = unicows.lib
-!endif
-
-
-all: $(OBJS)
-$(OBJS):
- -if not exist $(OBJS) mkdir $(OBJS)
-
-### Targets: ###
-
-all: $(OBJS)\richedit.exe data
-
-clean:
- -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
- -if exist $(OBJS)\*.res del $(OBJS)\*.res
- -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
- -if exist $(OBJS)\richedit.exe del $(OBJS)\richedit.exe
- -if exist $(OBJS)\richedit.ilk del $(OBJS)\richedit.ilk
- -if exist $(OBJS)\richedit.pdb del $(OBJS)\richedit.pdb
-
-$(OBJS)\richedit.exe: $(RICHEDIT_OBJECTS) $(OBJS)\richedit_sample.res
- link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<<
- $(RICHEDIT_OBJECTS) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib
-<<
-
-data:
- if not exist $(OBJS) mkdir $(OBJS)
- for %f in (wxLayout.cpp) do if not exist $(OBJS)\%f copy .\%f $(OBJS)
-
-$(OBJS)\richedit_sample.res: .\..\..\samples\sample.rc
- rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_2_p_1) $(__NO_VC_CRTDBG_p_1) /d __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) $(__MSLU_DEFINE_p_1) /i $(SETUPHDIR) /i .\..\..\include /i . $(__DLLFLAG_p_1) /d _WINDOWS /i .\..\..\samples $**
-
-$(OBJS)\richedit_wxLayout.obj: .\wxLayout.cpp
- $(CXX) /c /nologo /TP /Fo$@ $(RICHEDIT_CXXFLAGS) $**
-
-$(OBJS)\richedit_kbList.obj: .\kbList.cpp
- $(CXX) /c /nologo /TP /Fo$@ $(RICHEDIT_CXXFLAGS) $**
-
-$(OBJS)\richedit_wxllist.obj: .\wxllist.cpp
- $(CXX) /c /nologo /TP /Fo$@ $(RICHEDIT_CXXFLAGS) $**
-
-$(OBJS)\richedit_wxlparser.obj: .\wxlparser.cpp
- $(CXX) /c /nologo /TP /Fo$@ $(RICHEDIT_CXXFLAGS) $**
-
-$(OBJS)\richedit_wxlwindow.obj: .\wxlwindow.cpp
- $(CXX) /c /nologo /TP /Fo$@ $(RICHEDIT_CXXFLAGS) $**
-
+++ /dev/null
-# =========================================================================
-# This makefile was generated by
-# Bakefile 0.1.9 (http://bakefile.sourceforge.net)
-# Do not modify, all changes will be overwritten!
-# =========================================================================
-
-!include ../../build/msw/config.wat
-
-# -------------------------------------------------------------------------
-# Do not modify the rest of this file!
-# -------------------------------------------------------------------------
-
-# Speed up compilation a bit:
-!ifdef __LOADDLL__
-! loaddll wcc wccd
-! loaddll wccaxp wccdaxp
-! loaddll wcc386 wccd386
-! loaddll wpp wppdi86
-! loaddll wppaxp wppdaxp
-! loaddll wpp386 wppd386
-! loaddll wlink wlink
-! loaddll wlib wlibd
-!endif
-
-# We need these variables in some bakefile-made rules:
-WATCOM_CWD = $+ $(%cdrive):$(%cwd) $-
-
-### Conditionally set variables: ###
-
-PORTNAME =
-!ifeq USE_GUI 0
-PORTNAME = base
-!endif
-!ifeq USE_GUI 1
-PORTNAME = msw
-!endif
-WXDEBUGFLAG =
-!ifeq BUILD debug
-!ifeq DEBUG_FLAG default
-WXDEBUGFLAG = d
-!endif
-!endif
-!ifeq DEBUG_FLAG 1
-WXDEBUGFLAG = d
-!endif
-WXUNICODEFLAG =
-!ifeq UNICODE 1
-WXUNICODEFLAG = u
-!endif
-WXUNIVNAME =
-!ifeq WXUNIV 1
-WXUNIVNAME = univ
-!endif
-WXDLLFLAG =
-!ifeq SHARED 1
-WXDLLFLAG = dll
-!endif
-LIBTYPE_SUFFIX =
-!ifeq SHARED 0
-LIBTYPE_SUFFIX = lib
-!endif
-!ifeq SHARED 1
-LIBTYPE_SUFFIX = dll
-!endif
-EXTRALIBS_FOR_BASE =
-!ifeq MONOLITHIC 0
-EXTRALIBS_FOR_BASE =
-!endif
-!ifeq MONOLITHIC 1
-EXTRALIBS_FOR_BASE =
-!endif
-__DEBUGINFO_0 =
-!ifeq BUILD debug
-!ifeq DEBUG_INFO default
-__DEBUGINFO_0 = -d2
-!endif
-!endif
-!ifeq BUILD release
-!ifeq DEBUG_INFO default
-__DEBUGINFO_0 = -d0
-!endif
-!endif
-!ifeq DEBUG_INFO 0
-__DEBUGINFO_0 = -d0
-!endif
-!ifeq DEBUG_INFO 1
-__DEBUGINFO_0 = -d2
-!endif
-__DEBUGINFO_1 =
-!ifeq BUILD debug
-!ifeq DEBUG_INFO default
-__DEBUGINFO_1 = debug all
-!endif
-!endif
-!ifeq BUILD release
-!ifeq DEBUG_INFO default
-__DEBUGINFO_1 =
-!endif
-!endif
-!ifeq DEBUG_INFO 0
-__DEBUGINFO_1 =
-!endif
-!ifeq DEBUG_INFO 1
-__DEBUGINFO_1 = debug all
-!endif
-__OPTIMIZEFLAG_2 =
-!ifeq BUILD debug
-__OPTIMIZEFLAG_2 = -od
-!endif
-!ifeq BUILD release
-__OPTIMIZEFLAG_2 = -ot -ox
-!endif
-__THREADSFLAG_5 =
-!ifeq USE_THREADS 0
-__THREADSFLAG_5 =
-!endif
-!ifeq USE_THREADS 1
-__THREADSFLAG_5 = -bm
-!endif
-__RUNTIME_LIBS_6 =
-!ifeq RUNTIME_LIBS dynamic
-__RUNTIME_LIBS_6 = -br
-!endif
-!ifeq RUNTIME_LIBS static
-__RUNTIME_LIBS_6 =
-!endif
-__RTTIFLAG_7 =
-!ifeq USE_RTTI 0
-__RTTIFLAG_7 =
-!endif
-!ifeq USE_RTTI 1
-__RTTIFLAG_7 = -xr
-!endif
-__EXCEPTIONSFLAG_8 =
-!ifeq USE_EXCEPTIONS 0
-__EXCEPTIONSFLAG_8 =
-!endif
-!ifeq USE_EXCEPTIONS 1
-__EXCEPTIONSFLAG_8 = -xs
-!endif
-__WXLIB_CORE_p =
-!ifeq MONOLITHIC 0
-__WXLIB_CORE_p = &
- wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
-!endif
-__WXLIB_BASE_p =
-!ifeq MONOLITHIC 0
-__WXLIB_BASE_p = &
- wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
-!endif
-__WXLIB_MONO_p =
-!ifeq MONOLITHIC 1
-__WXLIB_MONO_p = &
- wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
-!endif
-__LIB_TIFF_p =
-!ifeq USE_GUI 1
-__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
-!endif
-__LIB_JPEG_p =
-!ifeq USE_GUI 1
-__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
-!endif
-__LIB_PNG_p =
-!ifeq USE_GUI 1
-__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
-!endif
-__WXUNIV_DEFINE_p =
-!ifeq WXUNIV 1
-__WXUNIV_DEFINE_p = -d__WXUNIVERSAL__
-!endif
-__DEBUG_DEFINE_p =
-!ifeq BUILD debug
-!ifeq DEBUG_FLAG default
-__DEBUG_DEFINE_p = -d__WXDEBUG__
-!endif
-!endif
-!ifeq DEBUG_FLAG 1
-__DEBUG_DEFINE_p = -d__WXDEBUG__
-!endif
-__EXCEPTIONS_DEFINE_p =
-!ifeq USE_EXCEPTIONS 0
-__EXCEPTIONS_DEFINE_p = -dwxNO_EXCEPTIONS
-!endif
-__RTTI_DEFINE_p =
-!ifeq USE_RTTI 0
-__RTTI_DEFINE_p = -dwxNO_RTTI
-!endif
-__THREAD_DEFINE_p =
-!ifeq USE_THREADS 0
-__THREAD_DEFINE_p = -dwxNO_THREADS
-!endif
-__UNICODE_DEFINE_p =
-!ifeq UNICODE 1
-__UNICODE_DEFINE_p = -d_UNICODE
-!endif
-__DLLFLAG_p =
-!ifeq SHARED 1
-__DLLFLAG_p = -dWXUSINGDLL
-!endif
-
-### Variables: ###
-
-WX_RELEASE_NODOT = 27
-OBJS = &
- wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
-LIBDIRNAME = .\..\..\lib\wat_$(LIBTYPE_SUFFIX)$(CFG)
-SETUPHDIR = &
- $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
-RICHEDIT_CXXFLAGS = $(__DEBUGINFO_0) $(__OPTIMIZEFLAG_2) $(__THREADSFLAG_5) &
- $(__RUNTIME_LIBS_6) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
- $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) &
- $(__UNICODE_DEFINE_p) -i=.\..\..\include -i=$(SETUPHDIR) -wx -wcd=549 &
- -wcd=656 -wcd=657 -wcd=667 -i=. $(__DLLFLAG_p) -i=.\..\..\samples -dNOPCH &
- $(__RTTIFLAG_7) $(__EXCEPTIONSFLAG_8) $(CPPFLAGS) $(CXXFLAGS)
-RICHEDIT_OBJECTS = &
- $(OBJS)\richedit_wxLayout.obj &
- $(OBJS)\richedit_kbList.obj &
- $(OBJS)\richedit_wxllist.obj &
- $(OBJS)\richedit_wxlparser.obj &
- $(OBJS)\richedit_wxlwindow.obj
-
-
-all : $(OBJS)
-$(OBJS) :
- -if not exist $(OBJS) mkdir $(OBJS)
-
-### Targets: ###
-
-all : .SYMBOLIC $(OBJS)\richedit.exe data
-
-clean : .SYMBOLIC
- -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
- -if exist $(OBJS)\*.res del $(OBJS)\*.res
- -if exist $(OBJS)\*.lbc del $(OBJS)\*.lbc
- -if exist $(OBJS)\*.ilk del $(OBJS)\*.ilk
- -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
- -if exist $(OBJS)\richedit.exe del $(OBJS)\richedit.exe
-
-$(OBJS)\richedit.exe : $(RICHEDIT_OBJECTS) $(OBJS)\richedit_sample.res
- @%create $(OBJS)\richedit.lbc
- @%append $(OBJS)\richedit.lbc option quiet
- @%append $(OBJS)\richedit.lbc name $^@
- @%append $(OBJS)\richedit.lbc option caseexact
- @%append $(OBJS)\richedit.lbc $(LDFLAGS) $(__DEBUGINFO_1) libpath $(LIBDIRNAME) system nt_win ref '_WinMain@16'
- @for %i in ($(RICHEDIT_OBJECTS)) do @%append $(OBJS)\richedit.lbc file %i
- @for %i in ( $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib ) do @%append $(OBJS)\richedit.lbc library %i
- @%append $(OBJS)\richedit.lbc option resource=$(OBJS)\richedit_sample.res
- wlink @$(OBJS)\richedit.lbc
-
-data : .SYMBOLIC
- if not exist $(OBJS) mkdir $(OBJS)
- for %f in (wxLayout.cpp) do if not exist $(OBJS)\%f copy .\%f $(OBJS)
-
-$(OBJS)\richedit_sample.res : .AUTODEPEND .\..\..\samples\sample.rc
- wrc -q -ad -bt=nt -r -fo=$^@ -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) -i=.\..\..\include -i=$(SETUPHDIR) -i=. $(__DLLFLAG_p) -i=.\..\..\samples $<
-
-$(OBJS)\richedit_wxLayout.obj : .AUTODEPEND .\wxLayout.cpp
- $(CXX) -bt=nt -zq -fo=$^@ $(RICHEDIT_CXXFLAGS) $<
-
-$(OBJS)\richedit_kbList.obj : .AUTODEPEND .\kbList.cpp
- $(CXX) -bt=nt -zq -fo=$^@ $(RICHEDIT_CXXFLAGS) $<
-
-$(OBJS)\richedit_wxllist.obj : .AUTODEPEND .\wxllist.cpp
- $(CXX) -bt=nt -zq -fo=$^@ $(RICHEDIT_CXXFLAGS) $<
-
-$(OBJS)\richedit_wxlparser.obj : .AUTODEPEND .\wxlparser.cpp
- $(CXX) -bt=nt -zq -fo=$^@ $(RICHEDIT_CXXFLAGS) $<
-
-$(OBJS)\richedit_wxlwindow.obj : .AUTODEPEND .\wxlwindow.cpp
- $(CXX) -bt=nt -zq -fo=$^@ $(RICHEDIT_CXXFLAGS) $<
-
+++ /dev/null
-<?xml version="1.0" ?>
-<makefile>
-
- <include file="../../build/bakefiles/common_samples.bkl"/>
-
- <exe id="richedit" template="wx_sample" template_append="wx_append">
- <sources>
- wxLayout.cpp
- kbList.cpp
- wxllist.cpp
- wxlparser.cpp
- wxlwindow.cpp
- </sources>
- <wx-lib>core</wx-lib>
- <wx-lib>base</wx-lib>
- </exe>
-
- <wx-data id="data">
- <files>
- wxLayout.cpp
- </files>
- </wx-data>
-
-</makefile>
+++ /dev/null
-# Microsoft Developer Studio Project File - Name="richedit" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Application" 0x0101
-
-CFG=richedit - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "richedit.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "richedit.mak" CFG="richedit - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "richedit - Win32 DLL Universal Unicode Release" (based on "Win32 (x86) Application")
-!MESSAGE "richedit - Win32 DLL Universal Unicode Debug" (based on "Win32 (x86) Application")
-!MESSAGE "richedit - Win32 DLL Universal Release" (based on "Win32 (x86) Application")
-!MESSAGE "richedit - Win32 DLL Universal Debug" (based on "Win32 (x86) Application")
-!MESSAGE "richedit - Win32 DLL Unicode Release" (based on "Win32 (x86) Application")
-!MESSAGE "richedit - Win32 DLL Unicode Debug" (based on "Win32 (x86) Application")
-!MESSAGE "richedit - Win32 DLL Release" (based on "Win32 (x86) Application")
-!MESSAGE "richedit - Win32 DLL Debug" (based on "Win32 (x86) Application")
-!MESSAGE "richedit - Win32 Universal Unicode Release" (based on "Win32 (x86) Application")
-!MESSAGE "richedit - Win32 Universal Unicode Debug" (based on "Win32 (x86) Application")
-!MESSAGE "richedit - Win32 Universal Release" (based on "Win32 (x86) Application")
-!MESSAGE "richedit - Win32 Universal Debug" (based on "Win32 (x86) Application")
-!MESSAGE "richedit - Win32 Unicode Release" (based on "Win32 (x86) Application")
-!MESSAGE "richedit - Win32 Unicode Debug" (based on "Win32 (x86) Application")
-!MESSAGE "richedit - Win32 Release" (based on "Win32 (x86) Application")
-!MESSAGE "richedit - Win32 Debug" (based on "Win32 (x86) Application")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-MTL=midl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "richedit - Win32 DLL Universal Unicode Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "vc_mswunivudll"
-# PROP BASE Intermediate_Dir "vc_mswunivudll\richedit"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "vc_mswunivudll"
-# PROP Intermediate_Dir "vc_mswunivudll\richedit"
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /FD /MD /Fdvc_mswunivudll\richedit.pdb /O2 /GR /EHsc /I ".\..\..\lib\vc_dll\mswunivu" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /c
-# ADD CPP /nologo /FD /MD /Fdvc_mswunivudll\richedit.pdb /O2 /GR /EHsc /I ".\..\..\lib\vc_dll\mswunivu" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /c
-# ADD BASE MTL /nologo /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
-# ADD MTL /nologo /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
-# ADD BASE RSC /l 0x409 /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "_UNICODE" /i ".\..\..\lib\vc_dll\mswunivu" /i ".\..\..\include" /i "." /d "WXUSINGDLL" /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
-# ADD RSC /l 0x409 /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "_UNICODE" /i ".\..\..\lib\vc_dll\mswunivu" /i ".\..\..\include" /i "." /d "WXUSINGDLL" /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 wxmswuniv27u_core.lib wxbase27u.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregexu.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswunivudll\richedit.exe" /libpath:".\..\..\lib\vc_dll" /subsystem:windows
-# ADD LINK32 wxmswuniv27u_core.lib wxbase27u.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregexu.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswunivudll\richedit.exe" /libpath:".\..\..\lib\vc_dll" /subsystem:windows
-
-!ELSEIF "$(CFG)" == "richedit - Win32 DLL Universal Unicode Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "vc_mswunivuddll"
-# PROP BASE Intermediate_Dir "vc_mswunivuddll\richedit"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "vc_mswunivuddll"
-# PROP Intermediate_Dir "vc_mswunivuddll\richedit"
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /FD /MDd /Zi /Gm /GZ /Fdvc_mswunivuddll\richedit.pdb /Od /GR /EHsc /I ".\..\..\lib\vc_dll\mswunivud" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /c
-# ADD CPP /nologo /FD /MDd /Zi /Gm /GZ /Fdvc_mswunivuddll\richedit.pdb /Od /GR /EHsc /I ".\..\..\lib\vc_dll\mswunivud" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /c
-# ADD BASE MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
-# ADD MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
-# ADD BASE RSC /l 0x409 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /d "_UNICODE" /i ".\..\..\lib\vc_dll\mswunivud" /i ".\..\..\include" /i "." /d "WXUSINGDLL" /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
-# ADD RSC /l 0x409 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /d "_UNICODE" /i ".\..\..\lib\vc_dll\mswunivud" /i ".\..\..\include" /i "." /d "WXUSINGDLL" /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 wxmswuniv27ud_core.lib wxbase27ud.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexud.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswunivuddll\richedit.exe" /debug /libpath:".\..\..\lib\vc_dll" /subsystem:windows
-# ADD LINK32 wxmswuniv27ud_core.lib wxbase27ud.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexud.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswunivuddll\richedit.exe" /debug /libpath:".\..\..\lib\vc_dll" /subsystem:windows
-
-!ELSEIF "$(CFG)" == "richedit - Win32 DLL Universal Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "vc_mswunivdll"
-# PROP BASE Intermediate_Dir "vc_mswunivdll\richedit"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "vc_mswunivdll"
-# PROP Intermediate_Dir "vc_mswunivdll\richedit"
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /FD /MD /Fdvc_mswunivdll\richedit.pdb /O2 /GR /EHsc /I ".\..\..\lib\vc_dll\mswuniv" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /c
-# ADD CPP /nologo /FD /MD /Fdvc_mswunivdll\richedit.pdb /O2 /GR /EHsc /I ".\..\..\lib\vc_dll\mswuniv" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /c
-# ADD BASE MTL /nologo /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
-# ADD MTL /nologo /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
-# ADD BASE RSC /l 0x409 /d "__WXMSW__" /d "__WXUNIVERSAL__" /i ".\..\..\lib\vc_dll\mswuniv" /i ".\..\..\include" /i "." /d "WXUSINGDLL" /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
-# ADD RSC /l 0x409 /d "__WXMSW__" /d "__WXUNIVERSAL__" /i ".\..\..\lib\vc_dll\mswuniv" /i ".\..\..\include" /i "." /d "WXUSINGDLL" /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 wxmswuniv27_core.lib wxbase27.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswunivdll\richedit.exe" /libpath:".\..\..\lib\vc_dll" /subsystem:windows
-# ADD LINK32 wxmswuniv27_core.lib wxbase27.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswunivdll\richedit.exe" /libpath:".\..\..\lib\vc_dll" /subsystem:windows
-
-!ELSEIF "$(CFG)" == "richedit - Win32 DLL Universal Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "vc_mswunivddll"
-# PROP BASE Intermediate_Dir "vc_mswunivddll\richedit"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "vc_mswunivddll"
-# PROP Intermediate_Dir "vc_mswunivddll\richedit"
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /FD /MDd /Zi /Gm /GZ /Fdvc_mswunivddll\richedit.pdb /Od /GR /EHsc /I ".\..\..\lib\vc_dll\mswunivd" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /c
-# ADD CPP /nologo /FD /MDd /Zi /Gm /GZ /Fdvc_mswunivddll\richedit.pdb /Od /GR /EHsc /I ".\..\..\lib\vc_dll\mswunivd" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /c
-# ADD BASE MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
-# ADD MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
-# ADD BASE RSC /l 0x409 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /i ".\..\..\lib\vc_dll\mswunivd" /i ".\..\..\include" /i "." /d "WXUSINGDLL" /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
-# ADD RSC /l 0x409 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /i ".\..\..\lib\vc_dll\mswunivd" /i ".\..\..\include" /i "." /d "WXUSINGDLL" /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 wxmswuniv27d_core.lib wxbase27d.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswunivddll\richedit.exe" /debug /libpath:".\..\..\lib\vc_dll" /subsystem:windows
-# ADD LINK32 wxmswuniv27d_core.lib wxbase27d.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswunivddll\richedit.exe" /debug /libpath:".\..\..\lib\vc_dll" /subsystem:windows
-
-!ELSEIF "$(CFG)" == "richedit - Win32 DLL Unicode Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "vc_mswudll"
-# PROP BASE Intermediate_Dir "vc_mswudll\richedit"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "vc_mswudll"
-# PROP Intermediate_Dir "vc_mswudll\richedit"
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /FD /MD /Fdvc_mswudll\richedit.pdb /O2 /GR /EHsc /I ".\..\..\lib\vc_dll\mswu" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /c
-# ADD CPP /nologo /FD /MD /Fdvc_mswudll\richedit.pdb /O2 /GR /EHsc /I ".\..\..\lib\vc_dll\mswu" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /c
-# ADD BASE MTL /nologo /D "WIN32" /D "__WXMSW__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
-# ADD MTL /nologo /D "WIN32" /D "__WXMSW__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
-# ADD BASE RSC /l 0x409 /d "__WXMSW__" /d "_UNICODE" /i ".\..\..\lib\vc_dll\mswu" /i ".\..\..\include" /i "." /d "WXUSINGDLL" /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
-# ADD RSC /l 0x409 /d "__WXMSW__" /d "_UNICODE" /i ".\..\..\lib\vc_dll\mswu" /i ".\..\..\include" /i "." /d "WXUSINGDLL" /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 wxmsw27u_core.lib wxbase27u.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregexu.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswudll\richedit.exe" /libpath:".\..\..\lib\vc_dll" /subsystem:windows
-# ADD LINK32 wxmsw27u_core.lib wxbase27u.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregexu.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswudll\richedit.exe" /libpath:".\..\..\lib\vc_dll" /subsystem:windows
-
-!ELSEIF "$(CFG)" == "richedit - Win32 DLL Unicode Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "vc_mswuddll"
-# PROP BASE Intermediate_Dir "vc_mswuddll\richedit"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "vc_mswuddll"
-# PROP Intermediate_Dir "vc_mswuddll\richedit"
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /FD /MDd /Zi /Gm /GZ /Fdvc_mswuddll\richedit.pdb /Od /GR /EHsc /I ".\..\..\lib\vc_dll\mswud" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /c
-# ADD CPP /nologo /FD /MDd /Zi /Gm /GZ /Fdvc_mswuddll\richedit.pdb /Od /GR /EHsc /I ".\..\..\lib\vc_dll\mswud" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /c
-# ADD BASE MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
-# ADD MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
-# ADD BASE RSC /l 0x409 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /d "_UNICODE" /i ".\..\..\lib\vc_dll\mswud" /i ".\..\..\include" /i "." /d "WXUSINGDLL" /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
-# ADD RSC /l 0x409 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /d "_UNICODE" /i ".\..\..\lib\vc_dll\mswud" /i ".\..\..\include" /i "." /d "WXUSINGDLL" /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 wxmsw27ud_core.lib wxbase27ud.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexud.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswuddll\richedit.exe" /debug /libpath:".\..\..\lib\vc_dll" /subsystem:windows
-# ADD LINK32 wxmsw27ud_core.lib wxbase27ud.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexud.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswuddll\richedit.exe" /debug /libpath:".\..\..\lib\vc_dll" /subsystem:windows
-
-!ELSEIF "$(CFG)" == "richedit - Win32 DLL Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "vc_mswdll"
-# PROP BASE Intermediate_Dir "vc_mswdll\richedit"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "vc_mswdll"
-# PROP Intermediate_Dir "vc_mswdll\richedit"
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /FD /MD /Fdvc_mswdll\richedit.pdb /O2 /GR /EHsc /I ".\..\..\lib\vc_dll\msw" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /c
-# ADD CPP /nologo /FD /MD /Fdvc_mswdll\richedit.pdb /O2 /GR /EHsc /I ".\..\..\lib\vc_dll\msw" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /c
-# ADD BASE MTL /nologo /D "WIN32" /D "__WXMSW__" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
-# ADD MTL /nologo /D "WIN32" /D "__WXMSW__" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
-# ADD BASE RSC /l 0x409 /d "__WXMSW__" /i ".\..\..\lib\vc_dll\msw" /i ".\..\..\include" /i "." /d "WXUSINGDLL" /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
-# ADD RSC /l 0x409 /d "__WXMSW__" /i ".\..\..\lib\vc_dll\msw" /i ".\..\..\include" /i "." /d "WXUSINGDLL" /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 wxmsw27_core.lib wxbase27.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswdll\richedit.exe" /libpath:".\..\..\lib\vc_dll" /subsystem:windows
-# ADD LINK32 wxmsw27_core.lib wxbase27.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswdll\richedit.exe" /libpath:".\..\..\lib\vc_dll" /subsystem:windows
-
-!ELSEIF "$(CFG)" == "richedit - Win32 DLL Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "vc_mswddll"
-# PROP BASE Intermediate_Dir "vc_mswddll\richedit"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "vc_mswddll"
-# PROP Intermediate_Dir "vc_mswddll\richedit"
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /FD /MDd /Zi /Gm /GZ /Fdvc_mswddll\richedit.pdb /Od /GR /EHsc /I ".\..\..\lib\vc_dll\mswd" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /c
-# ADD CPP /nologo /FD /MDd /Zi /Gm /GZ /Fdvc_mswddll\richedit.pdb /Od /GR /EHsc /I ".\..\..\lib\vc_dll\mswd" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /c
-# ADD BASE MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
-# ADD MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
-# ADD BASE RSC /l 0x409 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /i ".\..\..\lib\vc_dll\mswd" /i ".\..\..\include" /i "." /d "WXUSINGDLL" /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
-# ADD RSC /l 0x409 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /i ".\..\..\lib\vc_dll\mswd" /i ".\..\..\include" /i "." /d "WXUSINGDLL" /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 wxmsw27d_core.lib wxbase27d.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswddll\richedit.exe" /debug /libpath:".\..\..\lib\vc_dll" /subsystem:windows
-# ADD LINK32 wxmsw27d_core.lib wxbase27d.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswddll\richedit.exe" /debug /libpath:".\..\..\lib\vc_dll" /subsystem:windows
-
-!ELSEIF "$(CFG)" == "richedit - Win32 Universal Unicode Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "vc_mswunivu"
-# PROP BASE Intermediate_Dir "vc_mswunivu\richedit"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "vc_mswunivu"
-# PROP Intermediate_Dir "vc_mswunivu\richedit"
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /FD /MD /Fdvc_mswunivu\richedit.pdb /O2 /GR /EHsc /I ".\..\..\lib\vc_lib\mswunivu" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /c
-# ADD CPP /nologo /FD /MD /Fdvc_mswunivu\richedit.pdb /O2 /GR /EHsc /I ".\..\..\lib\vc_lib\mswunivu" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /c
-# ADD BASE MTL /nologo /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
-# ADD MTL /nologo /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
-# ADD BASE RSC /l 0x409 /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "_UNICODE" /i ".\..\..\lib\vc_lib\mswunivu" /i ".\..\..\include" /i "." /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
-# ADD RSC /l 0x409 /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "_UNICODE" /i ".\..\..\lib\vc_lib\mswunivu" /i ".\..\..\include" /i "." /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 wxmswuniv27u_core.lib wxbase27u.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregexu.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswunivu\richedit.exe" /libpath:".\..\..\lib\vc_lib" /subsystem:windows
-# ADD LINK32 wxmswuniv27u_core.lib wxbase27u.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregexu.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswunivu\richedit.exe" /libpath:".\..\..\lib\vc_lib" /subsystem:windows
-
-!ELSEIF "$(CFG)" == "richedit - Win32 Universal Unicode Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "vc_mswunivud"
-# PROP BASE Intermediate_Dir "vc_mswunivud\richedit"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "vc_mswunivud"
-# PROP Intermediate_Dir "vc_mswunivud\richedit"
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /FD /MDd /Zi /Gm /GZ /Fdvc_mswunivud\richedit.pdb /Od /GR /EHsc /I ".\..\..\lib\vc_lib\mswunivud" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /c
-# ADD CPP /nologo /FD /MDd /Zi /Gm /GZ /Fdvc_mswunivud\richedit.pdb /Od /GR /EHsc /I ".\..\..\lib\vc_lib\mswunivud" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /c
-# ADD BASE MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
-# ADD MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
-# ADD BASE RSC /l 0x409 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /d "_UNICODE" /i ".\..\..\lib\vc_lib\mswunivud" /i ".\..\..\include" /i "." /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
-# ADD RSC /l 0x409 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /d "_UNICODE" /i ".\..\..\lib\vc_lib\mswunivud" /i ".\..\..\include" /i "." /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 wxmswuniv27ud_core.lib wxbase27ud.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexud.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswunivud\richedit.exe" /debug /libpath:".\..\..\lib\vc_lib" /subsystem:windows
-# ADD LINK32 wxmswuniv27ud_core.lib wxbase27ud.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexud.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswunivud\richedit.exe" /debug /libpath:".\..\..\lib\vc_lib" /subsystem:windows
-
-!ELSEIF "$(CFG)" == "richedit - Win32 Universal Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "vc_mswuniv"
-# PROP BASE Intermediate_Dir "vc_mswuniv\richedit"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "vc_mswuniv"
-# PROP Intermediate_Dir "vc_mswuniv\richedit"
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /FD /MD /Fdvc_mswuniv\richedit.pdb /O2 /GR /EHsc /I ".\..\..\lib\vc_lib\mswuniv" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_WINDOWS" /D "NOPCH" /c
-# ADD CPP /nologo /FD /MD /Fdvc_mswuniv\richedit.pdb /O2 /GR /EHsc /I ".\..\..\lib\vc_lib\mswuniv" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_WINDOWS" /D "NOPCH" /c
-# ADD BASE MTL /nologo /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
-# ADD MTL /nologo /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
-# ADD BASE RSC /l 0x409 /d "__WXMSW__" /d "__WXUNIVERSAL__" /i ".\..\..\lib\vc_lib\mswuniv" /i ".\..\..\include" /i "." /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
-# ADD RSC /l 0x409 /d "__WXMSW__" /d "__WXUNIVERSAL__" /i ".\..\..\lib\vc_lib\mswuniv" /i ".\..\..\include" /i "." /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 wxmswuniv27_core.lib wxbase27.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswuniv\richedit.exe" /libpath:".\..\..\lib\vc_lib" /subsystem:windows
-# ADD LINK32 wxmswuniv27_core.lib wxbase27.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswuniv\richedit.exe" /libpath:".\..\..\lib\vc_lib" /subsystem:windows
-
-!ELSEIF "$(CFG)" == "richedit - Win32 Universal Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "vc_mswunivd"
-# PROP BASE Intermediate_Dir "vc_mswunivd\richedit"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "vc_mswunivd"
-# PROP Intermediate_Dir "vc_mswunivd\richedit"
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /FD /MDd /Zi /Gm /GZ /Fdvc_mswunivd\richedit.pdb /Od /GR /EHsc /I ".\..\..\lib\vc_lib\mswunivd" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_WINDOWS" /D "NOPCH" /c
-# ADD CPP /nologo /FD /MDd /Zi /Gm /GZ /Fdvc_mswunivd\richedit.pdb /Od /GR /EHsc /I ".\..\..\lib\vc_lib\mswunivd" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_WINDOWS" /D "NOPCH" /c
-# ADD BASE MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
-# ADD MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
-# ADD BASE RSC /l 0x409 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /i ".\..\..\lib\vc_lib\mswunivd" /i ".\..\..\include" /i "." /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
-# ADD RSC /l 0x409 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /i ".\..\..\lib\vc_lib\mswunivd" /i ".\..\..\include" /i "." /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 wxmswuniv27d_core.lib wxbase27d.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswunivd\richedit.exe" /debug /libpath:".\..\..\lib\vc_lib" /subsystem:windows
-# ADD LINK32 wxmswuniv27d_core.lib wxbase27d.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswunivd\richedit.exe" /debug /libpath:".\..\..\lib\vc_lib" /subsystem:windows
-
-!ELSEIF "$(CFG)" == "richedit - Win32 Unicode Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "vc_mswu"
-# PROP BASE Intermediate_Dir "vc_mswu\richedit"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "vc_mswu"
-# PROP Intermediate_Dir "vc_mswu\richedit"
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /FD /MD /Fdvc_mswu\richedit.pdb /O2 /GR /EHsc /I ".\..\..\lib\vc_lib\mswu" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /c
-# ADD CPP /nologo /FD /MD /Fdvc_mswu\richedit.pdb /O2 /GR /EHsc /I ".\..\..\lib\vc_lib\mswu" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /c
-# ADD BASE MTL /nologo /D "WIN32" /D "__WXMSW__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
-# ADD MTL /nologo /D "WIN32" /D "__WXMSW__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
-# ADD BASE RSC /l 0x409 /d "__WXMSW__" /d "_UNICODE" /i ".\..\..\lib\vc_lib\mswu" /i ".\..\..\include" /i "." /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
-# ADD RSC /l 0x409 /d "__WXMSW__" /d "_UNICODE" /i ".\..\..\lib\vc_lib\mswu" /i ".\..\..\include" /i "." /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 wxmsw27u_core.lib wxbase27u.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregexu.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswu\richedit.exe" /libpath:".\..\..\lib\vc_lib" /subsystem:windows
-# ADD LINK32 wxmsw27u_core.lib wxbase27u.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregexu.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswu\richedit.exe" /libpath:".\..\..\lib\vc_lib" /subsystem:windows
-
-!ELSEIF "$(CFG)" == "richedit - Win32 Unicode Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "vc_mswud"
-# PROP BASE Intermediate_Dir "vc_mswud\richedit"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "vc_mswud"
-# PROP Intermediate_Dir "vc_mswud\richedit"
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /FD /MDd /Zi /Gm /GZ /Fdvc_mswud\richedit.pdb /Od /GR /EHsc /I ".\..\..\lib\vc_lib\mswud" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /c
-# ADD CPP /nologo /FD /MDd /Zi /Gm /GZ /Fdvc_mswud\richedit.pdb /Od /GR /EHsc /I ".\..\..\lib\vc_lib\mswud" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /c
-# ADD BASE MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
-# ADD MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
-# ADD BASE RSC /l 0x409 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /d "_UNICODE" /i ".\..\..\lib\vc_lib\mswud" /i ".\..\..\include" /i "." /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
-# ADD RSC /l 0x409 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /d "_UNICODE" /i ".\..\..\lib\vc_lib\mswud" /i ".\..\..\include" /i "." /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 wxmsw27ud_core.lib wxbase27ud.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexud.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswud\richedit.exe" /debug /libpath:".\..\..\lib\vc_lib" /subsystem:windows
-# ADD LINK32 wxmsw27ud_core.lib wxbase27ud.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexud.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswud\richedit.exe" /debug /libpath:".\..\..\lib\vc_lib" /subsystem:windows
-
-!ELSEIF "$(CFG)" == "richedit - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "vc_msw"
-# PROP BASE Intermediate_Dir "vc_msw\richedit"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "vc_msw"
-# PROP Intermediate_Dir "vc_msw\richedit"
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /FD /MD /Fdvc_msw\richedit.pdb /O2 /GR /EHsc /I ".\..\..\lib\vc_lib\msw" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "_WINDOWS" /D "NOPCH" /c
-# ADD CPP /nologo /FD /MD /Fdvc_msw\richedit.pdb /O2 /GR /EHsc /I ".\..\..\lib\vc_lib\msw" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "_WINDOWS" /D "NOPCH" /c
-# ADD BASE MTL /nologo /D "WIN32" /D "__WXMSW__" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
-# ADD MTL /nologo /D "WIN32" /D "__WXMSW__" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
-# ADD BASE RSC /l 0x409 /d "__WXMSW__" /i ".\..\..\lib\vc_lib\msw" /i ".\..\..\include" /i "." /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
-# ADD RSC /l 0x409 /d "__WXMSW__" /i ".\..\..\lib\vc_lib\msw" /i ".\..\..\include" /i "." /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 wxmsw27_core.lib wxbase27.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_msw\richedit.exe" /libpath:".\..\..\lib\vc_lib" /subsystem:windows
-# ADD LINK32 wxmsw27_core.lib wxbase27.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_msw\richedit.exe" /libpath:".\..\..\lib\vc_lib" /subsystem:windows
-
-!ELSEIF "$(CFG)" == "richedit - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "vc_mswd"
-# PROP BASE Intermediate_Dir "vc_mswd\richedit"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "vc_mswd"
-# PROP Intermediate_Dir "vc_mswd\richedit"
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /FD /MDd /Zi /Gm /GZ /Fdvc_mswd\richedit.pdb /Od /GR /EHsc /I ".\..\..\lib\vc_lib\mswd" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_WINDOWS" /D "NOPCH" /c
-# ADD CPP /nologo /FD /MDd /Zi /Gm /GZ /Fdvc_mswd\richedit.pdb /Od /GR /EHsc /I ".\..\..\lib\vc_lib\mswd" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_WINDOWS" /D "NOPCH" /c
-# ADD BASE MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
-# ADD MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
-# ADD BASE RSC /l 0x409 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /i ".\..\..\lib\vc_lib\mswd" /i ".\..\..\include" /i "." /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
-# ADD RSC /l 0x409 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /i ".\..\..\lib\vc_lib\mswd" /i ".\..\..\include" /i "." /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 wxmsw27d_core.lib wxbase27d.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswd\richedit.exe" /debug /libpath:".\..\..\lib\vc_lib" /subsystem:windows
-# ADD LINK32 wxmsw27d_core.lib wxbase27d.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswd\richedit.exe" /debug /libpath:".\..\..\lib\vc_lib" /subsystem:windows
-
-!ENDIF
-
-# Begin Target
-
-# Name "richedit - Win32 DLL Universal Unicode Release"
-# Name "richedit - Win32 DLL Universal Unicode Debug"
-# Name "richedit - Win32 DLL Universal Release"
-# Name "richedit - Win32 DLL Universal Debug"
-# Name "richedit - Win32 DLL Unicode Release"
-# Name "richedit - Win32 DLL Unicode Debug"
-# Name "richedit - Win32 DLL Release"
-# Name "richedit - Win32 DLL Debug"
-# Name "richedit - Win32 Universal Unicode Release"
-# Name "richedit - Win32 Universal Unicode Debug"
-# Name "richedit - Win32 Universal Release"
-# Name "richedit - Win32 Universal Debug"
-# Name "richedit - Win32 Unicode Release"
-# Name "richedit - Win32 Unicode Debug"
-# Name "richedit - Win32 Release"
-# Name "richedit - Win32 Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=.\kbList.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\..\..\samples\sample.rc
-# End Source File
-# Begin Source File
-
-SOURCE=.\wxLayout.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\wxllist.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\wxlparser.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\wxlwindow.cpp
-# End Source File
-# End Group
-# End Target
-# End Project
-
+++ /dev/null
-Microsoft Developer Studio Workspace File, Format Version 6.00
-# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
-
-###############################################################################
-Project: "richedit"=richedit.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-Begin Project Dependency
-Project_Dep_Name core
-End Project Dependency
-Begin Project Dependency
-Project_Dep_Name base
-End Project Dependency
-}}}
-
-###############################################################################
-
-Project: "core"=..\..\build\msw\wx_core.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "base"=..\..\build\msw\wx_base.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
+++ /dev/null
-# this is the project file for the richedit wxWindows sample
-
-# we generate the VC++ IDE project file, comment this line
-# to generate a makefile for (n)make
-TEMPLATE = vc6app
-
-# wx is mandatory for wxWindows projects
-CONFIG = wx
-
-# the configurations of wxWindows we want to use: the value below is the
-# default one; possible other values are {Debug|Release}Unicode[Dll]
-#WXCONFIGS = Debug Release DebugDll ReleaseDll
-
-# project files
-SOURCES = kbList.cpp wxLayout.cpp wxllist.cpp wxlparser.cpp wxlwindow.cpp
-RC_FILE = wxLayout.rc
-TARGET = richedit
+++ /dev/null
-<?xml version="1.0"?>
-<?codewarrior exportversion="1.0" ideversion="4.0"?>
-<!DOCTYPE PROJECT [
-
-<!ELEMENT PROJECT (TARGETLIST, TARGETORDER, GROUPLIST, DESIGNLIST?)>
-<!ELEMENT TARGETLIST (TARGET+)>
-<!ELEMENT TARGET (NAME, SETTINGLIST, FILELIST?, LINKORDER?, SEGMENTLIST?, OVERLAYGROUPLIST?, SUBTARGETLIST?, SUBPROJECTLIST?)>
-<!ELEMENT NAME (#PCDATA)>
-<!ELEMENT USERSOURCETREETYPE (#PCDATA)>
-<!ELEMENT PATH (#PCDATA)>
-<!ELEMENT FILELIST (FILE*)>
-<!ELEMENT FILE (PATHTYPE, PATHROOT?, ACCESSPATH?, PATH, PATHFORMAT?, ROOTFILEREF?, FILEKIND?, FILEFLAGS?)>
-<!ELEMENT PATHTYPE (#PCDATA)>
-<!ELEMENT PATHROOT (#PCDATA)>
-<!ELEMENT ACCESSPATH (#PCDATA)>
-<!ELEMENT PATHFORMAT (#PCDATA)>
-<!ELEMENT ROOTFILEREF (PATHTYPE, PATHROOT?, ACCESSPATH?, PATH, PATHFORMAT?)>
-<!ELEMENT FILEKIND (#PCDATA)>
-<!ELEMENT FILEFLAGS (#PCDATA)>
-<!ELEMENT FILEREF (TARGETNAME?, PATHTYPE, PATHROOT?, ACCESSPATH?, PATH, PATHFORMAT?)>
-<!ELEMENT TARGETNAME (#PCDATA)>
-<!ELEMENT SETTINGLIST ((SETTING|PANELDATA)+)>
-<!ELEMENT SETTING (NAME?, (VALUE|(SETTING+)))>
-<!ELEMENT PANELDATA (NAME, VALUE)>
-<!ELEMENT VALUE (#PCDATA)>
-<!ELEMENT LINKORDER (FILEREF*)>
-<!ELEMENT SEGMENTLIST (SEGMENT+)>
-<!ELEMENT SEGMENT (NAME, ATTRIBUTES?, FILEREF*)>
-<!ELEMENT ATTRIBUTES (#PCDATA)>
-<!ELEMENT OVERLAYGROUPLIST (OVERLAYGROUP+)>
-<!ELEMENT OVERLAYGROUP (NAME, BASEADDRESS, OVERLAY*)>
-<!ELEMENT BASEADDRESS (#PCDATA)>
-<!ELEMENT OVERLAY (NAME, FILEREF*)>
-<!ELEMENT SUBTARGETLIST (SUBTARGET+)>
-<!ELEMENT SUBTARGET (TARGETNAME, ATTRIBUTES?)>
-<!ELEMENT SUBPROJECTLIST (SUBPROJECT+)>
-<!ELEMENT SUBPROJECT (FILEREF, SUBPROJECTTARGETLIST)>
-<!ELEMENT SUBPROJECTTARGETLIST (SUBPROJECTTARGET*)>
-<!ELEMENT SUBPROJECTTARGET (TARGETNAME, ATTRIBUTES?)>
-<!ELEMENT TARGETORDER (ORDEREDTARGET|ORDEREDDESIGN)*>
-<!ELEMENT ORDEREDTARGET (NAME)>
-<!ELEMENT ORDEREDDESIGN (NAME, ORDEREDTARGET+)>
-<!ELEMENT GROUPLIST (GROUP|FILEREF)*>
-<!ELEMENT GROUP (NAME, (GROUP|FILEREF)*)>
-<!ELEMENT DESIGNLIST (DESIGN+)>
-<!ELEMENT DESIGN (NAME, DESIGNDATA)>
-<!ELEMENT DESIGNDATA (#PCDATA)>
-]>
-<PROJECT>
- <TARGETLIST>
- <TARGET>
- <NAME>Classic Release</NAME>
- <SETTINGLIST>
-
- <!-- Settings for "Source Trees" panel -->
- <SETTING><NAME>UserSourceTrees</NAME><VALUE></VALUE></SETTING>
-
- <!-- Settings for "Custom Keywords" panel -->
- <SETTING><NAME>CustomColor1</NAME>
- <SETTING><NAME>Red</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>Green</NAME><VALUE>32767</VALUE></SETTING>
- <SETTING><NAME>Blue</NAME><VALUE>0</VALUE></SETTING>
- </SETTING>
- <SETTING><NAME>CustomColor2</NAME>
- <SETTING><NAME>Red</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>Green</NAME><VALUE>32767</VALUE></SETTING>
- <SETTING><NAME>Blue</NAME><VALUE>0</VALUE></SETTING>
- </SETTING>
- <SETTING><NAME>CustomColor3</NAME>
- <SETTING><NAME>Red</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>Green</NAME><VALUE>32767</VALUE></SETTING>
- <SETTING><NAME>Blue</NAME><VALUE>0</VALUE></SETTING>
- </SETTING>
- <SETTING><NAME>CustomColor4</NAME>
- <SETTING><NAME>Red</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>Green</NAME><VALUE>32767</VALUE></SETTING>
- <SETTING><NAME>Blue</NAME><VALUE>0</VALUE></SETTING>
- </SETTING>
-
- <!-- Settings for "Access Paths" panel -->
- <SETTING><NAME>AlwaysSearchUserPaths</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>InterpretDOSAndUnixPaths</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>UserSearchPaths</NAME>
- <SETTING>
- <SETTING><NAME>SearchPath</NAME>
- <SETTING><NAME>Path</NAME><VALUE>:</VALUE></SETTING>
- <SETTING><NAME>PathFormat</NAME><VALUE>MacOS</VALUE></SETTING>
- <SETTING><NAME>PathRoot</NAME><VALUE>Project</VALUE></SETTING>
- </SETTING>
- <SETTING><NAME>Recursive</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>HostFlags</NAME><VALUE>All</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>SearchPath</NAME>
- <SETTING><NAME>Path</NAME><VALUE>:::include:</VALUE></SETTING>
- <SETTING><NAME>PathFormat</NAME><VALUE>MacOS</VALUE></SETTING>
- <SETTING><NAME>PathRoot</NAME><VALUE>Project</VALUE></SETTING>
- </SETTING>
- <SETTING><NAME>Recursive</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>HostFlags</NAME><VALUE>All</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>SearchPath</NAME>
- <SETTING><NAME>Path</NAME><VALUE>:::lib:</VALUE></SETTING>
- <SETTING><NAME>PathFormat</NAME><VALUE>MacOS</VALUE></SETTING>
- <SETTING><NAME>PathRoot</NAME><VALUE>Project</VALUE></SETTING>
- </SETTING>
- <SETTING><NAME>Recursive</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>HostFlags</NAME><VALUE>All</VALUE></SETTING>
- </SETTING>
- </SETTING>
- <SETTING><NAME>SystemSearchPaths</NAME>
- <SETTING>
- <SETTING><NAME>SearchPath</NAME>
- <SETTING><NAME>Path</NAME><VALUE>MSL</VALUE></SETTING>
- <SETTING><NAME>PathFormat</NAME><VALUE>Windows</VALUE></SETTING>
- <SETTING><NAME>PathRoot</NAME><VALUE>CodeWarrior</VALUE></SETTING>
- </SETTING>
- <SETTING><NAME>Recursive</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>HostFlags</NAME><VALUE>All</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>SearchPath</NAME>
- <SETTING><NAME>Path</NAME><VALUE>:MacOS Support:</VALUE></SETTING>
- <SETTING><NAME>PathFormat</NAME><VALUE>MacOS</VALUE></SETTING>
- <SETTING><NAME>PathRoot</NAME><VALUE>CodeWarrior</VALUE></SETTING>
- </SETTING>
- <SETTING><NAME>Recursive</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>HostFlags</NAME><VALUE>All</VALUE></SETTING>
- </SETTING>
- </SETTING>
-
- <!-- Settings for "Target Settings" panel -->
- <SETTING><NAME>Linker</NAME><VALUE>MacOS PPC Linker</VALUE></SETTING>
- <SETTING><NAME>PreLinker</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>PostLinker</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Targetname</NAME><VALUE>Classic Release</VALUE></SETTING>
- <SETTING><NAME>OutputDirectory</NAME>
- <SETTING><NAME>Path</NAME><VALUE>:</VALUE></SETTING>
- <SETTING><NAME>PathFormat</NAME><VALUE>MacOS</VALUE></SETTING>
- <SETTING><NAME>PathRoot</NAME><VALUE>Project</VALUE></SETTING>
- </SETTING>
- <SETTING><NAME>SaveEntriesUsingRelativePaths</NAME><VALUE>false</VALUE></SETTING>
-
- <!-- Settings for "File Mappings" panel -->
- <SETTING><NAME>FileMappings</NAME>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>APPL</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>Appl</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>MMLB</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>Lib Import PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>MPLF</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>Lib Import PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>MWCD</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>RSRC</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.c</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.c++</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.cc</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.cp</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.cpp</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.exp</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.h</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>true</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.pch</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.pch++</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.r</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>Rez</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>XCOF</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>XCOFF Import PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>docu</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>rsrc</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>shlb</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>PEF Import PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>stub</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>PEF Import PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.doc</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>true</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.o</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>XCOFF Import PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.ppob</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.rsrc</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- </SETTING>
-
- <!-- Settings for "Build Extras" panel -->
- <SETTING><NAME>CacheModDates</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>ActivateBrowser</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>DumpBrowserInfo</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>CacheSubprojects</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>UseThirdPartyDebugger</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>DebuggerCommandLine</NAME><VALUE></VALUE></SETTING>
- <PANELDATA><NAME>Debugger Runtime</NAME><VALUE>
- 0002000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 00000000000000000000000000000000
- </VALUE></PANELDATA>
-
- <!-- Settings for "Debugger Target" panel -->
- <SETTING><NAME>LogSystemMessages</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>AutoTargetDLLs</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>StopAtWatchpoints</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>PauseWhileRunning</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>PauseInterval</NAME><VALUE>5</VALUE></SETTING>
- <SETTING><NAME>PauseUIFlags</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>AltExePath</NAME>
- <SETTING><NAME>Path</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>PathFormat</NAME><VALUE>Generic</VALUE></SETTING>
- <SETTING><NAME>PathRoot</NAME><VALUE>Absolute</VALUE></SETTING>
- </SETTING>
- <SETTING><NAME>StopAtTempBPOnLaunch</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>CacheSymbolics</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>TempBPFunctionName</NAME><VALUE>main</VALUE></SETTING>
- <SETTING><NAME>TempBPType</NAME><VALUE>false</VALUE></SETTING>
-
- <!-- Settings for "C/C++ Compiler" panel -->
- <SETTING><NAME>MWFrontEnd_C_cplusplus</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_checkprotos</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_arm</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_trigraphs</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_onlystdkeywords</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_enumsalwaysint</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_mpwpointerstyle</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_prefixname</NAME><VALUE>/wx/wx_cw.h</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_ansistrict</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_mpwcnewline</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_wchar_type</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_enableexceptions</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_dontreusestrings</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_poolstrings</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_dontinline</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_useRTTI</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_multibyteaware</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_unsignedchars</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_autoinline</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_booltruefalse</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_direct_to_som</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_som_env_check</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_alwaysinline</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_inlinelevel</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_ecplusplus</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_objective_c</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_defer_codegen</NAME><VALUE>0</VALUE></SETTING>
-
- <!-- Settings for "C/C++ Warnings" panel -->
- <SETTING><NAME>MWWarning_C_warn_illpragma</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWWarning_C_warn_emptydecl</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWWarning_C_warn_possunwant</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWWarning_C_warn_unusedvar</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWWarning_C_warn_unusedarg</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWWarning_C_warn_extracomma</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWWarning_C_pedantic</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWWarning_C_warningerrors</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWWarning_C_warn_hidevirtual</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWWarning_C_warn_implicitconv</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWWarning_C_warn_notinlined</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWWarning_C_warn_structclass</NAME><VALUE>0</VALUE></SETTING>
-
- <!-- Settings for "MacOS Merge Panel" panel -->
- <SETTING><NAME>MWMerge_MacOS_projectType</NAME><VALUE>Application</VALUE></SETTING>
- <SETTING><NAME>MWMerge_MacOS_outputName</NAME><VALUE>Merge Out</VALUE></SETTING>
- <SETTING><NAME>MWMerge_MacOS_outputCreator</NAME><VALUE>1061109567</VALUE></SETTING>
- <SETTING><NAME>MWMerge_MacOS_outputType</NAME><VALUE>1095782476</VALUE></SETTING>
- <SETTING><NAME>MWMerge_MacOS_suppressWarning</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWMerge_MacOS_copyFragments</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWMerge_MacOS_copyResources</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWMerge_MacOS_skipResources</NAME>
- <SETTING><VALUE></VALUE></SETTING>
- <SETTING><VALUE>\b\95,\90</VALUE></SETTING>
- <SETTING><VALUE> =ÃH</VALUE></SETTING>
- <SETTING><VALUE> =Ø:</VALUE></SETTING>
- </SETTING>
-
- <!-- Settings for "PPC CodeGen" panel -->
- <SETTING><NAME>MWCodeGen_PPC_structalignment</NAME><VALUE>PPC</VALUE></SETTING>
- <SETTING><NAME>MWCodeGen_PPC_tracebacktables</NAME><VALUE>None</VALUE></SETTING>
- <SETTING><NAME>MWCodeGen_PPC_processor</NAME><VALUE>Generic</VALUE></SETTING>
- <SETTING><NAME>MWCodeGen_PPC_readonlystrings</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWCodeGen_PPC_tocdata</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWCodeGen_PPC_profiler</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWCodeGen_PPC_fpcontract</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWCodeGen_PPC_schedule</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWCodeGen_PPC_peephole</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWCodeGen_PPC_processorspecific</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWCodeGen_PPC_altivec</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWCodeGen_PPC_vectortocdata</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWCodeGen_PPC_vrsave</NAME><VALUE>0</VALUE></SETTING>
-
- <!-- Settings for "PPC Disassembler" panel -->
- <SETTING><NAME>MWDisassembler_PPC_showcode</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWDisassembler_PPC_extended</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWDisassembler_PPC_mix</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWDisassembler_PPC_nohex</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWDisassembler_PPC_showdata</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWDisassembler_PPC_showexceptions</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWDisassembler_PPC_showsym</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWDisassembler_PPC_shownames</NAME><VALUE>1</VALUE></SETTING>
-
- <!-- Settings for "PPC Global Optimizer" panel -->
- <SETTING><NAME>GlobalOptimizer_PPC_optimizationlevel</NAME><VALUE>Level0</VALUE></SETTING>
- <SETTING><NAME>GlobalOptimizer_PPC_optfor</NAME><VALUE>Speed</VALUE></SETTING>
-
- <!-- Settings for "PPC Linker" panel -->
- <SETTING><NAME>MWLinker_PPC_linksym</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWLinker_PPC_symfullpath</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWLinker_PPC_linkmap</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWLinker_PPC_nolinkwarnings</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWLinker_PPC_dontdeadstripinitcode</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWLinker_PPC_permitmultdefs</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWLinker_PPC_linkmode</NAME><VALUE>Fast</VALUE></SETTING>
- <SETTING><NAME>MWLinker_PPC_initname</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>MWLinker_PPC_mainname</NAME><VALUE>__start</VALUE></SETTING>
- <SETTING><NAME>MWLinker_PPC_termname</NAME><VALUE></VALUE></SETTING>
- <PANELDATA><NAME>PPC Mach-O CodeGen</NAME><VALUE>
- 0001000001010000010000000001010101000000
- </VALUE></PANELDATA>
- <PANELDATA><NAME>PPC Mach-O Linker</NAME><VALUE>
- 0001000000000100000100000000000000000000000000000000000000007374
- 6172740000000000000000000000000000000000000000000000000000000000
- 000000000000000000000000000000000000000000000000000000000000
- </VALUE></PANELDATA>
- <PANELDATA><NAME>PPC Mach-O Target</NAME><VALUE>
- 0001000005612E6F757400000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 000000003F3F3F3F4D41504C0000004000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 00000000
- </VALUE></PANELDATA>
-
- <!-- Settings for "PPC PEF" panel -->
- <SETTING><NAME>MWPEF_exports</NAME><VALUE>None</VALUE></SETTING>
- <SETTING><NAME>MWPEF_libfolder</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWPEF_sortcode</NAME><VALUE>None</VALUE></SETTING>
- <SETTING><NAME>MWPEF_expandbss</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWPEF_sharedata</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWPEF_olddefversion</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWPEF_oldimpversion</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWPEF_currentversion</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWPEF_fragmentname</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>MWPEF_collapsereloads</NAME><VALUE>0</VALUE></SETTING>
-
- <!-- Settings for "PPC Project" panel -->
- <SETTING><NAME>MWProject_PPC_type</NAME><VALUE>Application</VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_outfile</NAME><VALUE>richedit Classic Release</VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_filecreator</NAME><VALUE>1061109567</VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_filetype</NAME><VALUE>1095782476</VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_size</NAME><VALUE>3840</VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_minsize</NAME><VALUE>3840</VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_stacksize</NAME><VALUE>64</VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_flags</NAME><VALUE>22720</VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_symfilename</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_rsrcname</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_rsrcheader</NAME><VALUE>Native</VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_rsrctype</NAME><VALUE>1061109567</VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_rsrcid</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_rsrcflags</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_rsrcstore</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_rsrcmerge</NAME><VALUE>0</VALUE></SETTING>
-
- <!-- Settings for "PPCAsm Panel" panel -->
- <SETTING><NAME>MWAssembler_PPC_auxheader</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWAssembler_PPC_symmode</NAME><VALUE>Mac</VALUE></SETTING>
- <SETTING><NAME>MWAssembler_PPC_dialect</NAME><VALUE>PPC</VALUE></SETTING>
- <SETTING><NAME>MWAssembler_PPC_prefixfile</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>MWAssembler_PPC_typecheck</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWAssembler_PPC_warnings</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWAssembler_PPC_casesensitive</NAME><VALUE>0</VALUE></SETTING>
-
- <!-- Settings for "Rez Compiler" panel -->
- <SETTING><NAME>MWRez_Language_maxwidth</NAME><VALUE>80</VALUE></SETTING>
- <SETTING><NAME>MWRez_Language_script</NAME><VALUE>Roman</VALUE></SETTING>
- <SETTING><NAME>MWRez_Language_alignment</NAME><VALUE>Align1</VALUE></SETTING>
- <SETTING><NAME>MWRez_Language_filtermode</NAME><VALUE>FilterSkip</VALUE></SETTING>
- <SETTING><NAME>MWRez_Language_suppresswarnings</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWRez_Language_escapecontrolchars</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWRez_Language_prefixname</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>MWRez_Language_filteredtypes</NAME><VALUE>'CODE' 'DATA' 'PICT'</VALUE></SETTING>
- </SETTINGLIST>
- <FILELIST>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>wx_PPC.lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>MSL C++.PPC.Lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>MSL C.PPC.Lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>console.stubs.c</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Text</FILEKIND>
- <FILEFLAGS></FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>MSL RuntimePPC.Lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>wx_PPC.rsrc</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Resource</FILEKIND>
- <FILEFLAGS></FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>tiff.lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS></FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>jpeg.lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS></FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>png.lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS></FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>zlib.lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS></FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>kbList.cpp</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Text</FILEKIND>
- <FILEFLAGS></FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>wxLayout.cpp</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Text</FILEKIND>
- <FILEFLAGS></FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>wxllist.cpp</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Text</FILEKIND>
- <FILEFLAGS></FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>wxlparser.cpp</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Text</FILEKIND>
- <FILEFLAGS></FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>AppearanceLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS></FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>ATSUnicodeLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS></FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>CarbonAccessors.o</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS></FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>ControlsLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS></FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>CursorDevicesGlue.o</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS></FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>DialogsLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS></FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>DragLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS></FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>InterfaceLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS></FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>InternetConfigLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS></FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>WindowsLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS></FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>MathLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS></FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>MenusLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS></FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>NavigationLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS></FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>OpenTptAppleTalkLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS></FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>OpenTptATalkPPC.o</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS></FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>OpenTptInetPPC.o</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS></FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>OpenTptInternetLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS></FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>OpenTransportLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS></FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>OpenTransportAppPPC.o</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS></FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>PLStringFuncsPPC.lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS></FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>TextEncodingConverter</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS></FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>Textension</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS></FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>ThreadsLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS></FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>UnicodeConverter</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS></FILEFLAGS>
- </FILE>
- </FILELIST>
- <LINKORDER>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>wx_PPC.lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>MSL C++.PPC.Lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>MSL C.PPC.Lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>console.stubs.c</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>MSL RuntimePPC.Lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>wx_PPC.rsrc</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>tiff.lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>jpeg.lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>png.lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>zlib.lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>kbList.cpp</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>wxLayout.cpp</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>wxllist.cpp</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>wxlparser.cpp</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>AppearanceLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>ATSUnicodeLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>CarbonAccessors.o</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>ControlsLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>CursorDevicesGlue.o</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>DialogsLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>DragLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>InterfaceLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>InternetConfigLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>WindowsLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>MathLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>MenusLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>NavigationLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>OpenTptAppleTalkLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>OpenTptATalkPPC.o</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>OpenTptInetPPC.o</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>OpenTptInternetLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>OpenTransportLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>OpenTransportAppPPC.o</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>PLStringFuncsPPC.lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>TextEncodingConverter</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>Textension</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>ThreadsLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>UnicodeConverter</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- </LINKORDER>
- </TARGET>
- <TARGET>
- <NAME>Classic Debug</NAME>
- <SETTINGLIST>
-
- <!-- Settings for "Source Trees" panel -->
- <SETTING><NAME>UserSourceTrees</NAME><VALUE></VALUE></SETTING>
-
- <!-- Settings for "Custom Keywords" panel -->
- <SETTING><NAME>CustomColor1</NAME>
- <SETTING><NAME>Red</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>Green</NAME><VALUE>32767</VALUE></SETTING>
- <SETTING><NAME>Blue</NAME><VALUE>0</VALUE></SETTING>
- </SETTING>
- <SETTING><NAME>CustomColor2</NAME>
- <SETTING><NAME>Red</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>Green</NAME><VALUE>32767</VALUE></SETTING>
- <SETTING><NAME>Blue</NAME><VALUE>0</VALUE></SETTING>
- </SETTING>
- <SETTING><NAME>CustomColor3</NAME>
- <SETTING><NAME>Red</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>Green</NAME><VALUE>32767</VALUE></SETTING>
- <SETTING><NAME>Blue</NAME><VALUE>0</VALUE></SETTING>
- </SETTING>
- <SETTING><NAME>CustomColor4</NAME>
- <SETTING><NAME>Red</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>Green</NAME><VALUE>32767</VALUE></SETTING>
- <SETTING><NAME>Blue</NAME><VALUE>0</VALUE></SETTING>
- </SETTING>
-
- <!-- Settings for "Access Paths" panel -->
- <SETTING><NAME>AlwaysSearchUserPaths</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>InterpretDOSAndUnixPaths</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>UserSearchPaths</NAME>
- <SETTING>
- <SETTING><NAME>SearchPath</NAME>
- <SETTING><NAME>Path</NAME><VALUE>:</VALUE></SETTING>
- <SETTING><NAME>PathFormat</NAME><VALUE>MacOS</VALUE></SETTING>
- <SETTING><NAME>PathRoot</NAME><VALUE>Project</VALUE></SETTING>
- </SETTING>
- <SETTING><NAME>Recursive</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>HostFlags</NAME><VALUE>All</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>SearchPath</NAME>
- <SETTING><NAME>Path</NAME><VALUE>:::include:</VALUE></SETTING>
- <SETTING><NAME>PathFormat</NAME><VALUE>MacOS</VALUE></SETTING>
- <SETTING><NAME>PathRoot</NAME><VALUE>Project</VALUE></SETTING>
- </SETTING>
- <SETTING><NAME>Recursive</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>HostFlags</NAME><VALUE>All</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>SearchPath</NAME>
- <SETTING><NAME>Path</NAME><VALUE>:::lib:</VALUE></SETTING>
- <SETTING><NAME>PathFormat</NAME><VALUE>MacOS</VALUE></SETTING>
- <SETTING><NAME>PathRoot</NAME><VALUE>Project</VALUE></SETTING>
- </SETTING>
- <SETTING><NAME>Recursive</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>HostFlags</NAME><VALUE>All</VALUE></SETTING>
- </SETTING>
- </SETTING>
- <SETTING><NAME>SystemSearchPaths</NAME>
- <SETTING>
- <SETTING><NAME>SearchPath</NAME>
- <SETTING><NAME>Path</NAME><VALUE>MSL</VALUE></SETTING>
- <SETTING><NAME>PathFormat</NAME><VALUE>Windows</VALUE></SETTING>
- <SETTING><NAME>PathRoot</NAME><VALUE>CodeWarrior</VALUE></SETTING>
- </SETTING>
- <SETTING><NAME>Recursive</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>HostFlags</NAME><VALUE>All</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>SearchPath</NAME>
- <SETTING><NAME>Path</NAME><VALUE>:MacOS Support:</VALUE></SETTING>
- <SETTING><NAME>PathFormat</NAME><VALUE>MacOS</VALUE></SETTING>
- <SETTING><NAME>PathRoot</NAME><VALUE>CodeWarrior</VALUE></SETTING>
- </SETTING>
- <SETTING><NAME>Recursive</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>HostFlags</NAME><VALUE>All</VALUE></SETTING>
- </SETTING>
- </SETTING>
-
- <!-- Settings for "Target Settings" panel -->
- <SETTING><NAME>Linker</NAME><VALUE>MacOS PPC Linker</VALUE></SETTING>
- <SETTING><NAME>PreLinker</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>PostLinker</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Targetname</NAME><VALUE>Classic Debug</VALUE></SETTING>
- <SETTING><NAME>OutputDirectory</NAME>
- <SETTING><NAME>Path</NAME><VALUE>:</VALUE></SETTING>
- <SETTING><NAME>PathFormat</NAME><VALUE>MacOS</VALUE></SETTING>
- <SETTING><NAME>PathRoot</NAME><VALUE>Project</VALUE></SETTING>
- </SETTING>
- <SETTING><NAME>SaveEntriesUsingRelativePaths</NAME><VALUE>false</VALUE></SETTING>
-
- <!-- Settings for "File Mappings" panel -->
- <SETTING><NAME>FileMappings</NAME>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>APPL</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>Appl</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>MMLB</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>Lib Import PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>MPLF</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>Lib Import PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>MWCD</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>RSRC</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.c</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.c++</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.cc</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.cp</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.cpp</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.exp</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.h</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>true</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.pch</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.pch++</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.r</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>Rez</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>XCOF</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>XCOFF Import PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>docu</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>rsrc</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>shlb</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>PEF Import PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>stub</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>PEF Import PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.doc</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>true</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.o</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>XCOFF Import PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.ppob</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.rsrc</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- </SETTING>
-
- <!-- Settings for "Build Extras" panel -->
- <SETTING><NAME>CacheModDates</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>ActivateBrowser</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>DumpBrowserInfo</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>CacheSubprojects</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>UseThirdPartyDebugger</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>DebuggerCommandLine</NAME><VALUE></VALUE></SETTING>
- <PANELDATA><NAME>Debugger Runtime</NAME><VALUE>
- 0002000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 000000000000000000000000000000000E2D755010000000000001000E2D7E60
- 0002000000000000000000000E2D2DD000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 00000000000000000000000000000000
- </VALUE></PANELDATA>
-
- <!-- Settings for "Debugger Target" panel -->
- <SETTING><NAME>LogSystemMessages</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>AutoTargetDLLs</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>StopAtWatchpoints</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>PauseWhileRunning</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>PauseInterval</NAME><VALUE>5</VALUE></SETTING>
- <SETTING><NAME>PauseUIFlags</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>AltExePath</NAME>
- <SETTING><NAME>Path</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>PathFormat</NAME><VALUE>Generic</VALUE></SETTING>
- <SETTING><NAME>PathRoot</NAME><VALUE>Absolute</VALUE></SETTING>
- </SETTING>
- <SETTING><NAME>StopAtTempBPOnLaunch</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>CacheSymbolics</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>TempBPFunctionName</NAME><VALUE>main</VALUE></SETTING>
- <SETTING><NAME>TempBPType</NAME><VALUE>false</VALUE></SETTING>
-
- <!-- Settings for "C/C++ Compiler" panel -->
- <SETTING><NAME>MWFrontEnd_C_cplusplus</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_checkprotos</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_arm</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_trigraphs</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_onlystdkeywords</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_enumsalwaysint</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_mpwpointerstyle</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_prefixname</NAME><VALUE>/wx/wx_cw_d.h</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_ansistrict</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_mpwcnewline</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_wchar_type</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_enableexceptions</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_dontreusestrings</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_poolstrings</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_dontinline</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_useRTTI</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_multibyteaware</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_unsignedchars</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_autoinline</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_booltruefalse</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_direct_to_som</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_som_env_check</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_alwaysinline</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_inlinelevel</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_ecplusplus</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_objective_c</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_defer_codegen</NAME><VALUE>0</VALUE></SETTING>
-
- <!-- Settings for "C/C++ Warnings" panel -->
- <SETTING><NAME>MWWarning_C_warn_illpragma</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWWarning_C_warn_emptydecl</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWWarning_C_warn_possunwant</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWWarning_C_warn_unusedvar</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWWarning_C_warn_unusedarg</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWWarning_C_warn_extracomma</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWWarning_C_pedantic</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWWarning_C_warningerrors</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWWarning_C_warn_hidevirtual</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWWarning_C_warn_implicitconv</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWWarning_C_warn_notinlined</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWWarning_C_warn_structclass</NAME><VALUE>1</VALUE></SETTING>
-
- <!-- Settings for "MacOS Merge Panel" panel -->
- <SETTING><NAME>MWMerge_MacOS_projectType</NAME><VALUE>Application</VALUE></SETTING>
- <SETTING><NAME>MWMerge_MacOS_outputName</NAME><VALUE>Merge Out</VALUE></SETTING>
- <SETTING><NAME>MWMerge_MacOS_outputCreator</NAME><VALUE>1061109567</VALUE></SETTING>
- <SETTING><NAME>MWMerge_MacOS_outputType</NAME><VALUE>1095782476</VALUE></SETTING>
- <SETTING><NAME>MWMerge_MacOS_suppressWarning</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWMerge_MacOS_copyFragments</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWMerge_MacOS_copyResources</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWMerge_MacOS_skipResources</NAME>
- <SETTING><VALUE></VALUE></SETTING>
- <SETTING><VALUE>\b\95,\90</VALUE></SETTING>
- <SETTING><VALUE> =ÃH</VALUE></SETTING>
- <SETTING><VALUE> =Ø:</VALUE></SETTING>
- </SETTING>
-
- <!-- Settings for "PPC CodeGen" panel -->
- <SETTING><NAME>MWCodeGen_PPC_structalignment</NAME><VALUE>PPC</VALUE></SETTING>
- <SETTING><NAME>MWCodeGen_PPC_tracebacktables</NAME><VALUE>Inline</VALUE></SETTING>
- <SETTING><NAME>MWCodeGen_PPC_processor</NAME><VALUE>Generic</VALUE></SETTING>
- <SETTING><NAME>MWCodeGen_PPC_readonlystrings</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWCodeGen_PPC_tocdata</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWCodeGen_PPC_profiler</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWCodeGen_PPC_fpcontract</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWCodeGen_PPC_schedule</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWCodeGen_PPC_peephole</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWCodeGen_PPC_processorspecific</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWCodeGen_PPC_altivec</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWCodeGen_PPC_vectortocdata</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWCodeGen_PPC_vrsave</NAME><VALUE>0</VALUE></SETTING>
-
- <!-- Settings for "PPC Disassembler" panel -->
- <SETTING><NAME>MWDisassembler_PPC_showcode</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWDisassembler_PPC_extended</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWDisassembler_PPC_mix</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWDisassembler_PPC_nohex</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWDisassembler_PPC_showdata</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWDisassembler_PPC_showexceptions</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWDisassembler_PPC_showsym</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWDisassembler_PPC_shownames</NAME><VALUE>1</VALUE></SETTING>
-
- <!-- Settings for "PPC Global Optimizer" panel -->
- <SETTING><NAME>GlobalOptimizer_PPC_optimizationlevel</NAME><VALUE>Level0</VALUE></SETTING>
- <SETTING><NAME>GlobalOptimizer_PPC_optfor</NAME><VALUE>Speed</VALUE></SETTING>
-
- <!-- Settings for "PPC Linker" panel -->
- <SETTING><NAME>MWLinker_PPC_linksym</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWLinker_PPC_symfullpath</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWLinker_PPC_linkmap</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWLinker_PPC_nolinkwarnings</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWLinker_PPC_dontdeadstripinitcode</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWLinker_PPC_permitmultdefs</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWLinker_PPC_linkmode</NAME><VALUE>Fast</VALUE></SETTING>
- <SETTING><NAME>MWLinker_PPC_initname</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>MWLinker_PPC_mainname</NAME><VALUE>__start</VALUE></SETTING>
- <SETTING><NAME>MWLinker_PPC_termname</NAME><VALUE></VALUE></SETTING>
- <PANELDATA><NAME>PPC Mach-O CodeGen</NAME><VALUE>
- 0001000001010000010000000001010101000000
- </VALUE></PANELDATA>
- <PANELDATA><NAME>PPC Mach-O Linker</NAME><VALUE>
- 0001000000000100000100000000000000000000000000000000000000007374
- 6172740000000000000000000000000000000000000000000000000000000000
- 000000000000000000000000000000000000000000000000000000000000
- </VALUE></PANELDATA>
- <PANELDATA><NAME>PPC Mach-O Target</NAME><VALUE>
- 0001000005612E6F757400000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 000000003F3F3F3F4D41504C0000004000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 00000000
- </VALUE></PANELDATA>
-
- <!-- Settings for "PPC PEF" panel -->
- <SETTING><NAME>MWPEF_exports</NAME><VALUE>None</VALUE></SETTING>
- <SETTING><NAME>MWPEF_libfolder</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWPEF_sortcode</NAME><VALUE>None</VALUE></SETTING>
- <SETTING><NAME>MWPEF_expandbss</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWPEF_sharedata</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWPEF_olddefversion</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWPEF_oldimpversion</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWPEF_currentversion</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWPEF_fragmentname</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>MWPEF_collapsereloads</NAME><VALUE>0</VALUE></SETTING>
-
- <!-- Settings for "PPC Project" panel -->
- <SETTING><NAME>MWProject_PPC_type</NAME><VALUE>Application</VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_outfile</NAME><VALUE>richedit Classic Debug</VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_filecreator</NAME><VALUE>1061109567</VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_filetype</NAME><VALUE>1095782476</VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_size</NAME><VALUE>3840</VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_minsize</NAME><VALUE>3840</VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_stacksize</NAME><VALUE>64</VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_flags</NAME><VALUE>22720</VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_symfilename</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_rsrcname</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_rsrcheader</NAME><VALUE>Native</VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_rsrctype</NAME><VALUE>1061109567</VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_rsrcid</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_rsrcflags</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_rsrcstore</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_rsrcmerge</NAME><VALUE>0</VALUE></SETTING>
-
- <!-- Settings for "PPCAsm Panel" panel -->
- <SETTING><NAME>MWAssembler_PPC_auxheader</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWAssembler_PPC_symmode</NAME><VALUE>Mac</VALUE></SETTING>
- <SETTING><NAME>MWAssembler_PPC_dialect</NAME><VALUE>PPC</VALUE></SETTING>
- <SETTING><NAME>MWAssembler_PPC_prefixfile</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>MWAssembler_PPC_typecheck</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWAssembler_PPC_warnings</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWAssembler_PPC_casesensitive</NAME><VALUE>0</VALUE></SETTING>
-
- <!-- Settings for "Rez Compiler" panel -->
- <SETTING><NAME>MWRez_Language_maxwidth</NAME><VALUE>80</VALUE></SETTING>
- <SETTING><NAME>MWRez_Language_script</NAME><VALUE>Roman</VALUE></SETTING>
- <SETTING><NAME>MWRez_Language_alignment</NAME><VALUE>Align1</VALUE></SETTING>
- <SETTING><NAME>MWRez_Language_filtermode</NAME><VALUE>FilterSkip</VALUE></SETTING>
- <SETTING><NAME>MWRez_Language_suppresswarnings</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWRez_Language_escapecontrolchars</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWRez_Language_prefixname</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>MWRez_Language_filteredtypes</NAME><VALUE>'CODE' 'DATA' 'PICT'</VALUE></SETTING>
- </SETTINGLIST>
- <FILELIST>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>MSL C++.PPC.Lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>MSL C.PPC.Lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>console.stubs.c</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Text</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>MSL RuntimePPC.Lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>wx_PPC_d.lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>wx_PPC.rsrc</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Resource</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>zlib.lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>png.lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>tiffd.lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>jpeg.lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>kbList.cpp</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Text</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>wxLayout.cpp</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Text</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>wxllist.cpp</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Text</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>wxlparser.cpp</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Text</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>AppearanceLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>ATSUnicodeLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>CarbonAccessors.o</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>ControlsLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>CursorDevicesGlue.o</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>DialogsLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>DragLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>InterfaceLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>InternetConfigLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>WindowsLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>MathLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>MenusLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>NavigationLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>OpenTptAppleTalkLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>OpenTptATalkPPC.o</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>OpenTptInetPPC.o</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>OpenTptInternetLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>OpenTransportLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>OpenTransportAppPPC.o</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>PLStringFuncsPPC.lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>TextEncodingConverter</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>Textension</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>ThreadsLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>UnicodeConverter</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- </FILELIST>
- <LINKORDER>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>MSL C++.PPC.Lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>MSL C.PPC.Lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>console.stubs.c</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>MSL RuntimePPC.Lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>wx_PPC_d.lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>wx_PPC.rsrc</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>zlib.lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>png.lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>tiffd.lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>jpeg.lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>kbList.cpp</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>wxLayout.cpp</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>wxllist.cpp</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>wxlparser.cpp</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>AppearanceLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>ATSUnicodeLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>CarbonAccessors.o</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>ControlsLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>CursorDevicesGlue.o</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>DialogsLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>DragLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>InterfaceLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>InternetConfigLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>WindowsLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>MathLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>MenusLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>NavigationLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>OpenTptAppleTalkLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>OpenTptATalkPPC.o</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>OpenTptInetPPC.o</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>OpenTptInternetLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>OpenTransportLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>OpenTransportAppPPC.o</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>PLStringFuncsPPC.lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>TextEncodingConverter</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>Textension</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>ThreadsLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>UnicodeConverter</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- </LINKORDER>
- </TARGET>
- <TARGET>
- <NAME>Carbon Debug</NAME>
- <SETTINGLIST>
-
- <!-- Settings for "Source Trees" panel -->
- <SETTING><NAME>UserSourceTrees</NAME><VALUE></VALUE></SETTING>
-
- <!-- Settings for "Custom Keywords" panel -->
- <SETTING><NAME>CustomColor1</NAME>
- <SETTING><NAME>Red</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>Green</NAME><VALUE>32767</VALUE></SETTING>
- <SETTING><NAME>Blue</NAME><VALUE>0</VALUE></SETTING>
- </SETTING>
- <SETTING><NAME>CustomColor2</NAME>
- <SETTING><NAME>Red</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>Green</NAME><VALUE>32767</VALUE></SETTING>
- <SETTING><NAME>Blue</NAME><VALUE>0</VALUE></SETTING>
- </SETTING>
- <SETTING><NAME>CustomColor3</NAME>
- <SETTING><NAME>Red</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>Green</NAME><VALUE>32767</VALUE></SETTING>
- <SETTING><NAME>Blue</NAME><VALUE>0</VALUE></SETTING>
- </SETTING>
- <SETTING><NAME>CustomColor4</NAME>
- <SETTING><NAME>Red</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>Green</NAME><VALUE>32767</VALUE></SETTING>
- <SETTING><NAME>Blue</NAME><VALUE>0</VALUE></SETTING>
- </SETTING>
-
- <!-- Settings for "Access Paths" panel -->
- <SETTING><NAME>AlwaysSearchUserPaths</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>InterpretDOSAndUnixPaths</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>UserSearchPaths</NAME>
- <SETTING>
- <SETTING><NAME>SearchPath</NAME>
- <SETTING><NAME>Path</NAME><VALUE>:</VALUE></SETTING>
- <SETTING><NAME>PathFormat</NAME><VALUE>MacOS</VALUE></SETTING>
- <SETTING><NAME>PathRoot</NAME><VALUE>Project</VALUE></SETTING>
- </SETTING>
- <SETTING><NAME>Recursive</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>HostFlags</NAME><VALUE>All</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>SearchPath</NAME>
- <SETTING><NAME>Path</NAME><VALUE>:::include:</VALUE></SETTING>
- <SETTING><NAME>PathFormat</NAME><VALUE>MacOS</VALUE></SETTING>
- <SETTING><NAME>PathRoot</NAME><VALUE>Project</VALUE></SETTING>
- </SETTING>
- <SETTING><NAME>Recursive</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>HostFlags</NAME><VALUE>All</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>SearchPath</NAME>
- <SETTING><NAME>Path</NAME><VALUE>:::lib:</VALUE></SETTING>
- <SETTING><NAME>PathFormat</NAME><VALUE>MacOS</VALUE></SETTING>
- <SETTING><NAME>PathRoot</NAME><VALUE>Project</VALUE></SETTING>
- </SETTING>
- <SETTING><NAME>Recursive</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>HostFlags</NAME><VALUE>All</VALUE></SETTING>
- </SETTING>
- </SETTING>
- <SETTING><NAME>SystemSearchPaths</NAME>
- <SETTING>
- <SETTING><NAME>SearchPath</NAME>
- <SETTING><NAME>Path</NAME><VALUE>MSL</VALUE></SETTING>
- <SETTING><NAME>PathFormat</NAME><VALUE>Windows</VALUE></SETTING>
- <SETTING><NAME>PathRoot</NAME><VALUE>CodeWarrior</VALUE></SETTING>
- </SETTING>
- <SETTING><NAME>Recursive</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>HostFlags</NAME><VALUE>All</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>SearchPath</NAME>
- <SETTING><NAME>Path</NAME><VALUE>:MacOS Support:</VALUE></SETTING>
- <SETTING><NAME>PathFormat</NAME><VALUE>MacOS</VALUE></SETTING>
- <SETTING><NAME>PathRoot</NAME><VALUE>CodeWarrior</VALUE></SETTING>
- </SETTING>
- <SETTING><NAME>Recursive</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>HostFlags</NAME><VALUE>All</VALUE></SETTING>
- </SETTING>
- </SETTING>
-
- <!-- Settings for "Target Settings" panel -->
- <SETTING><NAME>Linker</NAME><VALUE>MacOS PPC Linker</VALUE></SETTING>
- <SETTING><NAME>PreLinker</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>PostLinker</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Targetname</NAME><VALUE>Carbon Debug</VALUE></SETTING>
- <SETTING><NAME>OutputDirectory</NAME>
- <SETTING><NAME>Path</NAME><VALUE>:</VALUE></SETTING>
- <SETTING><NAME>PathFormat</NAME><VALUE>MacOS</VALUE></SETTING>
- <SETTING><NAME>PathRoot</NAME><VALUE>Project</VALUE></SETTING>
- </SETTING>
- <SETTING><NAME>SaveEntriesUsingRelativePaths</NAME><VALUE>false</VALUE></SETTING>
-
- <!-- Settings for "File Mappings" panel -->
- <SETTING><NAME>FileMappings</NAME>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>APPL</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>Appl</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>MMLB</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>Lib Import PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>MPLF</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>Lib Import PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>MWCD</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>RSRC</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.c</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.c++</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.cc</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.cp</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.cpp</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.exp</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.h</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>true</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.pch</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.pch++</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.r</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>Rez</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>XCOF</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>XCOFF Import PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>docu</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>rsrc</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>shlb</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>PEF Import PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>stub</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>PEF Import PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.doc</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>true</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.o</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>XCOFF Import PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.ppob</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.rsrc</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- </SETTING>
-
- <!-- Settings for "Build Extras" panel -->
- <SETTING><NAME>CacheModDates</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>ActivateBrowser</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>DumpBrowserInfo</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>CacheSubprojects</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>UseThirdPartyDebugger</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>DebuggerCommandLine</NAME><VALUE></VALUE></SETTING>
- <PANELDATA><NAME>Debugger Runtime</NAME><VALUE>
- 0002000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 00000000000000000000000000000000
- </VALUE></PANELDATA>
-
- <!-- Settings for "Debugger Target" panel -->
- <SETTING><NAME>LogSystemMessages</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>AutoTargetDLLs</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>StopAtWatchpoints</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>PauseWhileRunning</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>PauseInterval</NAME><VALUE>5</VALUE></SETTING>
- <SETTING><NAME>PauseUIFlags</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>AltExePath</NAME>
- <SETTING><NAME>Path</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>PathFormat</NAME><VALUE>Generic</VALUE></SETTING>
- <SETTING><NAME>PathRoot</NAME><VALUE>Absolute</VALUE></SETTING>
- </SETTING>
- <SETTING><NAME>StopAtTempBPOnLaunch</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>CacheSymbolics</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>TempBPFunctionName</NAME><VALUE>main</VALUE></SETTING>
- <SETTING><NAME>TempBPType</NAME><VALUE>false</VALUE></SETTING>
-
- <!-- Settings for "C/C++ Compiler" panel -->
- <SETTING><NAME>MWFrontEnd_C_cplusplus</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_checkprotos</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_arm</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_trigraphs</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_onlystdkeywords</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_enumsalwaysint</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_mpwpointerstyle</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_prefixname</NAME><VALUE>/wx/wx_cwc_d.h</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_ansistrict</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_mpwcnewline</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_wchar_type</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_enableexceptions</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_dontreusestrings</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_poolstrings</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_dontinline</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_useRTTI</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_multibyteaware</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_unsignedchars</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_autoinline</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_booltruefalse</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_direct_to_som</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_som_env_check</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_alwaysinline</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_inlinelevel</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_ecplusplus</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_objective_c</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_defer_codegen</NAME><VALUE>0</VALUE></SETTING>
-
- <!-- Settings for "C/C++ Warnings" panel -->
- <SETTING><NAME>MWWarning_C_warn_illpragma</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWWarning_C_warn_emptydecl</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWWarning_C_warn_possunwant</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWWarning_C_warn_unusedvar</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWWarning_C_warn_unusedarg</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWWarning_C_warn_extracomma</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWWarning_C_pedantic</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWWarning_C_warningerrors</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWWarning_C_warn_hidevirtual</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWWarning_C_warn_implicitconv</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWWarning_C_warn_notinlined</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWWarning_C_warn_structclass</NAME><VALUE>1</VALUE></SETTING>
-
- <!-- Settings for "MacOS Merge Panel" panel -->
- <SETTING><NAME>MWMerge_MacOS_projectType</NAME><VALUE>Application</VALUE></SETTING>
- <SETTING><NAME>MWMerge_MacOS_outputName</NAME><VALUE>Merge Out</VALUE></SETTING>
- <SETTING><NAME>MWMerge_MacOS_outputCreator</NAME><VALUE>1061109567</VALUE></SETTING>
- <SETTING><NAME>MWMerge_MacOS_outputType</NAME><VALUE>1095782476</VALUE></SETTING>
- <SETTING><NAME>MWMerge_MacOS_suppressWarning</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWMerge_MacOS_copyFragments</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWMerge_MacOS_copyResources</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWMerge_MacOS_skipResources</NAME>
- <SETTING><VALUE></VALUE></SETTING>
- <SETTING><VALUE>\b\95,\90</VALUE></SETTING>
- <SETTING><VALUE> =ÃH</VALUE></SETTING>
- <SETTING><VALUE> =Ø:</VALUE></SETTING>
- </SETTING>
-
- <!-- Settings for "PPC CodeGen" panel -->
- <SETTING><NAME>MWCodeGen_PPC_structalignment</NAME><VALUE>PPC</VALUE></SETTING>
- <SETTING><NAME>MWCodeGen_PPC_tracebacktables</NAME><VALUE>Inline</VALUE></SETTING>
- <SETTING><NAME>MWCodeGen_PPC_processor</NAME><VALUE>Generic</VALUE></SETTING>
- <SETTING><NAME>MWCodeGen_PPC_readonlystrings</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWCodeGen_PPC_tocdata</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWCodeGen_PPC_profiler</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWCodeGen_PPC_fpcontract</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWCodeGen_PPC_schedule</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWCodeGen_PPC_peephole</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWCodeGen_PPC_processorspecific</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWCodeGen_PPC_altivec</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWCodeGen_PPC_vectortocdata</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWCodeGen_PPC_vrsave</NAME><VALUE>0</VALUE></SETTING>
-
- <!-- Settings for "PPC Disassembler" panel -->
- <SETTING><NAME>MWDisassembler_PPC_showcode</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWDisassembler_PPC_extended</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWDisassembler_PPC_mix</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWDisassembler_PPC_nohex</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWDisassembler_PPC_showdata</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWDisassembler_PPC_showexceptions</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWDisassembler_PPC_showsym</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWDisassembler_PPC_shownames</NAME><VALUE>1</VALUE></SETTING>
-
- <!-- Settings for "PPC Global Optimizer" panel -->
- <SETTING><NAME>GlobalOptimizer_PPC_optimizationlevel</NAME><VALUE>Level0</VALUE></SETTING>
- <SETTING><NAME>GlobalOptimizer_PPC_optfor</NAME><VALUE>Speed</VALUE></SETTING>
-
- <!-- Settings for "PPC Linker" panel -->
- <SETTING><NAME>MWLinker_PPC_linksym</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWLinker_PPC_symfullpath</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWLinker_PPC_linkmap</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWLinker_PPC_nolinkwarnings</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWLinker_PPC_dontdeadstripinitcode</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWLinker_PPC_permitmultdefs</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWLinker_PPC_linkmode</NAME><VALUE>Fast</VALUE></SETTING>
- <SETTING><NAME>MWLinker_PPC_initname</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>MWLinker_PPC_mainname</NAME><VALUE>__start</VALUE></SETTING>
- <SETTING><NAME>MWLinker_PPC_termname</NAME><VALUE></VALUE></SETTING>
- <PANELDATA><NAME>PPC Mach-O CodeGen</NAME><VALUE>
- 0001000001010000010000000001010101000000
- </VALUE></PANELDATA>
- <PANELDATA><NAME>PPC Mach-O Linker</NAME><VALUE>
- 0001000000000100000100000000000000000000000000000000000000007374
- 6172740000000000000000000000000000000000000000000000000000000000
- 000000000000000000000000000000000000000000000000000000000000
- </VALUE></PANELDATA>
- <PANELDATA><NAME>PPC Mach-O Target</NAME><VALUE>
- 0001000005612E6F757400000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 000000003F3F3F3F4D41504C0000004000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 00000000
- </VALUE></PANELDATA>
-
- <!-- Settings for "PPC PEF" panel -->
- <SETTING><NAME>MWPEF_exports</NAME><VALUE>None</VALUE></SETTING>
- <SETTING><NAME>MWPEF_libfolder</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWPEF_sortcode</NAME><VALUE>None</VALUE></SETTING>
- <SETTING><NAME>MWPEF_expandbss</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWPEF_sharedata</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWPEF_olddefversion</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWPEF_oldimpversion</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWPEF_currentversion</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWPEF_fragmentname</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>MWPEF_collapsereloads</NAME><VALUE>0</VALUE></SETTING>
-
- <!-- Settings for "PPC Project" panel -->
- <SETTING><NAME>MWProject_PPC_type</NAME><VALUE>Application</VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_outfile</NAME><VALUE>richedit Carbon Debug</VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_filecreator</NAME><VALUE>1061109567</VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_filetype</NAME><VALUE>1095782476</VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_size</NAME><VALUE>3840</VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_minsize</NAME><VALUE>3840</VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_stacksize</NAME><VALUE>64</VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_flags</NAME><VALUE>22720</VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_symfilename</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_rsrcname</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_rsrcheader</NAME><VALUE>Native</VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_rsrctype</NAME><VALUE>1061109567</VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_rsrcid</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_rsrcflags</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_rsrcstore</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_rsrcmerge</NAME><VALUE>0</VALUE></SETTING>
-
- <!-- Settings for "PPCAsm Panel" panel -->
- <SETTING><NAME>MWAssembler_PPC_auxheader</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWAssembler_PPC_symmode</NAME><VALUE>Mac</VALUE></SETTING>
- <SETTING><NAME>MWAssembler_PPC_dialect</NAME><VALUE>PPC</VALUE></SETTING>
- <SETTING><NAME>MWAssembler_PPC_prefixfile</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>MWAssembler_PPC_typecheck</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWAssembler_PPC_warnings</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWAssembler_PPC_casesensitive</NAME><VALUE>0</VALUE></SETTING>
-
- <!-- Settings for "Rez Compiler" panel -->
- <SETTING><NAME>MWRez_Language_maxwidth</NAME><VALUE>80</VALUE></SETTING>
- <SETTING><NAME>MWRez_Language_script</NAME><VALUE>Roman</VALUE></SETTING>
- <SETTING><NAME>MWRez_Language_alignment</NAME><VALUE>Align1</VALUE></SETTING>
- <SETTING><NAME>MWRez_Language_filtermode</NAME><VALUE>FilterSkip</VALUE></SETTING>
- <SETTING><NAME>MWRez_Language_suppresswarnings</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWRez_Language_escapecontrolchars</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWRez_Language_prefixname</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>MWRez_Language_filteredtypes</NAME><VALUE>'CODE' 'DATA' 'PICT'</VALUE></SETTING>
- </SETTINGLIST>
- <FILELIST>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>MSL C++.PPC.Lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>console.stubs.c</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Text</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>MSL RuntimePPC.Lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>wx_CARBON_d.lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>MSL C.CARBON.Lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>wx_CARBON.rsrc</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Resource</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>tiffd.lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>jpeg.lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>png.lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>zlib.lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>kbList.cpp</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Text</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>wxLayout.cpp</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Text</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>wxllist.cpp</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Text</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>wxlparser.cpp</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Text</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>CarbonLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>CarbonFrameworkLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- </FILELIST>
- <LINKORDER>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>MSL C++.PPC.Lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>console.stubs.c</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>MSL RuntimePPC.Lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>wx_CARBON_d.lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>MSL C.CARBON.Lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>wx_CARBON.rsrc</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>tiffd.lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>jpeg.lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>png.lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>zlib.lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>kbList.cpp</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>wxLayout.cpp</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>wxllist.cpp</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>wxlparser.cpp</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>CarbonLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>CarbonFrameworkLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- </LINKORDER>
- </TARGET>
- <TARGET>
- <NAME>Carbon Release</NAME>
- <SETTINGLIST>
-
- <!-- Settings for "Source Trees" panel -->
- <SETTING><NAME>UserSourceTrees</NAME><VALUE></VALUE></SETTING>
-
- <!-- Settings for "Custom Keywords" panel -->
- <SETTING><NAME>CustomColor1</NAME>
- <SETTING><NAME>Red</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>Green</NAME><VALUE>32767</VALUE></SETTING>
- <SETTING><NAME>Blue</NAME><VALUE>0</VALUE></SETTING>
- </SETTING>
- <SETTING><NAME>CustomColor2</NAME>
- <SETTING><NAME>Red</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>Green</NAME><VALUE>32767</VALUE></SETTING>
- <SETTING><NAME>Blue</NAME><VALUE>0</VALUE></SETTING>
- </SETTING>
- <SETTING><NAME>CustomColor3</NAME>
- <SETTING><NAME>Red</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>Green</NAME><VALUE>32767</VALUE></SETTING>
- <SETTING><NAME>Blue</NAME><VALUE>0</VALUE></SETTING>
- </SETTING>
- <SETTING><NAME>CustomColor4</NAME>
- <SETTING><NAME>Red</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>Green</NAME><VALUE>32767</VALUE></SETTING>
- <SETTING><NAME>Blue</NAME><VALUE>0</VALUE></SETTING>
- </SETTING>
-
- <!-- Settings for "Access Paths" panel -->
- <SETTING><NAME>AlwaysSearchUserPaths</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>InterpretDOSAndUnixPaths</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>UserSearchPaths</NAME>
- <SETTING>
- <SETTING><NAME>SearchPath</NAME>
- <SETTING><NAME>Path</NAME><VALUE>:</VALUE></SETTING>
- <SETTING><NAME>PathFormat</NAME><VALUE>MacOS</VALUE></SETTING>
- <SETTING><NAME>PathRoot</NAME><VALUE>Project</VALUE></SETTING>
- </SETTING>
- <SETTING><NAME>Recursive</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>HostFlags</NAME><VALUE>All</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>SearchPath</NAME>
- <SETTING><NAME>Path</NAME><VALUE>:::include:</VALUE></SETTING>
- <SETTING><NAME>PathFormat</NAME><VALUE>MacOS</VALUE></SETTING>
- <SETTING><NAME>PathRoot</NAME><VALUE>Project</VALUE></SETTING>
- </SETTING>
- <SETTING><NAME>Recursive</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>HostFlags</NAME><VALUE>All</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>SearchPath</NAME>
- <SETTING><NAME>Path</NAME><VALUE>:::lib:</VALUE></SETTING>
- <SETTING><NAME>PathFormat</NAME><VALUE>MacOS</VALUE></SETTING>
- <SETTING><NAME>PathRoot</NAME><VALUE>Project</VALUE></SETTING>
- </SETTING>
- <SETTING><NAME>Recursive</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>HostFlags</NAME><VALUE>All</VALUE></SETTING>
- </SETTING>
- </SETTING>
- <SETTING><NAME>SystemSearchPaths</NAME>
- <SETTING>
- <SETTING><NAME>SearchPath</NAME>
- <SETTING><NAME>Path</NAME><VALUE>MSL</VALUE></SETTING>
- <SETTING><NAME>PathFormat</NAME><VALUE>Windows</VALUE></SETTING>
- <SETTING><NAME>PathRoot</NAME><VALUE>CodeWarrior</VALUE></SETTING>
- </SETTING>
- <SETTING><NAME>Recursive</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>HostFlags</NAME><VALUE>All</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>SearchPath</NAME>
- <SETTING><NAME>Path</NAME><VALUE>:MacOS Support:</VALUE></SETTING>
- <SETTING><NAME>PathFormat</NAME><VALUE>MacOS</VALUE></SETTING>
- <SETTING><NAME>PathRoot</NAME><VALUE>CodeWarrior</VALUE></SETTING>
- </SETTING>
- <SETTING><NAME>Recursive</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>HostFlags</NAME><VALUE>All</VALUE></SETTING>
- </SETTING>
- </SETTING>
-
- <!-- Settings for "Target Settings" panel -->
- <SETTING><NAME>Linker</NAME><VALUE>MacOS PPC Linker</VALUE></SETTING>
- <SETTING><NAME>PreLinker</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>PostLinker</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Targetname</NAME><VALUE>Carbon Release</VALUE></SETTING>
- <SETTING><NAME>OutputDirectory</NAME>
- <SETTING><NAME>Path</NAME><VALUE>:</VALUE></SETTING>
- <SETTING><NAME>PathFormat</NAME><VALUE>MacOS</VALUE></SETTING>
- <SETTING><NAME>PathRoot</NAME><VALUE>Project</VALUE></SETTING>
- </SETTING>
- <SETTING><NAME>SaveEntriesUsingRelativePaths</NAME><VALUE>false</VALUE></SETTING>
-
- <!-- Settings for "File Mappings" panel -->
- <SETTING><NAME>FileMappings</NAME>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>APPL</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>Appl</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>MMLB</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>Lib Import PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>MPLF</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>Lib Import PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>MWCD</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>RSRC</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.c</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.c++</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.cc</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.cp</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.cpp</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.exp</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.h</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>true</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.pch</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.pch++</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.r</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>Rez</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>XCOF</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>XCOFF Import PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>docu</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>rsrc</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>shlb</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>PEF Import PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileType</NAME><VALUE>stub</VALUE></SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>PEF Import PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.doc</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>true</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.o</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE>XCOFF Import PPC</VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.ppob</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- <SETTING>
- <SETTING><NAME>FileExtension</NAME><VALUE>.rsrc</VALUE></SETTING>
- <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>ResourceFile</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
- </SETTING>
- </SETTING>
-
- <!-- Settings for "Build Extras" panel -->
- <SETTING><NAME>CacheModDates</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>ActivateBrowser</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>DumpBrowserInfo</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>CacheSubprojects</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>UseThirdPartyDebugger</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>DebuggerCommandLine</NAME><VALUE></VALUE></SETTING>
- <PANELDATA><NAME>Debugger Runtime</NAME><VALUE>
- 0002000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 00000000000000000000000000000000
- </VALUE></PANELDATA>
-
- <!-- Settings for "Debugger Target" panel -->
- <SETTING><NAME>LogSystemMessages</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>AutoTargetDLLs</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>StopAtWatchpoints</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>PauseWhileRunning</NAME><VALUE>false</VALUE></SETTING>
- <SETTING><NAME>PauseInterval</NAME><VALUE>5</VALUE></SETTING>
- <SETTING><NAME>PauseUIFlags</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>AltExePath</NAME>
- <SETTING><NAME>Path</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>PathFormat</NAME><VALUE>Generic</VALUE></SETTING>
- <SETTING><NAME>PathRoot</NAME><VALUE>Absolute</VALUE></SETTING>
- </SETTING>
- <SETTING><NAME>StopAtTempBPOnLaunch</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>CacheSymbolics</NAME><VALUE>true</VALUE></SETTING>
- <SETTING><NAME>TempBPFunctionName</NAME><VALUE>main</VALUE></SETTING>
- <SETTING><NAME>TempBPType</NAME><VALUE>false</VALUE></SETTING>
-
- <!-- Settings for "C/C++ Compiler" panel -->
- <SETTING><NAME>MWFrontEnd_C_cplusplus</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_checkprotos</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_arm</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_trigraphs</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_onlystdkeywords</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_enumsalwaysint</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_mpwpointerstyle</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_prefixname</NAME><VALUE>/wx/wx_cwc.h</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_ansistrict</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_mpwcnewline</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_wchar_type</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_enableexceptions</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_dontreusestrings</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_poolstrings</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_dontinline</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_useRTTI</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_multibyteaware</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_unsignedchars</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_autoinline</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_booltruefalse</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_direct_to_som</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_som_env_check</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_alwaysinline</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_inlinelevel</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_ecplusplus</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_objective_c</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_defer_codegen</NAME><VALUE>0</VALUE></SETTING>
-
- <!-- Settings for "C/C++ Warnings" panel -->
- <SETTING><NAME>MWWarning_C_warn_illpragma</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWWarning_C_warn_emptydecl</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWWarning_C_warn_possunwant</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWWarning_C_warn_unusedvar</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWWarning_C_warn_unusedarg</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWWarning_C_warn_extracomma</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWWarning_C_pedantic</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWWarning_C_warningerrors</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWWarning_C_warn_hidevirtual</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWWarning_C_warn_implicitconv</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWWarning_C_warn_notinlined</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWWarning_C_warn_structclass</NAME><VALUE>0</VALUE></SETTING>
-
- <!-- Settings for "MacOS Merge Panel" panel -->
- <SETTING><NAME>MWMerge_MacOS_projectType</NAME><VALUE>Application</VALUE></SETTING>
- <SETTING><NAME>MWMerge_MacOS_outputName</NAME><VALUE>Merge Out</VALUE></SETTING>
- <SETTING><NAME>MWMerge_MacOS_outputCreator</NAME><VALUE>1061109567</VALUE></SETTING>
- <SETTING><NAME>MWMerge_MacOS_outputType</NAME><VALUE>1095782476</VALUE></SETTING>
- <SETTING><NAME>MWMerge_MacOS_suppressWarning</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWMerge_MacOS_copyFragments</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWMerge_MacOS_copyResources</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWMerge_MacOS_skipResources</NAME>
- <SETTING><VALUE></VALUE></SETTING>
- <SETTING><VALUE>\b\95,\90</VALUE></SETTING>
- <SETTING><VALUE> =ÃH</VALUE></SETTING>
- <SETTING><VALUE> =Ø:</VALUE></SETTING>
- </SETTING>
-
- <!-- Settings for "PPC CodeGen" panel -->
- <SETTING><NAME>MWCodeGen_PPC_structalignment</NAME><VALUE>PPC</VALUE></SETTING>
- <SETTING><NAME>MWCodeGen_PPC_tracebacktables</NAME><VALUE>None</VALUE></SETTING>
- <SETTING><NAME>MWCodeGen_PPC_processor</NAME><VALUE>Generic</VALUE></SETTING>
- <SETTING><NAME>MWCodeGen_PPC_readonlystrings</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWCodeGen_PPC_tocdata</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWCodeGen_PPC_profiler</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWCodeGen_PPC_fpcontract</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWCodeGen_PPC_schedule</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWCodeGen_PPC_peephole</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWCodeGen_PPC_processorspecific</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWCodeGen_PPC_altivec</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWCodeGen_PPC_vectortocdata</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWCodeGen_PPC_vrsave</NAME><VALUE>0</VALUE></SETTING>
-
- <!-- Settings for "PPC Disassembler" panel -->
- <SETTING><NAME>MWDisassembler_PPC_showcode</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWDisassembler_PPC_extended</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWDisassembler_PPC_mix</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWDisassembler_PPC_nohex</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWDisassembler_PPC_showdata</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWDisassembler_PPC_showexceptions</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWDisassembler_PPC_showsym</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWDisassembler_PPC_shownames</NAME><VALUE>1</VALUE></SETTING>
-
- <!-- Settings for "PPC Global Optimizer" panel -->
- <SETTING><NAME>GlobalOptimizer_PPC_optimizationlevel</NAME><VALUE>Level0</VALUE></SETTING>
- <SETTING><NAME>GlobalOptimizer_PPC_optfor</NAME><VALUE>Speed</VALUE></SETTING>
-
- <!-- Settings for "PPC Linker" panel -->
- <SETTING><NAME>MWLinker_PPC_linksym</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWLinker_PPC_symfullpath</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWLinker_PPC_linkmap</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWLinker_PPC_nolinkwarnings</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWLinker_PPC_dontdeadstripinitcode</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWLinker_PPC_permitmultdefs</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWLinker_PPC_linkmode</NAME><VALUE>Fast</VALUE></SETTING>
- <SETTING><NAME>MWLinker_PPC_initname</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>MWLinker_PPC_mainname</NAME><VALUE>__start</VALUE></SETTING>
- <SETTING><NAME>MWLinker_PPC_termname</NAME><VALUE></VALUE></SETTING>
- <PANELDATA><NAME>PPC Mach-O CodeGen</NAME><VALUE>
- 0001000001010000010000000001010101000000
- </VALUE></PANELDATA>
- <PANELDATA><NAME>PPC Mach-O Linker</NAME><VALUE>
- 0001000000000100000100000000000000000000000000000000000000007374
- 6172740000000000000000000000000000000000000000000000000000000000
- 000000000000000000000000000000000000000000000000000000000000
- </VALUE></PANELDATA>
- <PANELDATA><NAME>PPC Mach-O Target</NAME><VALUE>
- 0001000005612E6F757400000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 000000003F3F3F3F4D41504C0000004000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000
- 00000000
- </VALUE></PANELDATA>
-
- <!-- Settings for "PPC PEF" panel -->
- <SETTING><NAME>MWPEF_exports</NAME><VALUE>None</VALUE></SETTING>
- <SETTING><NAME>MWPEF_libfolder</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWPEF_sortcode</NAME><VALUE>None</VALUE></SETTING>
- <SETTING><NAME>MWPEF_expandbss</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWPEF_sharedata</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWPEF_olddefversion</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWPEF_oldimpversion</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWPEF_currentversion</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWPEF_fragmentname</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>MWPEF_collapsereloads</NAME><VALUE>0</VALUE></SETTING>
-
- <!-- Settings for "PPC Project" panel -->
- <SETTING><NAME>MWProject_PPC_type</NAME><VALUE>Application</VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_outfile</NAME><VALUE>richedit Carbon Release</VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_filecreator</NAME><VALUE>1061109567</VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_filetype</NAME><VALUE>1095782476</VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_size</NAME><VALUE>3840</VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_minsize</NAME><VALUE>3840</VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_stacksize</NAME><VALUE>64</VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_flags</NAME><VALUE>22720</VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_symfilename</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_rsrcname</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_rsrcheader</NAME><VALUE>Native</VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_rsrctype</NAME><VALUE>1061109567</VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_rsrcid</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_rsrcflags</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_rsrcstore</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWProject_PPC_rsrcmerge</NAME><VALUE>0</VALUE></SETTING>
-
- <!-- Settings for "PPCAsm Panel" panel -->
- <SETTING><NAME>MWAssembler_PPC_auxheader</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWAssembler_PPC_symmode</NAME><VALUE>Mac</VALUE></SETTING>
- <SETTING><NAME>MWAssembler_PPC_dialect</NAME><VALUE>PPC</VALUE></SETTING>
- <SETTING><NAME>MWAssembler_PPC_prefixfile</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>MWAssembler_PPC_typecheck</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWAssembler_PPC_warnings</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWAssembler_PPC_casesensitive</NAME><VALUE>0</VALUE></SETTING>
-
- <!-- Settings for "Rez Compiler" panel -->
- <SETTING><NAME>MWRez_Language_maxwidth</NAME><VALUE>80</VALUE></SETTING>
- <SETTING><NAME>MWRez_Language_script</NAME><VALUE>Roman</VALUE></SETTING>
- <SETTING><NAME>MWRez_Language_alignment</NAME><VALUE>Align1</VALUE></SETTING>
- <SETTING><NAME>MWRez_Language_filtermode</NAME><VALUE>FilterSkip</VALUE></SETTING>
- <SETTING><NAME>MWRez_Language_suppresswarnings</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWRez_Language_escapecontrolchars</NAME><VALUE>1</VALUE></SETTING>
- <SETTING><NAME>MWRez_Language_prefixname</NAME><VALUE></VALUE></SETTING>
- <SETTING><NAME>MWRez_Language_filteredtypes</NAME><VALUE>'CODE' 'DATA' 'PICT'</VALUE></SETTING>
- </SETTINGLIST>
- <FILELIST>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>MSL C++.PPC.Lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>console.stubs.c</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Text</FILEKIND>
- <FILEFLAGS></FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>MSL RuntimePPC.Lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS>Debug</FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>MSL C.CARBON.Lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS></FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>wx_CARBON.lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS></FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>wx_CARBON.rsrc</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Resource</FILEKIND>
- <FILEFLAGS></FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>tiff.lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS></FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>jpeg.lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS></FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>kbList.cpp</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Text</FILEKIND>
- <FILEFLAGS></FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>wxLayout.cpp</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Text</FILEKIND>
- <FILEFLAGS></FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>wxllist.cpp</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Text</FILEKIND>
- <FILEFLAGS></FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>wxlparser.cpp</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Text</FILEKIND>
- <FILEFLAGS></FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>zlib.lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS></FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>png.lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS></FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>CarbonLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS></FILEFLAGS>
- </FILE>
- <FILE>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>CarbonFrameworkLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- <FILEKIND>Library</FILEKIND>
- <FILEFLAGS></FILEFLAGS>
- </FILE>
- </FILELIST>
- <LINKORDER>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>MSL C++.PPC.Lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>console.stubs.c</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>MSL RuntimePPC.Lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>MSL C.CARBON.Lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>wx_CARBON.lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>wx_CARBON.rsrc</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>tiff.lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>jpeg.lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>kbList.cpp</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>wxLayout.cpp</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>wxllist.cpp</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>wxlparser.cpp</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>zlib.lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>png.lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>CarbonLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>CarbonFrameworkLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- </LINKORDER>
- </TARGET>
- </TARGETLIST>
-
- <TARGETORDER>
- <ORDEREDTARGET><NAME>Classic Release</NAME></ORDEREDTARGET>
- <ORDEREDTARGET><NAME>Classic Debug</NAME></ORDEREDTARGET>
- <ORDEREDTARGET><NAME>Carbon Debug</NAME></ORDEREDTARGET>
- <ORDEREDTARGET><NAME>Carbon Release</NAME></ORDEREDTARGET>
- </TARGETORDER>
-
- <GROUPLIST>
- <FILEREF>
- <TARGETNAME>Classic Release</TARGETNAME>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>kbList.cpp</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <TARGETNAME>Classic Release</TARGETNAME>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>wxLayout.cpp</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <TARGETNAME>Classic Release</TARGETNAME>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>wxllist.cpp</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <TARGETNAME>Classic Release</TARGETNAME>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>wxlparser.cpp</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <GROUP><NAME>wx</NAME>
- <FILEREF>
- <TARGETNAME>Carbon Release</TARGETNAME>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>wx_CARBON.lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <TARGETNAME>Carbon Debug</TARGETNAME>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>wx_CARBON_d.lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <TARGETNAME>Carbon Debug</TARGETNAME>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>wx_CARBON.rsrc</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <TARGETNAME>Classic Release</TARGETNAME>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>wx_PPC.lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <TARGETNAME>Classic Debug</TARGETNAME>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>wx_PPC_d.lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <TARGETNAME>Classic Release</TARGETNAME>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>wx_PPC.rsrc</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <TARGETNAME>Classic Release</TARGETNAME>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>tiff.lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <TARGETNAME>Classic Release</TARGETNAME>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>zlib.lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <TARGETNAME>Classic Release</TARGETNAME>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>png.lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <TARGETNAME>Classic Debug</TARGETNAME>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>tiffd.lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <TARGETNAME>Classic Release</TARGETNAME>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>jpeg.lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- </GROUP>
- <GROUP><NAME>MSL ANSI Libraries</NAME>
- <FILEREF>
- <TARGETNAME>Classic Release</TARGETNAME>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>console.stubs.c</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <TARGETNAME>Classic Release</TARGETNAME>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>MSL RuntimePPC.Lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <TARGETNAME>Classic Release</TARGETNAME>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>MSL C++.PPC.Lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <TARGETNAME>Classic Release</TARGETNAME>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>MSL C.PPC.Lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <TARGETNAME>Carbon Debug</TARGETNAME>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>MSL C.CARBON.Lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- </GROUP>
- <GROUP><NAME>Win32 SDK</NAME>
- </GROUP>
- <GROUP><NAME>MacOS</NAME>
- <GROUP><NAME>Carbon</NAME>
- <FILEREF>
- <TARGETNAME>Carbon Debug</TARGETNAME>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>CarbonLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <TARGETNAME>Carbon Debug</TARGETNAME>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>CarbonFrameworkLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- </GROUP>
- <GROUP><NAME>Classic</NAME>
- <FILEREF>
- <TARGETNAME>Classic Release</TARGETNAME>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>AppearanceLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <TARGETNAME>Classic Release</TARGETNAME>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>ATSUnicodeLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <TARGETNAME>Classic Release</TARGETNAME>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>CarbonAccessors.o</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <TARGETNAME>Classic Release</TARGETNAME>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>ControlsLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <TARGETNAME>Classic Release</TARGETNAME>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>CursorDevicesGlue.o</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <TARGETNAME>Classic Release</TARGETNAME>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>DialogsLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <TARGETNAME>Classic Release</TARGETNAME>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>DragLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <TARGETNAME>Classic Release</TARGETNAME>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>InterfaceLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <TARGETNAME>Classic Release</TARGETNAME>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>InternetConfigLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <TARGETNAME>Classic Release</TARGETNAME>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>WindowsLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <TARGETNAME>Classic Release</TARGETNAME>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>MathLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <TARGETNAME>Classic Release</TARGETNAME>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>MenusLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <TARGETNAME>Classic Release</TARGETNAME>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>NavigationLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <TARGETNAME>Classic Release</TARGETNAME>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>OpenTptAppleTalkLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <TARGETNAME>Classic Release</TARGETNAME>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>OpenTptATalkPPC.o</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <TARGETNAME>Classic Release</TARGETNAME>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>OpenTptInetPPC.o</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <TARGETNAME>Classic Release</TARGETNAME>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>OpenTptInternetLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <TARGETNAME>Classic Release</TARGETNAME>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>OpenTransportLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <TARGETNAME>Classic Release</TARGETNAME>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>OpenTransportAppPPC.o</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <TARGETNAME>Classic Release</TARGETNAME>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>PLStringFuncsPPC.lib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <TARGETNAME>Classic Release</TARGETNAME>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>TextEncodingConverter</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <TARGETNAME>Classic Release</TARGETNAME>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>Textension</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <TARGETNAME>Classic Release</TARGETNAME>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>ThreadsLib</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- <FILEREF>
- <TARGETNAME>Classic Release</TARGETNAME>
- <PATHTYPE>Name</PATHTYPE>
- <PATH>UnicodeConverter</PATH>
- <PATHFORMAT>MacOS</PATHFORMAT>
- </FILEREF>
- </GROUP>
- </GROUP>
- </GROUPLIST>
-
-</PROJECT>
+++ /dev/null
-/*
- * Program: wxLayout
- *
- * Author: Karsten Ballüder
- *
- * Copyright: (C) 1998, Karsten Ballüder <Ballueder@usa.net>
- *
- */
-
-#include "wx/wxprec.h"
-#ifdef __BORLANDC__
-# pragma hdrstop
-#endif
-
-#include "wxLayout.h"
-#include "wx/textfile.h"
-#include "wx/image.h"
-
-#if wxUSE_IOSTREAMH
- #include <iostream.h>
-#else
- #include <iostream>
-#endif
-
-#include "wx/wfstream.h"
-#include "wx/txtstrm.h"
-
-#include "Micon.xpm"
-
-
-//-----------------------------------------------------------------------------
-// main program
-//-----------------------------------------------------------------------------
-
-IMPLEMENT_APP(MyApp)
-
-//-----------------------------------------------------------------------------
-// MyFrame
-//-----------------------------------------------------------------------------
-
-enum ids
-{
- ID_ADD_SAMPLE = 1, ID_CLEAR, ID_PRINT,
- ID_PRINT_SETUP, ID_PAGE_SETUP, ID_PREVIEW, ID_PRINT_PS,
- ID_PRINT_SETUP_PS, ID_PAGE_SETUP_PS,ID_PREVIEW_PS,
- ID_WRAP, ID_NOWRAP, ID_PASTE, ID_COPY, ID_CUT,
- ID_COPY_PRIMARY, ID_PASTE_PRIMARY,
- ID_FIND,
- ID_WXLAYOUT_DEBUG, ID_QUIT, ID_CLICK, ID_HTML, ID_TEXT,
- ID_TEST, ID_LINEBREAKS_TEST, ID_LONG_TEST, ID_URL_TEST
-};
-
-
-IMPLEMENT_DYNAMIC_CLASS( MyFrame, wxFrame )
-
-BEGIN_EVENT_TABLE(MyFrame,wxFrame)
- EVT_MENU(ID_PRINT, MyFrame::OnPrint)
- EVT_MENU(ID_PREVIEW, MyFrame::OnPrintPreview)
- EVT_MENU(ID_PRINT_SETUP, MyFrame::OnPrintSetup)
- EVT_MENU(ID_PAGE_SETUP, MyFrame::OnPageSetup)
- EVT_MENU(ID_PRINT_PS, MyFrame::OnPrintPS)
- EVT_MENU(ID_PREVIEW_PS, MyFrame::OnPrintPreviewPS)
- EVT_MENU(ID_PRINT_SETUP_PS, MyFrame::OnPrintSetupPS)
- EVT_MENU(ID_PAGE_SETUP_PS, MyFrame::OnPageSetupPS)
- EVT_MENU (wxID_ANY, MyFrame::OnCommand)
- EVT_COMMAND (wxID_ANY,wxID_ANY, MyFrame::OnCommand)
- EVT_CHAR ( wxLayoutWindow::OnChar )
-END_EVENT_TABLE()
-
-
-MyFrame::MyFrame() :
- wxFrame( (wxFrame *) NULL, wxID_ANY, _T("wxLayout"),
- wxDefaultPosition, wxDefaultSize )
-{
-#if wxUSE_STATUSBAR
- CreateStatusBar( 2 );
- SetStatusText( _T("wxLayout by Karsten Ballueder.") );
-#endif // wxUSE_STATUSBAR
-
- wxMenuBar *menu_bar = new wxMenuBar();
-
- wxMenu *file_menu = new wxMenu;
- file_menu->Append(ID_PRINT, _T("&Print..."), _T("Print"));
- file_menu->Append(ID_PRINT_SETUP, _T("Print &Setup..."),_T("Setup printer properties"));
- file_menu->Append(ID_PAGE_SETUP, _T("Page Set&up..."), _T("Page setup"));
- file_menu->Append(ID_PREVIEW, _T("Print Pre&view"), _T("Preview"));
-#ifdef __WXMSW__
- file_menu->AppendSeparator();
- file_menu->Append(ID_PRINT_PS, _T("Print PostScript..."), _T("Print (PostScript)"));
- file_menu->Append(ID_PRINT_SETUP_PS, _T("Print Setup PostScript..."), _T("Setup printer properties (PostScript)"));
- file_menu->Append(ID_PAGE_SETUP_PS, _T("Page Setup PostScript..."), _T("Page setup (PostScript)"));
- file_menu->Append(ID_PREVIEW_PS, _T("Print Preview PostScript"), _T("Preview (PostScript)"));
-#endif
- file_menu->AppendSeparator();
- file_menu->Append( ID_TEXT, _T("Export &Text"));
- file_menu->Append( ID_HTML, _T("Export &HTML"));
- file_menu->Append( ID_QUIT, _T("E&xit"));
- menu_bar->Append(file_menu, _T("&File"));
-
- wxMenu *edit_menu = new wxMenu;
- edit_menu->Append( ID_CLEAR, _T("C&lear"));
- edit_menu->Append( ID_ADD_SAMPLE, _T("&Example"));
- edit_menu->Append( ID_LONG_TEST, _T("Add &many lines"));
- edit_menu->AppendSeparator();
- edit_menu->Append( ID_LINEBREAKS_TEST, _T("Add &several lines"));
- edit_menu->Append( ID_URL_TEST, _T("Insert an &URL"));
- edit_menu->AppendSeparator();
- edit_menu->Append(ID_WRAP, _T("&Wrap mode"), _T("Activate wrapping at pixel 200."));
- edit_menu->Append(ID_NOWRAP, _T("&No-wrap mode"), _T("Deactivate wrapping."));
- edit_menu->AppendSeparator();
- edit_menu->Append(ID_COPY, _T("&Copy"), _T("Copy text to clipboard."));
- edit_menu->Append(ID_CUT, _T("Cu&t"), _T("Cut text to clipboard."));
- edit_menu->Append(ID_PASTE,_T("&Paste"), _T("Paste text from clipboard."));
-#ifdef __WXGTK__
- edit_menu->Append(ID_COPY_PRIMARY, _T("C&opy primary"), _T("Copy text to primary selecton."));
- edit_menu->Append(ID_PASTE_PRIMARY, _T("&Paste primary"), _T("Paste text from primary selection."));
-#endif
- edit_menu->Append(ID_FIND, _T("&Find"), _T("Find text."));
- menu_bar->Append(edit_menu, _T("&Edit") );
-
-#ifndef __WXMSW__
- menu_bar->Show(true);
-#endif // MSW
-
- SetMenuBar( menu_bar );
-
- m_lwin = new wxLayoutWindow(this);
-#if wxUSE_STATUSBAR
- m_lwin->SetStatusBar(GetStatusBar(), 0, 1);
-#endif // wxUSE_STATUSBAR
- m_lwin->SetMouseTracking(true);
- m_lwin->SetEditable(true);
- m_lwin->SetWrapMargin(40);
- m_lwin->SetFocus();
-
- // JACS: under MSW, the window doesn't show the caret initially,
- // and the following line I added doesn't help either.
- // going to another window and then back again fixes it.
- // m_lwin->OnSetFocus(wxFocusEvent());
-
- Clear();
-
-#if 0
- // create and set the background bitmap (this will result in a lattice)
- static const int sizeBmp = 10;
- wxBitmap *bitmap = new wxBitmap(sizeBmp, sizeBmp);
- wxMemoryDC dcMem;
- dcMem.SelectObject( *bitmap );
- dcMem.SetBackground( *wxWHITE_BRUSH );
- dcMem.Clear();
-
- dcMem.SetPen( *wxGREEN_PEN );
- dcMem.DrawLine(sizeBmp/2, 0, sizeBmp/2, sizeBmp);
- dcMem.DrawLine(0, sizeBmp/2, sizeBmp, sizeBmp/2);
-
- dcMem.SelectObject( wxNullBitmap );
-
- m_lwin->SetBackgroundBitmap(bitmap);
-#endif // 0
-};
-
-void MyFrame::AddSampleText(wxLayoutList *llist)
-{
- llist->Clear(wxSWISS,16,wxNORMAL,wxNORMAL, false);
- llist->SetFont(-1,-1,-1,-1,-1,_T("blue"));
- llist->Insert(_T("blue"));
- llist->LineBreak();
-
- llist->SetFont(-1,-1,-1,-1,-1,_T("black"));
- llist->Insert(_T("The quick brown fox jumps over the lazy dog."));
- llist->LineBreak();
-
- llist->SetFont(wxROMAN,16,wxNORMAL,wxNORMAL, false);
- llist->Insert(_T("--"));
- llist->LineBreak();
-
- llist->SetFont(wxROMAN);
- llist->Insert(_T("The quick brown fox jumps over the lazy dog."));
- llist->LineBreak();
-
- llist->Insert(_T("Hello "));
- wxBitmap *icon = new wxBitmap (wxIcon(Micon_xpm));
-
- llist->Insert(new wxLayoutObjectIcon(icon));
- llist->SetFontWeight(wxBOLD);
- llist->Insert(_T("World! "));
- llist->SetFontWeight(wxNORMAL);
- llist->Insert(_T("The quick brown fox jumps..."));
- llist->LineBreak();
-
- llist->Insert(_T("over the lazy dog."));
- llist->SetFont(-1,-1,-1,-1,true);
- llist->Insert(_T("underlined"));
- llist->SetFont(-1,-1,-1,-1,false);
- llist->SetFont(wxROMAN);
- llist->Insert(_T("This is "));
- llist->SetFont(-1,-1,-1,wxBOLD);
- llist->Insert(_T("BOLD "));
- llist->SetFont(-1,-1,-1,wxNORMAL);
- llist->Insert(_T("and "));
- llist->SetFont(-1,-1,wxITALIC);
- llist->Insert(_T("italics "));
- llist->SetFont(-1,-1,wxNORMAL);
- llist->LineBreak();
-
- llist->Insert(_T("and "));
- llist->SetFont(-1,-1,wxSLANT);
- llist->Insert(_T("slanted"));
- llist->SetFont(-1,-1,wxNORMAL);
- llist->Insert(_T(" text."));
- llist->LineBreak();
-
- llist->Insert(_T("and "));
- llist->SetFont(-1,-1,-1,-1,-1,_T("blue"));
- llist->Insert(_T("blue"));
- llist->SetFont(-1,-1,-1,-1,-1,_T("black"));
- llist->Insert(_T(" and "));
- llist->SetFont(-1,-1,-1,-1,-1,_T("green"),_T("black"));
- llist->Insert(_T("green on black"));
- llist->SetFont(-1,-1,-1,-1,-1,_T("black"),_T("white"));
- llist->Insert(_T(" text."));
- llist->LineBreak();
-
- llist->SetFont(-1,-1,wxSLANT);
- llist->Insert(_T("Slanted"));
- llist->SetFont(-1,-1,wxNORMAL);
- llist->Insert(_T(" and normal text and "));
- llist->SetFont(-1,-1,wxSLANT);
- llist->Insert(_T("slanted"));
- llist->SetFont(-1,-1,wxNORMAL);
- llist->Insert(_T(" again."));
- llist->LineBreak();
-
- // add some more text for testing:
- llist->Insert(_T("And here the source for the test program:"));
- llist->LineBreak();
-
- llist->SetFont(wxTELETYPE,16);
- llist->Insert(_T("And here the source for the test program:"));
- llist->LineBreak();
-
- wxTextFile file(_T("wxLayout.cpp"));
- if ( file.Open() )
- {
- for ( wxString s = file.GetFirstLine(); !file.Eof(); s = file.GetNextLine() )
- {
- wxString line;
- llist->Insert(line.Format(_T("%6u: %s"),file.GetCurrentLine()+1,s.c_str()));
- llist->LineBreak();
- }
- }
-
- llist->MoveCursorTo(wxPoint(0,0));
- m_lwin->SetDirty();
- m_lwin->Refresh();
-}
-
-void MyFrame::Clear()
-{
- wxColour colBg(0, 0, 0);
-
- m_lwin->Clear(wxROMAN,16,wxNORMAL,wxNORMAL, false, wxRED, &colBg);
-}
-
-
-void MyFrame::OnCommand( wxCommandEvent &event )
-{
- switch (event.GetId())
- {
- case ID_QUIT:
- Close(true);
- break;
- case ID_PRINT:
- {
- wxPrinter printer;
- wxLayoutPrintout printout(m_lwin->GetLayoutList(),_("M: Printout"));
- if (! printer.Print(this, &printout, true))
- {
- // Had to remove the split up strings that used to be below, and
- // put them into one long strong. Otherwise MSVC would give an
- // error "C2308: concatenating mismatched wide strings" when
- // building a Unicode version.
- wxMessageBox
- (
- _("There was a problem with printing the message:\nperhaps your current printer is not set up correctly?"),
- _("Printing"), wxOK
- );
- }
- break;
- }
-
- case ID_NOWRAP:
- case ID_WRAP:
- m_lwin->SetWrapMargin(event.GetId() == ID_NOWRAP ? 0 : 40);
- break;
- case ID_ADD_SAMPLE:
- AddSampleText(m_lwin->GetLayoutList());
- break;
- case ID_CLEAR:
- Clear();
- break;
- case ID_CLICK:
- wxLogError( _T("Received click event.") );
- break;
- case ID_PASTE:
- m_lwin->Paste(true);
- m_lwin->Refresh(false);
- break;
-#ifdef __WXGTK__
- case ID_PASTE_PRIMARY:
- // text only from primary:
- m_lwin->Paste(false, true);
- m_lwin->Refresh(false);
- break;
- case ID_COPY_PRIMARY:
- // copy text-only to primary selection:
- m_lwin->Copy(false, false, true);
- m_lwin->Refresh(false);
- break;
-#endif
- case ID_COPY:
- m_lwin->Copy(true, true, false);
- m_lwin->Refresh(false);
- break;
- case ID_CUT:
- m_lwin->Cut();
- m_lwin->Refresh(false);
- break;
-#ifdef M_BASEDIR
- case ID_FIND:
- m_lwin->Find("void");
- m_lwin->Refresh(false);
- break;
-#endif
- case ID_HTML:
- {
- wxFileDialog
- HTML_dialog( this,
- _T("Save As HTML..."),
- wxEmptyString,
- wxEmptyString,
- _T("HTML file (*.html)|*.html|Text file (*.txt)|*.txt|Any file (*)|*"),
- wxSAVE|wxOVERWRITE_PROMPT
- );
- if (HTML_dialog.ShowModal() == wxID_OK)
- {
- wxFFileOutputStream output( HTML_dialog.GetPath() );
- wxTextOutputStream textout( output );
-
- wxLayoutExportObject *export0;
- wxString object;
- wxLayoutExportStatus status(m_lwin->GetLayoutList());
- while((export0 = wxLayoutExport( &status, WXLO_EXPORT_AS_HTML)) != NULL)
- {
- if(export0->type == WXLO_EXPORT_HTML)
- object = *(export0->content.text);
- else
- ; // ignore "<!--UNKNOWN OBJECT>";
- delete export0;
- textout << object;
- }
- }
- break;
- }
-
- case ID_TEXT:
- {
- wxFileDialog
- TEXT_dialog( this,
- _T("Save As TXT..."),
- wxEmptyString,
- wxEmptyString,
- _T("Text file (*.txt)|*.txt|Any file (*)|*"),
- wxSAVE|wxOVERWRITE_PROMPT
- );
- if (TEXT_dialog.ShowModal() == wxID_OK)
- {
- wxFFileOutputStream output( TEXT_dialog.GetPath() );
- wxTextOutputStream textout( output );
-
- wxLayoutExportObject *export0;
- wxString object;
- wxLayoutExportStatus status(m_lwin->GetLayoutList());
- while((export0 = wxLayoutExport( &status, WXLO_EXPORT_AS_TEXT)) != NULL)
- {
- if(export0->type == WXLO_EXPORT_TEXT)
- object = *(export0->content.text);
- else
- object = _T("<!--UNKNOWN OBJECT>");
- delete export0;
- textout << object;
- }
- }
- break;
- }
-
- case ID_LONG_TEST:
- {
- wxString line;
- wxLayoutList *llist = m_lwin->GetLayoutList();
- for(int i = 1; i < 300; i++)
- {
- line.Printf(wxT("This is line number %d."), i);
- llist->Insert(line);
- llist->LineBreak();
- }
-
- llist->MoveCursorTo(wxPoint(0,0));
- m_lwin->SetDirty();
- m_lwin->Refresh();
- break;
- }
-
- case ID_LINEBREAKS_TEST:
- wxLayoutImportText
- (
- m_lwin->GetLayoutList(),
- wxT("This is a text\nwith embedded line\nbreaks.\n")
- );
-
- m_lwin->SetDirty();
- m_lwin->Refresh();
- break;
-
- case ID_URL_TEST:
- // VZ: this doesn't work, of course, but I think it should -
- // wxLayoutWindow should have a flag m_highlightUrls and do it itself
- // (instead of doing it manually like M does now)
- m_lwin->GetLayoutList()->Insert(_T("http://www.wxwidgets.org/"));
- m_lwin->Refresh();
- }
-};
-
-void MyFrame::OnPrint(wxCommandEvent& WXUNUSED(event))
-{
-#ifdef __WXMSW__
- wxGetApp().SetPrintMode(wxPRINT_WINDOWS);
-#else
- wxGetApp().SetPrintMode(wxPRINT_POSTSCRIPT);
-#endif
- wxPrinter printer;
- wxLayoutPrintout printout( m_lwin->GetLayoutList(), _T("Printout from wxLayout"));
- if (! printer.Print(this, &printout, true))
- wxMessageBox(
- _T("There was a problem printing.\nPerhaps your current printer is not set correctly?"),
- _T("Printing"), wxOK);
-}
-
-void MyFrame::OnPrintPS(wxCommandEvent& WXUNUSED(event))
-{
- wxGetApp().SetPrintMode(wxPRINT_POSTSCRIPT);
-
-#ifdef OS_UNIX
- wxPostScriptPrinter printer;
- wxLayoutPrintout printout( m_lwin->GetLayoutList(),"My printout");
- printer.Print(this, &printout, true);
-#endif
-}
-
-void MyFrame::OnPrintPreview(wxCommandEvent& WXUNUSED(event))
-{
-#ifdef __WXMSW__
- wxGetApp().SetPrintMode(wxPRINT_WINDOWS);
-#else
- wxGetApp().SetPrintMode(wxPRINT_POSTSCRIPT);
-#endif
- wxPrintData printData;
-
- // Pass two printout objects: for preview, and possible printing.
- wxPrintPreview *preview = new wxPrintPreview(new
- wxLayoutPrintout(
- m_lwin->GetLayoutList()), new wxLayoutPrintout( m_lwin->GetLayoutList()), & printData);
- if (!preview->Ok())
- {
- delete preview;
- wxMessageBox(_T("There was a problem previewing.\nPerhaps your current printer is not set correctly?"), _T("Previewing"), wxOK);
- return;
- }
-
- wxPreviewFrame *frame = new wxPreviewFrame(preview, this, _T("Demo Print Preview"), wxPoint(100, 100), wxSize(600, 650));
- frame->Centre(wxBOTH);
- frame->Initialize();
- frame->Show(true);
-}
-
-void MyFrame::OnPrintPreviewPS(wxCommandEvent& WXUNUSED(event))
-{
- wxGetApp().SetPrintMode(wxPRINT_POSTSCRIPT);
-
- wxPrintData printData;
-
- // Pass two printout objects: for preview, and possible printing.
- wxPrintPreview *preview = new wxPrintPreview(new wxLayoutPrintout( m_lwin->GetLayoutList()), new wxLayoutPrintout( m_lwin->GetLayoutList()), & printData);
- wxPreviewFrame *frame = new wxPreviewFrame(preview, this, _T("Demo Print Preview"), wxPoint(100, 100), wxSize(600, 650));
- frame->Centre(wxBOTH);
- frame->Initialize();
- frame->Show(true);
-}
-
-void MyFrame::OnPrintSetup(wxCommandEvent& WXUNUSED(event))
-{
-#ifdef OS_WIN
- wxGetApp().SetPrintMode(wxPRINT_WINDOWS);
-#else
- wxGetApp().SetPrintMode(wxPRINT_POSTSCRIPT);
-#endif
- wxPrintDialog printerDialog(this, & m_PrintData);
- printerDialog.ShowModal();
-}
-
-void MyFrame::OnPageSetup(wxCommandEvent& WXUNUSED(event))
-{
-#ifdef __WXMSW__
- wxGetApp().SetPrintMode(wxPRINT_WINDOWS);
-#else
- wxGetApp().SetPrintMode(wxPRINT_POSTSCRIPT);
-#endif
- wxPageSetupDialogData data;
-
-#if defined(__WXMSW__) || defined(__WXMAC__)
- wxPageSetupDialog pageSetupDialog(this, & data);
-#else
- wxGenericPageSetupDialog pageSetupDialog(this, & data);
-#endif
- pageSetupDialog.ShowModal();
-
- data = pageSetupDialog.GetPageSetupDialogData();
-}
-
-void MyFrame::OnPrintSetupPS(wxCommandEvent& WXUNUSED(event))
-{
- wxGetApp().SetPrintMode(wxPRINT_POSTSCRIPT);
-
- wxPrintData data;
-
-#if defined(__WXMSW__) || defined(__WXMAC__)
- wxPrintDialog printerDialog(this, & data);
-#else
- wxGenericPrintDialog printerDialog(this, & data);
-#endif
- printerDialog.ShowModal();
-}
-
-void MyFrame::OnPageSetupPS(wxCommandEvent& WXUNUSED(event))
-{
- wxGetApp().SetPrintMode(wxPRINT_POSTSCRIPT);
-
- wxPageSetupData data;
-#if defined(__WXMSW__) || defined(__WXMAC__)
- wxPageSetupDialog pageSetupDialog(this, & data);
-#else
- wxGenericPageSetupDialog pageSetupDialog(this, & data);
-#endif
- pageSetupDialog.ShowModal();
-}
-
-
-//-----------------------------------------------------------------------------
-// MyApp
-//-----------------------------------------------------------------------------
-
-MyApp::MyApp() :
- wxApp( )
-{
-};
-
-bool MyApp::OnInit()
-{
- wxFrame *frame = new MyFrame();
- wxInitAllImageHandlers();
- frame->Show( true );
-// wxSetAFMPath("/usr/local/src/wxWidgets/misc/afm/");
- return true;
-};
-
-
-
-
-
+++ /dev/null
-/* -*- c++ -*- */
-
-#ifndef __WXLAYOUTH__
-#define __WXLAYOUTH__
-
-#include "wx/wx.h"
-
-#include "wxllist.h"
-#include "wxlwindow.h"
-#include "wxlparser.h"
-
-//-----------------------------------------------------------------------------
-// derived classes
-//-----------------------------------------------------------------------------
-
-class MyFrame;
-class MyApp;
-
-//-----------------------------------------------------------------------------
-// MyFrame
-//-----------------------------------------------------------------------------
-
-class MyFrame: public wxFrame
-{
-
-public:
-
- MyFrame();
- void AddSampleText(wxLayoutList *llist);
- void Clear();
- void OnCommand( wxCommandEvent &event );
-
- void OnPrint(wxCommandEvent& event);
- void OnPrintPreview(wxCommandEvent& event);
- void OnPrintSetup(wxCommandEvent& event);
- void OnPageSetup(wxCommandEvent& event);
- void OnPrintPS(wxCommandEvent& event);
- void OnPrintPreviewPS(wxCommandEvent& event);
- void OnPrintSetupPS(wxCommandEvent& event);
- void OnPageSetupPS(wxCommandEvent& event);
-
-
-private:
- wxLayoutWindow *m_lwin;
- wxPrintData m_PrintData;
-
- DECLARE_DYNAMIC_CLASS(MyFrame)
-
- DECLARE_EVENT_TABLE()
-};
-
-//-----------------------------------------------------------------------------
-// MyApp
-//-----------------------------------------------------------------------------
-
-class MyApp: public wxApp
-{
-public:
-
- MyApp();
-
- virtual bool OnInit();
-
-};
-
-#endif // __WXCONVERTH__
-
+++ /dev/null
-/*-*- c++ -*-********************************************************
- * wxllist: wxLayoutList, a layout engine for text and graphics *
- * *
- * (C) 1998-2000 by Karsten Ballüder (Ballueder@gmx.net) *
- * *
- * $Id$
- *******************************************************************/
-
-/*
-
- Some docs:
-
- Layout() recalculates the objects, sizes, etc.
- Draw() just draws them with the current settings, without
- re-layout()ing them again
-
- Each line has its own wxLayoutStyleInfo structure which gets updated
- from within Layout(). Thanks to this, we don't need to re-layout all
- lines if we want to draw one, but can just use its styleinfo to set
- the right font.
-
- */
-
-#include "wx/wxprec.h"
-
-#ifdef __BORLANDC__
-# pragma hdrstop
-#endif
-
-#include "Mpch.h"
-
-#ifdef M_BASEDIR
-# include "Mcommon.h"
-# include "gui/wxllist.h"
-# include "gui/wxlparser.h"
-# define SHOW_SELECTIONS 1
-#else
-# include "wxllist.h"
-# include "wxlparser.h"
-# define SHOW_SELECTIONS 1
-#endif
-
-#ifndef USE_PCH
-#if wxUSE_IOSTREAMH
- #include <iostream.h>
-#else
- #include <iostream>
-#endif
-
-# include "wx/dc.h"
-# include "wx/dcps.h"
-# include "wx/print.h"
-# include "wx/log.h"
-# include "wx/filefn.h"
-#endif
-
-#ifdef WXLAYOUT_USE_CARET
-# include "wx/caret.h"
-#endif // WXLAYOUT_USE_CARET
-
-#include <ctype.h>
-
-
-/// This should never really get created
-#define WXLLIST_TEMPFILE _T("__wxllist.tmp")
-
-#ifdef WXLAYOUT_DEBUG
-
-# define TypeString(t) g_aTypeStrings[t]
-# define WXLO_DEBUG(x) wxLogDebug x
-
- static const wxChar *g_aTypeStrings[] =
- {
- _T("invalid"), _T("text"), _T("cmd"), _T("icon")
- };
- wxString
- wxLayoutObject::DebugDump() const
- {
- wxString str;
- str.Printf(wxT("%s"), g_aTypeStrings[GetType()]);
- return str;
- }
-#else
-# define TypeString(t) ""
-# define WXLO_DEBUG(x)
-#endif
-
-
-// FIXME under MSW, this constant is needed to make the thing properly redraw
-// itself - I don't know where the size calculation error is and I can't
-// waste time looking for it right now. Search for occurences of
-// MSW_CORRECTION to find all the places where I did it.
-#ifdef __WXMSW__
- static const int MSW_CORRECTION = 10;
-#else
- static const int MSW_CORRECTION = 0;
-#endif
-
-/// Cursors smaller than this disappear in XOR drawing mode
-#define WXLO_MINIMUM_CURSOR_WIDTH 4
-
-/// Use this character to estimate a cursor size when none is available.
-#define WXLO_CURSORCHAR _T("E")
-/** @name Helper functions */
-//@{
-/// allows me to compare to wxPoints
-bool operator <=(wxPoint const &p1, wxPoint const &p2)
-{
- return p1.y < p2.y || (p1.y == p2.y && p1.x <= p2.x);
-}
-
-/*
- The following STAY HERE until we have a working wxGTK again!!!
-*/
-#ifndef wxWANTS_CHARS
-/// allows me to compare to wxPoints
-bool operator ==(wxPoint const &p1, wxPoint const &p2)
-{
- return p1.x == p2.x && p1.y == p2.y;
-}
-
-/// allows me to compare to wxPoints
-bool operator !=(wxPoint const &p1, wxPoint const &p2)
-{
- return p1.x != p2.x || p1.y != p2.y;
-}
-
-wxPoint & operator += (wxPoint &p1, wxPoint const &p2)
-{
- p1.x += p2.x;
- p1.y += p2.y;
- return p1;
-}
-#endif // old wxGTK
-
-/// allows me to compare to wxPoints
-bool operator>(wxPoint const &p1, wxPoint const &p2)
-{
- return !(p1 <= p2);
-}
-
-/// grows a wxRect so that it includes the given point
-
-static
-void GrowRect(wxRect &r, CoordType x, CoordType y)
-{
- if(r.x > x)
- r.x = x;
- else if(r.x + r.width < x)
- r.width = x - r.x;
-
- if(r.y > y)
- r.y = y;
- else if(r.y + r.height < y)
- r.height = y - r.y;
-}
-
-#if 0
-// unused
-/// returns true if the point is in the rectangle
-static
-bool Contains(const wxRect &r, const wxPoint &p)
-{
- return r.x <= p.x && r.y <= p.y && (r.x+r.width) >= p.x && (r.y + r.height) >= p.y;
-}
-#endif
-
-
-//@}
-
-
-static
-void ReadString(wxString &to, wxString &from)
-{
- to = wxT("");
- const wxChar *cptr = from.c_str();
- while(*cptr && *cptr != wxT('\n'))
- {
- to += cptr;
- cptr++;
- }
-
- if(*cptr) cptr++;
-
- from = cptr;
-}
-
-/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
-
- wxLayoutObject
-
- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
-
-/* static */
-wxLayoutObject *
-wxLayoutObject::Read(wxString &istr)
-{
- wxString tmp;
- ReadString(tmp, istr);
- long l = WXLO_TYPE_INVALID;
- tmp.ToLong(&l);
- int type = (int) l;
-
- switch(type)
- {
- case WXLO_TYPE_TEXT:
- return wxLayoutObjectText::Read(istr);
- case WXLO_TYPE_CMD:
- return wxLayoutObjectCmd::Read(istr);
- case WXLO_TYPE_ICON:
- return wxLayoutObjectIcon::Read(istr);
- }
-
- return NULL;
-}
-
-/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
-
- wxLayoutObjectText
-
- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
-
-wxLayoutObjectText::wxLayoutObjectText(const wxString &txt)
-{
- m_Text = txt;
- m_Width = 0;
- m_Height = 0;
- m_Top = 0;
- m_Bottom = 0;
-}
-
-wxLayoutObject *
-wxLayoutObjectText::Copy()
-{
- wxLayoutObjectText *obj = new wxLayoutObjectText(m_Text);
- obj->m_Width = m_Width;
- obj->m_Height = m_Height;
- obj->m_Top = m_Top;
- obj->m_Bottom = m_Bottom;
- obj->SetUserData(m_UserData);
- return obj;
-}
-
-
-void
-wxLayoutObjectText::Write(wxString &ostr)
-{
- ostr << (int) WXLO_TYPE_TEXT << '\n'
- << m_Text << '\n';
-}
-/* static */
-wxLayoutObjectText *
-wxLayoutObjectText::Read(wxString &istr)
-{
- wxString text;
- ReadString(text, istr);
-
- return new wxLayoutObjectText(text);
-}
-
-wxPoint
-wxLayoutObjectText::GetSize(CoordType *top, CoordType *bottom) const
-{
-
- *top = m_Top; *bottom = m_Bottom;
- return wxPoint(m_Width, m_Height);
-}
-
-void
-wxLayoutObjectText::Draw(wxDC &dc, wxPoint const &coords,
- wxLayoutList *wxllist,
- CoordType begin, CoordType end)
-{
- if( end <= 0 )
- {
- // draw the whole object normally
- dc.DrawText(m_Text, coords.x, coords.y-m_Top);
- }
- else
- {
- // highlight the bit between begin and len
- CoordType
- xpos = coords.x,
- ypos = coords.y-m_Top;
- long width, height, descent;
-
- if(begin < 0) begin = 0;
- if( end > (signed)m_Text.Length() )
- end = m_Text.Length();
-
- wxString str = m_Text.Mid(0, begin);
- dc.DrawText(str, xpos, ypos);
- dc.GetTextExtent(str, &width, &height, &descent);
- xpos += width;
- wxllist->StartHighlighting(dc);
- str = m_Text.Mid(begin, end-begin);
- dc.DrawText(str, xpos, ypos);
- dc.GetTextExtent(str, &width, &height, &descent);
- xpos += width;
- wxllist->EndHighlighting(dc);
- str = m_Text.Mid(end, m_Text.Length()-end);
- dc.DrawText(str, xpos, ypos);
- }
-}
-
-CoordType
-wxLayoutObjectText::GetOffsetScreen(wxDC &dc, CoordType xpos) const
-{
- CoordType
- offs = 1,
- maxlen = m_Text.Length();
- long
- width = 0,
- height, descent = 0l;
-
- if(xpos == 0) return 0; // easy
-
- while(width < xpos && offs < maxlen)
- {
- dc.GetTextExtent(m_Text.substr(0,offs),
- &width, &height, &descent);
- offs++;
- }
- /* We have to subtract 1 to compensate for the offs++, and another
- one because we don't want to position the cursor behind the
- object what we clicked on, but before - otherwise it looks
- funny. */
- return (xpos > 2) ? offs-2 : 0;
-}
-
-void
-wxLayoutObjectText::Layout(wxDC &dc, class wxLayoutList *WXUNUSED(llist))
-{
- long descent = 0l;
-
- // now this is done in wxLayoutLine::Layout(), but this code might be
- // reenabled later - in principle, it's more efficient
-#if 0
- CoordType widthOld = m_Width,
- heightOld = m_Height;
-#endif // 0
-
-#ifdef __WXDEBUG__
- CoordType a,b,c,d,e,f;
- dc.GetTextExtent(_T("test "), &a, &b, &c);
- dc.GetTextExtent(_T("test"), &d, &e, &f);
- wxASSERT(a != d);
- wxASSERT(b == e);
- wxASSERT(c == f);
- dc.GetTextExtent(_T(" "), &d, &e, &f);
- wxASSERT(a > 0);
-#endif
- dc.GetTextExtent(m_Text, &m_Width, &m_Height, &descent);
-
-#if 0
- if ( widthOld != m_Width || heightOld != m_Height )
- {
- // as the text length changed, it must be refreshed
- wxLayoutLine *line = GetLine();
-
- wxCHECK_RET( line, "wxLayoutObjectText can't refresh itself" );
-
- // as our size changed, we need to repaint the part which was appended
- wxPoint position(line->GetPosition());
-
- // this is not the most efficient way (we repaint the whole line), but
- // it's not too slow and is *simple*
- if ( widthOld < m_Width )
- widthOld = m_Width;
- if ( heightOld < m_Height )
- heightOld = m_Height;
-
- llist->SetUpdateRect(position.x + widthOld + MSW_CORRECTION,
- position.y + heightOld + MSW_CORRECTION);
- }
-#endif // 0
-
- m_Bottom = descent;
- m_Top = m_Height - m_Bottom;
-}
-
-
-#ifdef WXLAYOUT_DEBUG
-wxString
-wxLayoutObjectText::DebugDump() const
-{
- wxString str;
- str = wxLayoutObject::DebugDump();
- wxString str2;
- str2.Printf(wxT(" `%s`"), m_Text.c_str());
- return str+str2;
-}
-#endif
-
-/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
-
- wxLayoutObjectIcon
-
- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
-
-wxLayoutObjectIcon::wxLayoutObjectIcon(wxBitmap const &icon)
-{
- if ( !icon.Ok() )
- {
- wxFAIL_MSG(wxT("invalid icon"));
-
- m_Icon = NULL;
-
- return;
- }
-
-#ifdef __WXMSW__
- // FIXME ugly, ugly, ugly - but the only way to avoid slicing
- m_Icon = icon.GetHBITMAP() ? new wxBitmap(icon)
- : new wxBitmap(wxBitmap((const wxBitmap &)icon));
-#else // !MSW
- m_Icon = new wxBitmap(icon);
-#endif // MSW/!MSW
-}
-
-
-void
-wxLayoutObjectIcon::Write(wxString &ostr)
-{
- /* Exports icon through a temporary file. */
-
- wxString file = wxGetTempFileName(_T("wxloexport"));
-
- ostr << (int) WXLO_TYPE_ICON << '\n'
- << file << '\n';
- m_Icon->SaveFile(file, WXLO_BITMAP_FORMAT);
-}
-/* static */
-wxLayoutObjectIcon *
-wxLayoutObjectIcon::Read(wxString &istr)
-{
- wxString file;
- ReadString(file, istr);
-
- if(! wxFileExists(file))
- return NULL;
- wxLayoutObjectIcon *obj = new wxLayoutObjectIcon;
-
- if(!obj->m_Icon->LoadFile(file, WXLO_BITMAP_FORMAT))
- {
- delete obj;
- return NULL;
- }
-
- return obj;
-}
-
-wxLayoutObject *
-wxLayoutObjectIcon::Copy()
-{
- wxLayoutObjectIcon *obj = new wxLayoutObjectIcon(new
- wxBitmap(*m_Icon));
- obj->SetUserData(m_UserData);
- return obj;
-}
-
-wxLayoutObjectIcon::wxLayoutObjectIcon(wxBitmap *icon)
-{
- m_Icon = icon;
- if(! m_Icon)
- m_Icon = new wxBitmap;
-}
-
-void
-wxLayoutObjectIcon::Draw(wxDC &dc, wxPoint const &coords,
- wxLayoutList *WXUNUSED(wxllist),
- CoordType WXUNUSED(begin), CoordType WXUNUSED(len) )
-{
- dc.DrawBitmap(*m_Icon, coords.x, coords.y-m_Icon->GetHeight(),
- (m_Icon->GetMask() == NULL) ? false : true);
-}
-
-void
-wxLayoutObjectIcon::Layout(wxDC & /* dc */, class wxLayoutList * )
-{
-}
-
-wxPoint
-wxLayoutObjectIcon::GetSize(CoordType *top, CoordType *bottom) const
-{
- *top = m_Icon->GetHeight();
- *bottom = 0;
- return wxPoint(m_Icon->GetWidth(), m_Icon->GetHeight());
-}
-
-
-
-/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
-
- wxLayoutObjectCmd
-
- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
-
-
-wxLayoutStyleInfo::wxLayoutStyleInfo(int ifamily,
- int isize,
- int istyle,
- int iweight,
- int iul,
- wxColour *fg,
- wxColour *bg)
-{
- family = ifamily;
- size = isize;
- style = istyle;
- weight = iweight;
- underline = iul != 0;
-
- m_fg_valid = fg != 0;
- m_bg_valid = bg != 0;
- m_fg = m_fg_valid ? *fg : *wxBLACK;
- m_bg = m_bg_valid ? *bg : *wxWHITE;
-}
-
-#define COPY_SI_(what) if(right.what != -1) what = right.what;
-
-wxLayoutStyleInfo &
-wxLayoutStyleInfo::operator=(const wxLayoutStyleInfo &right)
-{
- COPY_SI_(family);
- COPY_SI_(style);
- COPY_SI_(size);
- COPY_SI_(weight);
- COPY_SI_(underline);
- if(right.m_fg_valid) m_fg = right.m_fg;
- if(right.m_bg_valid) m_bg = right.m_bg;
- return *this;
-}
-
-wxLayoutObjectCmd::wxLayoutObjectCmd(int family, int size, int style, int
- weight, int underline,
- wxColour *fg, wxColour *bg)
-
-{
- m_StyleInfo = new wxLayoutStyleInfo(family, size,style,weight,underline,fg,bg);
-}
-
-wxLayoutObjectCmd::wxLayoutObjectCmd(const wxLayoutStyleInfo &si)
-
-{
- m_StyleInfo = new wxLayoutStyleInfo;
- *m_StyleInfo = si;
-}
-
-wxLayoutObject *
-wxLayoutObjectCmd::Copy()
-{
- wxLayoutObjectCmd *obj = new wxLayoutObjectCmd(
- m_StyleInfo->family,
- m_StyleInfo->size,
- m_StyleInfo->style,
- m_StyleInfo->weight,
- m_StyleInfo->underline,
- m_StyleInfo->m_fg_valid ?
- &m_StyleInfo->m_fg : NULL,
- m_StyleInfo->m_bg_valid ?
- &m_StyleInfo->m_bg : NULL);
- obj->SetUserData(m_UserData);
- return obj;
-}
-
-void
-wxLayoutObjectCmd::Write(wxString &ostr)
-{
- ostr << (int) WXLO_TYPE_CMD << '\n'
- << (int) m_StyleInfo->family << '\n'
- << (int) m_StyleInfo->size << '\n'
- << (int) m_StyleInfo->style << '\n'
- << (int) m_StyleInfo->weight << '\n'
- << (int) m_StyleInfo->underline << '\n'
- << (int) m_StyleInfo->m_fg_valid << '\n'
- << (int) m_StyleInfo->m_bg_valid << '\n';
- if(m_StyleInfo->m_fg_valid)
- {
- ostr << (int) m_StyleInfo->m_fg.Red() << '\n'
- << (int) m_StyleInfo->m_fg.Green() << '\n'
- << (int) m_StyleInfo->m_fg.Blue() << '\n';
- }
- if(m_StyleInfo->m_bg_valid)
- {
- ostr << (int) m_StyleInfo->m_bg.Red() << '\n'
- << (int) m_StyleInfo->m_bg.Green() << '\n'
- << (int) m_StyleInfo->m_bg.Blue() << '\n';
- }
-}
-/* static */
-wxLayoutObjectCmd *
-wxLayoutObjectCmd::Read(wxString &istr)
-{
- wxLayoutObjectCmd *obj = new wxLayoutObjectCmd;
-
- long l = 0;
- wxString tmp;
- ReadString(tmp, istr);
- tmp.ToLong(&l);
- obj->m_StyleInfo->family = (int) l;
-
-
- ReadString(tmp, istr);
- tmp.ToLong(&l);
- obj->m_StyleInfo->size = (int) l;
-
- ReadString(tmp, istr);
- tmp.ToLong(&l);
- obj->m_StyleInfo->style = (int) l;
-
- ReadString(tmp, istr);
- tmp.ToLong(&l);
- obj->m_StyleInfo->weight = (int) l;
-
- ReadString(tmp, istr);
- tmp.ToLong(&l);
- obj->m_StyleInfo->underline = (int) l;
-
- ReadString(tmp, istr);
- tmp.ToLong(&l);
- obj->m_StyleInfo->m_fg_valid = (int) l;
-
- ReadString(tmp, istr);
- tmp.ToLong(&l);
- obj->m_StyleInfo->m_bg_valid = (int) l;
-
- if(obj->m_StyleInfo->m_fg_valid)
- {
- unsigned char red, green, blue;
- ReadString(tmp, istr);
- tmp.ToLong(&l);
- red = (unsigned char) l;
-
- ReadString(tmp, istr);
- tmp.ToLong(&l);
- green = (unsigned char) l;
-
- ReadString(tmp, istr);
- tmp.ToLong(&l);
- blue = (unsigned char) l;
-
- obj->m_StyleInfo->m_fg = wxColour(red, green, blue);
- }
-
- if(obj->m_StyleInfo->m_bg_valid)
- {
- unsigned char red, green, blue;
- ReadString(tmp, istr);
- tmp.ToLong(&l);
- red = (unsigned char) l;
-
- ReadString(tmp, istr);
- tmp.ToLong(&l);
- green = (unsigned char) l;
-
- ReadString(tmp, istr);
- tmp.ToLong(&l);
- blue = (unsigned char) l;
-
- obj->m_StyleInfo->m_bg = wxColour(red, green, blue);
- }
-
- return obj;
-}
-
-
-wxLayoutObjectCmd::~wxLayoutObjectCmd()
-{
- delete m_StyleInfo;
-}
-
-wxLayoutStyleInfo *
-wxLayoutObjectCmd::GetStyle() const
-{
- return m_StyleInfo;
-}
-
-void
-wxLayoutObjectCmd::Draw(wxDC &dc, wxPoint const & WXUNUSED(coords),
- wxLayoutList *wxllist,
- CoordType WXUNUSED(begin), CoordType WXUNUSED(len))
-{
- wxASSERT(m_StyleInfo);
- wxllist->ApplyStyle(*m_StyleInfo, dc);
-}
-
-void
-wxLayoutObjectCmd::Layout(wxDC &dc, class wxLayoutList * llist)
-{
- // this get called, so that recalculation uses right font sizes
- Draw(dc, wxPoint(0,0), llist);
-}
-
-
-/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
-
- The wxLayoutLine object
-
- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
-
-wxLayoutLine::wxLayoutLine(wxLayoutLine *prev, wxLayoutList *llist)
-{
- m_Width = m_Height = 0;
- m_Length = 0;
-
- m_updateLeft = -1;
- m_Previous = prev;
- m_Next = NULL;
- MarkDirty(0);
-
- m_LineNumber = 0;
- RecalculatePosition(llist);
-
- MarkDirty();
- if(m_Previous)
- {
- m_LineNumber = m_Previous->GetLineNumber() + 1;
- m_Next = m_Previous->GetNextLine();
- m_Previous->m_Next = this;
- }
-
- if(m_Next)
- {
- m_Next->m_Previous = this;
- m_Next->ReNumber();
- }
-
- m_StyleInfo = llist->GetDefaultStyleInfo();
-
- llist->IncNumLines();
-}
-
-wxPoint
-wxLayoutLine::RecalculatePosition(wxLayoutList *llist)
-{
- wxASSERT(m_Previous || GetLineNumber() == 0);
-
- wxPoint posOld(m_Position);
-
- if(m_Previous)
- {
- m_Position = m_Previous->GetPosition();
- m_Position.y += m_Previous->GetHeight();
- }
- else
- m_Position = wxPoint(0,0);
-
- if ( m_Position != posOld )
- {
- // the whole line moved and must be repainted
- llist->SetUpdateRect(m_Position);
- llist->SetUpdateRect(m_Position.x + GetWidth() + MSW_CORRECTION,
- m_Position.y + GetHeight() + MSW_CORRECTION);
- llist->SetUpdateRect(posOld);
- llist->SetUpdateRect(posOld.x + GetWidth() + MSW_CORRECTION,
- posOld.y + GetHeight() + MSW_CORRECTION);
- }
-
- return m_Position;
-}
-
-
-wxLayoutObjectList::iterator
-wxLayoutLine::FindObject(CoordType xpos, CoordType *offset) const
-{
- wxASSERT(xpos >= 0);
- wxASSERT(offset);
- wxLayoutObjectList::iterator
- i,
- found(NULL),
- nulled(NULL);
- CoordType x = 0, len;
-
- /* We search through the objects. As we don't like returning the
- object that the cursor is behind, we just remember such an
- object in "found" so we can return it if there is really no
- further object following it. */
- for(i = m_ObjectList.begin(); i != nulled; i++)
- {
- len = (**i).GetLength();
- if( x <= xpos && xpos <= x + len )
- {
- *offset = xpos-x;
- if(xpos == x + len) // is there another object behind?
- found = i;
- else // we are really inside this object
- return i;
- }
- x += (**i).GetLength();
- }
- return found; // ==NULL if really none found
-}
-
-wxLayoutObjectList::iterator
-wxLayoutLine::FindObjectScreen(wxDC &dc, wxLayoutList *llist,
- CoordType xpos, CoordType *cxpos,
- bool *found) const
-{
- wxASSERT(cxpos);
-
- llist->ApplyStyle(GetStyleInfo(), dc);
-
- wxLayoutObjectList::iterator i, nulled(NULL);
- CoordType x = 0, cx = 0, width;
-
- for(i = m_ObjectList.begin(); i != nulled; i++)
- {
- wxLayoutObject *obj = *i;
- if ( obj->GetType() == WXLO_TYPE_CMD )
- {
- // this will set the correct font for the objects which follow
- obj->Layout(dc, llist);
- }
-
- width = obj->GetWidth();
- if( x <= xpos && xpos <= x + width )
- {
- *cxpos = cx + obj->GetOffsetScreen(dc, xpos-x);
-
- if ( found )
- *found = true;
- return i;
- }
-
- x += obj->GetWidth();
- cx += obj->GetLength();
- }
-
- // behind last object:
- *cxpos = cx;
-
- if (found)
- *found = false;
- return m_ObjectList.tail();
-}
-
-/** Finds text in this line.
- @param needle the text to find
- @param xpos the position where to start the search
- @return the cursoor coord where it was found or -1
-*/
-CoordType
-wxLayoutLine::FindText(const wxString &needle, CoordType xpos) const
-{
- int cpos = 0;
- wxString const *text;
-
- for(wxLOiterator i = m_ObjectList.begin(); i != m_ObjectList.end(); i++)
- {
- if(cpos >= xpos) // search from here!
- {
- if((**i).GetType() == WXLO_TYPE_TEXT)
- {
- text = & ((wxLayoutObjectText*)(*i))->GetText();
- int relpos = text->Find(needle);
- if(relpos >= cpos-xpos) // -1 if not found
- {
- return cpos+relpos;
- }
- }
- cpos += (**i).GetLength();
- }
- }
- return -1; // not found
-}
-
-bool
-wxLayoutLine::Insert(CoordType xpos, wxLayoutObject *obj)
-{
- wxASSERT(xpos >= 0);
- wxASSERT(obj != NULL);
-
- MarkDirty(xpos);
-
- CoordType offset;
- wxLOiterator i = FindObject(xpos, &offset);
- wxLayoutObjectList::iterator nulled(NULL);
- if(i == nulled)
- {
- if(xpos == 0 ) // aha, empty line!
- {
- m_ObjectList.push_back(obj);
- m_Length += obj->GetLength();
- return true;
- }
- else
- return false;
- }
-
- CoordType len = (**i).GetLength();
- if(offset == 0 /*&& i != m_ObjectList.begin()*/) // why?
- { // insert before this object
- m_ObjectList.insert(i,obj);
- m_Length += obj->GetLength();
- return true;
- }
- if(offset == len )
- {
- if( i == m_ObjectList.tail()) // last object?
- m_ObjectList.push_back(obj);
- else
- { // insert after current object
- i++;
- m_ObjectList.insert(i,obj);
- }
- m_Length += obj->GetLength();
- return true;
- }
- /* Otherwise we need to split the current object.
- Fortunately this can only be a text object. */
- wxASSERT((**i).GetType() == WXLO_TYPE_TEXT);
- wxString left, right;
- wxLayoutObjectText *tobj = (wxLayoutObjectText *) *i;
- left = tobj->GetText().substr(0,offset);
- right = tobj->GetText().substr(offset,len-offset);
- // current text object gets set to right half
- tobj->GetText() = right; // set new text
- // before it we insert the new object
- m_ObjectList.insert(i,obj);
- m_Length += obj->GetLength();
- // and before that we insert the left half
- m_ObjectList.insert(i,new wxLayoutObjectText(left));
- return true;
-}
-
-bool
-wxLayoutLine::Insert(CoordType xpos, const wxString& text)
-{
- wxASSERT(xpos >= 0);
-
- MarkDirty(xpos);
-
- CoordType offset;
- wxLOiterator i = FindObject(xpos, &offset);
- wxLayoutObjectList::iterator nulled(NULL);
- if(i != nulled && (**i).GetType() == WXLO_TYPE_TEXT)
- {
- wxLayoutObjectText *tobj = (wxLayoutObjectText *) *i;
- tobj->GetText().insert(offset, text);
- m_Length += text.Length();
- }
- else
- {
- if ( !Insert(xpos, new wxLayoutObjectText(text)) )
- return false;
- }
-
- return true;
-}
-
-CoordType
-wxLayoutLine::Delete(CoordType xpos, CoordType npos)
-{
- CoordType offset, len;
-
- wxASSERT(xpos >= 0);
- wxASSERT(npos >= 0);
- MarkDirty(xpos);
- wxLOiterator i = FindObject(xpos, &offset);
- wxLayoutObjectList::iterator nulled(NULL);
- while(npos > 0)
- {
- if(i == nulled) return npos;
- // now delete from that object:
- if((**i).GetType() != WXLO_TYPE_TEXT)
- {
- if(offset != 0) // at end of line after a non-text object
- return npos;
- // always len == 1:
- len = (**i).GetLength();
- m_Length -= len;
- npos -= len;
- m_ObjectList.erase(i);
- }
- else
- {
- // tidy up: remove empty text objects
- if((**i).GetLength() == 0)
- {
- m_ObjectList.erase(i);
- continue;
- }
- // Text object:
- CoordType max = (**i).GetLength() - offset;
- if(npos < max) max = npos;
- if(max == 0)
- {
- if(xpos == GetLength())
- return npos;
- else
- { // at the end of an object
- // move to begin of next object:
- i++; offset = 0;
- continue; // start over
- }
- }
- npos -= max;
- m_Length -= max;
- if(offset == 0 && max == (**i).GetLength())
- m_ObjectList.erase(i); // remove the whole object
- else
- ((wxLayoutObjectText *)(*i))->GetText().Remove(offset,max);
- }
- }
-
- return npos;
-}
-
-bool
-wxLayoutLine::DeleteWord(CoordType xpos)
-{
- wxASSERT(xpos >= 0);
- CoordType offset;
- MarkDirty(xpos);
-
- wxLOiterator i = FindObject(xpos, &offset);
- wxLayoutObjectList::iterator nulled(NULL);
- for(;;)
- {
- if(i == nulled) return false;
- if((**i).GetType() != WXLO_TYPE_TEXT)
- {
- // This should only happen when at end of line, behind a non-text
- // object:
- if(offset == (**i).GetLength()) return false;
- m_Length -= (**i).GetLength(); // -1
- m_ObjectList.erase(i);
- return true; // we are done
- }
- else
- { // text object:
- if(offset == (**i).GetLength()) // at end of object
- {
- i++; offset = 0;
- continue;
- }
-
- wxLayoutObjectText *tobj = (wxLayoutObjectText *)*i;
- size_t count = 0;
- wxString str = tobj->GetText();
- str = str.substr(offset,str.Length()-offset);
- // Find out how many positions we need to delete:
- // 1. eat leading space
- while(isspace(str.c_str()[count])) count++;
- // 2. eat the word itself:
- while(isalnum(str.c_str()[count])) count++;
- // now delete it:
- wxASSERT(count+offset <= (size_t) (**i).GetLength());
- ((wxLayoutObjectText *)*i)->GetText().erase(offset,count);
- m_Length -= count;
-
- return true;
- }
- }
-
- #if 0
- wxFAIL_MSG(wxT("unreachable"));
- #endif
-}
-
-wxLayoutLine *
-wxLayoutLine::DeleteLine(bool update, wxLayoutList *llist)
-{
- // maintain linked list integrity
- if(m_Next)
- m_Next->m_Previous = m_Previous;
- if(m_Previous)
- m_Previous->m_Next = m_Next;
-
- // get the line numbers right again
- if ( update && m_Next)
- m_Next->ReNumber();
-
- MarkDirty();
-
- // we can't use m_Next after "delete this", so we must save this pointer
- // first
- wxLayoutLine *next = m_Next;
- delete this;
-
- llist->DecNumLines();
-
- return next;
-}
-
-void
-wxLayoutLine::Draw(wxDC &dc,
- wxLayoutList *llist,
- const wxPoint & offset) const
-{
- wxLayoutObjectList::iterator i, nulled(NULL);
- wxPoint pos = offset;
- pos = pos + GetPosition();
-
- pos.y += m_BaseLine;
-
- CoordType xpos = 0; // cursorpos, length of line
-
- CoordType from, to;
-
- int highlight = llist->IsSelected(this, &from, &to);
-// WXLO_DEBUG(("highlight=%d", highlight ));
- if(highlight == 1) // we need to draw the whole line inverted!
- llist->StartHighlighting(dc);
- else
- llist->EndHighlighting(dc);
-
- for(i = m_ObjectList.begin(); i != nulled; i++)
- {
- if(highlight == -1) // partially highlight line
- {
- // parts of the line need highlighting
-
- // Next line commented, code has no effect
- // xpos+(**i).GetLength();
- (**i).Draw(dc, pos, llist, from-xpos, to-xpos);
- }
- else
- (**i).Draw(dc, pos, llist);
- pos.x += (**i).GetWidth();
- xpos += (**i).GetLength();
- }
-}
-
-/*
- This function does all the recalculation, that is, it should only be
- called from within wxLayoutList::Layout(), as it uses the current
- list's styleinfo and updates it.
-*/
-void
-wxLayoutLine::Layout(wxDC &dc,
- wxLayoutList *llist,
- wxPoint *cursorPos,
- wxPoint *cursorSize,
- wxLayoutStyleInfo *cursorStyle,
- int cx,
- bool WXUNUSED(suppressSIupdate))
-{
- wxLayoutObjectList::iterator i, nulled(NULL);
-
- // when a line becomes dirty, we redraw it from the place where it was
- // changed till the end of line (because the following wxLayoutObjects are
- // moved when the preceding one changes) - calculate the update rectangle.
- CoordType updateTop = m_Position.y,
- updateLeft = -1,
- updateWidth = m_Width,
- updateHeight = m_Height;
-
- CoordType
- topHeight = 0,
- bottomHeight = 0; // above and below baseline
- CoordType
- objTopHeight, objBottomHeight; // above and below baseline
- CoordType
- len, count = 0;
-
- CoordType heightOld = m_Height;
-
- m_Height = 0;
- m_Width = 0;
- m_BaseLine = 0;
-
- bool cursorFound = false;
-
- RecalculatePosition(llist);
-
- if(cursorPos)
- {
- *cursorPos = m_Position;
- if(cursorSize) *cursorSize = wxPoint(0,0);
- }
-
- m_StyleInfo = llist->GetStyleInfo(); // save current style
- for(i = m_ObjectList.begin(); i != nulled; i++)
- {
- wxLayoutObject *obj = *i;
- obj->Layout(dc, llist);
- wxPoint sizeObj = obj->GetSize(&objTopHeight, &objBottomHeight);
-
- if(cursorPos && ! cursorFound)
- {
- // we need to check whether the text cursor is here
- len = obj->GetLength();
- if(count <= cx && count+len > cx)
- {
- if(obj->GetType() == WXLO_TYPE_TEXT)
- {
- len = cx - count; // pos in object
- CoordType width, height, descent;
- dc.GetTextExtent((*(wxLayoutObjectText*)*i).GetText().substr(0,len),
- &width, &height, &descent);
- cursorPos->x += width;
- cursorPos->y = m_Position.y;
- wxString str;
- if(len < obj->GetLength())
- str = (*(wxLayoutObjectText*)*i).GetText().substr(len,1);
- else
- str = WXLO_CURSORCHAR;
- dc.GetTextExtent(str, &width, &height, &descent);
-
- if(cursorStyle) // set style info
- *cursorStyle = llist->GetStyleInfo();
- if ( cursorSize )
- {
- // Just in case some joker inserted an empty string object:
- if(width == 0)
- width = WXLO_MINIMUM_CURSOR_WIDTH;
- if(height == 0)
- height = sizeObj.y;
- cursorSize->x = width;
- cursorSize->y = height;
- }
-
- cursorFound = true; // no more checks
- }
- else
- {
- // on some other object
- CoordType top, bottom; // unused
- if(cursorSize)
- *cursorSize = obj->GetSize(&top,&bottom);
- cursorPos->y = m_Position.y;
- cursorFound = true; // no more checks
- }
- }
- else
- {
- count += len;
- cursorPos->x += obj->GetWidth();
- }
- } // cursor finding
-
- m_Width += sizeObj.x;
- if(sizeObj.y > m_Height)
- {
- m_Height = sizeObj.y;
- }
-
- if(objTopHeight > topHeight)
- topHeight = objTopHeight;
- if(objBottomHeight > bottomHeight)
- bottomHeight = objBottomHeight;
- }
-
- if ( IsDirty() )
- {
- if ( updateHeight < m_Height )
- updateHeight = m_Height;
- if ( updateWidth < m_Width )
- updateWidth = m_Width;
-
- // update all line if we don't know where to start from
- if ( updateLeft == -1 )
- updateLeft = 0;
-
- llist->SetUpdateRect(updateLeft, updateTop);
- llist->SetUpdateRect(updateLeft + updateWidth + MSW_CORRECTION,
- updateTop + updateHeight + MSW_CORRECTION);
- }
-
- if(topHeight + bottomHeight > m_Height)
- {
- m_Height = topHeight+bottomHeight;
- }
-
- m_BaseLine = topHeight;
-
- if(m_Height == 0)
- {
- CoordType width, height, descent;
- dc.GetTextExtent(WXLO_CURSORCHAR, &width, &height, &descent);
- m_Height = height;
- m_BaseLine = m_Height - descent;
- }
-
- // tell next line about coordinate change
- if(m_Next && m_Height != heightOld)
- {
- m_Next->MarkDirty();
- }
-
- // We need to check whether we found a valid cursor size:
- if(cursorPos && cursorSize)
- {
- // this might be the case if the cursor is at the end of the
- // line or on a command object:
- if(cursorSize->x < WXLO_MINIMUM_CURSOR_WIDTH)
- {
- CoordType width, height, descent;
- dc.GetTextExtent(WXLO_CURSORCHAR, &width, &height, &descent);
- cursorSize->x = width;
- cursorSize->y = height;
- }
- if(m_BaseLine >= cursorSize->y) // the normal case anyway
- cursorPos->y += m_BaseLine-cursorSize->y;
- }
- MarkClean();
-}
-
-
-wxLayoutLine *
-wxLayoutLine::Break(CoordType xpos, wxLayoutList *llist)
-{
- wxASSERT(xpos >= 0);
-
- MarkDirty(xpos);
-
- CoordType offset;
- wxLOiterator i = FindObject(xpos, &offset);
- wxLayoutObjectList::iterator nulled(NULL);
- if(i == nulled)
- // must be at the end of the line then
- return new wxLayoutLine(this, llist);
- // split this line:
-
- wxLayoutLine *newLine = new wxLayoutLine(this, llist);
- // split object at i:
- if((**i).GetType() == WXLO_TYPE_TEXT
- && offset != 0
- && offset != (**i).GetLength() )
- {
- wxString left, right;
- wxLayoutObjectText *tobj = (wxLayoutObjectText *) *i;
- left = tobj->GetText().substr(0,offset);
- right = tobj->GetText().substr(offset,tobj->GetLength()-offset);
- // current text object gets set to left half
- tobj->GetText() = left; // set new text
- newLine->Append(new wxLayoutObjectText(right));
- m_Length -= right.Length();
- i++; // don't move this object to the new list
- }
- else
- {
- if(offset > 0)
- i++; // move objects from here to new list
- }
-
- while(i != m_ObjectList.end())
- {
- wxLayoutObject *obj = *i;
- newLine->Append(obj);
- m_Length -= obj->GetLength();
-
- m_ObjectList.remove(i); // remove without deleting it
- }
- if(m_Next)
- m_Next->MarkDirty();
- return newLine;
-}
-
-bool
-wxLayoutLine::Wrap(CoordType wrapmargin, wxLayoutList *llist)
-{
- wxLayoutObjectList::iterator nulled(NULL);
- if(GetLength() < wrapmargin)
- return false; // nothing to do
-
- // find the object which covers the wrapmargin:
- CoordType offset;
- wxLOiterator i = FindObject(wrapmargin, &offset);
- wxCHECK_MSG( i != nulled, false,
- wxT("Cannot find object covering wrapmargin."));
-
- // from this object on, the rest of the line must be copied to the
- // next one:
- wxLOiterator copyObject = nulled;
- // if we split a text-object, we must pre-pend some text to the
- // next line later on, remember it here:
- wxString prependText = _T("");
- // we might need to adjust the cursor position later, so remember it
- size_t xpos = llist->GetCursorPos().x;
- // by how much did we shorten the current line:
- size_t shorter = 0;
- // remember cursor location of object
- size_t objectCursorPos = 0;
-
- size_t breakpos = offset;
-
- if( (**i).GetType() != WXLO_TYPE_TEXT )
- {
- // break before a non-text object
- copyObject = i;
- }
- else
- {
- bool foundSpace = false;
- do
- {
-// while(i != nulled && (**i).GetType() != WXLO_TYPE_TEXT)
-// i--;
- // try to find a suitable place to split the object:
- wxLayoutObjectText *tobj = (wxLayoutObjectText *)*i;
- if((**i).GetType() == WXLO_TYPE_TEXT
- && tobj->GetText().Length() >= breakpos)
- {
- do
- {
- foundSpace = isspace(tobj->GetText()[breakpos]) != 0;
- if ( foundSpace )
- break;
- }
- while ( breakpos-- > 0 );
- }
- else
- {
- breakpos = 0;
- }
-
- if(! foundSpace) // breakpos == 0!
- {
- if(i == m_ObjectList.begin())
- return false; // could not break line
- else
- {
- i--;
- while(i != m_ObjectList.begin()
- && (**i).GetType() != WXLO_TYPE_TEXT )
- {
- i--;
- }
- breakpos = (**i).GetLength();
- }
- }
- }while(! foundSpace);
- // before we actually break the object, we need to know at which
- // cursorposition it starts, so we can restore the cursor if needed:
- if( this == llist->GetCursorLine() && xpos >= breakpos )
- {
- for(wxLOiterator j = m_ObjectList.begin();
- j != nulled && j != i; j++)
- objectCursorPos += (**j).GetLength();
- }
- // now we know where to break it:
- wxLayoutObjectText *tobj = (wxLayoutObjectText *)*i;
- shorter = tobj->GetLength() - breakpos;
- // remember text to copy from this object
- prependText = tobj->GetText().Mid(breakpos+1);
- tobj->SetText(tobj->GetText().Left(breakpos));
- // copy every following object:
- copyObject = i; copyObject ++;
- }
-
- // make sure there is an empty m_Next line:
- (void) new wxLayoutLine(this, llist);
- wxASSERT(m_Next);
- // We need to move this and all following objects to the next
- // line. Starting from the end of line, to keep the order right.
- if(copyObject != nulled)
- {
- wxLOiterator j;
- for(j = m_ObjectList.tail(); j != copyObject; j--)
- m_Next->Prepend(*j);
- m_Next->Prepend(*copyObject);
- // and now remove them from this list:
- while( copyObject != m_ObjectList.end() )
- {
- shorter += (**copyObject).GetLength();
- m_ObjectList.remove(copyObject); // remove without deleting it
- }
- }
- m_Length -= shorter;
-
- if(prependText.Length() > 0)
- m_Next->Insert(0, prependText);
-
- // do we need to adjust the cursor position?
- if( this == llist->GetCursorLine() && xpos >= breakpos)
- {
- xpos = objectCursorPos + (xpos - objectCursorPos - breakpos -
- ((xpos > breakpos) ? 1 : 0 ));
- #if 0
- // this assert is useless when xpos has unsigned type
- wxASSERT(xpos >= 0);
- #endif
- llist->MoveCursorTo( wxPoint( xpos, m_Next->GetLineNumber()) );
- }
- return true; // we wrapped the line
-}
-
-void
-wxLayoutLine::ReNumber()
-{
- CoordType lineNo = m_Previous ? m_Previous->m_LineNumber+1 : 0;
- m_LineNumber = lineNo++;
-
- for(wxLayoutLine *next = GetNextLine();
- next; next = next->GetNextLine())
- next->m_LineNumber = lineNo++;
-}
-
-void
-wxLayoutLine::MergeNextLine(wxLayoutList *llist)
-{
- wxCHECK_RET( GetNextLine(),
- wxT("wxLayout internal error: no next line to merge"));
- wxLayoutObjectList &list = GetNextLine()->m_ObjectList;
- wxLOiterator i;
-
- MarkDirty(GetWidth());
-
- wxLayoutObject *last = NULL;
- for(i = list.begin(); i != list.end();)
- {
- wxLayoutObject *current = *i;
-
- // merge text objects together for efficiency
- if ( last && last->GetType() == WXLO_TYPE_TEXT &&
- current->GetType() == WXLO_TYPE_TEXT )
- {
- wxLayoutObjectText *textObj = (wxLayoutObjectText *)last;
- wxString text(textObj->GetText());
- text += ((wxLayoutObjectText *)current)->GetText();
- textObj->SetText(text);
-
- list.erase(i); // remove and delete it
- }
- else
- {
- // just append the object "as was"
- Append(current);
-
- list.remove(i); // remove without deleting it
- }
- }
- wxASSERT(list.empty());
-
- wxLayoutLine *oldnext = GetNextLine();
- wxLayoutLine *nextLine = oldnext->GetNextLine();
- SetNext(nextLine);
- if ( nextLine )
- {
- nextLine->ReNumber();
- }
- else
- {
- // this is now done in Delete(), but if this function is ever called
- // from elsewhere, we might have to move refresh code back here (in
- // order not to duplicate it)
-#if 0
- wxPoint pos(oldnext->GetPosition());
- llist->SetUpdateRect(pos);
- llist->SetUpdateRect(pos.x + oldnext->GetWidth() + MSW_CORRECTION,
- pos.y + oldnext->GetHeight() + MSW_CORRECTION);
-#endif // 0
- }
-
- llist->DecNumLines();
-
- delete oldnext;
-}
-
-CoordType
-wxLayoutLine::GetWrapPosition(CoordType column)
-{
- CoordType offset;
- wxLOiterator i = FindObject(column, &offset);
- wxLayoutObjectList::iterator nulled(NULL);
- if(i == nulled) return -1; // cannot wrap
-
- // go backwards through the list and look for space in text objects
- do
- {
- if((**i).GetType() == WXLO_TYPE_TEXT)
- {
- do
- {
- if(isspace(((wxLayoutObjectText*)*i)->GetText().c_str()[(size_t)offset]))
- return column;
- else
- {
- offset--;
- column--;
- }
- }while(offset != -1);
- i--; // move on to previous object
- }
- else
- {
- column -= (**i).GetLength();
- i--;
- }
- if( i != nulled)
- offset = (**i).GetLength();
- }while(i != nulled);
- /* If we reached the begin of the list and have more than one
- object, that one is longer than the margin, so break behind
- it. */
- CoordType pos = 0;
- i = m_ObjectList.begin();
- while(i != nulled && (**i).GetType() != WXLO_TYPE_TEXT)
- {
- pos += (**i).GetLength();
- i++;
- }
- if(i == nulled) return -1; //why should this happen?
-
- // now we are behind the one long text object and need to find the
- // first space in it
- for(offset = 0; offset < (**i).GetLength(); offset++)
- if( isspace(((wxLayoutObjectText*)*i)->GetText().c_str()[(size_t)offset]))
- {
- return pos+offset;
- }
- pos += (**i).GetLength();
- return pos;
-}
-
-
-#ifdef WXLAYOUT_DEBUG
-void
-wxLayoutLine::Debug() const
-{
- wxLayoutObjectList::iterator nulled(NULL);
- wxPoint pos = GetPosition();
- WXLO_DEBUG((wxT("Line %ld, Pos (%ld,%ld), Height %ld, BL %ld, Font: %d"),
- (long int) GetLineNumber(),
- (long int) pos.x, (long int) pos.y,
- (long int) GetHeight(),
- (long int) m_BaseLine,
- (int) m_StyleInfo.family));
- if(m_ObjectList.begin() != nulled)
- {
- WXLO_DEBUG(((**m_ObjectList.begin()).DebugDump().c_str()));
- }
-
-}
-#endif
-
-void
-wxLayoutLine::Copy(wxLayoutList *llist,
- CoordType from,
- CoordType to)
-{
- wxLayoutObjectList::iterator nulled(NULL);
- CoordType firstOffset, lastOffset;
-
- if(to == -1) to = GetLength();
- if(from == to) return;
-
- wxLOiterator first = FindObject(from, &firstOffset);
- wxLOiterator last = FindObject(to, &lastOffset);
-
- // Common special case: only one object
- if( first != nulled && last != nulled && *first == *last )
- {
- if( (**first).GetType() == WXLO_TYPE_TEXT )
- {
- llist->Insert(new wxLayoutObjectText(
- ((wxLayoutObjectText
- *)*first)->GetText().substr(firstOffset,
- lastOffset-firstOffset))
- );
- return;
- }
- else // what can we do?
- {
- if(lastOffset > firstOffset) // i.e. +1 :-)
- llist->Insert( (**first).Copy() );
- return;
- }
- }
-
- // If we reach here, we can safely copy the whole first object from
- // the firstOffset position on:
- if((**first).GetType() == WXLO_TYPE_TEXT && firstOffset != 0)
- {
- llist->Insert(new wxLayoutObjectText(
- ((wxLayoutObjectText *)*first)->GetText().substr(firstOffset))
- );
- }
- else if(firstOffset == 0)
- llist->Insert( (**first).Copy() );
- // else nothing to copy :-(
-
- // Now we copy all objects before the last one:
- wxLOiterator i = first; i++;
- for( ; i != last; i++)
- llist->Insert( (**i).Copy() );
-
- // And now the last object:
- if(lastOffset != 0)
- {
- if( (**last).GetType() == WXLO_TYPE_TEXT )
- {
- llist->Insert(new wxLayoutObjectText(
- ((wxLayoutObjectText *)*last)->GetText().substr(0,lastOffset))
- );
- }
- else
- llist->Insert( (**last).Copy() );
- }
-}
-
-
-/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
-
- The wxLayoutList object
-
- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
-
-wxLayoutList::wxLayoutList()
-{
-#ifdef WXLAYOUT_USE_CARET
- m_caret = NULL;
-#endif // WXLAYOUT_USE_CARET
-
- m_numLines = 0;
- m_FirstLine = NULL;
- SetAutoFormatting(true);
- ForceTotalLayout(true); // for the first time, do all
- InvalidateUpdateRect();
- Clear();
-}
-
-wxLayoutList::~wxLayoutList()
-{
- SetAutoFormatting(false);
- InternalClear();
- Empty();
- m_FirstLine->DeleteLine(false, this);
-
- wxASSERT_MSG( m_numLines == 0, wxT("line count calculation broken"));
-}
-
-void
-wxLayoutList::Empty()
-{
- while(m_FirstLine)
- m_FirstLine = m_FirstLine->DeleteLine(false, this);
-
- m_CursorPos = wxPoint(0,0);
- m_CursorScreenPos = wxPoint(0,0);
- m_CursorSize = wxPoint(0,0);
- m_movedCursor = true;
- m_FirstLine = new wxLayoutLine(NULL, this); // empty first line
- m_CursorLine = m_FirstLine;
- InvalidateUpdateRect();
-}
-
-
-void
-wxLayoutList::InternalClear()
-{
- m_Selection.m_selecting = false;
- m_Selection.m_valid = false;
-
- m_DefaultStyleInfo.family = wxSWISS;
- m_DefaultStyleInfo.size = WXLO_DEFAULTFONTSIZE;
- m_DefaultStyleInfo.style = wxNORMAL;
- m_DefaultStyleInfo.weight = wxNORMAL;
- m_DefaultStyleInfo.underline = 0;
- m_DefaultStyleInfo.m_fg_valid = true;
- m_DefaultStyleInfo.m_fg = *wxBLACK;
- m_DefaultStyleInfo.m_bg_valid = true;
- m_DefaultStyleInfo.m_bg = *wxWHITE;
-
- m_CurrentStyleInfo = m_DefaultStyleInfo;
- m_CursorStyleInfo = m_DefaultStyleInfo;
-}
-
-void
-wxLayoutList::Read(wxString &istr)
-{
- /* In order to handle input of formatted string "nicely", we need
- to restore our current font settings after the string. So first
- of all, we create a StyleInfo structure with our current
- settings. */
- wxLayoutStyleInfo current_si = GetStyleInfo();
-
- while(istr.Length())
- {
- // check for a linebreak:
- wxString tmp;
- tmp = istr.BeforeFirst('\n');
- long l = WXLO_TYPE_INVALID;
- tmp.ToLong(&l);
- int type = (int) l;
-
- if(type == WXLO_TYPE_LINEBREAK)
- {
- LineBreak();
- istr = istr.AfterFirst('\n');
- }
- else
- {
- wxLayoutObject *obj = wxLayoutObject::Read(istr);
- if(obj)
- Insert(obj);
- }
- }
- /* Now we use the current_si to restore our last font settings: */
- Insert(new wxLayoutObjectCmd(current_si));
-}
-
-
-void
-wxLayoutList::SetFont(int family, int size, int style, int weight,
- int underline, wxColour *fg,
- wxColour *bg)
-{
- if(family != -1) m_CurrentStyleInfo.family = family;
- if(size != -1) m_CurrentStyleInfo.size = size;
- if(style != -1) m_CurrentStyleInfo.style = style;
- if(weight != -1) m_CurrentStyleInfo.weight = weight;
- if(underline != -1) m_CurrentStyleInfo.underline = underline != 0;
- if(fg) m_CurrentStyleInfo.m_fg = *fg;
- if(bg) m_CurrentStyleInfo.m_bg = *bg;
- Insert(
- new wxLayoutObjectCmd(
- m_CurrentStyleInfo.family,
- m_CurrentStyleInfo.size,
- m_CurrentStyleInfo.style,
- m_CurrentStyleInfo.weight,
- m_CurrentStyleInfo.underline,
- fg, bg));
-}
-
-void
-wxLayoutList::SetFont(int family, int size, int style, int weight,
- int underline, wxChar const *fg, wxChar const *bg)
-
-{
- wxColour cfg = wxTheColourDatabase->Find((fg)?fg:wxT("BLACK"));
- wxColour cbg = wxTheColourDatabase->Find((bg)?bg:wxT("WHITE"));
-
- SetFont(family,size,style,weight,underline,&cfg,&cbg);
-}
-
-void
-wxLayoutList::Clear(int family, int size, int style, int weight,
- int underline, wxColour *fg, wxColour *bg)
-{
- InternalClear();
- m_DefaultStyleInfo = wxLayoutStyleInfo(family, size, style, weight,
- underline, fg, bg);
- m_CurrentStyleInfo = m_DefaultStyleInfo;
-
- // Empty() should be called after we set m_DefaultStyleInfo because
- // otherwise the style info for the first line (created in Empty()) would be
- // incorrect
- Empty();
-}
-
-wxPoint
-wxLayoutList::FindText(const wxString &needle, const wxPoint &cpos) const
-{
- int xpos;
-
- wxLayoutLine *line;
- for(line = m_FirstLine;
- line;
- line = line->GetNextLine())
- {
- if(line->GetLineNumber() >= cpos.y)
- {
- xpos = line->FindText(needle,
- (line->GetLineNumber() == cpos.y) ?
- cpos.x : 0);
- if(xpos != -1)
- return wxPoint(xpos, line->GetLineNumber());
- }
- }
- return wxPoint(-1,-1);
-}
-
-
-bool
-wxLayoutList::MoveCursorTo(wxPoint const &p)
-{
- AddCursorPosToUpdateRect();
-
- wxPoint cursorPosOld = m_CursorPos;
-
- wxLayoutLine *line = m_FirstLine;
- while(line && line->GetLineNumber() != p.y)
- line = line->GetNextLine();
- if(line && line->GetLineNumber() == p.y) // found it
- {
- m_CursorPos.y = p.y;
- m_CursorLine = line;
- CoordType len = line->GetLength();
- if(len >= p.x)
- {
- m_CursorPos.x = p.x;
- }
- else
- {
- m_CursorPos.x = len;
- }
- }
-
- m_movedCursor = m_CursorPos != cursorPosOld;
-
- return m_CursorPos == p;
-}
-
-bool
-wxLayoutList::MoveCursorVertically(int n)
-{
- AddCursorPosToUpdateRect();
-
- wxPoint cursorPosOld = m_CursorPos;
-
- bool rc;
- if(n < 0) // move up
- {
- if(m_CursorLine == m_FirstLine) return false;
- while(n < 0 && m_CursorLine)
- {
- m_CursorLine = m_CursorLine->GetPreviousLine();
- m_CursorPos.y--;
- n++;
- }
- if(! m_CursorLine)
- {
- m_CursorLine = m_FirstLine;
- m_CursorPos.y = 0;
- rc = false;
- }
- else
- {
- if(m_CursorPos.x > m_CursorLine->GetLength())
- m_CursorPos.x = m_CursorLine->GetLength();
- rc = true;
- }
- }
- else // move down
- {
- wxLayoutLine *last = m_CursorLine;
- if(! m_CursorLine->GetNextLine()) return false;
- while(n > 0 && m_CursorLine)
- {
- n--;
- m_CursorPos.y ++;
- last = m_CursorLine;
- m_CursorLine = m_CursorLine->GetNextLine();
- }
- if(! m_CursorLine)
- {
- m_CursorLine = last;
- m_CursorPos.y --;
- rc = false;
- }
- else
- {
- if(m_CursorPos.x > m_CursorLine->GetLength())
- m_CursorPos.x = m_CursorLine->GetLength();
- rc = true;
- }
- }
-
- m_movedCursor = m_CursorPos != cursorPosOld;
-
- return rc;
-}
-
-bool
-wxLayoutList::MoveCursorHorizontally(int n)
-{
- AddCursorPosToUpdateRect();
-
- wxPoint cursorPosOld = m_CursorPos;
-
- int move;
- while(n < 0)
- {
- if(m_CursorPos.x == 0) // at begin of line
- {
- if(! MoveCursorVertically(-1))
- break;
- MoveCursorToEndOfLine();
- n++;
- continue;
- }
- move = -n;
- if(move > m_CursorPos.x) move = m_CursorPos.x;
- m_CursorPos.x -= move; n += move;
- }
-
- while(n > 0)
- {
- int len = m_CursorLine->GetLength();
- if(m_CursorPos.x == len) // at end of line
- {
- if(! MoveCursorVertically(1))
- break;
- MoveCursorToBeginOfLine();
- n--;
- continue;
- }
- move = n;
- if( move >= len-m_CursorPos.x) move = len-m_CursorPos.x;
- m_CursorPos.x += move;
- n -= move;
- }
-
- m_movedCursor = m_CursorPos != cursorPosOld;
-
- return n == 0;
-}
-
-bool
-wxLayoutList::MoveCursorWord(int n, bool untilNext)
-{
- wxLayoutObjectList::iterator nulled(NULL);
- wxCHECK_MSG( m_CursorLine, false, wxT("no current line") );
- wxCHECK_MSG( n == -1 || n == +1, false, wxT("not implemented yet") );
-
- CoordType moveDistance = 0;
- CoordType offset;
- wxLayoutLine *lineCur = m_CursorLine;
- for ( wxLOiterator i = lineCur->FindObject(m_CursorPos.x, &offset);
- n != 0;
- n > 0 ? i++ : i-- )
- {
- if ( i == nulled )
- {
- if ( n > 0 )
- {
- // moving forward, pass to the first object of the next line
- moveDistance++;
- lineCur = lineCur->GetNextLine();
- if ( lineCur )
- i = lineCur->GetFirstObject();
- }
- else
- {
- // moving backwards, pass to the last object of the prev line
- moveDistance--;
- lineCur = lineCur->GetPreviousLine();
- if ( lineCur )
- i = lineCur->GetLastObject();
- }
-
- if ( i == nulled )
- {
- // moved to the end/beginning of text
- return false;
- }
-
- offset = -1;
- }
-
- wxLayoutObject *obj = *i;
-
- if ( offset == -1 )
- {
- // calculate offset: we are either at the very beginning or the very
- // end of the object, so it isn't very difficult (the only time when
- // offset is != -1 is for the very first iteration when its value is
- // returned by FindObject)
- if ( n > 0 )
- offset = 0;
- else
- offset = obj->GetLength();
- }
-
- if( obj->GetType() != WXLO_TYPE_TEXT )
- {
- // any visible non text objects count as one word
- if ( obj->IsVisibleObject() )
- {
- n > 0 ? n-- : n++;
-
- moveDistance += obj->GetLength();
- }
- }
- else // text object
- {
- wxLayoutObjectText *tobj = (wxLayoutObjectText *)obj;
-
- bool canAdvance = true;
-
- if ( offset == tobj->GetLength() )
- {
- // at end of object
- if ( n > 0 )
- {
- // can't move further in this text object
- canAdvance = false;
-
- // still should move over the object border
- moveDistance++;
- n--;
- }
- else if ( offset > 0 )
- {
- // offset is off by 1, make it a valid index
- offset--;
- }
- }
-
- if ( canAdvance )
- {
- const wxString& text = tobj->GetText();
- const wxChar *start = text.c_str();
- const wxChar *end = start + text.length();
- const wxChar *p = start + offset;
-
- if ( n < 0 )
- {
- if ( offset > 0 )
- p--;
- }
-
- // to the beginning/end of the next/prev word
- while ( p >= start && p < end && isspace(*p) )
- {
- n > 0 ? p++ : p--;
- }
-
- // go to the end/beginning of the word (in a broad sense...)
- while ( p >= start && p < end && !isspace(*p) )
- {
- n > 0 ? p++ : p--;
- }
-
- if ( n > 0 )
- {
- if ( untilNext )
- {
- // now advance to the beginning of the next word
- while ( isspace(*p) && p < end )
- p++;
- }
- }
- else // backwards
- {
- // in these 2 cases we took 1 char too much
- if ( (p < start) || isspace(*p) )
- {
- p++;
- }
- }
-
- CoordType moveDelta = p - start - offset;
- if ( (n < 0) && (offset == tobj->GetLength() - 1) )
- {
- // because we subtracted 1 from offset in this case above, now
- // compensate for it
- moveDelta--;
- }
-
- if ( moveDelta != 0 )
- {
- moveDistance += moveDelta;
-
- n > 0 ? n-- : n++;
- }
- }
- }
-
- // except for the first iteration, offset is calculated in the beginning
- // of the loop
- offset = -1;
- }
-
- MoveCursorHorizontally(moveDistance);
-
- return true;
-}
-
-bool
-wxLayoutList::Insert(wxString const &text)
-{
- wxASSERT(m_CursorLine);
- wxASSERT_MSG( text.Find(wxT('\n')) == wxNOT_FOUND,
- wxT("use wxLayoutImportText!") );
-
- if ( !text )
- return true;
-
- AddCursorPosToUpdateRect();
-
- wxASSERT(m_CursorLine->GetLength() >= m_CursorPos.x);
-
- if ( !m_CursorLine->Insert(m_CursorPos.x, text) )
- return false;
- m_CursorPos.x += text.Length();
-
- m_movedCursor = true;
-
- if(m_AutoFormat)
- m_CursorLine->MarkDirty();
-
- return true;
-}
-
-bool
-wxLayoutList::Insert(wxLayoutObject *obj)
-{
- wxASSERT(m_CursorLine);
-
- if(! m_CursorLine)
- m_CursorLine = GetFirstLine();
-
- AddCursorPosToUpdateRect();
-
- m_CursorLine->Insert(m_CursorPos.x, obj);
- m_CursorPos.x += obj->GetLength();
- m_movedCursor = true;
-
- if(m_AutoFormat)
- m_CursorLine->MarkDirty();
-
- return true;
-}
-
-bool
-wxLayoutList::Insert(wxLayoutList *llist)
-{
- wxLayoutObjectList::iterator nulled(NULL);
- wxASSERT(llist);
- bool rc = true;
-
- for(wxLayoutLine *line = llist->GetFirstLine();
- line;
- line = line->GetNextLine()
- )
- {
- for(wxLOiterator i = line->GetFirstObject();
- i != nulled;
- i++)
- rc |= Insert(*i);
- LineBreak();
- }
- return rc;
-}
-
-bool
-wxLayoutList::LineBreak()
-{
- wxASSERT(m_CursorLine);
-
- AddCursorPosToUpdateRect();
-
- wxPoint position(m_CursorLine->GetPosition());
-
- CoordType
- width = m_CursorLine->GetWidth(),
- height = m_CursorLine->GetHeight();
-
- m_CursorLine = m_CursorLine->Break(m_CursorPos.x, this);
- if(m_CursorLine->GetPreviousLine() == NULL)
- m_FirstLine = m_CursorLine;
- m_CursorPos.y++;
- m_CursorPos.x = 0;
-
- // The following code will produce a height which is guaranteed to
- // be too high: old lineheight + the height of both new lines.
- // We can probably drop the old line height and start with height =
- // 0. FIXME
- wxLayoutLine *prev = m_CursorLine->GetPreviousLine();
- if(prev)
- height += prev->GetHeight();
- height += m_CursorLine->GetHeight();
-
- m_movedCursor = true;
-
- SetUpdateRect(position);
- SetUpdateRect(position.x + width + MSW_CORRECTION,
- position.y + height + MSW_CORRECTION);
-
- return true;
-}
-
-bool
-wxLayoutList::WrapLine(CoordType column)
-{
- return m_CursorLine->Wrap(column, this);
-}
-
-bool
-wxLayoutList::WrapAll(CoordType column)
-{
- wxLayoutLine *line = m_FirstLine;
- if(! line)
- return false;
- bool rc = true;
- while(line && rc)
- {
- rc &= line->Wrap(column, this);
- line = line->GetNextLine();
- }
- return rc;
-}
-
-bool
-wxLayoutList::Delete(CoordType npos)
-{
- wxCHECK_MSG(m_CursorLine, false, wxT("can't delete in non existing line"));
-
- if ( npos == 0 )
- return true;
-
- AddCursorPosToUpdateRect();
-
- // were other lines appended to this one (this is important to know because
- // this means that our width _increased_ as the result of deletion)
- bool wasMerged = false;
-
- // the size of the region to update
- CoordType totalHeight = m_CursorLine->GetHeight(),
- totalWidth = m_CursorLine->GetWidth();
-
- CoordType left;
- do
- {
- left = m_CursorLine->Delete(m_CursorPos.x, npos);
-
- if( left > 0 )
- {
- // More to delete, continue on next line.
-
- // First, check if line is empty:
- if(m_CursorLine->GetLength() == 0)
- {
- // in this case, updating could probably be optimised
-#ifdef WXLO_DEBUG
- wxASSERT(DeleteLines(1) == 0);
-#else
- DeleteLines(1);
-#endif
-
- left--;
- }
- else
- {
- // Need to join next line
- if(! m_CursorLine->GetNextLine())
- break; // cannot
- else
- {
- wasMerged = true;
- wxLayoutLine *next = m_CursorLine->GetNextLine();
- if ( next )
- {
- totalHeight += next->GetHeight();
- totalWidth += next->GetWidth();
-
- m_CursorLine->MergeNextLine(this);
- left--;
- }
- else
- {
- wxFAIL_MSG(wxT("can't delete all this"));
-
- return false;
- }
- }
- }
- }
- }
- while ( left> 0 );
-
- // we need to update the whole tail of the line and the lines which
- // disappeared
- if ( wasMerged )
- {
- wxPoint position(m_CursorLine->GetPosition());
- SetUpdateRect(position);
- SetUpdateRect(position.x + totalWidth + MSW_CORRECTION,
- position.y + totalHeight + MSW_CORRECTION);
- }
-
- return left == 0;
-}
-
-int
-wxLayoutList::DeleteLines(int n)
-{
- wxASSERT(m_CursorLine);
- wxLayoutLine *line;
-
- AddCursorPosToUpdateRect();
-
- while(n > 0)
- {
- if(!m_CursorLine->GetNextLine())
- { // we cannot delete this line, but we can clear it
- MoveCursorToBeginOfLine();
- DeleteToEndOfLine();
- if(m_AutoFormat)
- m_CursorLine->MarkDirty();
- return n-1;
- }
- //else:
- line = m_CursorLine;
- m_CursorLine = m_CursorLine->DeleteLine(true, this);
- n--;
- if(line == m_FirstLine) m_FirstLine = m_CursorLine;
- wxASSERT(m_FirstLine);
- wxASSERT(m_CursorLine);
- }
- if(m_AutoFormat)
- m_CursorLine->MarkDirty();
- return n;
-}
-
-void
-wxLayoutList::Recalculate(wxDC &dc, CoordType bottom)
-{
- if(! m_AutoFormat)
- return;
- wxLayoutLine *line = m_FirstLine;
-
- // first, make sure everything is calculated - this might not be
- // needed, optimise it later
- ApplyStyle(m_DefaultStyleInfo, dc);
- while(line)
- {
- line->RecalculatePosition(this); // so we don't need to do it all the time
- // little condition to speed up redrawing:
- if(bottom != -1 && line->GetPosition().y > bottom) break;
- line = line->GetNextLine();
- }
-}
-
-wxPoint
-wxLayoutList::GetCursorScreenPos() const
-{
- return m_CursorScreenPos;
-}
-
-/*
- Is called before each Draw(). Now, it will re-layout all lines which
- have changed.
-*/
-void
-wxLayoutList::Layout(wxDC &dc, CoordType bottom, bool forceAll,
- wxPoint *cpos, wxPoint *csize)
-{
- // first, make sure everything is calculated - this might not be
- // needed, optimise it later
- ApplyStyle(m_DefaultStyleInfo, dc);
-
-
- if(m_ReLayoutAll)
- {
- forceAll = true;
- bottom = -1;
- }
-
- ForceTotalLayout(false);
-
-
- // If one line was dirty, we need to re-calculate all
- // following lines, too.
- bool wasDirty = forceAll;
- // we need to layout until we reach at least the cursor line,
- // otherwise we won't be able to scroll to it
- bool cursorReached = false;
- wxLayoutLine *line = m_FirstLine;
- while(line)
- {
- if(! wasDirty)
- ApplyStyle(line->GetStyleInfo(), dc);
- if(
- // if any previous line was dirty, we need to layout all
- // following lines:
- wasDirty
- // go on until we find the cursorline
- || ! cursorReached
- // layout dirty lines:
- || line->IsDirty()
- // always layout the cursor line toupdate the cursor
- // position and size:
- || line == m_CursorLine
- // or if it's the line we are asked to look for:
- || (cpos && line->GetLineNumber() == cpos->y)
- // layout at least the desired region:
- || (bottom == -1 )
- || (line->GetPosition().y <= bottom)
- )
- {
- if(line->IsDirty())
- wasDirty = true;
-
- // The following Layout() calls will update our
- // m_CurrentStyleInfo if needed.
- if(line == m_CursorLine)
- {
- line->Layout(dc, this,
- (wxPoint *)&m_CursorScreenPos,
- (wxPoint *)&m_CursorSize,
- &m_CursorStyleInfo,
- m_CursorPos.x);
- // we cannot layout the line twice, so copy the coords:
- if(cpos && line ->GetLineNumber() == cpos->y)
- {
- *cpos = m_CursorScreenPos;
- if ( csize )
- *csize = m_CursorSize;
- }
-
- cursorReached = true;
- }
- else
- {
- if(cpos && line->GetLineNumber() == cpos->y)
- {
- line->Layout(dc, this,
- cpos,
- csize, NULL, cpos->x);
- cursorReached = true;
- }
- else
- line->Layout(dc, this);
- }
- }
-
- line = line->GetNextLine();
- }
-
-#ifndef WXLAYOUT_USE_CARET
- // can only be 0 if we are on the first line and have no next line
- wxASSERT(m_CursorSize.x != 0 || (m_CursorLine &&
- m_CursorLine->GetNextLine() == NULL &&
- m_CursorLine == m_FirstLine));
-#endif // WXLAYOUT_USE_CARET
-
- AddCursorPosToUpdateRect();
-}
-
-wxPoint
-wxLayoutList::GetScreenPos(wxDC &dc, const wxPoint &cpos, wxPoint *csize)
-{
- wxPoint pos = cpos;
- Layout(dc, -1, false, &pos, csize);
- return pos;
-}
-
-void
-wxLayoutList::Draw(wxDC &dc,
- wxPoint const &offset,
- CoordType top,
- CoordType bottom,
- bool clipStrictly)
-{
- wxLayoutLine *line = m_FirstLine;
-
- if ( m_Selection.m_discarded )
- {
- // calculate them if we don't have them already
- if ( !m_Selection.HasValidScreenCoords() )
- {
- m_Selection.m_ScreenA = GetScreenPos(dc, m_Selection.m_CursorA);
- m_Selection.m_ScreenB = GetScreenPos(dc, m_Selection.m_CursorB);
- }
-
- // invalidate the area which was previousle selected - and which is not
- // selected any more
- SetUpdateRect(m_Selection.m_ScreenA);
- SetUpdateRect(m_Selection.m_ScreenB);
-
- m_Selection.m_discarded = false;
- }
-
- /* This call to Layout() will re-calculate and update all lines
- marked as dirty.
- */
- Layout(dc, bottom);
-
- ApplyStyle(m_DefaultStyleInfo, dc);
- wxBrush brush(m_CurrentStyleInfo.m_bg, wxSOLID);
- dc.SetBrush(brush);
- dc.SetBackgroundMode(wxTRANSPARENT);
-
- while(line)
- {
- // only draw if between top and bottom:
- if((top == -1 ||
- line->GetPosition().y + line->GetHeight() > top))
- {
- ApplyStyle(line->GetStyleInfo(), dc);
- // little condition to speed up redrawing:
- if( bottom != -1
- && line->GetPosition().y
- +(clipStrictly ? line->GetHeight() : 0) >= bottom)
- break;
-
- line->Draw(dc, this, offset);
- }
-
- line = line->GetNextLine();
- }
-
- InvalidateUpdateRect();
-
- WXLO_DEBUG((wxT("Selection is %s : %d,%d/%d,%d"),
- m_Selection.m_valid ? wxT("valid") : wxT("invalid"),
- m_Selection.m_CursorA.x, m_Selection.m_CursorA.y,
- m_Selection.m_CursorB.x, m_Selection.m_CursorB.y));
-}
-
-wxLayoutObject *
-wxLayoutList::FindObjectScreen(wxDC &dc, wxPoint const pos,
- wxPoint *cursorPos, bool *found)
-{
- wxLayoutObjectList::iterator nulled(NULL);
- // First, find the right line:
- wxLayoutLine
- *line = m_FirstLine,
- *lastline = m_FirstLine;
- wxPoint p;
-
- ApplyStyle(m_DefaultStyleInfo, dc);
- while(line)
- {
- p = line->GetPosition();
- if(p.y <= pos.y && p.y+line->GetHeight() >= pos.y)
- break;
- lastline = line;
- line = line->GetNextLine();
- }
-
- bool didFind = line != NULL;
-
- if ( !line )
- {
- // use the last line:
- line = lastline;
- }
-
- if ( cursorPos )
- cursorPos->y = line->GetLineNumber();
-
- bool foundinline = true;
- long cx = 0;
-
- // Now, find the object in the line:
- wxLOiterator i;
-
- if (cursorPos)
- {
- i = line->FindObjectScreen(dc, this,
- pos.x,
- &cx,
- &foundinline);
- cursorPos->x = cx;
- }
- else
- i = line->FindObjectScreen(dc, this,
- pos.x,
- NULL,
- &foundinline);
-
- if ( found )
- *found = didFind && foundinline;
-
- return (i == nulled) ? NULL : *i;
-
-}
-
-wxPoint
-wxLayoutList::GetSize() const
-{
- wxLayoutLine
- *line = m_FirstLine,
- *last = line;
- if(! line)
- return wxPoint(0,0);
-
- wxPoint maxPoint(0,0);
-
- // find last line:
- while(line)
- {
- if(line->GetWidth() > maxPoint.x)
- maxPoint.x = line->GetWidth();
- last = line;
- line = line->GetNextLine();
- }
-
- maxPoint.y = last->GetPosition().y + last->GetHeight();
-
- // if the line was just added, its height would be 0 and we can't call
- // Layout() from here because we don't have a dc and we might be not drawing
- // at all, besides... So take the cursor height by default (taking 0 is bad
- // because then the scrollbars won't be resized and the new line won't be
- // shown at all)
- if ( last->IsDirty() )
- {
- if ( last->GetHeight() == 0 )
- maxPoint.y += m_CursorSize.y;
- if ( last->GetWidth() == 0 && maxPoint.x < m_CursorSize.x )
- maxPoint.x = m_CursorSize.x;
- }
-
- return maxPoint;
-}
-
-
-void
-wxLayoutList::DrawCursor(wxDC &
-#ifdef WXLAYOUT_USE_CARET
- WXUNUSED(dc)
-#else
- dc
-#endif
- , bool
-#ifdef WXLAYOUT_USE_CARET
- WXUNUSED(active)
-#else
- active
-#endif
- , wxPoint const &translate)
-{
- if ( m_movedCursor )
- m_movedCursor = false;
-
- wxPoint coords(m_CursorScreenPos);
- coords += translate;
-
-#ifdef WXLAYOUT_DEBUG
- WXLO_DEBUG((wxT("Drawing cursor (%ld,%ld) at %ld,%ld, size %ld,%ld, line: %ld, len %ld"),
- (long)m_CursorPos.x, (long)m_CursorPos.y,
- (long)coords.x, (long)coords.y,
- (long)m_CursorSize.x, (long)m_CursorSize.y,
- (long)m_CursorLine->GetLineNumber(),
- (long)m_CursorLine->GetLength()));
-
- wxLogStatus(wxT("Cursor is at (%d, %d)"), m_CursorPos.x, m_CursorPos.y);
-#endif
-
-#ifdef WXLAYOUT_USE_CARET
- m_caret->Move(coords);
-#else // !WXLAYOUT_USE_CARET
-
- wxASSERT(m_CursorSize.x >= WXLO_MINIMUM_CURSOR_WIDTH);
- dc.SetBrush(*wxWHITE_BRUSH);
- //FIXME: wxGTK XOR is borken at the moment!!!dc.SetLogicalFunction(wxXOR);
- dc.SetPen(wxPen(*wxBLACK,1,wxSOLID));
- if(active)
- {
- dc.SetLogicalFunction(wxXOR);
- dc.DrawRectangle(coords.x, coords.y,
- m_CursorSize.x, m_CursorSize.y);
- SetUpdateRect(coords.x, coords.y);
- SetUpdateRect(coords.x+m_CursorSize.x,
- coords.y+m_CursorSize.y);
- }
- else
- {
- dc.SetLogicalFunction(wxCOPY);
- dc.DrawLine(coords.x, coords.y+m_CursorSize.y-1,
- coords.x, coords.y);
- SetUpdateRect(coords.x, coords.y+m_CursorSize.y-1);
- SetUpdateRect(coords.x, coords.y);
- }
-
- dc.SetLogicalFunction(wxCOPY);
- //dc.SetBrush(wxNullBrush);
-#endif // WXLAYOUT_USE_CARET/!WXLAYOUT_USE_CARET
-}
-
-void
-wxLayoutList::SetUpdateRect(CoordType x, CoordType y)
-{
- if(m_UpdateRectValid)
- {
- GrowRect(m_UpdateRect, x, y);
- }
- else
- {
- m_UpdateRect.x = x;
- m_UpdateRect.y = y;
- m_UpdateRect.width = 4; // large enough to avoid surprises from
- m_UpdateRect.height = 4;// wxGTK :-)
- m_UpdateRectValid = true;
- }
-}
-
-void
-wxLayoutList::StartSelection(const wxPoint& cposOrig, const wxPoint& spos)
-{
- wxPoint cpos(cposOrig);
- if ( cpos.x == -1 )
- cpos = m_CursorPos;
-
- WXLO_DEBUG((wxT("Starting selection at %d/%d"), cpos.x, cpos.y));
-
- m_Selection.m_CursorA = cpos;
- m_Selection.m_CursorB = cpos;
- m_Selection.m_ScreenA = spos;
- m_Selection.m_ScreenB = spos;
- m_Selection.m_selecting = true;
- m_Selection.m_valid = false;
-}
-
-void
-wxLayoutList::ContinueSelection(const wxPoint& cposOrig, const wxPoint& spos)
-{
- wxPoint cpos(cposOrig);
- if(cpos.x == -1)
- cpos = m_CursorPos;
-
- wxASSERT(m_Selection.m_selecting == true);
- wxASSERT(m_Selection.m_valid == false);
- WXLO_DEBUG((wxT("Continuing selection at %d/%d"), cpos.x, cpos.y));
-
- m_Selection.m_ScreenB = spos;
- m_Selection.m_CursorB = cpos;
-}
-
-void
-wxLayoutList::EndSelection(const wxPoint& cposOrig, const wxPoint& spos)
-{
- wxPoint cpos(cposOrig);
-
- if(cpos.x == -1) cpos = m_CursorPos;
-
- ContinueSelection(cpos, spos);
-
- WXLO_DEBUG((wxT("Ending selection at %d/%d"), cpos.x, cpos.y));
-
- // we always want m_CursorA <= m_CursorB!
- if( m_Selection.m_CursorA > m_Selection.m_CursorB )
- {
- // exchange the start/end points
- wxPoint help = m_Selection.m_CursorB;
- m_Selection.m_CursorB = m_Selection.m_CursorA;
- m_Selection.m_CursorA = help;
-
- help = m_Selection.m_ScreenB;
- m_Selection.m_ScreenB = m_Selection.m_ScreenA;
- m_Selection.m_ScreenA = help;
- }
-
- m_Selection.m_selecting = false;
- m_Selection.m_valid = true;
- /// In case we just clicked somewhere, the selection will have zero
- /// size, so we discard it immediately.
- if(m_Selection.m_CursorA == m_Selection.m_CursorB)
- {
- DiscardSelection();
- }
-}
-
-void
-wxLayoutList::DiscardSelection()
-{
- if ( !HasSelection() )
- return;
-
- m_Selection.m_valid =
- m_Selection.m_selecting = false;
- m_Selection.m_discarded = true;
-}
-
-bool
-wxLayoutList::IsSelecting() const
-{
- return m_Selection.m_selecting;
-}
-
-bool
-wxLayoutList::IsSelected(const wxPoint &cursor) const
-{
- if ( !HasSelection() )
- return false;
-
- return (
- (m_Selection.m_CursorA <= cursor
- && cursor <= m_Selection.m_CursorB)
- || (m_Selection.m_CursorB <= cursor
- && cursor <= m_Selection.m_CursorA)
- );
-}
-
-
-/** Tests whether this layout line is selected and needs
- highlighting.
- @param line to test for
- @return 0 = not selected, 1 = fully selected, -1 = partially
- selected
- */
-int
-wxLayoutList::IsSelected(const wxLayoutLine *line, CoordType *from,
- CoordType *to)
-{
- wxASSERT(line); wxASSERT(to); wxASSERT(from);
-
- if(! m_Selection.m_valid && ! m_Selection.m_selecting)
- return 0;
-
- CoordType y = line->GetLineNumber();
- if ( (m_Selection.m_CursorA.y < y && m_Selection.m_CursorB.y > y)
- || (m_Selection.m_CursorB.y < y && m_Selection.m_CursorA.y > y) )
- {
- return 1;
- }
- else if (m_Selection.m_CursorA.y == y)
- {
- *from = m_Selection.m_CursorA.x;
- if(m_Selection.m_CursorB.y == y)
- {
- *to = m_Selection.m_CursorB.x;
- }
- else
- {
- if(m_Selection.m_CursorB > m_Selection.m_CursorA)
- *to = line->GetLength();
- else
- *to = 0;
- }
-
- if(*to < *from)
- {
- CoordType help = *to;
- *to = *from;
- *from = help;
- }
-
- return -1;
- }
- else if (m_Selection.m_CursorB.y == y)
- {
- *to = m_Selection.m_CursorB.x;
- if (m_Selection.m_CursorA.y == y)
- {
- *from = m_Selection.m_CursorA.x;
- }
- else
- {
- if(m_Selection.m_CursorB > m_Selection.m_CursorA)
- *from = 0;
- else
- *from = line->GetLength();
- }
-
- if(*to < *from)
- {
- CoordType help = *to;
- *to = *from;
- *from = help;
- }
- return -1;
- }
- else
- {
- return 0;
- }
-}
-
-void
-wxLayoutList::DeleteSelection()
-{
- if (! m_Selection.m_valid)
- return;
-
- m_Selection.m_valid = false;
-
- // Only delete part of the current line?
- if (m_Selection.m_CursorA.y == m_Selection.m_CursorB.y)
- {
- MoveCursorTo(m_Selection.m_CursorA);
- Delete(m_Selection.m_CursorB.x - m_Selection.m_CursorA.x);
- return;
- }
-
- // We now know that the two lines are different:
-
- wxLayoutLine
- * firstLine = GetLine(m_Selection.m_CursorA.y),
- * lastLine = GetLine(m_Selection.m_CursorB.y);
-
- // be a bit paranoid:
- if(! firstLine || ! lastLine)
- return;
-
- // First, delete what's left of this line:
- MoveCursorTo(m_Selection.m_CursorA);
- DeleteToEndOfLine();
-
- wxLayoutLine *prevLine = firstLine->GetPreviousLine(),
- *nextLine = firstLine->GetNextLine();
-
- while(nextLine && nextLine != lastLine)
- {
- nextLine = nextLine->DeleteLine(false, this);
- }
-
- // Now nextLine = lastLine;
- Delete(1); // This joins firstLine and nextLine
- Delete(m_Selection.m_CursorB.x); // This deletes the first x positions
-
- // Recalculate the line positions and numbers but notice that firstLine
- // might not exist any more - it could be deleted by Delete(1) above
- wxLayoutLine *firstLine2 = prevLine ? prevLine->GetNextLine() : m_FirstLine;
- firstLine2->MarkDirty();
-}
-
-/// Starts highlighting the selection
-void
-wxLayoutList::StartHighlighting(wxDC &dc)
-{
-#if SHOW_SELECTIONS
- dc.SetTextForeground(m_CurrentStyleInfo.m_bg);
- dc.SetTextBackground(m_CurrentStyleInfo.m_fg);
- dc.SetBackgroundMode(wxSOLID);
-#endif
-}
-
-/// Ends highlighting the selection
-void
-wxLayoutList::EndHighlighting(wxDC &dc)
-{
-#if SHOW_SELECTIONS
- dc.SetTextForeground(m_CurrentStyleInfo.m_fg);
- dc.SetTextBackground(m_CurrentStyleInfo.m_bg);
- dc.SetBackgroundMode(wxTRANSPARENT);
-#endif
-}
-
-
-wxLayoutLine *
-wxLayoutList::GetLine(CoordType index) const
-{
- wxASSERT_MSG( (0 <= index) && (index < (CoordType)m_numLines),
- wxT("invalid index") );
-
- wxLayoutLine *line;
- CoordType n = index;
-#ifdef DEBUG
- CoordType lineNo = 0;
-#endif
-
- for ( line = m_FirstLine; line && n-- > 0; line = line->GetNextLine() )
- {
-#ifdef DEBUG
- wxASSERT(line->GetLineNumber() == lineNo );
- lineNo++;
-#endif
- }
-
- if ( line )
- {
- // should be the right one
- wxASSERT( line->GetLineNumber() == index );
- }
-
- return line;
-}
-
-
-wxLayoutList *
-wxLayoutList::Copy(const wxPoint &from,
- const wxPoint &to)
-{
- wxLayoutLine
- * firstLine,
- * lastLine;
-
- for(firstLine = m_FirstLine;
- firstLine && firstLine->GetLineNumber() < from.y;
- firstLine=firstLine->GetNextLine())
- ;
-
- if(!firstLine || firstLine->GetLineNumber() != from.y)
- return NULL;
-
- for(lastLine = m_FirstLine;
- lastLine && lastLine->GetLineNumber() < to.y;
- lastLine=lastLine->GetNextLine())
- ;
-
- if(!lastLine || lastLine->GetLineNumber() != to.y)
- return NULL;
-
- if(to <= from)
- {
- wxLayoutLine *tmp = firstLine;
- firstLine = lastLine;
- lastLine = tmp;
- }
-
- wxLayoutList *llist = new wxLayoutList();
-
- if(firstLine == lastLine)
- {
- firstLine->Copy(llist, from.x, to.x);
- }
- else
- {
- // Extract objects from first line
- firstLine->Copy(llist, from.x);
- llist->LineBreak();
- // Extract all lines between
- for ( wxLayoutLine *line = firstLine->GetNextLine();
- line != lastLine;
- line = line->GetNextLine() )
- {
- line->Copy(llist);
- llist->LineBreak();
- }
-
- // Extract objects from last line
- lastLine->Copy(llist, 0, to.x);
- }
-
- return llist;
-}
-
-wxLayoutList *
-wxLayoutList::GetSelection(wxLayoutDataObject *wxlo, bool invalidate)
-{
- if(! m_Selection.m_valid)
- {
- if(m_Selection.m_selecting)
- EndSelection();
- else
- return NULL;
- }
-
- if(invalidate) m_Selection.m_valid = false;
-
- wxLayoutList *llist = Copy( m_Selection.m_CursorA,
- m_Selection.m_CursorB );
-
- if(llist && wxlo) // export as data object, too
- {
- wxString string;
-
- wxLayoutExportObject *exp;
- wxLayoutExportStatus status(llist);
- while((exp = wxLayoutExport( &status, WXLO_EXPORT_AS_OBJECTS)) != NULL)
- {
- if(exp->type == WXLO_EXPORT_EMPTYLINE)
- string << (int) WXLO_TYPE_LINEBREAK << '\n';
- else
- exp->content.object->Write(string);
- delete exp;
- }
-
- wxlo->SetLayoutData(string);
- }
-
- return llist;
-}
-
-
-
-#define COPY_SI(what) if(si.what != -1) { m_CurrentStyleInfo.what = si.what; fontChanged = true; }
-
-void
-wxLayoutList::ApplyStyle(wxLayoutStyleInfo const &si, wxDC &dc)
-{
- bool fontChanged = false;
- COPY_SI(family);
- COPY_SI(size);
- COPY_SI(style);
- COPY_SI(weight);
- COPY_SI(underline);
- if(fontChanged)
- dc.SetFont( m_FontCache.GetFont(m_CurrentStyleInfo) );
-
- if(si.m_fg_valid)
- {
- m_CurrentStyleInfo.m_fg = si.m_fg;
- m_CurrentStyleInfo.m_fg_valid = true;
- dc.SetTextForeground(m_CurrentStyleInfo.m_fg);
- }
-
- if(si.m_bg_valid)
- {
- m_CurrentStyleInfo.m_bg = si.m_bg;
- m_CurrentStyleInfo.m_bg_valid = true;
- dc.SetTextBackground(m_CurrentStyleInfo.m_bg);
- }
-}
-
-
-#ifdef WXLAYOUT_DEBUG
-
-void
-wxLayoutList::Debug()
-{
- WXLO_DEBUG((wxT("Cursor is in line %d, screen pos = (%d, %d)"),
- (int)m_CursorLine->GetLineNumber(),
- m_CursorScreenPos.x, m_CursorScreenPos.y));
-
- wxLayoutLine *line;
- for(line = m_FirstLine; line; line = line->GetNextLine())
- {
- line->Debug();
- }
-}
-
-#endif
-
-
-/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
-
- wxLayoutPrintout
-
- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
-
-wxLayoutPrintout::wxLayoutPrintout(wxLayoutList *llist,
- wxString const & title)
- :wxPrintout(title)
-{
- m_llist = llist;
- m_title = title;
- // remove any highlighting which could interfere with printing:
- m_llist->StartSelection();
- m_llist->EndSelection();
- // force a full layout of the list:
- m_llist->ForceTotalLayout();
- // layout is called in ScaleDC() when we have a DC
-}
-
-float
-wxLayoutPrintout::ScaleDC(wxDC *dc)
-{
- // The following bit is taken from the printing sample, let's see
- // whether it works for us.
-
- /* You might use THIS code to set the printer DC to ROUGHLY reflect
- * the screen text size. This page also draws lines of actual length 5cm
- * on the page.
- */
-
- // Get the logical pixels per inch of screen and printer
- int ppiScreenX, ppiScreenY;
- GetPPIScreen(&ppiScreenX, &ppiScreenY);
- int ppiPrinterX, ppiPrinterY;
- GetPPIPrinter(&ppiPrinterX, &ppiPrinterY);
-
- if(ppiScreenX == 0) // not yet set, need to guess
- {
- ppiScreenX = 100;
- ppiScreenY = 100;
- }
- wxUnusedVar(ppiScreenY);
-
- if(ppiPrinterX == 0) // not yet set, need to guess
- {
- ppiPrinterX = 72;
- ppiPrinterY = 72;
- }
- wxUnusedVar(ppiPrinterY);
-
- // This scales the DC so that the printout roughly represents the
- // the screen scaling. The text point size _should_ be the right size
- // but in fact is too small for some reason. This is a detail that will
- // need to be addressed at some point but can be fudged for the
- // moment.
- float scale = (float)((float)ppiPrinterX/(float)ppiScreenX);
-
- // Now we have to check in case our real page size is reduced
- // (e.g. because we're drawing to a print preview memory DC)
- int pageWidth, pageHeight;
- int w, h;
- dc->GetSize(&w, &h);
- GetPageSizePixels(&pageWidth, &pageHeight);
- wxUnusedVar(pageHeight);
- if(pageWidth != 0) // doesn't work always
- {
- // If printer pageWidth == current DC width, then this doesn't
- // change. But w might be the preview bitmap width, so scale down.
- scale = scale * (float)(w/(float)pageWidth);
- }
-
- dc->SetUserScale(scale, scale);
- return scale;
-}
-
-bool wxLayoutPrintout::OnPrintPage(int page)
-{
- wxDC *dc = GetDC();
-
- ScaleDC(dc);
-
- if (dc)
- {
- int top, bottom;
- top = (page - 1)*m_PrintoutHeight;
- bottom = top + m_PrintoutHeight;
-
- WXLO_DEBUG((wxT("OnPrintPage(%d) printing from %d to %d"), page, top,
- bottom));
-
- // SetDeviceOrigin() doesn't work here, so we need to manually
- // translate all coordinates.
- wxPoint translate(m_Offset.x,m_Offset.y-top);
- m_llist->Draw(*dc, translate, top, bottom, true /* clip strictly */);
- return true;
- }
- else
- {
- return false;
- }
-}
-
-void wxLayoutPrintout::GetPageInfo(int *minPage, int *maxPage, int *selPageFrom, int *selPageTo)
-{
- /* We allocate a temporary wxDC for printing, so that we can
- determine the correct paper size and scaling. We don't actually
- print anything on it. */
-#if defined(__WXMSW__) || defined(__WXMAC__)
- wxPrinterDC *psdc = new wxPrinterDC(wxEmptyString,wxEmptyString,WXLLIST_TEMPFILE,false);
-#else
- wxPrintData data;
- data.SetFilename(WXLLIST_TEMPFILE);
- wxPostScriptDC *psdc = new wxPostScriptDC(data);
-#endif
-
- psdc->StartDoc(m_title);
- // before we draw anything, me must make sure the list is properly
- // laid out
- m_llist->Layout(*psdc);
-
- float scale = ScaleDC(psdc);
-
- psdc->GetSize(&m_PageWidth, &m_PageHeight);
-
- // This sets a left/top origin of 15% and 5%:
- m_Offset = wxPoint((15*m_PageWidth)/100, (5*m_PageHeight)/100);
-
- // This is the length of the printable area.
- m_PrintoutHeight = m_PageHeight - 2*m_Offset.y;
- m_PrintoutHeight = (int)( m_PrintoutHeight / scale); // we want to use the real paper height
-
- m_NumOfPages = 1 +
- (int)( m_llist->GetSize().y / (float)(m_PrintoutHeight));
-
- *minPage = 1;
- *maxPage = m_NumOfPages;
-
- *selPageFrom = 1;
- *selPageTo = m_NumOfPages;
- psdc->EndDoc();
- delete psdc;
- wxRemoveFile(WXLLIST_TEMPFILE);
-}
-
-bool wxLayoutPrintout::HasPage(int pageNum)
-{
- return pageNum <= m_NumOfPages;
-}
-
-/*
- Stupid wxWidgets doesn't draw proper ellipses, so we comment this
- out. It's a waste of paper anyway.
-*/
-#if 0
-void
-wxLayoutPrintout::DrawHeader(wxDC &dc,
- wxPoint topleft, wxPoint bottomright,
- int pageno)
-{
- // make backups of all essential parameters
- const wxBrush& brush = dc.GetBrush();
- const wxPen& pen = dc.GetPen();
- const wxFont& font = dc.GetFont();
-
- dc.SetBrush(*wxWHITE_BRUSH);
- dc.SetPen(wxPen(*wxBLACK,0,wxSOLID));
- dc.DrawRoundedRectangle(topleft.x,
- topleft.y,bottomright.x-topleft.x,
- bottomright.y-topleft.y);
- dc.SetBrush(*wxBLACK_BRUSH);
- wxFont myfont = wxFont((WXLO_DEFAULTFONTSIZE*12)/10,
- wxSWISS,wxNORMAL,wxBOLD,false,"Helvetica");
- dc.SetFont(myfont);
-
- wxString page;
- page = "9999/9999 "; // many pages...
- long w,h;
- dc.GetTextExtent(page,&w,&h);
- page.Printf("%d/%d", pageno, (int) m_NumOfPages);
- dc.DrawText(page,bottomright.x-w,topleft.y+h/2);
- dc.GetTextExtent("XXXX", &w,&h);
- dc.DrawText(m_title, topleft.x+w,topleft.y+h/2);
-
- // restore settings
- dc.SetPen(pen);
- dc.SetBrush(brush);
- dc.SetFont(font);
-}
-#endif
-
-
-wxFont &
-wxFontCache::GetFont(int family, int size, int style, int weight,
- bool underline)
-{
- for(wxFCEList::iterator i = m_FontList.begin();
- i != m_FontList.end(); i++)
- if( (**i).Matches(family, size, style, weight, underline) )
- return (**i).GetFont();
- // not found:
- wxFontCacheEntry *fce = new wxFontCacheEntry(family, size, style,
- weight, underline);
- m_FontList.push_back(fce);
- return fce->GetFont();
-}
-
+++ /dev/null
-/*-*- c++ -*-********************************************************
- * wxLayoutList.h - a formatted text rendering engine for wxWidgets *
- * *
- * (C) 1999-2000 by Karsten Ballüder (ballueder@gmx.net) *
- * *
- * $Id$
- *******************************************************************/
-
-
-#ifndef WXLLIST_H
-#define WXLLIST_H
-
-#include "kbList.h"
-
-#include "wx/wx.h"
-#include "wx/print.h"
-#include "wx/printdlg.h"
-#include "wx/generic/printps.h"
-#include "wx/generic/prntdlgg.h"
-#include "wx/dataobj.h"
-
-// skip the following defines if embedded in M application
-#ifndef M_BASEDIR
-# define WXMENU_LAYOUT_LCLICK 1111
-# define WXMENU_LAYOUT_RCLICK 1112
-# define WXMENU_LAYOUT_DBLCLICK 1113
-#else // for Mahogany only
-# include "MObject.h"
-#endif
-
-// use the wxWidgets caret class instead of home grown cursor whenever possible
-#ifdef __WXMSW__
-# undef WXLAYOUT_USE_CARET
-# define WXLAYOUT_USE_CARET 1
-#endif // __WXMSW__
-
-// do not enable debug mode within Mahogany unless in debug mode
-#if defined(__WXDEBUG__) && (( ! defined(M_BASEDIR) )|| defined(DEBUG))
-# define WXLAYOUT_DEBUG
-#endif
-
-#ifdef WXLAYOUT_DEBUG
-# define WXLO_TRACE(x) wxLogDebug(x)
-// activate profiling: # define WXLO_PROFILE
-#else
-# define WXLO_TRACE(x)
-#endif
-
-/* Some profiling code: */
-#if defined (WXLO_PROFILE)
-#include <sys/time.h>
-#include <unistd.h>
-
-# define WXLO_TIMER_DEFINE(x) static struct timeval x
-# define WXLO_TIMER_START(x) gettimeofday(&x,NULL)
-# define WXLO_TIMER_STOP(x) { struct timeval y; \
- gettimeofday(&y,NULL); \
- x.tv_sec -= y.tv_sec; x.tv_usec -= y.tv_usec; }
-# define WXLO_TIMER_PRINT(x) wxLogDebug("Timer " #x " elapsed: %ld", \
- (long)(x.tv_sec * -1000 - x.tv_usec));
-#else
-# define WXLO_TIMER_DEFINE(x)
-# define WXLO_TIMER_START(x)
-# define WXLO_TIMER_STOP(x)
-# define WXLO_TIMER_PRINT(x)
-#endif
-
-
-#define WXLO_DEBUG_URECT 0
-
-#ifndef WXLO_DEFAULTFONTSIZE
-# define WXLO_DEFAULTFONTSIZE 12
-#endif
-
-#ifdef __WXMSW__
-# define WXLO_BITMAP_FORMAT wxBITMAP_TYPE_BMP
-#else
-# define WXLO_BITMAP_FORMAT wxBITMAP_TYPE_PNG
-#endif
-
-/// Types of currently supported layout objects.
-enum wxLayoutObjectType
-{
- /// illegal object type, should never appear
- WXLO_TYPE_INVALID = 0,
-
- /// text object, containing normal text
- WXLO_TYPE_TEXT,
-
- /// command object, containing font or colour changes
- WXLO_TYPE_CMD,
-
- /// icon object, any kind of image
- WXLO_TYPE_ICON,
-
- /// a linebreak, does not exist as an object
- WXLO_TYPE_LINEBREAK
-};
-
-/// Type used for coordinates in drawing. Must be signed.
-typedef long CoordType;
-
-// Forward declarations.
-class wxLayoutList;
-class wxLayoutLine;
-class wxLayoutObject;
-
-class WXDLLEXPORT wxCaret;
-class WXDLLEXPORT wxColour;
-class WXDLLEXPORT wxDC;
-class WXDLLEXPORT wxFont;
-
-/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
-
- The wxLayout objects which make up the lines.
-
- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
-
-/** The base class defining the interface to each object which can be
- part of the layout. Each object needs to draw itself and calculate
- its size.
-*/
-class wxLayoutObject
-#ifdef M_BASEDIR
- : public MObject
-#endif
-{
-public:
- /** This structure can be used to contain data associated with the
- object.
- It is refcounted, so the caller has to do a DecRef() on it
- instead of a delete.
- */
- struct UserData
- {
- UserData() { m_refcount = 1; }
- inline void IncRef() { m_refcount++; }
- inline void DecRef() { m_refcount--; if(m_refcount == 0) delete this;}
- inline void SetLabel(const wxString &l) { m_label = l; }
- inline const wxString & GetLabel() const { return m_label; }
- private:
- int m_refcount;
- wxString m_label;
- protected:
- virtual ~UserData() { wxASSERT(m_refcount == 0); }
- /// prevents gcc from generating stupid warnings
- friend class dummy_UserData;
- };
-
- /// return the type of this object
- virtual wxLayoutObjectType GetType() const { return WXLO_TYPE_INVALID; }
- /** Calculates the size of an object.
- @param dc the wxDC to draw on
- @param llist the wxLayoutList
- */
- virtual void Layout(wxDC &dc, wxLayoutList *llist) = 0;
-
- /** Draws an object.
- @param dc the wxDC to draw on
- @param coords where to draw the baseline of the object.
- @param wxllist pointer to wxLayoutList
- @param begin if !=-1, from which position on to highlight it
- @param end if begin !=-1, how many positions to highlight it
- */
- virtual void Draw(wxDC & /* dc */,
- wxPoint const & /* coords */,
- wxLayoutList *WXUNUSED(wxllist),
- CoordType WXUNUSED(begin) = -1,
- CoordType WXUNUSED(end) = -1) { }
-
- /** Calculates and returns the size of the object.
- @param top where to store height above baseline
- @param bottom where to store height below baseline
- @return the size of the object's box in pixels
- */
- virtual wxPoint GetSize(CoordType * top, CoordType *bottom) const
- { *top = 0; *bottom = 0; return wxPoint(0,0); }
-
- /// Return just the width of the object on the screen.
- virtual CoordType GetWidth() const { return 0; }
-
- /// returns the number of cursor positions occupied by this object
- virtual CoordType GetLength() const { return 1; }
-
- /** Returns the cursor offset relating to the screen x position
- relative to begin of object.
- @param dc the wxDC to use for calculations
- @param xpos relative x position from head of object
- @return cursor coordinate offset
- */
- virtual CoordType GetOffsetScreen( wxDC & WXUNUSED(dc),
- CoordType WXUNUSED(xpos) ) const
- {
- return 0;
- }
-
- /// constructor
- wxLayoutObject() { m_UserData = NULL; }
-
- /// delete the user data
- virtual ~wxLayoutObject() { if(m_UserData) m_UserData->DecRef(); }
-
-#ifdef WXLAYOUT_DEBUG
- virtual wxString DebugDump() const;
-#endif
-
- /** Tells the object about some user data. This data is associated
- with the object and will be deleted at destruction time.
- It is reference counted.
- */
- void SetUserData(UserData *data)
- {
- if(m_UserData)
- m_UserData->DecRef();
-
- m_UserData = data;
-
- if(m_UserData)
- m_UserData->IncRef();
- }
-
- /** Return the user data.
- Increments the object's reference count. When no longer needed,
- caller must call DecRef() on the pointer returned.
- */
- UserData * GetUserData() const { if(m_UserData) m_UserData->IncRef(); return m_UserData; }
-
- /** Makes a copy of this object.
- */
- virtual wxLayoutObject *Copy() = 0;
-
- /** Clipboard support function. Read and write objects to
- strings. */
- //@{
- /// Writes the object to the string.
- virtual void Write(wxString &ostr) = 0;
-
- /** Reads an object.
- @param str stream to read from, will bee changed
- @return true on success
- */
- static wxLayoutObject *Read(wxString &istr);
- //@}
-
- /// returns true if the object is shown on the screen (i.e. not cmd object)
- bool IsVisibleObject() const { return GetType() != WXLO_TYPE_CMD; }
-
-protected:
- /// optional data for application's use
- UserData *m_UserData;
-#if defined (M_BASEDIR) && defined (DEBUG)
- MOBJECT_NAME(wxLayoutObject)
-#endif
-};
-
-/// Define a list type of wxLayoutObject pointers.
-KBLIST_DEFINE(wxLayoutObjectList, wxLayoutObject);
-
-/// The iterator type.
-typedef wxLayoutObjectList::iterator wxLOiterator;
-
-/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
-
- wxLayoutObjectText
-
- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
-/** This class implements a wxLayoutObject holding plain text.
- */
-class wxLayoutObjectText : public wxLayoutObject
-{
-public:
- wxLayoutObjectText(const wxString &txt = wxEmptyString);
-
- virtual wxLayoutObjectType GetType() const { return WXLO_TYPE_TEXT; }
- virtual void Layout(wxDC &dc, wxLayoutList *llist);
- virtual void Draw(wxDC &dc, wxPoint const &coords,
- wxLayoutList *wxllist,
- CoordType begin = -1,
- CoordType end = -1);
-
- /** Calculates and returns the size of the object.
- @param top where to store height above baseline
- @param bottom where to store height below baseline
- @return the size of the object's box in pixels
- */
- virtual wxPoint GetSize(CoordType * top, CoordType *bottom) const;
-
- /// Return just the width of the object on the screen.
- virtual CoordType GetWidth() const { return m_Width; }
-
- /** Returns the cursor offset relating to the screen x position
- relative to begin of object.
- @param dc the wxDC to use for calculations
- @param xpos relative x position from head of object
- @return cursor coordinate offset
- */
- virtual CoordType GetOffsetScreen(wxDC &dc, CoordType xpos) const;
-
- virtual void Write(wxString &ostr);
- static wxLayoutObjectText *Read(wxString &istr);
-
-#ifdef WXLAYOUT_DEBUG
- virtual wxString DebugDump() const;
-#endif
-
- virtual CoordType GetLength() const { return wxStrlen(m_Text.c_str()); }
-
- // for editing:
- wxString & GetText() { return m_Text; }
-
- void SetText(wxString const &text) { m_Text = text; }
- /** Makes a copy of this object.
- */
- virtual wxLayoutObject *Copy();
-
-private:
- wxString m_Text;
-
- /// size of the box containing text
- long m_Width, m_Height;
-
- /// Height above baseline.
- long m_Top;
-
- /// Height below baseline.
- long m_Bottom;
-};
-
-/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
-
- wxLayoutObjectIcon
-
- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
-/** This class implements a wxLayoutObject holding a graphic.
- */
-class wxLayoutObjectIcon : public wxLayoutObject
-{
-public:
- wxLayoutObjectIcon(wxBitmap *icon = NULL);
- wxLayoutObjectIcon(wxBitmap const &icon);
-
- ~wxLayoutObjectIcon() { if(m_Icon) delete m_Icon; }
-
- virtual wxLayoutObjectType GetType() const { return WXLO_TYPE_ICON; }
- virtual void Layout(wxDC &dc, wxLayoutList *llist);
- virtual void Draw(wxDC &dc, wxPoint const &coords,
- wxLayoutList *wxllist,
- CoordType begin = -1,
- CoordType end = -1);
-
- /** Calculates and returns the size of the object.
- @param top where to store height above baseline
- @param bottom where to store height below baseline
- @return the size of the object's box in pixels
- */
- virtual wxPoint GetSize(CoordType * top, CoordType *bottom) const;
-
- /// Return just the width of the object on the screen.
- virtual CoordType GetWidth() const { return m_Icon->GetWidth(); }
-
- // return a pointer to the icon
- wxBitmap *GetIcon() const { return m_Icon; }
-
- /** Makes a copy of this object.
- */
- virtual wxLayoutObject *Copy();
- virtual void Write(wxString &ostr);
- static wxLayoutObjectIcon *Read(wxString &istr);
-
-private:
- wxBitmap *m_Icon;
-};
-
-/** This structure holds all formatting information.
-*/
-struct wxLayoutStyleInfo
-{
- wxLayoutStyleInfo(int ifamily = -1,
- int isize = -1,
- int istyle = -1,
- int iweight = -1,
- int iul = -1,
- wxColour *fg = NULL,
- wxColour *bg = NULL);
-
- wxLayoutStyleInfo & operator=(const wxLayoutStyleInfo &right);
-
- wxColour & GetBGColour() { return m_bg; }
-
- /// Font change parameters.
- int size, family, style, weight, underline;
-
- /// Colours
- wxColour m_bg, m_fg;
- int m_fg_valid, m_bg_valid; // bool, but must be int!
-};
-
-/// a cached font
-class wxFontCacheEntry
-{
-public:
- wxFontCacheEntry(int family, int size, int style, int weight,
- bool underline)
- {
- m_Family = family; m_Size = size; m_Style = style;
- m_Weight = weight; m_Underline = underline;
- m_Font = new wxFont(m_Size, m_Family,
- m_Style, m_Weight, m_Underline);
- }
-
- bool Matches(int family, int size, int style, int weight,
- bool underline) const
- {
- return size == m_Size && family == m_Family
- && style == m_Style && weight == m_Weight
- && underline == m_Underline;
- }
-
- wxFont & GetFont() { return *m_Font; }
- ~wxFontCacheEntry()
- {
- delete m_Font;
- }
-
-private:
- wxFont *m_Font;
-
- // VZ: I wonder why it doesn't use wxLayoutStyleInfo instead of those?
- int m_Family, m_Size, m_Style, m_Weight;
- bool m_Underline;
-};
-
-KBLIST_DEFINE(wxFCEList, wxFontCacheEntry);
-
-class wxFontCache
-{
-public:
- wxFont & GetFont(int family, int size, int style, int weight,
- bool underline);
-
- wxFont & GetFont(wxLayoutStyleInfo const &si)
- {
- return GetFont(si.family, si.size, si.style, si.weight,
- si.underline != 0);
- }
-
-private:
- wxFCEList m_FontList;
-};
-
-/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
-
- wxLayoutObjectCmd
-
- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
-/** This class implements a wxLayoutObject holding style change commands.
- */
-class wxLayoutObjectCmd : public wxLayoutObject
-{
-public:
- virtual wxLayoutObjectType GetType() const { return WXLO_TYPE_CMD; }
- virtual void Layout(wxDC &dc, wxLayoutList *llist);
- virtual void Draw(wxDC &dc, wxPoint const &coords,
- wxLayoutList *wxllist,
- CoordType begin = -1,
- CoordType end = -1);
-
- wxLayoutObjectCmd(int family = -1,
- int size = -1,
- int style = -1,
- int weight = -1,
- int underline = -1,
- wxColour *fg = NULL,
- wxColour *bg = NULL);
-
- wxLayoutObjectCmd(const wxLayoutStyleInfo &si);
- ~wxLayoutObjectCmd();
- /** Stores the current style in the styleinfo structure */
- wxLayoutStyleInfo * GetStyle() const;
- /** Makes a copy of this object.
- */
- virtual wxLayoutObject *Copy();
- virtual void Write(wxString &ostr);
- static wxLayoutObjectCmd *Read(wxString &istr);
-
-private:
- wxLayoutStyleInfo *m_StyleInfo;
-};
-
-/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
-
- The wxLayoutLine object
-
- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
-
-/** This class represents a single line of objects to be displayed.
- It knows its height and total size and whether it needs to be
- redrawn or not.
- It has pointers to its first and next line so it can automatically
- update them as needed.
-*/
-class wxLayoutLine
-{
-public:
- /** Constructor.
- @param prev pointer to previous line or NULL
- @param next pointer to following line or NULL
- @param llist pointer to layout list
- */
- wxLayoutLine(wxLayoutLine *prev, wxLayoutList *llist);
- /** This function inserts a new object at cursor position xpos.
- @param xpos where to insert new object
- @param obj the object to insert
- @return true if that xpos existed and the object was inserted
- */
- bool Insert(CoordType xpos, wxLayoutObject *obj);
-
- /** This function inserts text at cursor position xpos.
- @param xpos where to insert
- @param text the text to insert
- @return true if that xpos existed and the object was inserted
- */
- bool Insert(CoordType xpos, const wxString& text);
-
- /** This function appends an object to the line.
- @param obj the object to insert
- */
- void Append(wxLayoutObject * obj)
- {
- wxASSERT(obj);
- m_ObjectList.push_back(obj);
- m_Length += obj->GetLength();
- }
-
- /** This function prepends an object to the line. */
- void Prepend(wxLayoutObject * obj)
- {
- wxASSERT(obj);
- m_ObjectList.push_front(obj);
- m_Length += obj->GetLength();
- }
-
- /** This function appens the next line to this, i.e. joins the two
- lines into one.
- */
- void MergeNextLine(wxLayoutList *llist);
-
- /** This function deletes npos cursor positions from position xpos.
- @param xpos where to delete
- @param npos how many positions
- @return number of positions still to be deleted
- */
- CoordType Delete(CoordType xpos, CoordType npos);
-
- /** This function breaks the line at a given cursor position.
- @param xpos where to break it
- @return pointer to the new line object replacing the old one
- */
- wxLayoutLine *Break(CoordType xpos, wxLayoutList *llist);
-
- /** This function wraps the line: breaks it at a suitable point
- and merges it with the next.
- @param wrapmargin
- @return true if broken
- */
- bool Wrap(CoordType wrapmargin, wxLayoutList *llist);
-
- /** Deletes the next word from this position, including leading
- whitespace.
- This function does not delete over font changes, i.e. a word
- with formatting instructions in the middle of it is treated as
- two (three actually!) words. In fact, if the cursor is on a non-text object, that
- one is treated as a word.
- @param xpos from where to delete
- @return true if a word was deleted
- */
- bool DeleteWord(CoordType npos);
-
- /** Finds a suitable position left to the given column to break the
- line.
- @param column we want to break the line to the left of this
- @return column for breaking line or -1 if no suitable location found
- */
- CoordType GetWrapPosition(CoordType column);
-
- /** Finds the object which covers the cursor position xpos in this
- line.
- @param xpos the column number
- @param offset where to store the difference between xpos and
- the object's head
- @return iterator to the object or iterator to NULL
- */
- wxLayoutObjectList::iterator FindObject(CoordType xpos, CoordType
- *offset) const ;
-
- /** Finds the object which covers the screen position xpos in this
- line.
- @param dc the wxDC to use for calculations
- @param llist the layout list to which this line belongs
- @param xpos the screen x coordinate
- @param offset where to store the difference between xpos and
- the object's head
- @return iterator to the object or iterator to NULL
- */
- wxLayoutObjectList::iterator FindObjectScreen(wxDC &dc,
- wxLayoutList *llist,
- CoordType xpos,
- CoordType *offset,
- bool *found = NULL) const ;
-
- /** Finds text in this line.
- @param needle the text to find
- @param xpos the position where to start the search
- @return the cursoor coord where it was found or -1
- */
- CoordType FindText(const wxString &needle, CoordType xpos = 0) const;
-
- /** Get the first object in the list. This is used by the wxlparser
- functions to export the list.
- @return iterator to the first object
- */
- wxLayoutObjectList::iterator GetFirstObject() const
- {
- return m_ObjectList.begin();
- }
-
- /// Get the last object in the list.
- wxLayoutObjectList::iterator GetLastObject() const
- {
- return m_ObjectList.tail();
- }
-
- /** Deletes this line, returns pointer to next line.
- @param update If true, update all following lines.
- */
- wxLayoutLine *DeleteLine(bool update, wxLayoutList *llist);
-
- /**@name Cursor Management */
- //@{
- /** Return the line number of this line.
- @return the line number
- */
- inline CoordType GetLineNumber() const { return m_LineNumber; }
-
- /** Return the length of the line.
- @return line length in cursor positions
- */
- inline CoordType GetLength() const { return m_Length; }
- //@}
-
- /**@name Drawing and Layout */
- //@{
- /** Draws the line on a wxDC.
- @param dc the wxDC to draw on
- @param llist the wxLayoutList
- @param offset an optional offset to shift printout
- */
- void Draw(wxDC &dc,
- wxLayoutList *llist,
- const wxPoint &offset = wxPoint(0,0)) const;
-
- /** Recalculates the positions of objects and the height of the
- line.
- @param dc the wxDC to draw on
- @param llist th e wxLayoutList
- @param cursorPos if not NULL, set cursor screen position in there
- @param cursorSize if not cursorPos != NULL, set cursor size in there
- @param cursorStyle if non NULL where to store styleinfo for cursor pos
- @param cx if cursorPos != NULL, the cursor x position
- @param suppressStyleUpdate FALSe normally, only to suppress updating of m_StyleInfo
- */
- void Layout(wxDC &dc,
- wxLayoutList *llist,
- wxPoint *cursorPos = NULL,
- wxPoint *cursorSize = NULL,
- wxLayoutStyleInfo *cursorStyle = NULL,
- int cx = 0,
- bool suppressStyleUpdate = false);
-
- /** This function finds an object belonging to a given cursor
- position. It assumes that Layout() has been called before.
- @param dc the wxDC to use for calculations
- @param xpos screen x position
- @param found if non-NULL set to false if we return the last
- object before the cursor, to true if we really have an object
- for that position
- @return pointer to the object
- */
- wxLayoutObject * FindObjectScreen(wxDC &dc,
- CoordType xpos,
- bool *found = NULL);
-
- /** This sets the style info for the beginning of this line.
- @param si styleinfo structure
- */
- void ApplyStyle(const wxLayoutStyleInfo &si)
- { m_StyleInfo = si; }
-
- //@}
-
- /**@name List traversal */
- //@{
- /// Returns pointer to next line.
- wxLayoutLine *GetNextLine() const { return m_Next; }
-
- /// Returns pointer to previous line.
- wxLayoutLine *GetPreviousLine() const { return m_Previous; }
-
- /// Sets the link to the next line.
- void SetNext(wxLayoutLine *next)
- { m_Next = next; if(next) next->m_Previous = this; }
-
- /// Sets the link to the previous line.
- void SetPrevious(wxLayoutLine *previous)
- { m_Previous = previous; if(previous) previous->m_Next = this; }
- //@}
-
- /// Returns the position of this line on the canvas.
- wxPoint GetPosition() const { return m_Position; }
-
- /// Returns the height of this line.
- CoordType GetHeight() const { return m_Height; }
-
- /// Returns the width of this line.
- CoordType GetWidth() const { return m_Width; }
-
- /// Recalculates the position of this line on the canvas.
- wxPoint RecalculatePosition(wxLayoutList *llist);
-
- /** Copies the contents of this line to another wxLayoutList
- @param llist the wxLayoutList destination
- @param from x cursor coordinate where to start
- @param to x cursor coordinate where to stop, -1 for end of line
- */
- void Copy(wxLayoutList *llist,
- CoordType from = 0,
- CoordType to = -1);
-
-#ifdef WXLAYOUT_DEBUG
- void Debug() const;
-#endif
- wxLayoutStyleInfo const & GetStyleInfo() const { return m_StyleInfo; }
-
- /// Returns dirty state
- bool IsDirty() const { return m_Dirty; }
-
- /** Marks this line as diry.
- @param left xpos from where it is dirty or -1 for all
- */
- void MarkDirty(CoordType left = -1)
- {
- if ( left != -1 )
- {
- if ( m_updateLeft == -1 || left < m_updateLeft )
- m_updateLeft = left;
- }
-
- m_Dirty = true;
- if(m_Next) m_Next->MarkDirty();
- }
-
- /// Reset the dirty flag
- void MarkClean() { m_Dirty = false; m_updateLeft = -1; }
-
-private:
- /// Destructor is private. Use DeleteLine() to remove it.
- ~wxLayoutLine(){};
-
- /**@name Functions to let the lines synchronise with each other. */
- //@{
- /** Sets the height of this line. Will mark following lines as
- dirty.
- @param height new height
- */
- void SetHeight( CoordType height, wxLayoutList * WXUNUSED(llist) )
- {
- m_Height = height; MarkDirty();
- }
-
- /** Updates the line numbers. */
- void ReNumber();
- //@}
-
-private:
- /// The line number.
- CoordType m_LineNumber;
-
- /// The line length in cursor positions.
- CoordType m_Length;
-
- /// The total height of the line.
- CoordType m_Height;
-
- /// The total width of the line on screen.
- CoordType m_Width;
-
- /// The baseline for drawing objects
- CoordType m_BaseLine;
-
- /// The position on the canvas.
- wxPoint m_Position;
-
- /// The list of objects
- wxLayoutObjectList m_ObjectList;
-
- /// Have we been changed since the last layout?
- bool m_Dirty;
-
- /// The coordinate of the left boundary of the update rectangle (if m_Dirty)
- CoordType m_updateLeft;
-
- /// Pointer to previous line if it exists.
- wxLayoutLine *m_Previous;
-
- /// Pointer to next line if it exists.
- wxLayoutLine *m_Next;
-
- /// A StyleInfo structure, holding the current settings.
- wxLayoutStyleInfo m_StyleInfo;
-
- /// Just to suppress gcc compiler warnings.
- friend class dummy;
-
-private:
- wxLayoutLine(const wxLayoutLine &);
-};
-
-
-/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
-
- The wxLayoutList object
-
- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
-/** The wxLayoutList is a list of wxLayoutLine objects. It provides a
- higher level of abstraction for the text and can generally be considered
- as representing "the text".
- */
-class wxLayoutList
-{
-public:
- /// Constructor.
- wxLayoutList();
-
- /// Destructor.
- ~wxLayoutList();
-
-#ifdef WXLAYOUT_USE_CARET
- /// give us the pointer to the caret to use
- void SetCaret(wxCaret *caret) { m_caret = caret; }
-#endif // WXLAYOUT_USE_CARET
-
- /// Clear the list.
- void Clear(int family = wxROMAN,
- int size=WXLO_DEFAULTFONTSIZE,
- int style=wxNORMAL,
- int weight=wxNORMAL,
- int underline=0,
- wxColour *fg=NULL,
- wxColour *bg=NULL);
-
- /// Empty: clear the list but leave font settings.
- void Empty();
-
- /** Enable or disable auto-formatting. Normally, while editing this
- should be enabled which is the default. While
- inserting/deleting lots of text, it makes sense to temporarily
- disable this.
- @param enable true to enable, false to disable
- */
-
- void SetAutoFormatting(bool enable = true)
- { m_AutoFormat = enable; }
-
- /**@name Cursor Management */
- //@{
- /** Set new cursor position.
- @param p new position
- @return bool if it could be set
- */
- bool MoveCursorTo(wxPoint const &p);
-
- /** Move cursor up or down.
- @param n
- @return bool if it could be moved
- */
- bool MoveCursorVertically(int n);
-
- /** Move cursor left or right.
- @param n = number of positions to move
- @return bool if it could be moved
- */
- bool MoveCursorHorizontally(int n);
-
- /** Move cursor to the left or right counting in words
- @param n = number of positions in words
- @param untilNext: puts the cursor at the start of the next word if true,
- leaves it at the end of the current one otherwise
- @return bool if it could be moved
- */
- bool MoveCursorWord(int n, bool untilNext = true);
-
- /// Move cursor to end of line.
- void MoveCursorToEndOfLine()
- {
- wxASSERT(m_CursorLine);
- MoveCursorHorizontally(m_CursorLine->GetLength()-m_CursorPos.x);
- }
-
- /// Move cursor to the start of line.
- void MoveCursorToBeginOfLine()
- { MoveCursorHorizontally(-m_CursorPos.x); }
-
- /// get the number of lines in the list
- size_t GetNumLines() const { return m_numLines; }
-
- /// Returns current cursor position.
- const wxPoint &GetCursorPos(wxDC & WXUNUSED(dc) ) const
- { return m_CursorPos; }
- const wxPoint &GetCursorPos() const { return m_CursorPos; }
- wxLayoutLine * GetCursorLine() { return m_CursorLine; }
-
- /// move cursor to the end of text
- void MoveCursorToEnd()
- {
- MoveCursorTo(wxPoint(0, GetNumLines() - 1));
- MoveCursorToEndOfLine();
- }
-
- //@}
-
- /**@name Editing functions.
- All of these functions return true on success and false on
- failure. */
- //@{
- /// Insert text at current cursor position.
- bool Insert(wxString const &text);
-
- /// Insert some other object at current cursor position.
- bool Insert(wxLayoutObject *obj);
-
- /// Inserts objects at current cursor positions
- bool Insert(wxLayoutList *llist);
-
- /// Inserts a linebreak at current cursor position.
- bool LineBreak();
- /** Wraps the current line. Searches to the left of the cursor to
- break the line. Does nothing if the cursor position is before
- the break position parameter.
- @param column the break position for the line, maximum length
- @return true if line got broken
- */
- bool WrapLine(CoordType column);
-
- /** Wraps the complete buffer.
- @param column the break position for the line, maximum length
- @return true if line got broken
- */
- bool WrapAll(CoordType column);
- /** This function deletes npos cursor positions.
- @param npos how many positions
- @return true if everything got deleted
- */
- bool Delete(CoordType npos);
-
- /** Delete the next n lines.
- @param n how many lines to delete
- @return how many it could not delete
- */
- int DeleteLines(int n);
-
- /// Delete to end of line.
- void DeleteToEndOfLine()
- {
- wxASSERT(m_CursorLine);
- Delete(m_CursorLine->GetLength()-m_CursorPos.x);
- }
-
- /// Delete to begin of line.
- void DeleteToBeginOfLine()
- {
- wxASSERT(m_CursorLine);
- CoordType n = m_CursorPos.x;
-#ifdef WXLAYOUT_DEBUG
- wxASSERT(MoveCursorHorizontally(-n));
-#else
- MoveCursorHorizontally(-n);
-#endif
- Delete(n);
- }
-
- /** Delete the next word.
- */
- void DeleteWord()
- {
- wxASSERT(m_CursorLine);
- m_CursorLine->DeleteWord(m_CursorPos.x);
- }
-
- //@}
-
- /** Finds text in this list.
- @param needle the text to find
- @param cpos the position where to start the search
- @return the cursor coord where it was found or (-1,-1)
- */
- wxPoint FindText(const wxString &needle, const wxPoint &cpos = wxPoint(0,0)) const;
-
- /**@name Formatting options */
- //@{
- /// sets font parameters
- void SetFont(int family, int size, int style,
- int weight, int underline,
- wxColour *fg,
- wxColour *bg);
-
- /// sets font parameters, colours by name
- void SetFont(int family=-1, int size = -1, int style=-1,
- int weight=-1, int underline = -1,
- wxChar const *fg = NULL,
- wxChar const *bg = NULL);
-
- /// changes to the next larger font size
- inline void SetFontLarger()
- { SetFont(-1,(12*m_CurrentStyleInfo.size)/10); }
-
- /// changes to the next smaller font size
- inline void SetFontSmaller()
- { SetFont(-1,(10*m_CurrentStyleInfo.size)/12); }
-
- /// set font family
- inline void SetFontFamily(int family) { SetFont(family); }
-
- /// set font size
- inline void SetFontSize(int size) { SetFont(-1,size); }
-
- /// set font style
- inline void SetFontStyle(int style) { SetFont(-1,-1,style); }
-
- /// set font weight
- inline void SetFontWeight(int weight) { SetFont(-1,-1,-1,weight); }
-
- /// toggle underline flag
- inline void SetFontUnderline(bool ul) { SetFont(-1,-1,-1,-1,(int)ul); }
-
- /// set font colours by name
- inline void SetFontColour(wxChar const *fg, wxChar const *bg = NULL)
- { SetFont(-1,-1,-1,-1,-1,fg,bg); }
-
- /// set font colours by colour
- inline void SetFontColour(wxColour *fg, wxColour *bg = NULL)
- { SetFont(-1,-1,-1,-1,-1,fg,bg); }
-
- /**
- Returns a pointer to the default settings.
- This is only valid temporarily and should not be stored
- anywhere.
- @return the default settings of the list
- */
- wxLayoutStyleInfo &GetDefaultStyleInfo() { return m_DefaultStyleInfo ; }
- wxLayoutStyleInfo &GetStyleInfo() { return m_CurrentStyleInfo ; }
- const wxLayoutStyleInfo &GetStyleInfo() const { return m_CurrentStyleInfo ; }
- const wxLayoutStyleInfo &GetCursorStyleInfo() const { return m_CursorStyleInfo ; }
-
- /// is the current font underlined?
- bool IsFontUnderlined() const { return GetCursorStyleInfo().underline != 0; }
-
- /// is the current font bold?
- bool IsFontBold() const { return GetCursorStyleInfo().weight == wxBOLD; }
-
- /// is the current font italic?
- bool IsFontItalic() const { return GetCursorStyleInfo().style == wxITALIC; }
-
- /// set underline if it was off, turn it off if it was on
- void ToggleFontUnderline()
- { SetFontUnderline(!IsFontUnderlined()); }
-
- /// make font bold if it was normal or make it normal if it was bold
- void ToggleFontWeight()
- { SetFontWeight(IsFontBold() ? wxNORMAL : wxBOLD); }
-
- /// make font italic if it was normal or make it normal if it was italic
- void ToggleFontItalics()
- { SetFontStyle(IsFontItalic() ? wxNORMAL : wxITALIC); }
-
- //@}
-
- /**@name Drawing */
- //@{
- /** Draws the complete list on a wxDC.
- @param dc the wxDC to draw on
- @param offset an optional offset to shift printout
- @param top optional y coordinate where to start drawing
- @param bottom optional y coordinate where to stop drawing
- @param clipStrictly if set, do not draw objects which reach
- beyond "bottom". Set this when printing.
- */
- void Draw(wxDC &dc,
- const wxPoint &offset = wxPoint(0,0),
- CoordType top = -1, CoordType bottom = -1,
- bool clipStrictly = false);
-
- /** Calculates new layout for the list, like Draw() but does not
- actually draw it.
- @param dc the wxDC to draw on
- @param bottom optional y coordinate where to stop calculating
- @param forceAll force re-layout of all lines
- @param cpos Can hold a cursorposition, and will be overwritten
- with the corresponding DC position.
- @param csize Will hold the cursor size relating to cpos.
- */
- void Layout(wxDC &dc, CoordType bottom = -1, bool forceAll = false,
- wxPoint *cpos = NULL,
- wxPoint *csize = NULL);
-
- /** Ensure that the whole list will be recalculate on the next call
- to Layout() or Draw().
- @param redrawAll true or false to reset it
- */
- void ForceTotalLayout(bool redrawAll = true)
- { m_ReLayoutAll = redrawAll; }
-
- /** Returns the screen coordinates relating to a given cursor
- position and the size of the cursor at that position.
- @param dc for which to calculate it
- @param cpos Cursor position to look for.
- @param csize If non-NULL, will be set to the cursor size.
- @return The cursor position on the DC.
- */
- wxPoint GetScreenPos(wxDC &dc, const wxPoint &cpos, wxPoint *csize = NULL);
-
- /** Calculates new sizes for everything in the list, like Layout()
- but this is needed after the list got changed.
- @param dc the wxDC to draw on
- @param bottom optional y coordinate where to stop calculating
- */
- void Recalculate(wxDC &dc, CoordType bottom = -1);
-
- /** Returns the size of the list in screen coordinates.
- The return value only makes sense after the list has been
- drawn.
- @return a wxPoint holding the maximal x/y coordinates used for
- drawing
- */
- wxPoint GetSize() const;
-
- /** Returns the cursor position on the screen.
- */
- wxPoint GetCursorScreenPos() const;
-
- /** Draws the cursor.
- @param active If true, draw a bold cursor to mark window as
- active.
- @param translate optional translation of cursor coords on screen
- */
- void DrawCursor(wxDC &dc,
- bool active = true,
- const wxPoint & translate = wxPoint(0,0));
-
- /** This function finds an object belonging to a given screen
- position. It assumes that Layout() has been called before.
- @param pos screen position
- @param cursorPos if non NULL, store cursor position in there
- @param found if used, set this to true if we really found an
- object, to false if we had to take the object near to it
- @return pointer to the object
- */
- wxLayoutObject * FindObjectScreen(wxDC &dc,
- wxPoint const pos,
- wxPoint *cursorPos = NULL,
- bool *found = NULL);
-
- /** Called by the objects to update the update rectangle.
- @param x horizontal coordinate to include in rectangle
- @param y vertical coordinate to include in rectangle
- */
- void SetUpdateRect(CoordType x, CoordType y);
-
- /** Called by the objects to update the update rectangle.
- @param p a point to include in it
- */
- void SetUpdateRect(const wxPoint &p)
- { SetUpdateRect(p.x,p.y); }
-
- /// adds the cursor position to the update rectangle
- void AddCursorPosToUpdateRect()
- {
-#ifndef WXLAYOUT_USE_CARET
- SetUpdateRect(m_CursorScreenPos);
- SetUpdateRect(m_CursorScreenPos+m_CursorSize);
-//#else - the caret will take care of refreshing itself
-#endif // !WXLAYOUT_USE_CARET
- }
-
- /// Invalidates the update rectangle.
- void InvalidateUpdateRect() { m_UpdateRectValid = false; }
-
- /// Returns the update rectangle.
- const wxRect *GetUpdateRect() const { return &m_UpdateRect; }
- //@}
-
- /// get the current cursor size
- const wxPoint& GetCursorSize() const { return m_CursorSize; }
-
- /**@name For exporting one object after another. */
- //@{
- /** Returns a pointer to the first line in the list. */
- wxLayoutLine *GetFirstLine()
- {
- wxASSERT(m_FirstLine);
- return m_FirstLine;
- }
- //@}
-
- /// Begin selecting text
- void StartSelection(const wxPoint& cpos = wxPoint(-1,-1),
- const wxPoint& spos = wxPoint(-1,-1));
-
- // Continue selecting text
- void ContinueSelection(const wxPoint& cpos = wxPoint(-1,-1),
- const wxPoint& spos = wxPoint(-1,-1));
-
- /// End selecting text.
- void EndSelection(const wxPoint& cpos = wxPoint(-1,-1),
- const wxPoint& spos = wxPoint(-1,-1));
-
- /// Discard the current selection
- void DiscardSelection();
-
- /// Are we still selecting text?
- bool IsSelecting() const;
-
- /// Is the given point (text coords) selected?
- bool IsSelected(const wxPoint &cursor) const;
-
- /// Do we have a non null selection?
- bool HasSelection() const
- { return m_Selection.m_valid || m_Selection.m_selecting; }
-
- /** Return the selection as a wxLayoutList.
- @param invalidate if true, the selection will be invalidated after this and can no longer be used.
- @return Another layout list object holding the selection, must be freed by caller
- */
- wxLayoutList *GetSelection(class wxLayoutDataObject *wxldo = NULL, bool invalidate = true);
-
- /// Delete selected bit
- void DeleteSelection();
-
- wxLayoutList *Copy(const wxPoint &from = wxPoint(0,0),
- const wxPoint &to = wxPoint(-1,-1));
-
- /// starts highlighting of text for selections
- void StartHighlighting(wxDC &dc);
-
- /// ends highlighting of text for selections
- void EndHighlighting(wxDC &dc);
-
- /** Tests whether this layout line is selected and needs
- highlighting.
- @param line to test for
- @param from set to first cursorpos to be highlighted (for returncode == -1)
- @param to set to last cursorpos to be highlighted (for returncode == -1)
- @return 0 = not selected, 1 = fully selected, -1 = partially
- selected
- */
- int IsSelected(const wxLayoutLine *line, CoordType *from, CoordType *to);
-
- void ApplyStyle(wxLayoutStyleInfo const &si, wxDC &dc);
-#ifdef WXLAYOUT_DEBUG
- void Debug();
-#endif
-
- // for wxLayoutLine usage only
- void IncNumLines() { m_numLines++; }
- void DecNumLines() { m_numLines--; }
-
- /// get the line by number
- wxLayoutLine *GetLine(CoordType index) const;
-
- /** Reads objects from a string and inserts them. Returns NULL if
- string is empty or a linebreak was found.
- @param istr stream to read from, will bee changed
- */
- void Read(wxString &istr);
-
-private:
- /// Clear the list.
- void InternalClear();
-
- /// The list of lines.
- wxLayoutLine *m_FirstLine;
-
- /// The number of lines in the list (store instead recalculating for speed)
- size_t m_numLines;
-
- /// The update rectangle which needs to be refreshed:
- wxRect m_UpdateRect;
-
- /// Is the update rectangle valid?
- bool m_UpdateRectValid;
-
- /// Shall we auto-format?
- bool m_AutoFormat;
-
- /// Shall we re-layout everything?
- bool m_ReLayoutAll;
-
- /**@name Cursor Management */
- //@{
- /// Where the text cursor (column,line) is.
- wxPoint m_CursorPos;
-
- /// Where the cursor should be drawn.
- wxPoint m_CursorScreenPos;
-
- /// The line where the cursor is.
- wxLayoutLine *m_CursorLine;
-
- /// The size of the cursor.
- wxPoint m_CursorSize;
-
- /// Has the cursor moved (is m_CursorScreenPos up to date)?
- bool m_movedCursor;
-
-#ifdef WXLAYOUT_USE_CARET
- /// the caret
- wxCaret *m_caret;
-#endif // WXLAYOUT_USE_CARET
- //@}
-
- /// selection.state and begin/end coordinates
- struct Selection
- {
- Selection() { m_valid = m_selecting = m_discarded = false; }
-
- bool m_valid;
- bool m_selecting;
- bool m_discarded; // may be true only until the next redraw
-
- // returns true if we already have the screen coordinates of the
- // selection start and end
- bool HasValidScreenCoords() const
- { return m_ScreenA.x != -1 && m_ScreenB.x != -1; }
-
- // the start and end of the selection coordinates in pixels
- wxPoint m_ScreenA, m_ScreenB;
-
- // these coordinates are in text positions, not in pixels
- wxPoint m_CursorA, m_CursorB;
- } m_Selection;
- /** @name Font parameters. */
- //@{
- /// this object manages the fonts for us
- wxFontCache m_FontCache;
-
- /// the default setting:
- wxLayoutStyleInfo m_DefaultStyleInfo;
-
- /// the current setting:
- wxLayoutStyleInfo m_CurrentStyleInfo;
-
- /// the current setting:
- wxLayoutStyleInfo m_CursorStyleInfo;
- //@}
-};
-
-/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
-
- The wxLayoutDataObject for exporting data to the clipboard in our
- own format.
-
- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
-class wxLayoutDataObject : public wxCustomDataObject
-{
-public:
- wxLayoutDataObject()
- {
- SetFormat(wxT("application/wxlayoutlist"));
- }
-
- // type safe wrappers
- void SetLayoutData(const wxString& text)
- { SetData(text.length() + 1, text.c_str()); }
-
- const wxChar *GetLayoutData() const { return (const wxChar *)GetData(); }
-};
-
-/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
-
- The wxLayoutPrintout object for printing within the wxWidgets print
- framework.
-
- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
-/** This class implements a wxPrintout for printing a wxLayoutList within
- the wxWidgets printing framework.
- */
-class wxLayoutPrintout: public wxPrintout
-{
-public:
- /** Constructor.
- @param llist pointer to the wxLayoutList to be printed
- @param title title for PS file or windows
- */
- wxLayoutPrintout(wxLayoutList *llist,
- wxString const & title =
- _T("wxLayout Printout"));
-
- /// Destructor.
- ~wxLayoutPrintout(){};
-
- /** Function which prints the n-th page.
- @param page the page number to print
- @return bool true if we are not at end of document yet
- */
- bool OnPrintPage(int page);
- /** Checks whether page exists in document.
- @param page number of page
- @return true if page exists
- */
- bool HasPage(int page);
-
- /** Gets called from wxWidgets to find out which pages are existing.
- I'm not totally sure about the parameters though.
- @param minPage the first page in the document
- @param maxPage the last page in the document
- @param selPageFrom the first page to be printed
- @param selPageTo the last page to be printed
- */
- void GetPageInfo(int *minPage, int *maxPage,
- int *selPageFrom, int *selPageTo);
-protected:
- /** This little function scales the DC so that the printout has
- roughly the same size as the output on screen.
- @param dc the wxDC to scale
- @return the scale that was applied
- */
- float ScaleDC(wxDC *dc);
-
- /* no longer used
- virtual void DrawHeader(wxDC &dc, wxPoint topleft, wxPoint bottomright, int pageno);
- */
-
-private:
- /// The list to print.
- wxLayoutList *m_llist;
-
- /// Title for PS file or window.
- wxString m_title;
-
- /// The real paper size.
- int m_PageHeight, m_PageWidth;
-
- /// How much we actually print per page.
- int m_PrintoutHeight;
-
- /// How many pages we need to print.
- int m_NumOfPages;
-
- /// Top left corner where we start printing.
- wxPoint m_Offset;
-};
-
-
-#endif // WXLLIST_H
+++ /dev/null
-/*-*- c++ -*-********************************************************
- * wxlparser.h : parsers, import/export for wxLayoutList *
- * *
- * (C) 1998,1999 by Karsten Ballüder (Ballueder@usa.net) *
- * *
- * $Id$
- *******************************************************************/
-
-#include "wx/wxprec.h"
-
-#ifdef __BORLANDC__
-# pragma hdrstop
-#endif
-
-#include "Mpch.h"
-
-#ifdef M_PREFIX
-# include "gui/wxllist.h"
-# include "gui/wxlparser.h"
-#else
-# include "wxllist.h"
-# include "wxlparser.h"
-#endif
-
-#define BASE_SIZE 12
-
-inline static bool IsEndOfLine(const wxChar *p)
-{
- // the end of line is either just '\n' or "\r\n" - we understand both (even
- // though the second is used only under DOS/Windows) to be able to import
- // DOS text files even under Unix
- return (*p == '\n') || ((*p == '\r') && (*(p + 1) == '\n'));
-}
-
-void wxLayoutImportText(wxLayoutList *list, wxString const &str)
-{
- if ( !str )
- return;
-
- // we change the string only temporarily inside this function
- // VZ: I still don't like it... the string data may be shared...
- wxChar * cptr = (wxChar *)str.c_str(); // const_cast
- const wxChar * begin = cptr;
- wxUnusedVar(begin);
- wxChar backup;
-
- for(;;)
- {
- begin = cptr;
- while( *cptr && !IsEndOfLine(cptr) )
- cptr++;
- backup = *cptr;
- *cptr = '\0';
- list->Insert(begin);
- *cptr = backup;
-
- // check if it's the end of this line
- if ( IsEndOfLine(cptr) )
- {
- // if it was "\r\n", skip the following '\n'
- if ( *cptr == '\r' )
- cptr++;
- list->LineBreak();
- }
- else if(backup == '\0') // reached end of string
- break;
- cptr++;
- }
-}
-
-static
-wxString wxLayoutExportCmdAsHTML(wxLayoutObjectCmd const & cmd,
- wxLayoutStyleInfo *styleInfo,
- bool firstTime)
-{
- static wxChar buffer[20];
- wxString html;
-
- wxLayoutStyleInfo *si = cmd.GetStyle();
-
- int size, sizecount;
-
- html += _T("<font ");
-
- if(si->m_fg_valid)
- {
- html += _T("color=");
- wxSprintf(buffer,_T("\"#%02X%02X%02X\""), si->m_fg.Red(),si->m_fg.Green(),si->m_fg.Blue());
- html += buffer;
- }
-
- if(si->m_bg_valid)
- {
- html += _T(" bgcolor=");
- wxSprintf(buffer,_T("\"#%02X%02X%02X\""), si->m_bg.Red(),si->m_bg.Green(),si->m_bg.Blue());
- html += buffer;
- }
-
- switch(si->family)
- {
- case wxSWISS:
- case wxMODERN:
- html += _T(" face=\"Arial,Helvetica\""); break;
- case wxROMAN:
- html += _T(" face=\"Times New Roman, Times\""); break;
- case wxTELETYPE:
- html += _T(" face=\"Courier New, Courier\""); break;
- default:
- ;
- }
-
- size = BASE_SIZE; sizecount = 0;
- while(size < si->size && sizecount < 5)
- {
- sizecount ++;
- size = (size*12)/10;
- }
- while(size > si->size && sizecount > -5)
- {
- sizecount --;
- size = (size*10)/12;
- }
- html += _T("size=");
- wxSprintf(buffer,_T("%+1d"), sizecount);
- html += buffer;
-
- html += _T(">");
-
- if(styleInfo != NULL && ! firstTime)
- html = _T("</font>")+html; // terminate any previous font command
-
- if((si->weight == wxBOLD) && ( (!styleInfo) || (styleInfo->weight != wxBOLD)))
- html += _T("<b>");
- else
- if(si->weight != wxBOLD && ( styleInfo && (styleInfo->weight == wxBOLD)))
- html += _T("</b>");
-
- if(si->style == wxSLANT)
- si->style = wxITALIC; // the same for html
-
- if((si->style == wxITALIC) && ( (!styleInfo) || (styleInfo->style != wxITALIC)))
- html += _T("<i>");
- else
- if(si->style != wxITALIC && ( styleInfo && (styleInfo->style == wxITALIC)))
- html += _T("</i>");
-
- if(si->underline && ( (!styleInfo) || ! styleInfo->underline))
- html += _T("<u>");
- else if(si->underline == false && ( styleInfo && styleInfo->underline))
- html += _T("</u>");
-
-
- *styleInfo = *si; // update last style info
-
- return html;
-}
-
-
-
-wxLayoutExportStatus::wxLayoutExportStatus(wxLayoutList *list)
-{
- m_si = list->GetDefaultStyleInfo();
- m_line = list->GetFirstLine();
- m_iterator = m_line->GetFirstObject();
- m_FirstTime = true;
-}
-
-
-
-#define WXLO_IS_TEXT(type) \
-( type == WXLO_TYPE_TEXT \
- || (type == WXLO_TYPE_CMD \
- && mode == WXLO_EXPORT_AS_HTML))
-
-
-wxLayoutExportObject *wxLayoutExport(wxLayoutExportStatus *status,
- int mode, int flags)
-{
- wxLayoutObjectList::iterator nulled(NULL);
- wxASSERT(status);
- wxLayoutExportObject * exp;
-
- if(status->m_iterator == nulled) // end of line
- {
- if(!status->m_line || status->m_line->GetNextLine() == NULL)
- // reached end of list
- return NULL;
- }
- exp = new wxLayoutExportObject();
- wxLayoutObjectType type;
- if(status->m_iterator != nulled)
- {
- type = (** status->m_iterator).GetType();
- if( mode == WXLO_EXPORT_AS_OBJECTS || ! WXLO_IS_TEXT(type)) // simple case
- {
- exp->type = WXLO_EXPORT_OBJECT;
- exp->content.object = *status->m_iterator;
- status->m_iterator++;
- return exp;
- }
- }
- else
- { // iterator == nulled
- if(mode == WXLO_EXPORT_AS_OBJECTS)
- {
- exp->type = WXLO_EXPORT_EMPTYLINE;
- exp->content.object = NULL; //empty line
- status->m_line = status->m_line->GetNextLine();
- if(status->m_line)
- status->m_iterator = status->m_line->GetFirstObject();
- return exp;
- }
- else
- type = WXLO_TYPE_TEXT;
- }
- wxUnusedVar(type);
-
- wxString *str = new wxString();
- // text must be concatenated
- for(;;)
- {
- while(status->m_iterator == nulled)
- {
- if(mode & WXLO_EXPORT_AS_HTML)
- *str += _T("<br>");
- if(flags & WXLO_EXPORT_WITH_CRLF)
- *str += _T("\r\n");
- else
- *str += '\n';
-
- status->m_line = status->m_line->GetNextLine();
- if(status->m_line)
- status->m_iterator = status->m_line->GetFirstObject();
- else
- break; // end of list
- }
- if(! status->m_line) // reached end of list, fall through
- break;
- type = (** status->m_iterator).GetType();
- if(type == WXLO_TYPE_ICON)
- break;
- switch(type)
- {
- case WXLO_TYPE_TEXT:
- *str += ((wxLayoutObjectText *)*status->m_iterator)->GetText();
- break;
- case WXLO_TYPE_CMD:
- if(mode == WXLO_EXPORT_AS_HTML)
- *str += wxLayoutExportCmdAsHTML(
- *(wxLayoutObjectCmd const *)*status->m_iterator,
- & status->m_si, status->m_FirstTime);
- status->m_FirstTime = false;
- break;
- default: // ignore icons
- ;
- }
- status->m_iterator++;
- }
- exp->type = (mode == WXLO_EXPORT_AS_HTML)
- ? WXLO_EXPORT_HTML : WXLO_EXPORT_TEXT;
- exp->content.text = str;
- return exp;
-}
-
+++ /dev/null
-/*-*- c++ -*-********************************************************
- * wxlparser.h : parsers, import/export for wxLayoutList *
- * *
- * (C) 1998 by Karsten Ballüder (Ballueder@usa.net) *
- * *
- * $Id$
- *******************************************************************/
-#ifndef WXLPARSER_H
-# define WXLPARSER_H
-
-#ifndef NULL
-# define NULL 0
-#endif
-
-enum wxLayoutExportType
-{
- WXLO_EXPORT_TEXT,
- WXLO_EXPORT_HTML,
- WXLO_EXPORT_OBJECT,
- // this can be caused by empty lines:
- WXLO_EXPORT_EMPTYLINE
-};
-
-enum wxLayoutExportMode
-{
- WXLO_EXPORT_AS_TEXT = 0x00,
- WXLO_EXPORT_AS_TEXT_AND_COMMANDS = 0x01,
- WXLO_EXPORT_AS_HTML = 0x02,
- WXLO_EXPORT_AS_OBJECTS = 0x03,
-
- // non 0:
- WXLO_EXPORT_WITH_CRLF = 0x10,
- WXLO_EXPORT_WITH_LF_ONLY = 0x20
-};
-
-struct wxLayoutExportObject
-{
- wxLayoutExportType type;
- union
- {
- wxString *text;
- wxLayoutObject *object;
- }content;
- ~wxLayoutExportObject()
- {
- if(type == WXLO_EXPORT_TEXT || type == WXLO_EXPORT_HTML)
- delete content.text;
- }
-};
-
-
-struct wxLayoutExportStatus
-{
- wxLayoutExportStatus(wxLayoutList *list);
- wxLayoutLine * m_line;
- wxLOiterator m_iterator;
- wxLayoutStyleInfo m_si;
- bool m_FirstTime;
-};
-
-#ifdef OS_WIN
-# define WXLO_DEFAULT_EXPORT_MODE WXLO_EXPORT_WITH_CRLF
-#else // Unix
-# define WXLO_DEFAULT_EXPORT_MODE WXLO_EXPORT_WITH_LF_ONLY
-#endif // Win/Unix
-
-/// import text into a wxLayoutList (including linefeeds):
-void wxLayoutImportText(wxLayoutList *list, wxString const &str);
-
-/// export text in a given format
-wxLayoutExportObject *wxLayoutExport(wxLayoutExportStatus *status,
- int mode = WXLO_EXPORT_AS_TEXT,
- int flags = WXLO_DEFAULT_EXPORT_MODE);
-
-#endif //WXLPARSER_H
+++ /dev/null
-/*-*- c++ -*-********************************************************
- * wxLwindow.h : a scrolled Window for displaying/entering rich text*
- * *
- * (C) 1998-2000 by Karsten Ballüder (ballueder@gmx.net) *
- * *
- * $Id$
- *******************************************************************/
-
-// ============================================================================
-// declarations
-// ============================================================================
-
-// ----------------------------------------------------------------------------
-// headers
-// ----------------------------------------------------------------------------
-
-#include "wx/wxprec.h"
-
-#ifdef __BORLANDC__
-# pragma hdrstop
-#endif
-
-#include "Mpch.h"
-
-#ifdef M_BASEDIR
-# ifndef USE_PCH
-# include "Mcommon.h"
-# include "gui/wxMenuDefs.h"
-# include "gui/wxMApp.h"
-# endif // USE_PCH
-# include "gui/wxlwindow.h"
-# include "gui/wxlparser.h"
-
-# include "MDialogs.h"
-# include "strutil.h"
-#else
-# ifdef __WXMSW__
-# include "wx/msw/private.h"
-# endif
-
-# include "wxlwindow.h"
-# include "wxlparser.h"
-#endif
-
-#include "wx/clipbrd.h"
-#include "wx/textctrl.h"
-#include "wx/dataobj.h"
-
-#ifdef WXLAYOUT_USE_CARET
-# include "wx/caret.h"
-#endif // WXLAYOUT_USE_CARET
-
-#include <ctype.h>
-
-
-// ----------------------------------------------------------------------------
-// macros
-// ----------------------------------------------------------------------------
-
-#ifdef DEBUG
-# define WXLO_DEBUG(x) wxLogDebug x
-#else
-# define WXLO_DEBUG(x)
-#endif
-
-// for profiling in debug mode:
-WXLO_TIMER_DEFINE(UpdateTimer);
-WXLO_TIMER_DEFINE(BlitTimer);
-WXLO_TIMER_DEFINE(LayoutTimer);
-WXLO_TIMER_DEFINE(TmpTimer);
-WXLO_TIMER_DEFINE(DrawTimer);
-
-// ----------------------------------------------------------------------------
-// constants
-// ----------------------------------------------------------------------------
-
-/// offsets to put a nice frame around text
-#define WXLO_XOFFSET 4
-#define WXLO_YOFFSET 4
-
-/// offset to the right and bottom for when to redraw scrollbars
-#define WXLO_ROFFSET 20
-#define WXLO_BOFFSET 20
-
-/// scroll margins when selecting with the mouse
-#define WXLO_SCROLLMARGIN_X 10
-#define WXLO_SCROLLMARGIN_Y 10
-
-/// the size of one scrollbar page in pixels
-static const int X_SCROLL_PAGE = 10;
-static const int Y_SCROLL_PAGE = 20;
-
-
-
-// ----------------------------------------------------------------------------
-// event tables
-// ----------------------------------------------------------------------------
-
-BEGIN_EVENT_TABLE(wxLayoutWindow,wxScrolledWindow)
- EVT_SIZE (wxLayoutWindow::OnSize)
-
- EVT_PAINT (wxLayoutWindow::OnPaint)
-
- EVT_CHAR (wxLayoutWindow::OnChar)
- EVT_KEY_UP (wxLayoutWindow::OnKeyUp)
-
- EVT_LEFT_DOWN(wxLayoutWindow::OnLeftMouseDown)
- EVT_LEFT_UP(wxLayoutWindow::OnLeftMouseUp)
- EVT_RIGHT_DOWN(wxLayoutWindow::OnRightMouseClick)
- EVT_LEFT_DCLICK(wxLayoutWindow::OnMouseDblClick)
- EVT_MIDDLE_DOWN(wxLayoutWindow::OnMiddleMouseDown)
- EVT_MOTION (wxLayoutWindow::OnMouseMove)
-
- EVT_UPDATE_UI(WXLOWIN_MENU_UNDERLINE, wxLayoutWindow::OnUpdateMenuUnderline)
- EVT_UPDATE_UI(WXLOWIN_MENU_BOLD, wxLayoutWindow::OnUpdateMenuBold)
- EVT_UPDATE_UI(WXLOWIN_MENU_ITALICS, wxLayoutWindow::OnUpdateMenuItalic)
- EVT_MENU_RANGE(WXLOWIN_MENU_FIRST, WXLOWIN_MENU_LAST, wxLayoutWindow::OnMenu)
-
- EVT_SET_FOCUS(wxLayoutWindow::OnSetFocus)
- EVT_KILL_FOCUS(wxLayoutWindow::OnKillFocus)
-
-// EVT_IDLE(wxLayoutWindow::ResizeScrollbars)
-END_EVENT_TABLE()
-
-// ----------------------------------------------------------------------------
-// function prototypes
-// ----------------------------------------------------------------------------
-
-/// returns true if keyCode is one of arrows/home/end/page{up|down} keys
-static bool IsDirectionKey(long keyCode);
-
-// ============================================================================
-// implementation
-// ============================================================================
-
-#ifndef wxWANTS_CHARS
-# define wxWANTS_CHARS 0
-#endif
-
-// ----------------------------------------------------------------------------
-// wxLayoutWindow
-// ----------------------------------------------------------------------------
-
-wxLayoutWindow::wxLayoutWindow(wxWindow *parent)
- : wxScrolledWindow(parent, wxID_ANY,
- wxDefaultPosition, wxDefaultSize,
- wxHSCROLL | wxVSCROLL |
- wxBORDER |
- wxWANTS_CHARS),
- m_llist(NULL)
-{
-#if wxUSE_STATUSBAR
- SetStatusBar(NULL); // don't use statusbar
-#endif // wxUSE_STATUSBAR
- m_Editable = false;
- m_doSendEvents = false;
- m_ViewStartX = 0; m_ViewStartY = 0;
- m_DoPopupMenu = true;
- m_PopupMenu = MakeFormatMenu();
- m_memDC = new wxMemoryDC;
- m_bitmap = new wxBitmap(4,4);
- m_bitmapSize = wxPoint(4,4);
- m_llist = new wxLayoutList();
- m_BGbitmap = NULL;
- m_ScrollToCursor = false;
-#ifndef __WXMSW__
- m_FocusFollowMode = false;
-#endif
- SetWordWrap(false);
- SetWrapMargin(0);
-
- // no scrollbars initially
- m_hasHScrollbar =
- m_hasVScrollbar = false;
-
- m_Selecting = false;
-
-#ifdef WXLAYOUT_USE_CARET
- // FIXME cursor size shouldn't be hardcoded
- wxCaret *caret = new wxCaret(this, 2, 20);
- SetCaret(caret);
- m_llist->SetCaret(caret);
-#endif // WXLAYOUT_USE_CARET
-
- m_HaveFocus = false;
- m_HandCursor = false;
- m_CursorVisibility = -1;
- SetCursor(wxCURSOR_IBEAM);
- SetDirty();
-
- // at least under Windows, this should be the default behaviour
- m_AutoDeleteSelection = true;
-}
-
-wxLayoutWindow::~wxLayoutWindow()
-{
- delete m_memDC; // deletes bitmap automatically (?)
- delete m_bitmap;
- delete m_llist;
- delete m_PopupMenu;
- SetBackgroundBitmap(NULL);
-}
-
-void
-wxLayoutWindow::Clear(int family,
- int size,
- int style,
- int weight,
- int underline,
- wxColour *fg,
- wxColour *bg)
-{
- GetLayoutList()->Clear(family,size,style,weight,underline,fg,bg);
- SetBackgroundColour(GetLayoutList()->GetDefaultStyleInfo().GetBGColour());
- //wxScrolledWindow::Clear();
- ResizeScrollbars(true);
- SetDirty();
- SetModified(false);
- if ( m_Editable )
- m_CursorVisibility = 1;
-
-#ifdef WXLAYOUT_USE_CARET
- if ( m_CursorVisibility == 1 )
- GetCaret()->Show();
-#endif // WXLAYOUT_USE_CARET
-
- RequestUpdate((wxRect *)NULL);
-}
-
-void wxLayoutWindow::Refresh(bool eraseBackground, const wxRect *rect)
-{
- wxScrolledWindow::Refresh(eraseBackground, rect);
-}
-
-void
-wxLayoutWindow::OnMouse(int eventId, wxMouseEvent& event)
-{
- wxClientDC dc( this );
- PrepareDC( dc );
- if ( (eventId != WXLOWIN_MENU_MOUSEMOVE
-#ifndef __WXMSW__
- || m_FocusFollowMode
-#endif
- )
- && (wxWindow::FindFocus() != this) )
- {
- SetFocus();
- }
-
- wxPoint findPos;
- findPos.x = dc.DeviceToLogicalX(event.GetX());
- findPos.y = dc.DeviceToLogicalY(event.GetY());
-
- findPos.x -= WXLO_XOFFSET;
- findPos.y -= WXLO_YOFFSET;
-
- if(findPos.x < 0)
- findPos.x = 0;
-
- if(findPos.y < 0)
- findPos.y = 0;
-
- m_ClickPosition = wxPoint(event.GetX(), event.GetY());
-
- // Scroll the window if the mouse is at the end of it:
- if(m_Selecting && eventId == WXLOWIN_MENU_MOUSEMOVE)
- {
- //WXLO_DEBUG(("selecting at : %d/%d", (int) event.GetX(), (int)event.GetY()));
- int left, top;
- GetViewStart(&left, &top);
- wxSize size = GetClientSize();
- int xdelta, ydelta;
-
- if(event.GetX() < WXLO_SCROLLMARGIN_X)
- xdelta = -(WXLO_SCROLLMARGIN_X-event.GetX());
- else if(event.GetX() > size.x-WXLO_SCROLLMARGIN_X)
- xdelta = event.GetX()-size.x+WXLO_SCROLLMARGIN_X;
- else
- xdelta = 0;
-
- if(event.GetY() < WXLO_SCROLLMARGIN_Y)
- ydelta = -(WXLO_SCROLLMARGIN_Y-event.GetY());
- else if(event.GetY() > size.y-WXLO_SCROLLMARGIN_Y)
- ydelta = event.GetY()-size.y+WXLO_SCROLLMARGIN_Y;
- else
- ydelta = 0;
-
- //WXLO_DEBUG(("xdelta: %d", (int) xdelta));
- if(xdelta != 0 || ydelta != 0)
- {
- top += ydelta; if(top < 0) top = 0;
- left += xdelta; if(left < 0) left = 0;
- Scroll(left, top);
- }
- }
-
- wxPoint cursorPos;
- bool found;
- wxLayoutObject *obj = m_llist->FindObjectScreen(dc, findPos,
- &cursorPos, &found);
- wxLayoutObject::UserData *u = obj ? obj->GetUserData() : NULL;
-
- // has the mouse only been moved?
- switch ( eventId )
- {
- case WXLOWIN_MENU_MOUSEMOVE:
- {
- // this variables is used to only erase the message in the status
- // bar if we had put it there previously - otherwise empting status
- // bar might be undesirable
-#if wxUSE_STATUSBAR
- static bool s_hasPutMessageInStatusBar = false;
-#endif // wxUSE_STATUSBAR
-
- // found is only true if we are really over an object, not just
- // behind it
- if(found && u && ! m_Selecting)
- {
- if(!m_HandCursor)
- SetCursor(wxCURSOR_HAND);
- m_HandCursor = true;
-#if wxUSE_STATUSBAR
- if(m_StatusBar && m_StatusFieldLabel != -1)
- {
- const wxString &label = u->GetLabel();
- if(label.Length())
- {
- m_StatusBar->SetStatusText(label,m_StatusFieldLabel);
- s_hasPutMessageInStatusBar = true;
- }
- }
-#endif // wxUSE_STATUSBAR
- }
- else
- {
- if(m_HandCursor)
- SetCursor(wxCURSOR_IBEAM);
- m_HandCursor = false;
-#if wxUSE_STATUSBAR
- if( m_StatusBar && m_StatusFieldLabel != -1 &&
- s_hasPutMessageInStatusBar )
- {
- m_StatusBar->SetStatusText(wxEmptyString, m_StatusFieldLabel);
- }
-#endif // wxUSE_STATUSBAR
- }
- }
-
- // selecting?
- if ( event.LeftIsDown() )
- {
- // m_Selecting might not be set if the button got pressed
- // outside this window, so check for it:
- if( m_Selecting )
- {
- m_llist->ContinueSelection(cursorPos, m_ClickPosition);
- RequestUpdate(); // TODO: we don't have to redraw everything!
- }
- }
-
- if ( u )
- {
- u->DecRef();
- u = NULL;
- }
- break;
-
- case WXLOWIN_MENU_LDOWN:
- {
- // always move cursor to mouse click:
- m_llist->MoveCursorTo(cursorPos);
-
- // clicking a mouse removes the selection
- if ( m_llist->HasSelection() )
- {
- m_llist->DiscardSelection();
- m_Selecting = false;
- RequestUpdate(); // TODO: we don't have to redraw everything!
- }
-
- // Calculate where the top of the visible area is:
- int x0, y0;
- GetViewStart(&x0,&y0);
- int dx, dy;
- GetScrollPixelsPerUnit(&dx, &dy);
- x0 *= dx; y0 *= dy;
-
- wxPoint offset(-x0+WXLO_XOFFSET, -y0+WXLO_YOFFSET);
-
- if(m_CursorVisibility == -1)
- m_CursorVisibility = 1;
-
-#ifdef WXLAYOUT_USE_CARET
- if ( m_CursorVisibility == 1 )
- GetCaret()->Show();
-#endif // WXLAYOUT_USE_CARET
-
- if(m_CursorVisibility)
- {
- // draw a thick cursor for editable windows with focus
- m_llist->DrawCursor(dc, m_HaveFocus && IsEditable(), offset);
- }
-
-#ifdef __WXGTK__
- RequestUpdate(); // RequestUpdate suppresses flicker under GTK
-#endif // wxGTK
-
- // start selection
- m_llist->StartSelection(wxPoint(-1, -1), m_ClickPosition);
- m_Selecting = true;
- }
- break;
-
- case WXLOWIN_MENU_LUP:
- if ( m_Selecting )
- {
- // end selection at the cursor position corresponding to the
- // current mouse position, but don´t move cursor there.
- m_llist->EndSelection(cursorPos,m_ClickPosition);
- m_Selecting = false;
-
- RequestUpdate(); // TODO: we don't have to redraw everything!
- }
- break;
-
- case WXLOWIN_MENU_MDOWN:
- Paste(true);
- break;
-
- case WXLOWIN_MENU_DBLCLICK:
- // select a word under cursor
- m_llist->MoveCursorTo(cursorPos);
- m_llist->MoveCursorWord(-1);
- m_llist->StartSelection();
- m_llist->MoveCursorWord(1, false);
- m_llist->EndSelection();
- m_Selecting = false;
- RequestUpdate(); // TODO: we don't have to redraw everything!
- break;
- }
-
- // notify about mouse events?
- if( m_doSendEvents )
- {
- // only do the menu if activated, editable and not on a clickable object
- if(eventId == WXLOWIN_MENU_RCLICK
- && IsEditable()
- && (! obj || u == NULL))
- {
- PopupMenu(m_PopupMenu, m_ClickPosition.x, m_ClickPosition.y);
- if(u) u->DecRef();
- return;
- }
-
- // find the object at this position
- if(obj)
- {
- wxCommandEvent commandEvent(wxEVT_COMMAND_MENU_SELECTED, eventId);
- commandEvent.SetEventObject( this );
- commandEvent.SetClientData((char *)obj);
- GetEventHandler()->ProcessEvent(commandEvent);
- }
- }
-
- if( u ) u->DecRef();
-}
-
-// ----------------------------------------------------------------------------
-// keyboard handling.
-// ----------------------------------------------------------------------------
-
-void
-wxLayoutWindow::OnChar(wxKeyEvent& event)
-{
- int keyCode = event.GetKeyCode();
- bool ctrlDown = event.ControlDown();
-
-#ifdef WXLAYOUT_DEBUG
- if(keyCode == WXK_F1)
- {
- m_llist->Debug();
- return;
- }
-#endif
-
- // Force m_Selecting to be false if shift is no longer
- // pressed. OnKeyUp() cannot catch all Shift-Up events.
- if(m_Selecting && !event.ShiftDown())
- {
- m_Selecting = false;
- m_llist->EndSelection();
- m_llist->DiscardSelection(); //FIXME: correct?
- }
-
- // If we deleted the selection here, we must not execute the
- // deletion in Delete/Backspace handling.
- bool deletedSelection = false;
- // pressing any non-arrow key optionally replaces the selection:
- if(m_AutoDeleteSelection
- && IsEditable()
- && !m_Selecting
- && m_llist->HasSelection()
- && ! IsDirectionKey(keyCode)
- && ! (event.AltDown() || ctrlDown) )
- {
- m_llist->DeleteSelection();
- deletedSelection = true;
- SetDirty();
- }
-
- // <Shift>+<arrow> starts selection
- if ( IsDirectionKey(keyCode) )
- {
- // just continue the old selection
- if ( m_Selecting && event.ShiftDown() )
- {
- m_llist->ContinueSelection();
- }
- else
- {
- m_llist->DiscardSelection();
- m_Selecting = false;
- if( event.ShiftDown() )
- {
- m_Selecting = true;
- m_llist->StartSelection();
- }
- }
- }
-
- // If needed, make cursor visible:
- if(m_CursorVisibility == -1)
- m_CursorVisibility = 1;
-
- /* These two nested switches work like this:
- The first one processes all non-editing keycodes, to move the
- cursor, etc. It's default will process all keycodes causing
- modifications to the buffer, but only if editing is allowed.
- */
- switch(keyCode)
- {
-
- case WXK_RIGHT:
- if ( ctrlDown )
- m_llist->MoveCursorWord(1);
- else
- m_llist->MoveCursorHorizontally(1);
- break;
-
- case WXK_LEFT:
- if ( ctrlDown )
- m_llist->MoveCursorWord(-1);
- else
- m_llist->MoveCursorHorizontally(-1);
-
- break;
-
- case WXK_UP:
- m_llist->MoveCursorVertically(-1);
- break;
-
- case WXK_DOWN:
- m_llist->MoveCursorVertically(1);
- break;
-
- case WXK_PRIOR:
- m_llist->MoveCursorVertically(-Y_SCROLL_PAGE);
- break;
-
- case WXK_NEXT:
- m_llist->MoveCursorVertically(Y_SCROLL_PAGE);
- break;
-
- case WXK_HOME:
- if ( ctrlDown )
- m_llist->MoveCursorTo(wxPoint(0, 0));
- else
- m_llist->MoveCursorToBeginOfLine();
- break;
-
- case WXK_END:
- if ( ctrlDown )
- m_llist->MoveCursorToEnd();
- else
- m_llist->MoveCursorToEndOfLine();
- break;
-
- default:
-
- if(ctrlDown && ! IsEditable())
- {
- switch(keyCode)
- {
-
- case 'c':
- // this should work even in read-only mode
- Copy(true, true);
- break;
-
- case 's': // search
- Find(wxEmptyString);
- break;
-
- case 't': // search again
- FindAgain();
- break;
-
- default:
- // we don't handle it, maybe an accelerator?
- event.Skip();
- ;
- }
- }
- else if( IsEditable() )
- {
- /* First, handle control keys */
- if(ctrlDown && ! event.AltDown())
- {
- if(keyCode >= 'A' && keyCode <= 'Z')
- keyCode = tolower(keyCode);
-
- switch(keyCode)
- {
-
- case WXK_INSERT:
- Copy();
- break;
-
- case WXK_DELETE :
- if(! deletedSelection)
- {
- m_llist->DeleteWord();
- SetDirty();
- }
- break;
-
- case 'd':
- if(! deletedSelection) // already done
- {
- m_llist->Delete(1);
- SetDirty();
- }
- break;
-
- case 'y':
- m_llist->DeleteLines(1);
- SetDirty();
- break;
-
- case 'h': // like backspace
- if(m_llist->MoveCursorHorizontally(-1))
- {
- m_llist->Delete(1);
- SetDirty();
- }
- break;
-
- case 's': // search
- Find(wxEmptyString);
- break;
-
- case 't': // search again
- FindAgain();
- break;
-
- case 'u':
- m_llist->DeleteToBeginOfLine();
- SetDirty();
- break;
-
- case 'k':
- m_llist->DeleteToEndOfLine();
- SetDirty();
- break;
-
- case 'c':
- Copy(true, true);
- break;
-
- case 'v':
- Paste(true);
- break;
-
- case 'x':
- Cut();
- break;
-
- case 'w':
- if(m_WrapMargin > 0)
- m_llist->WrapLine(m_WrapMargin);
- break;
-
- case 'q':
- if(m_WrapMargin > 0)
- m_llist->WrapAll(m_WrapMargin);
- break;
-
-#ifdef WXLAYOUT_DEBUG
- case WXK_F1:
- m_llist->SetFont(-1,-1,-1,-1,true); // underlined
- break;
-
- case 'l':
- Refresh(true);
- break;
-#endif
-
- default:
- // we don't handle it, maybe an accelerator?
- event.Skip();
- }
- }
- // ALT only:
- else if( event.AltDown() && ! event.ControlDown() )
- {
- switch(keyCode)
- {
- case WXK_DELETE:
- case 'd':
- m_llist->DeleteWord();
- SetDirty();
- break;
-
- default:
- // we don't handle it, maybe an accelerator?
- event.Skip();
- }
- }
- // no control keys:
- else if ( ! event.AltDown() && ! event.ControlDown())
- {
- switch(keyCode)
- {
- case WXK_INSERT:
- if(event.ShiftDown())
- Paste();
- break;
-
- case WXK_DELETE :
- if(event.ShiftDown())
- {
- Cut();
- }
- else if(! deletedSelection)
- {
- m_llist->Delete(1);
- SetDirty();
- }
- break;
-
- case WXK_BACK: // backspace
- if(! deletedSelection)
- {
- if(m_llist->MoveCursorHorizontally(-1))
- {
- m_llist->Delete(1);
- SetDirty();
- }
- }
- break;
-
- case WXK_RETURN:
- if (m_DoWordWrap &&
- m_WrapMargin > 0
- && m_llist->GetCursorPos().x > m_WrapMargin )
- {
- m_llist->WrapLine(m_WrapMargin);
- }
-
- m_llist->LineBreak();
- SetDirty();
- break;
-
- case WXK_TAB:
- if ( !event.ShiftDown() )
- {
- // TODO should be configurable
- static const int tabSize = 8;
-
- CoordType x = m_llist->GetCursorPos().x;
- size_t numSpaces = tabSize - x % tabSize;
- m_llist->Insert(wxString(' ', numSpaces));
- SetDirty();
- }
- break;
-
- default:
- if ( ( !(event.ControlDown() || event.AltDown()) )
- && (keyCode < 256 && keyCode >= 32) )
- {
- if ( m_DoWordWrap
- && m_WrapMargin > 0
- && m_llist->GetCursorPos().x > m_WrapMargin
- && isspace(keyCode) )
- {
- m_llist->WrapLine(m_WrapMargin);
- }
-
- m_llist->Insert((wxChar)keyCode);
- SetDirty();
- }
- else
- {
- // we don't handle it, maybe an accelerator?
- event.Skip();
- }
- break;
- }
-
- }
- }// if(IsEditable())
- else
- {
- // we don't handle it, maybe an accelerator?
- event.Skip();
- }
- }// first switch()
-
- if ( m_Selecting )
- {
- // continue selection to the current (new) cursor position
- m_llist->ContinueSelection();
- }
-
- ScrollToCursor();
- // refresh the screen
- RequestUpdate(m_llist->GetUpdateRect());
-}
-
-void
-wxLayoutWindow::OnKeyUp(wxKeyEvent& event)
-{
- if ( event.GetKeyCode() == WXK_SHIFT && m_Selecting )
- {
- m_llist->EndSelection();
- m_Selecting = false;
- }
-
- event.Skip();
-}
-
-
-void
-wxLayoutWindow::ScrollToCursor()
-{
- //is always needed to make sure we know where the cursor is
- //if(IsDirty())
- //RequestUpdate(m_llist->GetUpdateRect());
-
-
- ResizeScrollbars();
-
- int x0,y0,x1,y1, dx, dy;
-
- // Calculate where the top of the visible area is:
- GetViewStart(&x0,&y0);
- GetScrollPixelsPerUnit(&dx, &dy);
- x0 *= dx; y0 *= dy;
-
- WXLO_DEBUG(("ScrollToCursor: GetViewStart is %d/%d", x0, y0));
-
- // Get the size of the visible window:
- GetClientSize(&x1, &y1);
-
- // Make sure that the scrollbars are at a position so that the cursor is
- // visible if we are editing
- WXLO_DEBUG(("m_ScrollToCursor = %d", (int) m_ScrollToCursor));
- wxPoint cc = m_llist->GetCursorScreenPos();
-
- // the cursor should be completely visible in both directions
- wxPoint cs(m_llist->GetCursorSize());
- int nx = -1,
- ny = -1;
-
- if ( cc.x < x0 || cc.x >= x0 + x1 - cs.x )
- {
- nx = cc.x - x1/2;
- if ( nx < 0 )
- nx = 0;
- }
-
- if ( cc.y < y0 || cc.y >= y0 + y1 - cs.y )
- {
- ny = cc.y - y1/2;
- if ( ny < 0)
- ny = 0;
- }
-
- if( nx != -1 || ny != -1 )
- {
- // set new view start
- Scroll(nx == -1 ? -1 : (nx+dx-1)/dx, ny == -1 ? -1 : (ny+dy-1)/dy);
- // avoid recursion
- m_ScrollToCursor = false;
- RequestUpdate();
- }
-}
-
-void
-wxLayoutWindow::OnPaint( wxPaintEvent &WXUNUSED(event))
-{
- wxRect region = GetUpdateRegion().GetBox();
- InternalPaint(®ion);
-}
-
-void
-wxLayoutWindow::RequestUpdate(const wxRect *
-#ifdef __WXGTK__
- updateRect
-#else
- WXUNUSED(updateRect)
-#endif
-)
-{
-#ifdef __WXGTK__
- // Calling Refresh() causes bad flicker under wxGTK!!!
- InternalPaint(updateRect);
-#else
- // shouldn't specify the update rectangle if it doesn't include all the
- // changed locations - otherwise, they won't be repainted at all because
- // the system clips the display to the update rect
- Refresh(false); //, updateRect);
-#endif
-}
-
-void
-wxLayoutWindow::InternalPaint(const wxRect *updateRect)
-{
-
- wxPaintDC dc( this );
- PrepareDC( dc );
-
-#ifdef WXLAYOUT_USE_CARET
- // hide the caret before drawing anything
- GetCaret()->Hide();
-#endif // WXLAYOUT_USE_CARET
-
- int x0,y0,x1,y1, dx, dy;
-
- // Calculate where the top of the visible area is:
- GetViewStart(&x0,&y0);
- GetScrollPixelsPerUnit(&dx, &dy);
- x0 *= dx; y0 *= dy;
-
- // Get the size of the visible window:
- GetClientSize(&x1,&y1);
- wxASSERT(x1 >= 0);
- wxASSERT(y1 >= 0);
-
- if(updateRect)
- {
- WXLO_DEBUG(("Update rect: %ld,%ld / %ld,%ld",
- updateRect->x, updateRect->y,
- updateRect->x+updateRect->width,
- updateRect->y+updateRect->height));
- }
-
- ResizeScrollbars(true);
-
- WXLO_TIMER_START(TmpTimer);
- /* Check whether the window has grown, if so, we need to reallocate
- the bitmap to be larger. */
- if(x1 > m_bitmapSize.x || y1 > m_bitmapSize.y)
- {
- wxASSERT(m_bitmapSize.x > 0);
- wxASSERT(m_bitmapSize.y > 0);
-
- m_memDC->SelectObject(wxNullBitmap);
- delete m_bitmap;
- m_bitmapSize = wxPoint(x1,y1);
- m_bitmap = new wxBitmap(x1,y1);
- m_memDC->SelectObject(*m_bitmap);
- }
-
- m_memDC->SetDeviceOrigin(0,0);
- m_memDC->SetBackground(wxBrush(m_llist->GetDefaultStyleInfo().GetBGColour(),wxSOLID));
- m_memDC->SetPen(wxPen(m_llist->GetDefaultStyleInfo().GetBGColour(),
- 0,wxTRANSPARENT));
- m_memDC->SetLogicalFunction(wxCOPY);
- m_memDC->Clear();
- WXLO_TIMER_STOP(TmpTimer);
-
- // fill the background with the background bitmap
- if(m_BGbitmap)
- {
- CoordType
- y, x,
- w = m_BGbitmap->GetWidth(),
- h = m_BGbitmap->GetHeight();
- for(y = 0; y < y1; y+=h)
- {
- for(x = 0; x < x1; x+=w)
- {
- m_memDC->DrawBitmap(*m_BGbitmap, x, y);
- }
- }
-
- m_memDC->SetBackgroundMode(wxTRANSPARENT);
- }
-
- // This is the important bit: we tell the list to draw itself
-#if WXLO_DEBUG_URECT
- if(updateRect)
- {
- WXLO_DEBUG(("Update rect: %ld,%ld / %ld,%ld",
- updateRect->x, updateRect->y,
- updateRect->x+updateRect->width,
- updateRect->y+updateRect->height));
- }
-#endif
-
- // Device origins on the memDC are suspect, we translate manually
- // with the translate parameter of Draw().
- wxPoint offset(-x0+WXLO_XOFFSET,-y0+WXLO_YOFFSET);
- m_llist->Draw(*m_memDC,offset, y0, y0+y1);
-
- // We start calculating a new update rect before drawing the
- // cursor, so that the cursor coordinates get included in the next
- // update rectangle (although they are drawn on the memDC, this is
- // needed to erase it):
- m_llist->InvalidateUpdateRect();
- if(m_CursorVisibility == 1)
- {
- // draw a thick cursor for editable windows with focus
- m_llist->DrawCursor(*m_memDC,
- m_HaveFocus && IsEditable(),
- offset);
- }
-
- WXLO_TIMER_START(BlitTimer);
-// Now copy everything to the screen:
-#if 0
- // This somehow doesn't work, but even the following bit with the
- // whole rect at once is still a bit broken I think.
- wxRegionIterator ri ( GetUpdateRegion() );
- if(ri)
- while(ri)
- {
- WXLO_DEBUG(("UpdateRegion: %ld,%ld, %ld,%ld",
- ri.GetX(),ri.GetY(),ri.GetW(),ri.GetH()));
-
- dc.Blit(x0+ri.GetX(),y0+ri.GetY(),ri.GetW(),ri.GetH(),
- m_memDC,ri.GetX(),ri.GetY(),wxCOPY,false);
- ri++;
- }
- else
-#endif
- {
- // FIXME: Trying to copy only the changed parts, but it does not seem
- // to work:
-// x0 = updateRect->x; y0 = updateRect->y;
-// if(updateRect->height < y1)
-// y1 = updateRect->height;
-// y1 += WXLO_YOFFSET; //FIXME might not be needed
- dc.Blit(x0,y0,x1,y1,m_memDC,0,0,wxCOPY,false);
- }
-
- WXLO_TIMER_STOP(BlitTimer);
-
-
-#ifdef WXLAYOUT_USE_CARET
- // show the caret back after everything is redrawn
- GetCaret()->Show();
-#endif // WXLAYOUT_USE_CARET
-
- ResetDirty();
-
-#if wxUSE_STATUSBAR
- if ( m_StatusBar && m_StatusFieldCursor != -1 )
- {
- static wxPoint s_oldCursorPos(-1, -1);
-
- wxPoint pos(m_llist->GetCursorPos());
-
- // avoid unnecessary status bar refreshes
- if ( pos != s_oldCursorPos )
- {
- s_oldCursorPos = pos;
-
- wxString label;
- label.Printf(_("Ln:%d Col:%d"), pos.y + 1, pos.x + 1);
- m_StatusBar->SetStatusText(label, m_StatusFieldCursor);
- }
- }
-#endif // wxUSE_STATUSBAR
-
- WXLO_TIMER_PRINT(LayoutTimer);
- WXLO_TIMER_PRINT(BlitTimer);
- WXLO_TIMER_PRINT(TmpTimer);
-}
-
-void
-wxLayoutWindow::OnSize(wxSizeEvent &event)
-{
- if ( m_llist )
- ResizeScrollbars();
-
- event.Skip();
-}
-
-/*
-Change the range and position of scrollbars. Has evolved into a
-generic Update function which will at some time later cause a repaint
-as needed.
-*/
-
-void
-wxLayoutWindow::ResizeScrollbars(bool exact)
-{
- wxClientDC dc( this );
- PrepareDC( dc );
-// m_llist->ForceTotalLayout();
-
- if(! IsDirty())
- {
- // we are laying out just the minimum, but always up to the
- // cursor line, so the cursor position is updated.
- m_llist->Layout(dc, 0);
- return;
- }
-
- WXLO_TIMER_START(LayoutTimer);
- m_llist->Layout(dc, -1);
- WXLO_TIMER_STOP(LayoutTimer);
- ResetDirty();
-
- wxPoint max = m_llist->GetSize();
- wxSize size = GetClientSize();
-
- WXLO_DEBUG(("ResizeScrollbars: max size = (%ld, %ld)",
- (long int)max.x, (long int) max.y));
-
- // in the absence of scrollbars we should compare with the client size
- if ( !m_hasHScrollbar )
- m_maxx = size.x;// - WXLO_ROFFSET;
-
- if ( !m_hasVScrollbar )
- m_maxy = size.y;// - WXLO_BOFFSET;
-
- // check if the text hasn't become too big
- // TODO why do we set both at once? they're independent...
- if( max.x > m_maxx - WXLO_ROFFSET
- || max.y > m_maxy - WXLO_BOFFSET
- || (max.x < m_maxx - X_SCROLL_PAGE)
- || (max.y < m_maxy - Y_SCROLL_PAGE)
- || exact )
- {
- // text became too large
- if ( !exact )
- {
- // add an extra bit to the sizes to avoid future updates
- max.x += WXLO_ROFFSET;
- max.y += WXLO_BOFFSET;
- }
-
- bool done = false;
-
- if(max.x < X_SCROLL_PAGE && m_hasHScrollbar)
- {
- SetScrollbars(0,-1,0,-1,0,-1,true);
- m_hasHScrollbar = false;
- done = true;
- }
-
- if(max.y < Y_SCROLL_PAGE && m_hasVScrollbar)
- {
- SetScrollbars(-1,0,-1,0,-1,0,true);
- m_hasVScrollbar = false;
- done = true;
- }
-
- if (! done &&
-// (max.x > X_SCROLL_PAGE || max.y > Y_SCROLL_PAGE)
- (max.x > size.x - X_SCROLL_PAGE|| max.y > size.y - Y_SCROLL_PAGE) )
- {
- GetViewStart(&m_ViewStartX, &m_ViewStartY);
-
- SetScrollbars(X_SCROLL_PAGE,
- Y_SCROLL_PAGE,
- max.x / X_SCROLL_PAGE + 2,
- max.y / Y_SCROLL_PAGE + 2,
- m_ViewStartX,
- m_ViewStartY,
- true);
-
- m_hasHScrollbar =
- m_hasVScrollbar = true;
-// ScrollToCursor();
- }
-
- m_maxx = max.x + X_SCROLL_PAGE;
- m_maxy = max.y + Y_SCROLL_PAGE;
- }
-}
-
-// ----------------------------------------------------------------------------
-//
-// clipboard operations
-//
-// ----------------------------------------------------------------------------
-
-void
-wxLayoutWindow::Paste(bool usePrivate, bool primary)
-{
- // this only has an effect under X11:
- wxTheClipboard->UsePrimarySelection(primary);
- // Read some text
- if (wxTheClipboard->Open())
- {
- if(usePrivate)
- {
- wxLayoutDataObject wxldo;
- if (wxTheClipboard->IsSupported( wxldo.GetFormat() ))
- {
- if(wxTheClipboard->GetData(wxldo))
- {
- wxTheClipboard->Close();
- wxString str = wxldo.GetLayoutData();
- m_llist->Read(str);
- SetDirty();
- RequestUpdate();
- return;
- }
- }
- }
-
- wxTextDataObject data;
- if (wxTheClipboard->IsSupported( data.GetFormat() )
- && wxTheClipboard->GetData(data) )
- {
- wxTheClipboard->Close();
- wxString text = data.GetText();
- wxLayoutImportText( m_llist, text);
- SetDirty();
- RequestUpdate();
- return;
- }
- }
- // if everything failed we can still try the primary:
- wxTheClipboard->Close();
- if(! primary) // not tried before
- {
- wxTheClipboard->UsePrimarySelection();
- if (wxTheClipboard->Open())
- {
- wxTextDataObject data;
- if (wxTheClipboard->IsSupported( data.GetFormat() )
- && wxTheClipboard->GetData(data) )
- {
- wxString text = data.GetText();
- wxLayoutImportText( m_llist, text);
- SetDirty();
- RequestUpdate();
- }
- wxTheClipboard->Close();
- }
- }
-}
-
-bool
-wxLayoutWindow::Copy(bool invalidate, bool privateFormat, bool primary)
-{
- // Calling GetSelection() will automatically do an EndSelection()
- // on the list, but we need to take a note of it, too:
- if(m_Selecting)
- {
- m_Selecting = false;
- m_llist->EndSelection();
- }
-
- wxLayoutDataObject *wldo = new wxLayoutDataObject;
- wxLayoutList *llist = m_llist->GetSelection(wldo, invalidate);
- if(! llist)
- return false;
- // Export selection as text:
- wxString text;
- wxLayoutExportObject *exp;
- wxLayoutExportStatus status(llist);
- while((exp = wxLayoutExport( &status, WXLO_EXPORT_AS_TEXT)) != NULL)
- {
- if(exp->type == WXLO_EXPORT_TEXT)
- text << *(exp->content.text);
-
- delete exp;
- }
-
- delete llist;
-
- // The exporter always appends a newline, so we chop it off if it
- // is there:
- {
- size_t len = text.Length();
- if(len > 2 && text[len-2] == '\r') // Windows
- text = text.Mid(0,len-2);
- else if(len > 1 && text[len-1] == '\n')
- text = text.Mid(0,len-1);
- }
-
-#if 0
- if(! primary) // always copy as text-only to primary selection
- {
- wxTheClipboard->UsePrimarySelection();
- if (wxTheClipboard->Open())
- {
- wxTextDataObject *data = new wxTextDataObject( text );
- wxTheClipboard->SetData( data );
- wxTheClipboard->Close();
- }
- }
-#endif
-
- wxTheClipboard->UsePrimarySelection(primary);
- if (wxTheClipboard->Open())
- {
- wxTextDataObject *data = new wxTextDataObject( text );
- bool rc = wxTheClipboard->SetData( data );
-
- if(privateFormat)
- rc |= wxTheClipboard->SetData( wldo );
-
- wxTheClipboard->Close();
- return rc;
- }
- else
- {
- delete wldo;
- }
-
- return false;
-}
-
-bool
-wxLayoutWindow::Cut(bool privateFormat, bool usePrimary)
-{
- if(Copy(false, privateFormat, usePrimary)) // do not invalidate selection after copy
- {
- m_llist->DeleteSelection();
- SetDirty();
- return true;
- }
- else
- {
- return false;
- }
-}
-
-// ----------------------------------------------------------------------------
-// searching
-// ----------------------------------------------------------------------------
-
-bool
-wxLayoutWindow::Find(
-#ifdef M_BASEDIR
- const wxString &needle,
- wxPoint * fromWhere,
- const wxString &configPath
-#else
- const wxString & WXUNUSED(needle),
- wxPoint * WXUNUSED(fromWhere),
- const wxString & WXUNUSED(configPath)
-#endif
-)
-{
-#ifdef M_BASEDIR
- wxPoint found;
-
- if(needle.Length() == 0)
- {
- if( ! MInputBox(&m_FindString,
- _("Find text"),
- _(" Find:"),
- this,
- configPath, "")
- || strutil_isempty(m_FindString))
- {
- return true;
- }
- }
- else
- {
- m_FindString = needle;
- }
-
- if(fromWhere == NULL)
- found = m_llist->FindText(m_FindString, m_llist->GetCursorPos());
- else
- found = m_llist->FindText(m_FindString, *fromWhere);
-
- if(found.x != -1)
- {
- if(fromWhere)
- {
- *fromWhere = found;
- fromWhere->x ++;
- }
-
- m_llist->MoveCursorTo(found);
- ScrollToCursor();
- RequestUpdate();
-
- return true;
- }
-#endif
-
- return false;
-}
-
-
-bool
-wxLayoutWindow::FindAgain()
-{
- bool rc = Find(m_FindString);
- return rc;
-}
-
-// ----------------------------------------------------------------------------
-// popup menu stuff
-// ----------------------------------------------------------------------------
-
-wxMenu *
-wxLayoutWindow::MakeFormatMenu()
-{
- wxMenu *m = new wxMenu(_("Layout Menu"));
-
- m->Append(WXLOWIN_MENU_LARGER ,_("&Larger"),_("Switch to larger font."));
- m->Append(WXLOWIN_MENU_SMALLER ,_("&Smaller"),_("Switch to smaller font."));
- m->AppendSeparator();
- m->Append(WXLOWIN_MENU_UNDERLINE, _("&Underline"),_("Underline mode."), wxITEM_CHECK);
- m->Append(WXLOWIN_MENU_BOLD, _("&Bold"),_("Bold mode."), wxITEM_CHECK);
- m->Append(WXLOWIN_MENU_ITALICS, _("&Italics"),_("Italics mode."), wxITEM_CHECK);
- m->AppendSeparator();
- m->Append(WXLOWIN_MENU_ROMAN ,_("&Roman"),_("Switch to roman font."));
- m->Append(WXLOWIN_MENU_TYPEWRITER,_("&Typewriter"),_("Switch to typewriter font."));
- m->Append(WXLOWIN_MENU_SANSSERIF ,_("&Sans Serif"),_("Switch to sans serif font."));
-
- return m;
-}
-
-void wxLayoutWindow::OnUpdateMenuUnderline(wxUpdateUIEvent& event)
-{
- event.Check(m_llist->IsFontUnderlined());
-}
-
-void wxLayoutWindow::OnUpdateMenuBold(wxUpdateUIEvent& event)
-{
- event.Check(m_llist->IsFontBold());
-}
-
-void wxLayoutWindow::OnUpdateMenuItalic(wxUpdateUIEvent& event)
-{
- event.Check(m_llist->IsFontItalic());
-}
-
-void wxLayoutWindow::OnMenu(wxCommandEvent& event)
-{
- switch (event.GetId())
- {
- case WXLOWIN_MENU_LARGER:
- m_llist->SetFontLarger(); RequestUpdate(); break;
-
- case WXLOWIN_MENU_SMALLER:
- m_llist->SetFontSmaller(); RequestUpdate(); break;
-
- case WXLOWIN_MENU_UNDERLINE:
- m_llist->ToggleFontUnderline(); RequestUpdate(); break;
-
- case WXLOWIN_MENU_BOLD:
- m_llist->ToggleFontWeight(); RequestUpdate(); break;
-
- case WXLOWIN_MENU_ITALICS:
- m_llist->ToggleFontItalics(); RequestUpdate(); break;
-
- case WXLOWIN_MENU_ROMAN:
- m_llist->SetFontFamily(wxROMAN); RequestUpdate(); break;
-
- case WXLOWIN_MENU_TYPEWRITER:
- m_llist->SetFontFamily(wxFIXED); RequestUpdate(); break;
-
- case WXLOWIN_MENU_SANSSERIF:
- m_llist->SetFontFamily(wxSWISS); RequestUpdate(); break;
- }
-}
-
-// ----------------------------------------------------------------------------
-// focus
-// ----------------------------------------------------------------------------
-
-void
-wxLayoutWindow::OnSetFocus(wxFocusEvent &ev)
-{
- m_HaveFocus = true;
- ev.Skip();
- RequestUpdate(); // cursor must change
-}
-
-void
-wxLayoutWindow::OnKillFocus(wxFocusEvent &ev)
-{
- m_HaveFocus = false;
- ev.Skip();
- RequestUpdate();// cursor must change
-}
-
-// ----------------------------------------------------------------------------
-// private functions
-// ----------------------------------------------------------------------------
-
-static bool IsDirectionKey(long keyCode)
-{
- switch(keyCode)
- {
- case WXK_UP:
- case WXK_DOWN:
- case WXK_RIGHT:
- case WXK_LEFT:
- case WXK_PRIOR:
- case WXK_NEXT:
- case WXK_HOME:
- case WXK_END:
- return true;
-
- default:
- return false;
- }
-}
-
+++ /dev/null
-/*-*- c++ -*-********************************************************
- * wxLwindow.h : a scrolled Window for displaying/entering rich text*
- * *
- * (C) 1998-2000 by Karsten Ballüder (ballueder@gmx.net) *
- * *
- * $Id$
- *******************************************************************/
-#ifndef WXLWINDOW_H
-#define WXLWINDOW_H
-
-#ifndef USE_PCH
-# include "wx/wx.h"
-#endif
-
-#include "wxllist.h"
-
-#ifndef WXLOWIN_MENU_FIRST
-# define WXLOWIN_MENU_FIRST 12000
-#endif
-
-
-enum
-{
- WXLOWIN_MENU_LARGER = WXLOWIN_MENU_FIRST,
- WXLOWIN_MENU_SMALLER,
- WXLOWIN_MENU_UNDERLINE,
- WXLOWIN_MENU_BOLD,
- WXLOWIN_MENU_ITALICS,
- WXLOWIN_MENU_ROMAN,
- WXLOWIN_MENU_TYPEWRITER,
- WXLOWIN_MENU_SANSSERIF,
- WXLOWIN_MENU_RCLICK,
- WXLOWIN_MENU_DBLCLICK,
- WXLOWIN_MENU_MDOWN,
- WXLOWIN_MENU_LDOWN,
- WXLOWIN_MENU_LCLICK = WXLOWIN_MENU_LDOWN,
- WXLOWIN_MENU_LUP,
- WXLOWIN_MENU_MOUSEMOVE,
- WXLOWIN_MENU_LAST = WXLOWIN_MENU_MOUSEMOVE
-};
-
-/**
- This class is a rich text editing widget.
-*/
-class wxLayoutWindow : public wxScrolledWindow
-{
-public:
- /** Constructor.
- @param parent parent window to display this panel in
- */
- wxLayoutWindow(wxWindow *parent);
-
- /// Destructor.
- virtual ~wxLayoutWindow();
-
- /**@name Editing functionality */
- //@{
- /// Clears the window and sets default parameters.
- void Clear(int family = wxROMAN,
- int size = 12,
- int style = wxNORMAL,
- int weight = wxNORMAL,
- int underline = 0,
- wxColour *fg = NULL,
- wxColour *bg = NULL);
-
- /// override base class virtual to also refresh the scrollbar position
- virtual void Refresh(bool eraseBackground = true,
- const wxRect *rect = (const wxRect *)NULL);
-
- /** Sets a background image, only used on screen, not on printouts.
- @param bitmap a pointer to a wxBitmap or NULL to remove it
- */
- void SetBackgroundBitmap(wxBitmap *bitmap = NULL)
- {
- if(m_BGbitmap) delete m_BGbitmap;
- m_BGbitmap = bitmap;
- }
-
- /// Enable or disable editing, i.e. processing of keystrokes.
- void SetEditable(bool toggle)
- {
- m_Editable = toggle;
- SetCursorVisibility(toggle);
- }
-
- /// Query whether list can be edited by user.
- bool IsEditable() const { return m_Editable; }
-
- /** Sets cursor visibility, visible=1, invisible=0,
- visible-on-demand=-1, to hide it until moved.
- @param visibility -1,0 or 1
- @return the old visibility
- */
- inline int SetCursorVisibility(int visibility = -1)
- {
- int v =m_CursorVisibility;
- m_CursorVisibility = visibility; return v;
- }
-
- /// Pastes text from clipboard.
- void Paste(bool privateFormat = false, bool usePrimarySelection = false);
-
- /** Copies selection to clipboard.
- @param invalidate used internally, see wxllist.h for details
- */
- bool Copy(bool invalidate = true, bool privateFormat = false, bool primary = false);
-
- /// Copies selection to clipboard and deletes it.
- bool Cut(bool privateFormat = false, bool usePrimary = false);
- //@}
-
- /// find string in buffer
- bool Find(const wxString &needle,
- wxPoint * fromWhere = NULL,
- const wxString &configPath = _T("MsgViewFindString"));
-
- /// find the same string again
- bool FindAgain();
-
- void EnablePopup(bool enable = true) { m_DoPopupMenu = enable; }
-
- /** Sets the wrap margin.
- @param margin set this to 0 to disable it
- */
- void SetWrapMargin(CoordType margin) { m_WrapMargin = margin; }
-
- /** Toggle wordwrap as we type.
- @param on true to activate word wrap
- */
- void SetWordWrap(bool on = true) { m_DoWordWrap = on; }
-
- /** Redraws the window.
- Internally, this stores the parameter and calls a refresh on
- wxMSW, draws directly on wxGTK.
- */
- void RequestUpdate(const wxRect *updateRect = NULL);
-
- /// if exact == false, assume 50% extra size for the future
- void ResizeScrollbars(bool exact = false); // don't change this to true!
-
- /// if the flag is true, we send events when user clicks on embedded objects
- inline void SetMouseTracking(bool doIt = true) { m_doSendEvents = doIt; }
-
- /** Returns a pointer to the wxLayoutList object.
- @return the list
- */
- wxLayoutList * GetLayoutList() { return m_llist; }
-
- /**@name Callbacks */
- //@{
- void OnSize(wxSizeEvent &event);
- void OnPaint(wxPaintEvent &event);
- void OnChar(wxKeyEvent& event);
- void OnKeyUp(wxKeyEvent& event);
- void OnUpdateMenuUnderline(wxUpdateUIEvent& event);
- void OnUpdateMenuBold(wxUpdateUIEvent& event);
- void OnUpdateMenuItalic(wxUpdateUIEvent& event);
- void OnMenu(wxCommandEvent& event);
- void OnLeftMouseDown(wxMouseEvent& event) { OnMouse(WXLOWIN_MENU_LDOWN, event); }
- void OnLeftMouseUp(wxMouseEvent& event) { OnMouse(WXLOWIN_MENU_LUP, event); }
- void OnRightMouseClick(wxMouseEvent& event) { OnMouse(WXLOWIN_MENU_RCLICK, event); }
- void OnMiddleMouseDown(wxMouseEvent& event) { OnMouse(WXLOWIN_MENU_MDOWN, event); }
- void OnMouseDblClick(wxMouseEvent& event) { OnMouse(WXLOWIN_MENU_DBLCLICK, event); }
- void OnMouseMove(wxMouseEvent &event) { OnMouse(WXLOWIN_MENU_MOUSEMOVE, event) ; }
- void OnSetFocus(wxFocusEvent &ev);
- void OnKillFocus(wxFocusEvent &ev);
- //@}
-
- /// Creates a wxMenu for use as a format popup.
- static wxMenu * MakeFormatMenu();
-
- /// Redraws the window, used by RequestUpdate() or OnPaint().
- void InternalPaint(const wxRect *updateRect);
-
-#if wxUSE_STATUSBAR
- /** Tell window to update a wxStatusBar with UserData labels and
- cursor positions.
- @param bar wxStatusBar pointer
- @param labelfield field to use in statusbar for URLs/userdata labels, or -1 to disable
- @param cursorfield field to use for cursor position, or -1 to disable
- */
- void SetStatusBar(class wxStatusBar *bar,
- int labelfield = -1,
- int cursorfield = -1)
- {
- m_StatusBar = bar; m_StatusFieldLabel = labelfield;
- m_StatusFieldCursor = cursorfield;
- }
-#endif // wxUSE_STATUSBAR
-
-#ifndef __WXMSW__
- /// Enable or disable focus follow mode under non-MSW
- void SetFocusFollowMode(bool enable = true)
- {
- m_FocusFollowMode = enable;
- }
-#endif
-
- /** @name Modified flag handling, will not get reset by list unless
- in Clear() */
- //@{
- /// Set dirty flag.
- void SetModified(bool modified = true) { m_Modified = modified; }
-
- /// Query whether window needs redrawing.
- bool IsModified() const { return m_Modified; }
- //@}
-
- /**
- @name Dirty flag handling for optimisations.
- Normally one should only need to call SetDirty(), e.g. when
- manipulating the wxLayoutList directly, so the window will update
- itself. ResetDirty() and IsDirty() should only be used
- internally. */
- //@{
- /// Set dirty flag.
- void SetDirty() { m_Dirty = true; m_Modified = true; }
-
- /// Query whether window needs redrawing.
- bool IsDirty() const { return m_Dirty; }
-
- /// Reset dirty flag.
- void ResetDirty() { m_Dirty = false; }
- //@}
-
-
-protected:
- /// generic function for mouse events processing
- void OnMouse(int eventId, wxMouseEvent& event);
-
- /// as the name says
- void ScrollToCursor();
-
- /// for sending events
- wxWindow *m_Parent;
-
- /// Shall we send events?
- bool m_doSendEvents;
-
- /// Where does the current view start?
- int m_ViewStartX; int m_ViewStartY;
-
- /// Do we currently have the focus?
- bool m_HaveFocus;
-
- /// do we handle clicks of the right mouse button?
- bool m_DoPopupMenu;
-
- /// Should InternalPaint() scroll to cursor (VZ: seems unused any more)
- bool m_ScrollToCursor;
-
- /// Do we currently have a non-standard cursor?
- bool m_HandCursor;
-
- /// the menu
- wxMenu * m_PopupMenu;
-
- /// for derived classes, set when mouse is clicked
- wxPoint m_ClickPosition;
-
- /// for scrollbar calculations:
- int m_maxx;
- int m_maxy;
- int m_lineHeight;
-
- /// do we want automatic word wrap?
- bool m_DoWordWrap;
-
- /// wrap margin
- CoordType m_WrapMargin;
-
- /// do we have the corresponding scrollbar?
- bool m_hasHScrollbar,
- m_hasVScrollbar;
-
- /** Visibility parameter for cursor. 0/1 as expected, -1: visible
- on demand.
- */
- int m_CursorVisibility;
-
- bool SetAutoDeleteSelection(bool enable = true)
- {
- bool old = m_AutoDeleteSelection;
- m_AutoDeleteSelection = enable;
- return old;
- }
-private:
- /// The layout list to be displayed.
- wxLayoutList *m_llist;
-
- /// Can user edit the window?
- bool m_Editable;
-
- /// Are we currently building a selection with the keyboard?
- bool m_Selecting;
-
- /// Has list changed since last redraw, e.g. in size?
- bool m_Dirty;
-
- /// Has the list ever been modified?
- bool m_Modified;
-
- wxMemoryDC *m_memDC;
- wxBitmap *m_bitmap;
- wxPoint m_bitmapSize;
-
-#if wxUSE_STATUSBAR
- /// A frame's statusbar to update
- class wxStatusBar *m_StatusBar;
-#endif // wxUSE_STATUSBAR
-
- /// statusbar field for labels
- int m_StatusFieldLabel;
-
- /// statusbar field for cursor positions
- int m_StatusFieldCursor;
-
- /// a pointer to a bitmap for the background
- wxBitmap *m_BGbitmap;
-
- /**@name Some configuration options */
- //@{
- /// Do we want to auto-replace the selection with new text?
- bool m_AutoDeleteSelection;
-
-#ifndef __WXMSW__
- /// Do we want the focus to follow the mouse?
- bool m_FocusFollowMode;
-#endif
- /// For finding text and finding it again:
- wxString m_FindString;
-//@}
-
- DECLARE_EVENT_TABLE()
-};
-
-#endif