~ubuntu-branches/ubuntu/hardy/fltk1.1/hardy

« back to all changes in this revision

Viewing changes to src/Fl_Help_Dialog.fl

  • Committer: Bazaar Package Importer
  • Author(s): Aaron M. Ucko
  • Date: 2004-12-04 12:59:54 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20041204125954-0bnefh426a67cjgl
Tags: 1.1.6-2
test/*.cxx: Apply patch from Andreas Jochens <aj@andaco.de> to fix
bogus pointer->int casts, which GCC 4.0 rightly treats as errors on
64-bit systems.  (Closes: #284168.)

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
  } {
18
18
    Fl_Window window_ {
19
19
      label {Help Dialog} open
20
 
      private xywh {398 65 530 385} type Double hide resizable
 
20
      private xywh {398 65 530 385} type Double resizable visible
21
21
    } {
22
22
      Fl_Group view_ {
23
23
        callback {if (view_->changed())
48
48
{
49
49
  strlcpy(file_[index_], view_->filename(), sizeof(file_[0]));
50
50
  line_[index_] = view_->topline();
51
 
}} open selected
 
51
}} open
52
52
        private xywh {10 10 510 330} box DOWN_BOX selection_color 15 resizable
53
53
        code0 {\#include <FL/Fl_Help_View.H>}
54
54
        class Fl_Help_View
115
115
smaller_->activate();}
116
116
        private tooltip {Make the help text larger.} xywh {320 350 25 25} labelfont 1 labelsize 16
117
117
      }
118
 
      Fl_Input find_ {
119
 
        callback {find_pos_ = view_->find(find_->value(), find_pos_);}
120
 
        private xywh {10 350 265 25} when 10
 
118
      Fl_Group {} {open
 
119
        xywh {10 350 265 25} box DOWN_BOX color 7
 
120
      } {
 
121
        Fl_Input find_ {
 
122
          label {@search}
 
123
          callback {find_pos_ = view_->find(find_->value(), find_pos_);} selected
 
124
          private tooltip {find text in document} xywh {35 352 238 21} box FLAT_BOX labelsize 13 when 10
 
125
        }
121
126
      }
122
127
    }
123
128
    code {back_->deactivate();