* Fixed build under Dano
* Some cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22001 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
f591e3a0f2
commit
3e5ede51ed
|
@ -31,17 +31,20 @@
|
||||||
#ifndef __TERMWINDOW_H
|
#ifndef __TERMWINDOW_H
|
||||||
#define __TERMWINDOW_H
|
#define __TERMWINDOW_H
|
||||||
|
|
||||||
|
|
||||||
#include <String.h>
|
#include <String.h>
|
||||||
#include <Window.h>
|
#include <Window.h>
|
||||||
|
|
||||||
|
|
||||||
class Arguments;
|
class Arguments;
|
||||||
|
class BFont;
|
||||||
class BMenu;
|
class BMenu;
|
||||||
class BMenuBar;
|
class BMenuBar;
|
||||||
class FindWindow;
|
class FindWindow;
|
||||||
class PrefWindow;
|
class PrefWindow;
|
||||||
class TermView;
|
class TermView;
|
||||||
class SmartTabView;
|
class SmartTabView;
|
||||||
|
|
||||||
class TermWindow : public BWindow {
|
class TermWindow : public BWindow {
|
||||||
public:
|
public:
|
||||||
TermWindow(BRect frame, const char* title, Arguments *args);
|
TermWindow(BRect frame, const char* title, Arguments *args);
|
||||||
|
@ -55,39 +58,39 @@ protected:
|
||||||
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void _SetTermColors(TermView *termView);
|
void _SetTermColors(TermView *termView);
|
||||||
void _InitWindow();
|
void _InitWindow();
|
||||||
void _SetupMenu();
|
void _SetupMenu();
|
||||||
void _GetPreferredFonts(BFont &full, BFont &half);
|
void _GetPreferredFonts(BFont &full, BFont &half);
|
||||||
status_t _DoPageSetup();
|
status_t _DoPageSetup();
|
||||||
void _DoPrint();
|
void _DoPrint();
|
||||||
void _AddTab(Arguments *args);
|
void _AddTab(Arguments *args);
|
||||||
void _RemoveTab(int32 index);
|
void _RemoveTab(int32 index);
|
||||||
TermView* _ActiveTermView();
|
TermView* _ActiveTermView();
|
||||||
|
|
||||||
SmartTabView *fTabView;
|
SmartTabView *fTabView;
|
||||||
TermView *fTermView;
|
TermView *fTermView;
|
||||||
BMenuBar *fMenubar;
|
BMenuBar *fMenubar;
|
||||||
BMenu *fFilemenu,
|
BMenu *fFilemenu;
|
||||||
*fEditmenu,
|
BMenu *fEditmenu;
|
||||||
*fEncodingmenu,
|
BMenu *fEncodingmenu;
|
||||||
*fHelpmenu,
|
BMenu *fHelpmenu;
|
||||||
*fWindowSizeMenu;
|
BMenu *fWindowSizeMenu;
|
||||||
|
|
||||||
BMessage *fPrintSettings;
|
BMessage *fPrintSettings;
|
||||||
PrefWindow *fPrefWindow;
|
PrefWindow *fPrefWindow;
|
||||||
FindWindow *fFindPanel;
|
FindWindow *fFindPanel;
|
||||||
BRect fSavedFrame;
|
BRect fSavedFrame;
|
||||||
window_look fSavedLook;
|
window_look fSavedLook;
|
||||||
|
|
||||||
//Saved search parameters
|
// Saved search parameters
|
||||||
BString fFindString;
|
BString fFindString;
|
||||||
BMenuItem *fFindForwardMenuItem;
|
BMenuItem *fFindForwardMenuItem;
|
||||||
BMenuItem *fFindBackwardMenuItem;
|
BMenuItem *fFindBackwardMenuItem;
|
||||||
bool fFindSelection;
|
bool fFindSelection;
|
||||||
bool fForwardSearch;
|
bool fForwardSearch;
|
||||||
bool fMatchCase;
|
bool fMatchCase;
|
||||||
bool fMatchWord;
|
bool fMatchWord;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // __TERMWINDOW_H
|
#endif // __TERMWINDOW_H
|
||||||
|
|
Loading…
Reference in New Issue