From a529510e5b8f84b15aacd103936df89bb767bb29 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Mon, 26 Jul 2004 20:52:52 +0000 Subject: More documentation updates... Fl_File_Chooser did not handle some cases for filename completion (STR #376) Fl_Help_View didn't properly compute the default maximum width of the page properly, resulting in non-wrapped text in table cells (STR #464) Fl_Text_Editor no longer tries to emulate the Emacs CTRL-A shortcut to move to the first column, since there is a key for that and the widget does not emulate any other Emacs keys (STR #421) Fl_File_Chooser always disabled the OK button when the user pressed DELETE or BACKSPACE (STR #397) Added Fl_Browser::swap() methods (STR #459) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3698 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/Fl_Browser.html | 7 +++++++ documentation/Fl_Input_.html | 7 ++++--- documentation/Fl_Preferences.html | 2 +- documentation/osissues.html | 20 +++++++++++++++++++- 4 files changed, 31 insertions(+), 5 deletions(-) (limited to 'documentation') diff --git a/documentation/Fl_Browser.html b/documentation/Fl_Browser.html index bf439dfce..8db61d937 100644 --- a/documentation/Fl_Browser.html +++ b/documentation/Fl_Browser.html @@ -81,8 +81,13 @@ subclass of Fl_Browser_.

+ + + @@ -192,6 +197,8 @@ will always return 0.

int Fl_Browser::size() const

Returns how many lines are in the browser. The last line number is equal to this. +

void Fl_Browser::swap(int a, int b)

+Swaps two lines in the browser.

const char *Fl_Browser::text(int n) const
void Fl_Browser::text(int n, const char *)

The first form returns the text for line n. If n is diff --git a/documentation/Fl_Input_.html b/documentation/Fl_Input_.html index 5123405f3..b6b4ef307 100644 --- a/documentation/Fl_Input_.html +++ b/documentation/Fl_Input_.html @@ -120,13 +120,14 @@ const already been erased to color(). Otherwise it does minimal update and erases the area itself. -

void Fl_Input_::handletext(int +

int Fl_Input_::handletext(int e,int,int,int,int)

Default handler for all event types. Your handle() method should call this for all events that it does not handle -completely. You must pass it the same bounding box as passed to -draw(). Handles FL_PUSH, FL_DRAG, +completely. You must pass it the same bounding box as you do +when calling drawtext() from your draw() +method. Handles FL_PUSH, FL_DRAG, FL_RELEASE to select text, handles FL_FOCUS and FL_UNFOCUS to show and hide the cursor. diff --git a/documentation/Fl_Preferences.html b/documentation/Fl_Preferences.html index b5ce6a4b0..fc5c723d4 100644 --- a/documentation/Fl_Preferences.html +++ b/documentation/Fl_Preferences.html @@ -128,7 +128,7 @@ entry names. The index must be within the range given by the base preference group. This function is rarely used as deleting the base preferences flushes automatically. -

int Fl_Preferences::getUserdataPath(char *path)

+

int Fl_Preferences::getUserdataPath(char *path, int path_size)

Creates a path that is related to the preferences file and that is usable for application data beyond what is covered by diff --git a/documentation/osissues.html b/documentation/osissues.html index 692a2ac38..a140dc6b8 100644 --- a/documentation/osissues.html +++ b/documentation/osissues.html @@ -340,18 +340,36 @@ is shown using the Fl_Window::icon() method.

Sets the icon for the window to the passed pointer. You will need to cast the icon Pixmap to a char * when -calling this method. To set the icon using a bitmap compiled +calling this method. To set a monochrome icon using a bitmap compiled with your application use:

+

To use a multi-colored icon, the XPM format and library +should be used as follows: + +

+
NOTE: -- cgit v1.2.3