home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
VSCPPv8.zip
/
VACPP
/
IBMCPP
/
samples
/
VISBUILD
/
VBSTEREO
/
README
< prev
next >
Wrap
Text File
|
1995-06-08
|
8KB
|
215 lines
NAME: VBSTEREO
DESCRIPTION:
This application displays a CD player, wave
player, digital video player and an amplifier.
CD PLAYER:
The user can play, rewind, fast
forward, stop, pause track forward and
track backward. In addition, there is an
eject button which will eject the CD
from the player. Users can also select
which track they desire be pressing the
corresponding track number button and
the enter button. There is also a
display that shows the track number
being played as well as the minutes
and seconds that have elapsed in a
given track.
WAVE PLAYER:
The user can play, rewind, fast
forward, stop, and pause. In addition,
there is a load button which show a
file dialog for file selection.
DIGITAL VIDEO:
The user can play, rewind, fast
forward, stop, and pause.
PLAYER
In addition, there is a load button
which show a file dialog for file
selection.
AMPLIFIER:
Allows the user to set the volume by
turning a circular slider. The user can
also stop the stereo application by
pressing the off button.
TASK:
A GUI application that allows the user to play
one of three multi media players.
Please Note: A CD must be in the player prior
to starting this application.
CONCEPT/FEATURE:
Illustrates the use of CD player, wave player,
digital video player, amplifier/mixer, multi cell
canvas, animated push button, circular slider and
custom logic.
PROJECT LOCATION:
Inside the VisBuild Sample folder (inside the
VisualAge C++ Samples folder).
SOURCE FILE LOCATION:
X:\ibmcpp\samples\visbuild\vbstereo
where X: is the drive you installed the samples
and document component of VisualAge C++.
Select Source Files for a list of the source files
in this directory.
HOW TO RUN THE SAMPLE:
From within the WorkFrame environment:
To run the prebuilt project, open the
Samples folder on your OS/2 desktop
then double-click on the project's icon
to open the project view of the
sample. Click on the RUN button of
the project's toolbar.
From the command line:
Simply type the name of the .EXE file,
that is:
VBSTEREO
HOW TO BUILD THE SAMPLE PROJECT YOURSELF:
From within the WorkFrame environment:
Open the Samples folder on your OS/2
desktop then double-click on the
project's icon to open the project view
of the sample. In the upper half of the
project window you will see the icons
of the files associated with the sample.
Start the Visual Builder component of
VisualAge C++ by selecting Visual from
the Project pulldown. Then, from the
main Visual Builder Window:
1. Select all the parts "Visual Parts"
list and then select
"Part->Generate->Part source"
from the Menubar.
2. Select only the "VBStereo" part in
the "Visual Parts" list and then
select "Part->Generate->main() for
part" from the Menubar.
3. Now invoke a Project Build Action.
To run the sample project, see How to
run the sample project above.
From the command line:
Start the Visual Builder component of
VisualAge C++ by typing:
icsvb
From the main Visual Builder Window:
1. Select all the parts in the "Visual
Parts" list and then select
"Part->Generate->Part source"
from the Menubar.
2. Select only the "VBStereo" part in
the "Visual Parts" list and then
select "Part->Generate->main() for
part" from the Menubar.
3. From an OS/2 command line, make
this sample's directory the current
directory and invoke the BUILD.CMD
program by typing:
BUILD
HOW TO INSPECT THE VISUAL PARTS USING THE VISUAL BUILDER
There are five "class files" that make up the
application, VBCDPLYR.VBB, VBMIXER.VBB,
VBSTEREO.VBB, VBVIDEO.VBB, and VBWAVE.VBB.
The application also requires VBMM.VBB and
VBSAMPLE.VBB which are shipped as part of the
base product.
1. Start the Visual Builder Tool -- from the
command line, type:
icsvb
or from the project view of the
sample:select Visual from the Project
pulldown.
2. When the Visual Builder Window appears,
select from the Menubar the "File->Load"
option.
3. The Load Files dialog will appear with a list
of "class files" that may be loaded. Select
from the list the files listed above and press
the "OK" button.
4. Again using the Load Files dialog, load the
files VBSAMPLE.VBB and VBMM.VBB from the
\ibmcpp\dde4vb directory. These contains
the standard multi-media support parts.
5. Now that you have loaded the necessary
files, from the "Loaded Part Files" list in the
Visual Builder Window select the .VBB's.
This will cause the application's visual
parts to be displayed in the "Visual Parts"
list of this Window.
6. You may now select any or all of these
parts from the "Visual Parts" list and then
select "Part->Open" from the Menubar to
open these parts for viewing and/or
editting.
SOFTWARE/HARDWARE PREREQUISITIES:
IBM VisualAge C++
OS/2 2.1 or Warp
DB2/2 1.2
MMPM/2 is required to use this sample.
IBM or compatible 486 and up.
ADDITIONAL INFORMATION:
For more information on the creation and
use of projects in the WorkFrame
environment, see the VisualAge C++ for
OS/2 User's Guide.
For more information on the the Visual
Builder, see the VisualAge C++ for OS/2
Visual Builder User's Guide.
Both books can be found online. To access an
online book, simply open the main VisualAge
C++ desktop folder, then open the Information
Folder inside. To view a book, double-click on
that book's icon.
REQUIRED FILES:
BUILD CMD
README
VBCDPLYR VBB
VBMIXER VBB
VBSTEREO AVI
VBSTEREO EXE
VBSTEREO MAK
VBSTEREO MID
VBSTEREO VBB
VBSTEREO WAV
VBVIDEO VBB
VBWAVE VBB