home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / df3os2.zip / TEDTOOLS.CPP < prev    next >
C/C++ Source or Header  |  1993-09-15  |  533b  |  20 lines

  1. // ---------- tedtools.cpp
  2.  
  3. #include "ted.h"
  4.  
  5. // -------- the TED toolbar
  6. TedTools::TedTools(DFWindow *par) : ToolBar(par),
  7.             newtool("New",   (DFWindow *) this),
  8.             opentool("Open", (DFWindow *) this),
  9.             savetool("Save", (DFWindow *) this)
  10. {
  11.     newtool.SetButtonFunction(this->Parent(),
  12.         (Df) (Ap) &Ted::CmNew);
  13.     opentool.SetButtonFunction(this->Parent(),
  14.         (Df) (Ap) &Ted::CmOpen);
  15.     savetool.SetButtonFunction(this->Parent(),
  16.         (Df) (Ap) &Ted::CmSave);
  17. }
  18.  
  19.  
  20.