home *** CD-ROM | disk | FTP | other *** search
/ Dream 52 / Amiga_Dream_52.iso / Linux / Divers / freedraft.tar.gz / freedraft.tar / FREEdraft-050298 / VIEWPORT / modifierbehavior.h < prev    next >
C/C++ Source or Header  |  1998-04-29  |  2KB  |  44 lines

  1. //modifierbehavior.h
  2.  
  3.  
  4. // Copyright (C) 1997  Cliff Johnson                                       //
  5. //                                                                         //
  6. // This program is free software; you can redistribute it and/or           //
  7. // modify it under the terms of the GNU  General Public                    //
  8. // License as published by the Free Software Foundation; either            //
  9. // version 2 of the License, or (at your option) any later version.        //
  10. //                                                                         //
  11. // This software is distributed in the hope that it will be useful,        //
  12. // but WITHOUT ANY WARRANTY; without even the implied warranty of          //
  13. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU       //
  14. // General Public License for more details.                                //
  15. //                                                                         //
  16. // You should have received a copy of the GNU General Public License       //
  17. // along with this software (see COPYING); if not, write to the        //
  18. // Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. //
  19.  
  20. #ifndef MODIFIERBEHAVIOR_H
  21. #define MODIFIERBEHAVIOR_H
  22.  
  23. // The modifer behavior class defines the behavior of the 
  24. // implied point modifier togglebuttons. Essentially it makes them
  25. // behave as a radio button gadget, but also allows a 'pushed' button
  26. // to be unpushed.
  27.  
  28. #include <v/vcmdwin.h>    //ITO
  29.  
  30.  
  31.  
  32. class ModifierBehavior        //PRIVATE NESTED CLASS
  33. {
  34. private:
  35.     int selectedButton;
  36. public:
  37.     ModifierBehavior();
  38.     void Clear(vCmdWindow*);
  39.     void Selected(vCmdWindow*,int id);
  40. };
  41.  
  42.  
  43. #endif
  44.