campo-sirio/ba/ba0103.h

44 lines
911 B
C
Raw Normal View History

#ifndef __BA0103_H
#define __BA0103_H
#ifndef TMenu_tree
#include "ba0102.h"
#endif
///////////////////////////////////////////////////////////
// TOutlook_mask
///////////////////////////////////////////////////////////
class TBook_field;
class TOutlook_mask : public TSpidey_mask
{
TMenu_tree _tree;
TPointer_array _icon;
TString_array _picture;
TString _per_def, _per_tmp;
bool _locked;
TString _last_search;
protected:
virtual bool on_field_event(TOperable_field& o, TField_event e, long jolly);
virtual bool can_be_closed() const;
TBook_field& book_field() 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:
virtual long handler(WINDOW w, EVENT* ep); // Used by E_PROCESS
TOutlook_mask(TMenu& menu);
~TOutlook_mask();
};
#endif