summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2005-09-19 21:14:23 +0000
committerMatthias Melcher <fltk@matthiasm.com>2005-09-19 21:14:23 +0000
commit42b1d096810e01011d50342fb095f9ee49388bd8 (patch)
tree38f49405c95f93e247d62a4bd6dcc1f882f73bd2 /src
parent83d58a96b242f9a1be23c95d9f6ab9da23d8fd0f (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Help_Dialog.cxx2
-rw-r--r--src/Fl_Help_Dialog.fl6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/Fl_Help_Dialog.cxx b/src/Fl_Help_Dialog.cxx
index 88036cc2b..bd4d7e5a1 100644
--- a/src/Fl_Help_Dialog.cxx
+++ b/src/Fl_Help_Dialog.cxx
@@ -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);
diff --git a/src/Fl_Help_Dialog.fl b/src/Fl_Help_Dialog.fl
index ba291593c..196d6339d 100644
--- a/src/Fl_Help_Dialog.fl
+++ b/src/Fl_Help_Dialog.fl
@@ -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
}
}
}