better look, and names
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5813 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -9,8 +9,9 @@
|
|||||||
|
|
||||||
// FindWindow::FindWindow()
|
// FindWindow::FindWindow()
|
||||||
FindWindow::FindWindow(BRect frame, BHandler *_handler, BString *searchString, bool *caseState, bool *wrapState, bool *backState)
|
FindWindow::FindWindow(BRect frame, BHandler *_handler, BString *searchString, bool *caseState, bool *wrapState, bool *backState)
|
||||||
: BWindow(frame," ", B_MODAL_WINDOW, B_NOT_RESIZABLE|B_ASYNCHRONOUS_CONTROLS, B_CURRENT_WORKSPACE) {
|
: BWindow(frame,"FindWindow", B_MODAL_WINDOW, B_NOT_RESIZABLE|B_ASYNCHRONOUS_CONTROLS, B_CURRENT_WORKSPACE)
|
||||||
AddChild(fFindView=new BBox(BRect(-1,-1,Bounds().Width()+1.5,Bounds().Height()+1.5),"",B_FOLLOW_ALL_SIDES,B_WILL_DRAW));
|
{
|
||||||
|
AddChild(fFindView=new BBox(Bounds(),"FindView",B_FOLLOW_ALL,B_WILL_DRAW,B_PLAIN_BORDER));
|
||||||
fFindView->SetViewColor(221,222,221);
|
fFindView->SetViewColor(221,222,221);
|
||||||
|
|
||||||
font_height height;
|
font_height height;
|
||||||
|
|||||||
@@ -9,9 +9,9 @@
|
|||||||
#include <ReplaceWindow.h>
|
#include <ReplaceWindow.h>
|
||||||
|
|
||||||
ReplaceWindow::ReplaceWindow(BRect frame, BHandler *_handler, BString *searchString, BString *replaceString, bool *caseState, bool *wrapState, bool *backState)
|
ReplaceWindow::ReplaceWindow(BRect frame, BHandler *_handler, BString *searchString, BString *replaceString, bool *caseState, bool *wrapState, bool *backState)
|
||||||
: BWindow(frame, "", B_MODAL_WINDOW, B_NOT_RESIZABLE,B_CURRENT_WORKSPACE)
|
: BWindow(frame, "ReplaceWindow", B_MODAL_WINDOW, B_NOT_RESIZABLE|B_ASYNCHRONOUS_CONTROLS, B_CURRENT_WORKSPACE)
|
||||||
{
|
{
|
||||||
AddChild(fReplaceView=new BBox(BRect(-1,-1,Bounds().Width()+1.5,Bounds().Height()+1.5),"",B_FOLLOW_ALL_SIDES,B_WILL_DRAW));
|
AddChild(fReplaceView=new BBox(Bounds(),"ReplaceView",B_FOLLOW_ALL,B_WILL_DRAW,B_PLAIN_BORDER));
|
||||||
fReplaceView->SetViewColor(216,216,216);
|
fReplaceView->SetViewColor(216,216,216);
|
||||||
|
|
||||||
char * findLabel = "Find:";
|
char * findLabel = "Find:";
|
||||||
|
|||||||
Reference in New Issue
Block a user