campo-sirio/ba/ba0103.h

38 lines
800 B
C
Raw Normal View History

#ifndef __BA0103_H
#define __BA0103_H
#ifndef TMenu_tree
#include "ba0102.h"
#endif
///////////////////////////////////////////////////////////
// TOutlook_mask
///////////////////////////////////////////////////////////
class TOutlook_mask : public TSpidey_mask
{
TMenu_tree _tree;
int _icon[16];
TString _per_def, _per_tmp;
bool _locked;
TString _last_search;
protected:
virtual void handler(WINDOW w, EVENT* ep);
virtual bool on_field_event(TOperable_field& o, TField_event e, long jolly);
virtual bool can_be_closed() const;
short add_page(const TMenuitem& mi);
void set_page_caption(short page, const TString& caption, int icon);
void save_perspective(int per);
void load_perspective(int per);
public:
TOutlook_mask(TMenu& menu);
~TOutlook_mask();
};
#endif