Doc edits; adding mmedia.rsp; added STC BC++ makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -3,19 +3,21 @@
|
|||||||
% /home/guilhem/PROJECTS/wxWindows/utils/wxMMedia2/lib/cdbase.h at 26/Feb/00 14:52:12
|
% /home/guilhem/PROJECTS/wxWindows/utils/wxMMedia2/lib/cdbase.h at 26/Feb/00 14:52:12
|
||||||
%
|
%
|
||||||
|
|
||||||
|
|
||||||
\section{\class{wxCDAudio}}\label{wxcdaudio}
|
\section{\class{wxCDAudio}}\label{wxcdaudio}
|
||||||
|
|
||||||
\wxheading{Derived from}
|
\wxheading{Derived from}
|
||||||
|
|
||||||
\helpref{wxObject}{wxobject}
|
wxObject
|
||||||
|
|
||||||
\wxheading{Data structures}
|
\wxheading{Data structures}
|
||||||
|
|
||||||
{\small \begin{verbatim}
|
{\small
|
||||||
|
\begin{verbatim}
|
||||||
typedef struct wxCDtime {
|
typedef struct wxCDtime {
|
||||||
wxUint8 track
|
wxUint8 track
|
||||||
\end{verbatim}}
|
};
|
||||||
|
\end{verbatim}
|
||||||
|
}
|
||||||
{\small \begin{verbatim}
|
{\small \begin{verbatim}
|
||||||
typedef enum { PLAYING, PAUSED, STOPPED } CDstatus
|
typedef enum { PLAYING, PAUSED, STOPPED } CDstatus
|
||||||
\end{verbatim}}
|
\end{verbatim}}
|
||||||
|
@@ -6,8 +6,6 @@
|
|||||||
|
|
||||||
\section{\class{wxCDAudioLinux}}\label{wxcdaudiolinux}
|
\section{\class{wxCDAudioLinux}}\label{wxcdaudiolinux}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
\wxheading{Derived from}
|
\wxheading{Derived from}
|
||||||
|
|
||||||
\helpref{wxCDAudio}{wxcdaudio}
|
\helpref{wxCDAudio}{wxcdaudio}
|
||||||
@@ -16,17 +14,12 @@
|
|||||||
|
|
||||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||||
|
|
||||||
|
|
||||||
\membersection{wxCDAudioLinux::wxCDAudioLinux}\label{wxcdaudiolinuxwxcdaudiolinux}
|
\membersection{wxCDAudioLinux::wxCDAudioLinux}\label{wxcdaudiolinuxwxcdaudiolinux}
|
||||||
|
|
||||||
\func{}{wxCDAudioLinux}{\void}
|
\func{}{wxCDAudioLinux}{\void}
|
||||||
|
|
||||||
|
|
||||||
\membersection{wxCDAudioLinux::wxCDAudioLinux}\label{wxcdaudiolinuxwxcdaudiolinux}
|
|
||||||
|
|
||||||
\func{}{wxCDAudioLinux}{\param{const char* }{dev\_name}}
|
\func{}{wxCDAudioLinux}{\param{const char* }{dev\_name}}
|
||||||
|
|
||||||
|
|
||||||
\membersection{wxCDAudioLinux::\destruct{wxCDAudioLinux}}\label{wxcdaudiolinuxdtor}
|
\membersection{wxCDAudioLinux::\destruct{wxCDAudioLinux}}\label{wxcdaudiolinuxdtor}
|
||||||
|
|
||||||
\func{}{\destruct{wxCDAudioLinux}}{\void}
|
\func{}{\destruct{wxCDAudioLinux}}{\void}
|
||||||
|
@@ -14,10 +14,14 @@
|
|||||||
|
|
||||||
\wxheading{Data structures}
|
\wxheading{Data structures}
|
||||||
|
|
||||||
{\small \begin{verbatim}
|
{\small
|
||||||
|
\begin{verbatim}
|
||||||
typedef struct CDAW\_Internal {
|
typedef struct CDAW\_Internal {
|
||||||
MCIDEVICEID dev\_id
|
MCIDEVICEID dev\_id
|
||||||
\end{verbatim}}
|
};
|
||||||
|
\end{verbatim}
|
||||||
|
}
|
||||||
|
|
||||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||||
|
|
||||||
|
|
||||||
@@ -25,9 +29,6 @@ typedef struct CDAW\_Internal {
|
|||||||
|
|
||||||
\func{}{wxCDAudioWin}{\void}
|
\func{}{wxCDAudioWin}{\void}
|
||||||
|
|
||||||
|
|
||||||
\membersection{wxCDAudioWin::wxCDAudioWin}\label{wxcdaudiowinwxcdaudiowin}
|
|
||||||
|
|
||||||
\func{}{wxCDAudioWin}{\param{const char* }{dev\_name}}
|
\func{}{wxCDAudioWin}{\param{const char* }{dev\_name}}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -17,7 +17,6 @@ No base class
|
|||||||
|
|
||||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||||
|
|
||||||
|
|
||||||
\membersection{CDtoc::CDtoc}\label{cdtoccdtoc}
|
\membersection{CDtoc::CDtoc}\label{cdtoccdtoc}
|
||||||
|
|
||||||
\func{}{CDtoc}{\param{wxCDtime\& }{tot\_tm}, \param{wxCDtime* }{trks\_tm}, \param{wxCDtime* }{trks\_pos}}
|
\func{}{CDtoc}{\param{wxCDtime\& }{tot\_tm}, \param{wxCDtime* }{trks\_tm}, \param{wxCDtime* }{trks\_pos}}
|
||||||
@@ -62,16 +61,10 @@ Returns the total time
|
|||||||
|
|
||||||
Play audio at the specified position
|
Play audio at the specified position
|
||||||
|
|
||||||
|
|
||||||
\membersection{wxCDAudio::Play}\label{wxcdaudioplay}
|
|
||||||
|
|
||||||
\func{bool}{Play}{\param{const wxCDtime\& }{beg\_play}}
|
\func{bool}{Play}{\param{const wxCDtime\& }{beg\_play}}
|
||||||
|
|
||||||
Play audio from the specified to the end of the CD audio
|
Play audio from the specified to the end of the CD audio
|
||||||
|
|
||||||
|
|
||||||
\membersection{wxCDAudio::Play}\label{wxcdaudioplay}
|
|
||||||
|
|
||||||
\func{bool}{Play}{\param{wxUint8 }{beg\_track}, \param{wxUint8 }{end\_track = 0}}
|
\func{bool}{Play}{\param{wxUint8 }{beg\_track}, \param{wxUint8 }{end\_track = 0}}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -1,8 +1,8 @@
|
|||||||
chapter{Class reference}\label{classref}
|
\chapter{Class reference}\label{classref}
|
||||||
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
|
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
|
||||||
\setfooter{\thepage}{}{}{}{}{\thepage}
|
\setfooter{\thepage}{}{}{}{}{\thepage}
|
||||||
|
|
||||||
These are the main mmedia classes.
|
These are the main Mmedia classes.
|
||||||
|
|
||||||
\input cdaudio.tex
|
\input cdaudio.tex
|
||||||
\input cdaudlnx.tex
|
\input cdaudlnx.tex
|
||||||
|
@@ -10,9 +10,9 @@
|
|||||||
\input psbox.tex
|
\input psbox.tex
|
||||||
\parindent 0pt
|
\parindent 0pt
|
||||||
\parskip 11pt
|
\parskip 11pt
|
||||||
\title{Object Graphics Library 3.0}
|
\title{MMedia for wxWindows}
|
||||||
\author{Julian Smart}
|
\author{Guilhem Lavaux}
|
||||||
\date{September 1998}
|
\date{March 2000}
|
||||||
|
|
||||||
\makeindex
|
\makeindex
|
||||||
\begin{document}
|
\begin{document}
|
||||||
|
@@ -1,17 +0,0 @@
|
|||||||
[OPTIONS]
|
|
||||||
BMROOT=d:\wx2\wxwind~1\docs\latex\ogl ; Assume that bitmaps are where the source is
|
|
||||||
TITLE=OGL Manual
|
|
||||||
CONTENTS=Contents
|
|
||||||
COMPRESS=HIGH
|
|
||||||
|
|
||||||
[FILES]
|
|
||||||
ogl.rtf
|
|
||||||
|
|
||||||
[CONFIG]
|
|
||||||
CreateButton("Up", "&Up", "JumpId(`ogl.hlp', `Contents')")
|
|
||||||
BrowseButtons()
|
|
||||||
|
|
||||||
[MAP]
|
|
||||||
|
|
||||||
[BITMAPS]
|
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 86 KiB |
Binary file not shown.
Before Width: | Height: | Size: 7.0 KiB |
@@ -1,3 +1,6 @@
|
|||||||
\chapter{OGLEdit: a sample OGL application}\label{ogledit}%
|
\chapter{MMboard: a sample MMedia application}\label{mmboard}%
|
||||||
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
|
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
|
||||||
\setfooter{\thepage}{}{}{}{}{\thepage}
|
\setfooter{\thepage}{}{}{}{}{\thepage}
|
||||||
|
|
||||||
|
To be written.
|
||||||
|
|
||||||
|
@@ -207,8 +207,7 @@ sound driver). Then, either it manages to apply it and it returns {\bf TRUE},
|
|||||||
or it could not and it returns {\bf FALSE}. In this case, you must check
|
or it could not and it returns {\bf FALSE}. In this case, you must check
|
||||||
the error with
|
the error with
|
||||||
\helpref{wxSoundStream::GetError}{wxsoundstreamgeterror}. See
|
\helpref{wxSoundStream::GetError}{wxsoundstreamgeterror}. See
|
||||||
\helpref{wxSoundStream errors section}{wxsoundstreamerrors} for more details.
|
\helpref{wxSoundStream errors section}{wxsoundstream} for more details.
|
||||||
|
|
||||||
|
|
||||||
\wxheading{Note}
|
\wxheading{Note}
|
||||||
|
|
||||||
@@ -257,32 +256,39 @@ It is also advised that you fill quickly enough the sound IO queue when the
|
|||||||
driver requests it (through a wxSoundEvent).
|
driver requests it (through a wxSoundEvent).
|
||||||
|
|
||||||
\membersection{wxSoundStream::StopProduction}\label{wxsoundstreamstopproduction}
|
\membersection{wxSoundStream::StopProduction}\label{wxsoundstreamstopproduction}
|
||||||
|
|
||||||
\func{bool}{StopProduction}{\void}
|
\func{bool}{StopProduction}{\void}
|
||||||
|
|
||||||
I stops the async notifier and the sound streaming straightly.
|
I stops the async notifier and the sound streaming straightly.
|
||||||
|
|
||||||
\membersection{wxSoundStream::SetEventHandler}\label{wxsoundstreamseteventhandler}
|
\membersection{wxSoundStream::SetEventHandler}\label{wxsoundstreamseteventhandler}
|
||||||
|
|
||||||
\func{void}{SetEventHandler}{\param{wxSoundStream* }{handler}}
|
\func{void}{SetEventHandler}{\param{wxSoundStream* }{handler}}
|
||||||
|
|
||||||
Sets the event handler: if it is non-null, all events are routed to it.
|
Sets the event handler: if it is non-null, all events are routed to it.
|
||||||
|
|
||||||
\membersection{wxSoundStream::GetError}\label{wxsoundstreamgeterror}
|
\membersection{wxSoundStream::GetError}\label{wxsoundstreamgeterror}
|
||||||
|
|
||||||
\constfunc{wxSoundError}{GetError}{\void}
|
\constfunc{wxSoundError}{GetError}{\void}
|
||||||
|
|
||||||
It returns the last error which occured.
|
It returns the last error which occured.
|
||||||
|
|
||||||
\membersection{wxSoundStream::GetLastAccess}\label{wxsoundstreamgetlastaccess}
|
\membersection{wxSoundStream::GetLastAccess}\label{wxsoundstreamgetlastaccess}
|
||||||
|
|
||||||
\constfunc{wxUint32}{GetLastAccess}{\void}
|
\constfunc{wxUint32}{GetLastAccess}{\void}
|
||||||
|
|
||||||
It returns the number of bytes which were effectively written to/read from the sound stream.
|
It returns the number of bytes which were effectively written to/read from the sound stream.
|
||||||
|
|
||||||
\membersection{wxSoundStream::QueueFilled}\label{wxsoundstreamqueuefilled}
|
\membersection{wxSoundStream::QueueFilled}\label{wxsoundstreamqueuefilled}
|
||||||
|
|
||||||
\constfunc{bool}{QueueFilled}{\void}
|
\constfunc{bool}{QueueFilled}{\void}
|
||||||
|
|
||||||
It returns whether the sound IO queue is full. When it is full, the next IO call will block
|
It returns whether the sound IO queue is full. When it is full, the next IO call will block
|
||||||
until the IO queue has at least one empty entry.
|
until the IO queue has at least one empty entry.
|
||||||
|
|
||||||
\membersection{wxSoundStream::OnSoundEvent}\label{wxsoundstreamonsoundevent}
|
\membersection{wxSoundStream::OnSoundEvent}\label{wxsoundstreamonsoundevent}
|
||||||
|
|
||||||
\func{void}{OnSoundEvent}{\param{int }{evt}}
|
\func{void}{OnSoundEvent}{\param{int }{evt}}
|
||||||
|
|
||||||
It is called by the wxSoundStream when a new sound event occured.
|
It is called by the wxSoundStream when a new sound event occured.
|
||||||
|
|
||||||
|
@@ -1,4 +1,3 @@
|
|||||||
; Last change: JS 8 Sep 98 2:54 pm
|
|
||||||
runTwice = yes
|
runTwice = yes
|
||||||
titleFontSize = 12
|
titleFontSize = 12
|
||||||
authorFontSize = 10
|
authorFontSize = 10
|
||||||
@@ -9,11 +8,11 @@ headerRule = yes
|
|||||||
footerRule = yes
|
footerRule = yes
|
||||||
useHeadingStyles = yes
|
useHeadingStyles = yes
|
||||||
listItemIndent=40
|
listItemIndent=40
|
||||||
generateHPJ = no
|
generateHPJ = yes
|
||||||
htmlBrowseButtons = bitmap
|
htmlBrowseButtons = bitmap
|
||||||
winHelpVersion = 3
|
winHelpVersion = 3
|
||||||
winHelpContents = yes
|
winHelpContents = yes
|
||||||
winHelpTitle = "OGL Manual"
|
winHelpTitle = "MMedia Manual"
|
||||||
truncateFilenames = yes
|
truncateFilenames = yes
|
||||||
combineSubSections = yes
|
combineSubSections = yes
|
||||||
\overview [2] {\rtfonly{See also }\settransparency{on}\sethotspotcolour{off}\sethotspotunderline{on}\winhelponly{\image{}{books.bmp}\settransparency{off}}
|
\overview [2] {\rtfonly{See also }\settransparency{on}\sethotspotcolour{off}\sethotspotunderline{on}\winhelponly{\image{}{books.bmp}\settransparency{off}}
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
\chapter{Topic overviews}
|
\chapter{Topic overviews}\label{overviews}
|
||||||
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
|
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
|
||||||
\setfooter{\thepage}{}{}{}{}{\thepage}
|
\setfooter{\thepage}{}{}{}{}{\thepage}
|
||||||
|
|
||||||
@@ -6,3 +6,5 @@ The following sections describe particular topics.
|
|||||||
|
|
||||||
\section{MMedia extension overview}\label{mmedoverview}
|
\section{MMedia extension overview}\label{mmedoverview}
|
||||||
|
|
||||||
|
To be written.
|
||||||
|
|
||||||
|
@@ -9,7 +9,7 @@ Classes definition
|
|||||||
|
|
||||||
\wxheading{Derived from}
|
\wxheading{Derived from}
|
||||||
|
|
||||||
\helpref{wxObject}{wxobject}
|
wxObject
|
||||||
|
|
||||||
\wxheading{Data structures}
|
\wxheading{Data structures}
|
||||||
|
|
||||||
|
@@ -19,9 +19,10 @@ Class definition
|
|||||||
{\small \begin{verbatim}
|
{\small \begin{verbatim}
|
||||||
typedef struct VIDW\_Internal {
|
typedef struct VIDW\_Internal {
|
||||||
MCIDEVICEID m\_dev\_id
|
MCIDEVICEID m\_dev\_id
|
||||||
|
};
|
||||||
\end{verbatim}}
|
\end{verbatim}}
|
||||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
||||||
|
|
||||||
|
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||||
|
|
||||||
\membersection{wxVideoWindows::OpenFile}\label{wxvideowindowsopenfile}
|
\membersection{wxVideoWindows::OpenFile}\label{wxvideowindowsopenfile}
|
||||||
|
|
||||||
|
18
contrib/samples/stc/makefile.b32
Normal file
18
contrib/samples/stc/makefile.b32
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
#
|
||||||
|
# File: makefile.b32
|
||||||
|
# Author: Julian Smart
|
||||||
|
# Created: 1999
|
||||||
|
# Updated:
|
||||||
|
# Copyright:
|
||||||
|
#
|
||||||
|
# Makefile : Builds sample for 32-bit BC++
|
||||||
|
|
||||||
|
WXDIR = $(WXWIN)
|
||||||
|
|
||||||
|
TARGET=stctest
|
||||||
|
|
||||||
|
EXTRALIBS=$(WXDIR)\contrib\lib\stc.lib
|
||||||
|
OBJECTS = $(TARGET).obj
|
||||||
|
|
||||||
|
!include $(WXDIR)\src\makeprog.b32
|
||||||
|
|
79
contrib/src/stc/makefile.b32
Normal file
79
contrib/src/stc/makefile.b32
Normal file
@@ -0,0 +1,79 @@
|
|||||||
|
#
|
||||||
|
# File: makefile.b32
|
||||||
|
# Author: Julian Smart
|
||||||
|
# Created: 1999
|
||||||
|
# Updated:
|
||||||
|
# Copyright:
|
||||||
|
#
|
||||||
|
# Makefile : Builds wxMMedia library for 32-bit BC++
|
||||||
|
|
||||||
|
# N.B. use:
|
||||||
|
# make -f makefile.b32 stc.cfg
|
||||||
|
# make -f makefile.b32
|
||||||
|
|
||||||
|
WXDIR = $(WXWIN)
|
||||||
|
|
||||||
|
SCINTILLA=.\scintilla
|
||||||
|
S=$(SCINTILLA)\src
|
||||||
|
|
||||||
|
STCEXTRACPPFLAGS=-D__WX__ -DSCI_LEXER -I$(SCINTILLA)/include -I$(S)
|
||||||
|
|
||||||
|
LIBTARGET=$(WXDIR)\contrib\lib\stc.lib
|
||||||
|
|
||||||
|
OBJECTS = \
|
||||||
|
Accessor.obj \
|
||||||
|
AutoComplete.obj \
|
||||||
|
CallTip.obj \
|
||||||
|
CellBuffer.obj \
|
||||||
|
ContractionState.obj\
|
||||||
|
Document.obj \
|
||||||
|
Editor.obj \
|
||||||
|
Indicator.obj \
|
||||||
|
KeyMap.obj \
|
||||||
|
KeyWords.obj \
|
||||||
|
LineMarker.obj \
|
||||||
|
PropSet.obj \
|
||||||
|
ScintillaBase.obj \
|
||||||
|
Style.obj \
|
||||||
|
ViewStyle.obj \
|
||||||
|
\
|
||||||
|
PlatWX.obj \
|
||||||
|
ScintillaWX.obj \
|
||||||
|
stc.obj \
|
||||||
|
|
||||||
|
!include $(WXDIR)\src\makelib.b32
|
||||||
|
|
||||||
|
CFG = stc.cfg
|
||||||
|
CPPFLAGS=$(DLL_FLAGS) $(EXTRACPPFLAGS) @$(CFG)
|
||||||
|
|
||||||
|
{$(S)}.cxx.obj:
|
||||||
|
bcc32 $(CPPFLAGS) -P -c {$< }
|
||||||
|
|
||||||
|
$(CFG): makefile.b32
|
||||||
|
copy &&!
|
||||||
|
-H=$(WXDIR)\src\msw\wx32.csm
|
||||||
|
-3
|
||||||
|
-d
|
||||||
|
-a1 # byte alignment
|
||||||
|
-R-
|
||||||
|
-X
|
||||||
|
-w-par
|
||||||
|
-w-aus
|
||||||
|
-w-hid # virtual function A hides virtual function B
|
||||||
|
-WE
|
||||||
|
-tWM
|
||||||
|
|
||||||
|
-I$(WXINC);$(BCCDIR)\include;$(WXDIR)/src/generic;$(WXDIR)/src/png;$(WXDIR)/src/jpeg;$(WXDIR)/src/zlib;$(WXDIR)/src/xpm;$(WXDIR)/src/tiff
|
||||||
|
-I$(WXDIR)\include\wx\msw\gnuwin32
|
||||||
|
|
||||||
|
-L$(BCCDIR)\lib
|
||||||
|
-D__WXWIN__
|
||||||
|
-D__WXMSW__
|
||||||
|
-D__WINDOWS__
|
||||||
|
-DWIN32
|
||||||
|
$(OPT)
|
||||||
|
$(DEBUG_FLAGS)
|
||||||
|
$(WIN95FLAG)
|
||||||
|
$(STCEXTRACPPFLAGS)
|
||||||
|
! $(CFG)
|
||||||
|
|
@@ -95,9 +95,9 @@ public:
|
|||||||
len = 0;
|
len = 0;
|
||||||
}
|
}
|
||||||
void SetLength(int newLen) {
|
void SetLength(int newLen) {
|
||||||
if (newLength > len) {
|
if (newLen > len) {
|
||||||
if (newLength >= size) {
|
if (newLen >= size) {
|
||||||
SizeTo(newLength);
|
SizeTo(newLen);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
len = newLen;
|
len = newLen;
|
||||||
|
@@ -21,39 +21,6 @@ utils/tex2rtf/docs/*.shg
|
|||||||
utils/tex2rtf/docs/*.wmf
|
utils/tex2rtf/docs/*.wmf
|
||||||
utils/tex2rtf/docs/*.gif
|
utils/tex2rtf/docs/*.gif
|
||||||
|
|
||||||
utils/wxtree/docs/*.tex
|
|
||||||
utils/wxtree/docs/*.ini
|
|
||||||
utils/wxtree/docs/*.bib
|
|
||||||
utils/wxtree/docs/*.txt
|
|
||||||
utils/wxtree/docs/*.hpj
|
|
||||||
utils/wxtree/docs/*.bmp
|
|
||||||
utils/wxtree/docs/*.wmf
|
|
||||||
utils/wxtree/docs/*.gif
|
|
||||||
|
|
||||||
utils/wxgraph/docs/*.tex
|
|
||||||
utils/wxgraph/docs/*.ini
|
|
||||||
utils/wxgraph/docs/*.bib
|
|
||||||
utils/wxgraph/docs/*.txt
|
|
||||||
utils/wxgraph/docs/*.hpj
|
|
||||||
utils/wxgraph/docs/*.bmp
|
|
||||||
utils/wxgraph/docs/*.wmf
|
|
||||||
utils/wxgraph/docs/*.gif
|
|
||||||
|
|
||||||
utils/mfutils/docs/*.tex
|
|
||||||
utils/mfutils/docs/*.txt
|
|
||||||
utils/mfutils/docs/*.hpj
|
|
||||||
utils/mfutils/docs/*.wmf
|
|
||||||
utils/mfutils/docs/*.bmp
|
|
||||||
|
|
||||||
utils/wxprop/docs/*.txt
|
|
||||||
utils/wxprop/docs/*.hpj
|
|
||||||
utils/wxprop/docs/*.tex
|
|
||||||
utils/wxprop/docs/*.ini
|
|
||||||
utils/wxprop/docs/*.eps
|
|
||||||
utils/wxprop/docs/*.bmp
|
|
||||||
utils/wxprop/docs/*.wmf
|
|
||||||
utils/wxprop/docs/*.gif
|
|
||||||
|
|
||||||
utils/dialoged/docs/*.txt
|
utils/dialoged/docs/*.txt
|
||||||
utils/dialoged/docs/*.hpj
|
utils/dialoged/docs/*.hpj
|
||||||
utils/dialoged/docs/*.tex
|
utils/dialoged/docs/*.tex
|
||||||
|
@@ -193,22 +193,6 @@ contrib/configure
|
|||||||
contrib/configure.in
|
contrib/configure.in
|
||||||
contrib/lib/dummy
|
contrib/lib/dummy
|
||||||
|
|
||||||
contrib/include/wx/mmedia/*.h
|
|
||||||
contrib/include/wx/mmedia/internal/*.h
|
|
||||||
contrib/src/mmedia/makefile*
|
|
||||||
contrib/src/mmedia/README
|
|
||||||
contrib/src/mmedia/*.h
|
|
||||||
contrib/src/mmedia/*.cpp
|
|
||||||
contrib/samples/mmedia/*.h
|
|
||||||
contrib/samples/mmedia/*.cpp
|
|
||||||
contrib/samples/mmedia/makefile*
|
|
||||||
contrib/samples/mmedia/*.xbm
|
|
||||||
contrib/samples/mmedia/*.xpm
|
|
||||||
contrib/samples/mmedia/*.ico
|
|
||||||
contrib/samples/mmedia/*.txt
|
|
||||||
contrib/samples/mmedia/*.rc
|
|
||||||
contrib/samples/mmedia/*.def
|
|
||||||
|
|
||||||
samples/*.txt
|
samples/*.txt
|
||||||
samples/makefile*
|
samples/makefile*
|
||||||
samples/configure
|
samples/configure
|
||||||
|
40
distrib/msw/mmedia.rsp
Normal file
40
distrib/msw/mmedia.rsp
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
contrib/docs/html/mmedia/*.htm
|
||||||
|
contrib/docs/html/mmedia/*.gif
|
||||||
|
contrib/docs/html/mmedia/*.png
|
||||||
|
contrib/docs/winhelp/mmedia.hlp
|
||||||
|
contrib/docs/winhelp/mmedia.cnt
|
||||||
|
contrib/docs/pdf/mmedia.pdf
|
||||||
|
|
||||||
|
contrib/docs/latex/mmedia/*.tex
|
||||||
|
contrib/docs/latex/mmedia/*.sty
|
||||||
|
contrib/docs/latex/mmedia/*.bib
|
||||||
|
contrib/docs/latex/mmedia/*.hpj
|
||||||
|
contrib/docs/latex/mmedia/*.ini
|
||||||
|
contrib/docs/latex/mmedia/*.txt
|
||||||
|
contrib/docs/latex/mmedia/*.cnt
|
||||||
|
contrib/docs/latex/mmedia/*.eps
|
||||||
|
contrib/docs/latex/mmedia/*.bmp
|
||||||
|
contrib/docs/latex/mmedia/*.gif
|
||||||
|
contrib/docs/latex/mmedia/*.wmf
|
||||||
|
|
||||||
|
contrib/include/wx/mmedia/*.h
|
||||||
|
contrib/include/wx/mmedia/internal/*.h
|
||||||
|
contrib/src/mmedia/makefile*
|
||||||
|
contrib/src/mmedia/README
|
||||||
|
contrib/src/mmedia/*.h
|
||||||
|
contrib/src/mmedia/*.cpp
|
||||||
|
contrib/src/mmedia/MMediaVC.dsp
|
||||||
|
contrib/src/mmedia/MMediaVC.dsw
|
||||||
|
contrib/samples/mmedia/MMBoardVC.dsw
|
||||||
|
contrib/samples/mmedia/*.h
|
||||||
|
contrib/samples/mmedia/*.cpp
|
||||||
|
contrib/samples/mmedia/makefile*
|
||||||
|
contrib/samples/mmedia/*.xbm
|
||||||
|
contrib/samples/mmedia/*.xpm
|
||||||
|
contrib/samples/mmedia/*.ico
|
||||||
|
contrib/samples/mmedia/*.txt
|
||||||
|
contrib/samples/mmedia/*.rc
|
||||||
|
contrib/samples/mmedia/*.def
|
||||||
|
contrib/samples/mmedia/MMBoardVC.dsp
|
||||||
|
contrib/samples/mmedia/MMBoardVC.dsw
|
||||||
|
|
@@ -1,3 +1,22 @@
|
|||||||
|
contrib/docs/html/ogl/*.htm
|
||||||
|
contrib/docs/html/ogl/*.gif
|
||||||
|
contrib/docs/html/ogl/*.png
|
||||||
|
contrib/docs/winhelp/ogl.hlp
|
||||||
|
contrib/docs/winhelp/ogl.cnt
|
||||||
|
contrib/docs/pdf/ogl.pdf
|
||||||
|
|
||||||
|
contrib/docs/latex/ogl/*.tex
|
||||||
|
contrib/docs/latex/ogl/*.sty
|
||||||
|
contrib/docs/latex/ogl/*.bib
|
||||||
|
contrib/docs/latex/ogl/*.hpj
|
||||||
|
contrib/docs/latex/ogl/*.ini
|
||||||
|
contrib/docs/latex/ogl/*.txt
|
||||||
|
contrib/docs/latex/ogl/*.cnt
|
||||||
|
contrib/docs/latex/ogl/*.eps
|
||||||
|
contrib/docs/latex/ogl/*.bmp
|
||||||
|
contrib/docs/latex/ogl/*.gif
|
||||||
|
contrib/docs/latex/ogl/*.wmf
|
||||||
|
|
||||||
contrib/src/ogl/*.cpp
|
contrib/src/ogl/*.cpp
|
||||||
contrib/src/ogl/*.h
|
contrib/src/ogl/*.h
|
||||||
contrib/src/ogl/*.rc
|
contrib/src/ogl/*.rc
|
||||||
@@ -22,6 +41,8 @@ contrib/samples/ogl/ogledit/*.txt
|
|||||||
contrib/samples/ogl/ogledit/*.ico
|
contrib/samples/ogl/ogledit/*.ico
|
||||||
contrib/samples/ogl/ogledit/*.bmp
|
contrib/samples/ogl/ogledit/*.bmp
|
||||||
contrib/samples/ogl/ogledit/*.xpm
|
contrib/samples/ogl/ogledit/*.xpm
|
||||||
|
contrib/samples/ogl/ogledit/OGLEditVC.dsp
|
||||||
|
contrib/samples/ogl/ogledit/OGLEditVC.dsw
|
||||||
contrib/samples/ogl/ogledit/bitmaps/*.bmp
|
contrib/samples/ogl/ogledit/bitmaps/*.bmp
|
||||||
contrib/samples/ogl/ogledit/bitmaps/*.gif
|
contrib/samples/ogl/ogledit/bitmaps/*.gif
|
||||||
contrib/samples/ogl/ogledit/bitmaps/*.xbm
|
contrib/samples/ogl/ogledit/bitmaps/*.xbm
|
||||||
@@ -39,6 +60,8 @@ contrib/samples/ogl/studio/*.ico
|
|||||||
contrib/samples/ogl/studio/*.bmp
|
contrib/samples/ogl/studio/*.bmp
|
||||||
contrib/samples/ogl/studio/*.xpm
|
contrib/samples/ogl/studio/*.xpm
|
||||||
contrib/samples/ogl/studio/*.wxr
|
contrib/samples/ogl/studio/*.wxr
|
||||||
|
contrib/samples/ogl/studio/StudioVC.dsp
|
||||||
|
contrib/samples/ogl/studio/StudioVC.dsw
|
||||||
contrib/samples/ogl/studio/bitmaps/*.bmp
|
contrib/samples/ogl/studio/bitmaps/*.bmp
|
||||||
contrib/samples/ogl/studio/bitmaps/*.gif
|
contrib/samples/ogl/studio/bitmaps/*.gif
|
||||||
contrib/samples/ogl/studio/bitmaps/*.xbm
|
contrib/samples/ogl/studio/bitmaps/*.xbm
|
||||||
|
@@ -1,3 +1,22 @@
|
|||||||
|
contrib/docs/html/stc/*.htm
|
||||||
|
contrib/docs/html/stc/*.gif
|
||||||
|
contrib/docs/html/stc/*.png
|
||||||
|
contrib/docs/winhelp/stc.hlp
|
||||||
|
contrib/docs/winhelp/stc.cnt
|
||||||
|
contrib/docs/pdf/stc.pdf
|
||||||
|
|
||||||
|
contrib/docs/latex/stc/*.tex
|
||||||
|
contrib/docs/latex/stc/*.sty
|
||||||
|
contrib/docs/latex/stc/*.bib
|
||||||
|
contrib/docs/latex/stc/*.hpj
|
||||||
|
contrib/docs/latex/stc/*.ini
|
||||||
|
contrib/docs/latex/stc/*.txt
|
||||||
|
contrib/docs/latex/stc/*.cnt
|
||||||
|
contrib/docs/latex/stc/*.eps
|
||||||
|
contrib/docs/latex/stc/*.bmp
|
||||||
|
contrib/docs/latex/stc/*.gif
|
||||||
|
contrib/docs/latex/stc/*.wmf
|
||||||
|
|
||||||
contrib/src/stc/*.cpp
|
contrib/src/stc/*.cpp
|
||||||
contrib/src/stc/*.h
|
contrib/src/stc/*.h
|
||||||
contrib/src/stc/*.rc
|
contrib/src/stc/*.rc
|
||||||
@@ -8,7 +27,15 @@ contrib/src/stc/make*.*
|
|||||||
contrib/src/stc/*.txt
|
contrib/src/stc/*.txt
|
||||||
contrib/src/stc/*.ico
|
contrib/src/stc/*.ico
|
||||||
contrib/src/stc/*.bmp
|
contrib/src/stc/*.bmp
|
||||||
|
contrib/src/stc/StcVC.dsp
|
||||||
|
contrib/src/stc/StcVC.dsw
|
||||||
|
contrib/src/stc/README.txt
|
||||||
|
|
||||||
|
contrib/src/stc/scintilla/README.txt
|
||||||
|
contrib/src/stc/scintilla/include/*.h
|
||||||
|
contrib/src/stc/scintilla/src/*.cpp
|
||||||
|
contrib/src/stc/scintilla/src/*.cxx
|
||||||
|
contrib/src/stc/scintilla/src/*.h
|
||||||
contrib/include/wx/stc/*.h
|
contrib/include/wx/stc/*.h
|
||||||
|
|
||||||
contrib/samples/stc/*.cpp
|
contrib/samples/stc/*.cpp
|
||||||
@@ -23,8 +50,6 @@ contrib/samples/stc/*.ico
|
|||||||
contrib/samples/stc/*.bmp
|
contrib/samples/stc/*.bmp
|
||||||
contrib/samples/stc/*.xpm
|
contrib/samples/stc/*.xpm
|
||||||
contrib/samples/stc/*.wxr
|
contrib/samples/stc/*.wxr
|
||||||
contrib/samples/stc/bitmaps/*.bmp
|
contrib/samples/stc/StcTestVC.dsp
|
||||||
contrib/samples/stc/bitmaps/*.gif
|
contrib/samples/stc/StcTestVC.dsw
|
||||||
contrib/samples/stc/bitmaps/*.xbm
|
|
||||||
contrib/samples/stc/bitmaps/*.xpm
|
|
||||||
|
|
||||||
|
@@ -61,6 +61,9 @@ zip32 -@ %dest\wx%version%_cw.zip < %src\distrib\msw\cw.rsp
|
|||||||
rem OGL 3
|
rem OGL 3
|
||||||
zip32 -@ %dest\ogl3.zip < %src\distrib\msw\ogl.rsp
|
zip32 -@ %dest\ogl3.zip < %src\distrib\msw\ogl.rsp
|
||||||
|
|
||||||
|
rem MMedia
|
||||||
|
zip32 -@ %dest\mmedia.zip < %src\distrib\msw\mmedia.rsp
|
||||||
|
|
||||||
rem GLCanvas: obsolete, now in main library
|
rem GLCanvas: obsolete, now in main library
|
||||||
rem zip32 -@ %dest\glcanvas.zip < %src\distrib\msw\glcanvas.rsp
|
rem zip32 -@ %dest\glcanvas.zip < %src\distrib\msw\glcanvas.rsp
|
||||||
|
|
||||||
|
@@ -30,8 +30,6 @@ program contains the following:
|
|||||||
VC++ IDE files;
|
VC++ IDE files;
|
||||||
- JPEG library source;
|
- JPEG library source;
|
||||||
- Object Graphics Library;
|
- Object Graphics Library;
|
||||||
- wxGLCanvas library;
|
|
||||||
- wxTreeLayout library;
|
|
||||||
- Tex2RTF source;
|
- Tex2RTF source;
|
||||||
- Dialog Editor binary.
|
- Dialog Editor binary.
|
||||||
|
|
||||||
@@ -55,7 +53,7 @@ files into a suitable directory such as c:\wx.
|
|||||||
|
|
||||||
Other add-on packages are available from the wxWindows Web site, such as:
|
Other add-on packages are available from the wxWindows Web site, such as:
|
||||||
|
|
||||||
- glcanvas.zip. Use OpenGL in a wxWindows window.
|
- mmedia.zip. Audio, CD, video access for Windows and Linux.
|
||||||
- ogl3.zip. Object Graphics Library: build network diagrams, CASE tools etc.
|
- ogl3.zip. Object Graphics Library: build network diagrams, CASE tools etc.
|
||||||
- tex2rtf3.zip. Tex2RTF: create Windows Help, HTML, and Word RTF files from
|
- tex2rtf3.zip. Tex2RTF: create Windows Help, HTML, and Word RTF files from
|
||||||
the same document source.
|
the same document source.
|
||||||
|
@@ -70,7 +70,7 @@ wx2_x_y_cw.zip Metrowerks CodeWarrior 4.1 project files
|
|||||||
jpeg.zip Optional JPEG library
|
jpeg.zip Optional JPEG library
|
||||||
tiff.zip Optional TIFF library
|
tiff.zip Optional TIFF library
|
||||||
ogl3.zip Optional Object Graphics Library
|
ogl3.zip Optional Object Graphics Library
|
||||||
glcanvas.zip Optional wxGLCanvas class (Motif, GTK, MSW)
|
mmedia.zip Optional MMedia class library (Motif, GTK, MSW)
|
||||||
tex2rtf2.zip Tex2RTF documentation tool
|
tex2rtf2.zip Tex2RTF documentation tool
|
||||||
|
|
||||||
wxWindows for GTK distribution
|
wxWindows for GTK distribution
|
||||||
|
18
samples/stc/makefile.b32
Normal file
18
samples/stc/makefile.b32
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
#
|
||||||
|
# File: makefile.b32
|
||||||
|
# Author: Julian Smart
|
||||||
|
# Created: 1999
|
||||||
|
# Updated:
|
||||||
|
# Copyright:
|
||||||
|
#
|
||||||
|
# Makefile : Builds sample for 32-bit BC++
|
||||||
|
|
||||||
|
WXDIR = $(WXWIN)
|
||||||
|
|
||||||
|
TARGET=stctest
|
||||||
|
|
||||||
|
EXTRALIBS=$(WXDIR)\contrib\lib\stc.lib
|
||||||
|
OBJECTS = $(TARGET).obj
|
||||||
|
|
||||||
|
!include $(WXDIR)\src\makeprog.b32
|
||||||
|
|
79
src/stc/makefile.b32
Normal file
79
src/stc/makefile.b32
Normal file
@@ -0,0 +1,79 @@
|
|||||||
|
#
|
||||||
|
# File: makefile.b32
|
||||||
|
# Author: Julian Smart
|
||||||
|
# Created: 1999
|
||||||
|
# Updated:
|
||||||
|
# Copyright:
|
||||||
|
#
|
||||||
|
# Makefile : Builds wxMMedia library for 32-bit BC++
|
||||||
|
|
||||||
|
# N.B. use:
|
||||||
|
# make -f makefile.b32 stc.cfg
|
||||||
|
# make -f makefile.b32
|
||||||
|
|
||||||
|
WXDIR = $(WXWIN)
|
||||||
|
|
||||||
|
SCINTILLA=.\scintilla
|
||||||
|
S=$(SCINTILLA)\src
|
||||||
|
|
||||||
|
STCEXTRACPPFLAGS=-D__WX__ -DSCI_LEXER -I$(SCINTILLA)/include -I$(S)
|
||||||
|
|
||||||
|
LIBTARGET=$(WXDIR)\contrib\lib\stc.lib
|
||||||
|
|
||||||
|
OBJECTS = \
|
||||||
|
Accessor.obj \
|
||||||
|
AutoComplete.obj \
|
||||||
|
CallTip.obj \
|
||||||
|
CellBuffer.obj \
|
||||||
|
ContractionState.obj\
|
||||||
|
Document.obj \
|
||||||
|
Editor.obj \
|
||||||
|
Indicator.obj \
|
||||||
|
KeyMap.obj \
|
||||||
|
KeyWords.obj \
|
||||||
|
LineMarker.obj \
|
||||||
|
PropSet.obj \
|
||||||
|
ScintillaBase.obj \
|
||||||
|
Style.obj \
|
||||||
|
ViewStyle.obj \
|
||||||
|
\
|
||||||
|
PlatWX.obj \
|
||||||
|
ScintillaWX.obj \
|
||||||
|
stc.obj \
|
||||||
|
|
||||||
|
!include $(WXDIR)\src\makelib.b32
|
||||||
|
|
||||||
|
CFG = stc.cfg
|
||||||
|
CPPFLAGS=$(DLL_FLAGS) $(EXTRACPPFLAGS) @$(CFG)
|
||||||
|
|
||||||
|
{$(S)}.cxx.obj:
|
||||||
|
bcc32 $(CPPFLAGS) -P -c {$< }
|
||||||
|
|
||||||
|
$(CFG): makefile.b32
|
||||||
|
copy &&!
|
||||||
|
-H=$(WXDIR)\src\msw\wx32.csm
|
||||||
|
-3
|
||||||
|
-d
|
||||||
|
-a1 # byte alignment
|
||||||
|
-R-
|
||||||
|
-X
|
||||||
|
-w-par
|
||||||
|
-w-aus
|
||||||
|
-w-hid # virtual function A hides virtual function B
|
||||||
|
-WE
|
||||||
|
-tWM
|
||||||
|
|
||||||
|
-I$(WXINC);$(BCCDIR)\include;$(WXDIR)/src/generic;$(WXDIR)/src/png;$(WXDIR)/src/jpeg;$(WXDIR)/src/zlib;$(WXDIR)/src/xpm;$(WXDIR)/src/tiff
|
||||||
|
-I$(WXDIR)\include\wx\msw\gnuwin32
|
||||||
|
|
||||||
|
-L$(BCCDIR)\lib
|
||||||
|
-D__WXWIN__
|
||||||
|
-D__WXMSW__
|
||||||
|
-D__WINDOWS__
|
||||||
|
-DWIN32
|
||||||
|
$(OPT)
|
||||||
|
$(DEBUG_FLAGS)
|
||||||
|
$(WIN95FLAG)
|
||||||
|
$(STCEXTRACPPFLAGS)
|
||||||
|
! $(CFG)
|
||||||
|
|
@@ -95,9 +95,9 @@ public:
|
|||||||
len = 0;
|
len = 0;
|
||||||
}
|
}
|
||||||
void SetLength(int newLen) {
|
void SetLength(int newLen) {
|
||||||
if (newLength > len) {
|
if (newLen > len) {
|
||||||
if (newLength >= size) {
|
if (newLen >= size) {
|
||||||
SizeTo(newLength);
|
SizeTo(newLen);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
len = newLen;
|
len = newLen;
|
||||||
|
Reference in New Issue
Block a user