root/BF_GUI_CmdLine.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   1 #ifndef __BF_GUI_CMDLINE_H__
   2 #define __BF_GUI_CMDLINE_H__
   3 
   4 #include <View.h>
   5 #include <Window.h>
   6 #include "BL_Tools.h"
   7 #include "BF_GUI_DlgViews.h"
   8 
   9 
  10 class BF_GUI_CmdLine:public BView{
  11 public:
  12                                                                 BF_GUI_CmdLine(const BRect & o_Rect);
  13 
  14                 void                                    SetValues(const char *pc_Path=NULL,const char *pc_Cmd=NULL,bool b_Redraw=true);
  15 
  16 virtual bool                                    OnKeyDown(const char *bytes, int32 numBytes);
  17 virtual void                                    Draw(BRect o_Rect);
  18 virtual void                                    MessageReceived(BMessage* po_Message);
  19 virtual void                                    Enable(bool b_Enable);          
  20 protected:
  21                 BL_String                               sPath,sVisPath,sCmd;            
  22                 BF_GUI_ViewEdit                 *poEdit;
  23                 int32                                   iDisableCount;
  24                 float                                   fWidth;
  25                 BL_List                                 lsCommand;
  26                 
  27                 void                                    Action_Enter();         
  28                 void                                    ShowHistory();
  29 };
  30 
  31 extern BF_GUI_CmdLine *poCmdLine;
  32 

/* [previous][next][first][last][top][bottom][index][help] */