home *** CD-ROM | disk | FTP | other *** search
- // ____________________________________________________
- // | |
- // | Project: POWER VIEW INTERFACE |
- // | File: PVLABEL.H |
- // | Compiler: WPP386 (10.6) |
- // | |
- // | Subject: Items labels interface |
- // | |
- // | Author: Emil Dotchevski |
- // |____________________________________________________|
- //
- // E-mail: zajo@geocities.com
- // URL: http://www.geocities.com/SiliconValley/Bay/3577
-
- #ifndef _PVLABEL_H
- #define _PVLABEL_H
-
- class Tlabel: public Titem
- {
- public:
- Tlabel( char *t, Titem *i );
- virtual ~Tlabel( void );
-
- protected:
- char *title;
- uint shortcut;
- Titem *item;
- virtual void set_palette( void );
- virtual void draw( void );
- virtual void event_handler( Tevent &ev );
- };
-
- class Tbox: public Tlabel
- {
- public:
- Tbox( char *t, Titem *i );
-
- protected:
- virtual boolean check_inside( int _x, int _y );
- virtual void draw( void );
-
- private:
- char title_len;
- };
-
- #endif
-