STR 1026: Text input filed had NO_BOX as its background, so the moving cursor would not be erased.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4577 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Matthias Melcher
2005-09-19 21:14:23 +00:00
parent 83d58a96b2
commit 42b1d09681
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -197,7 +197,7 @@ Fl_Help_Dialog::Fl_Help_Dialog() {
o->color(FL_BACKGROUND2_COLOR);
{ Fl_Input* o = find_ = new Fl_Input(35, 352, 268, 21, "@search");
o->tooltip("find text in document");
o->box(FL_NO_BOX);
o->box(FL_FLAT_BOX);
o->labelsize(13);
o->callback((Fl_Callback*)cb_find_);
o->when(FL_WHEN_ENTER_KEY_ALWAYS);
+3 -3
View File
@@ -77,7 +77,7 @@ else if (view_->filename())
{
strlcpy(file_[index_], view_->filename(), sizeof(file_[0]));
line_[index_] = view_->topline();
}} open selected
}} open
private xywh {10 10 510 330} box DOWN_BOX selection_color 15 resizable
code0 {\#include <FL/Fl_Help_View.H>}
class Fl_Help_View
@@ -152,8 +152,8 @@ smaller_->activate();}
} {
Fl_Input find_ {
label {@search}
callback {find_pos_ = view_->find(find_->value(), find_pos_);}
private tooltip {find text in document} xywh {35 352 268 21} box NO_BOX labelsize 13 when 10 resizable
callback {find_pos_ = view_->find(find_->value(), find_pos_);} selected
private tooltip {find text in document} xywh {35 352 268 21} box FLAT_BOX labelsize 13 when 10 resizable
}
}
}