CGlyphs Object Model shows the overall structure of the Glyphs.
CPeriodicGlyph Object Model shows all the periodic signal sources.
SineWave
StatusBar
MainFrame
Create a bit map for the source glyph.
Click on resource tab.
Open up bitmap.
Left click bitmap.
Right click and choose Insert Bitmap
Left click, then right click, select Properties
Change ID to IDB_<SIGNAL_NAME>
Click in filename edit box to update.
Draw bitmap using tools.
Create a class for the source glyph.
Select Insert | New Class
Make the class a Generic Class
Enter Name, ex CRampWaveGlyph
Enter Base Class according to Object Model, ex CPeriodicGlyph
Copy "stuff" from an existing glyph (SineWaveGlyph) to your Glyph
CRampWaveGlyph Interface (*.h)
DECLARE_SERIAL..
CRampWaveGlyph(char*)
All 4 virtual functions prototypes
CRampWaveGlyph Implementation (*.cpp)
IMPLEMENT _SERIAL...
constuctor implementation
virtual function implementation
edit virtual functions for you specific glyph
Change bitmap id in CRampWaveGlyph::Draw() virtual function
Add Menu for CRampWaveGlyph and call it "&Ramp Wave"
Using Class Wizard (Right Click), Add Handler to CTipDoc class
Copy code from CTipDoc::OnSignalSin() to your handler
Make Toolbar icon and give it the same ID as the Menu