summaryrefslogtreecommitdiff
path: root/src/Fl_Help_Dialog.cxx
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2014-10-05 11:28:29 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2014-10-05 11:28:29 +0000
commit386c2413f8bb48d46e57275128becf9814da5a1e (patch)
treec3daf98840c8a115a4e45fc7aea826bd90dec8ab /src/Fl_Help_Dialog.cxx
parentb60e474bc3c745cb85f02aaebe109c346d4831ef (diff)
More 1.3.3 version updates and changes in src/*.fl.
There had been manual changes in fluid-generated files, so the .fl files had to be adjusted and updated to fltk 1.3.3. Note that fluid SHOULD generate 'const' data for embedded images, but doesn't yet, so I had to re-edit src/Fl_File_Chooser.cxx to keep the previous 'const' changes in this file. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10357 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Help_Dialog.cxx')
-rw-r--r--src/Fl_Help_Dialog.cxx53
1 files changed, 30 insertions, 23 deletions
diff --git a/src/Fl_Help_Dialog.cxx b/src/Fl_Help_Dialog.cxx
index 21f4c58ab..d74c4f427 100644
--- a/src/Fl_Help_Dialog.cxx
+++ b/src/Fl_Help_Dialog.cxx
@@ -3,7 +3,7 @@
//
// Fl_Help_Dialog dialog for the Fast Light Tool Kit (FLTK).
//
-// Copyright 1998-2010 by Bill Spitzak and others.
+// Copyright 1998-2014 by Bill Spitzak and others.
//
// This library is free software. Distribution and use rights are outlined in
// the file "COPYING" which should have been included with this file. If this
@@ -15,8 +15,15 @@
//
// http://www.fltk.org/str.php
//
+// ========================================================================
+// DO NOT EDIT FL/Fl_Help_Dialog.H and src/Fl_Help_Dialog.cxx !!!
+// ========================================================================
+// Please use fluid to change src/Fl_Help_Dialog.fl interactively
+// and then use fluid to "write code" or edit and use fluid -c .
+// ========================================================================
+//
-// generated by Fast Light User Interface Designer (fluid) version 1.0108
+// generated by Fast Light User Interface Designer (fluid) version 1.0303
#include "../FL/Fl_Help_Dialog.H"
#include "flstring.h"
@@ -192,13 +199,13 @@ Fl_Help_Dialog::Fl_Help_Dialog() {
window_->end();
} // Fl_Double_Window* window_
back_->deactivate();
-forward_->deactivate();
-
-index_ = -1;
-max_ = 0;
-find_pos_ = 0;
-
-fl_register_images();
+ forward_->deactivate();
+
+ index_ = -1;
+ max_ = 0;
+ find_pos_ = 0;
+
+ fl_register_images();
}
Fl_Help_Dialog::~Fl_Help_Dialog() {
@@ -215,8 +222,8 @@ void Fl_Help_Dialog::hide() {
void Fl_Help_Dialog::load(const char *f) {
view_->set_changed();
-view_->load(f);
-window_->label(view_->title());
+ view_->load(f);
+ window_->label(view_->title());
}
void Fl_Help_Dialog::position(int xx, int yy) {
@@ -237,16 +244,16 @@ void Fl_Help_Dialog::show(int argc, char **argv) {
void Fl_Help_Dialog::textsize(Fl_Fontsize s) {
view_->textsize(s);
-
-if (s <= 8)
- smaller_->deactivate();
-else
- smaller_->activate();
-
-if (s >= 18)
- larger_->deactivate();
-else
- larger_->activate();
+
+ if (s <= 8)
+ smaller_->deactivate();
+ else
+ smaller_->activate();
+
+ if (s >= 18)
+ larger_->deactivate();
+ else
+ larger_->activate();
}
Fl_Fontsize Fl_Help_Dialog::textsize() {
@@ -263,8 +270,8 @@ void Fl_Help_Dialog::topline(int n) {
void Fl_Help_Dialog::value(const char *f) {
view_->set_changed();
-view_->value(f);
-window_->label(view_->title());
+ view_->value(f);
+ window_->label(view_->title());
}
const char * Fl_Help_Dialog::value() const {