From 17374b20bb7bc6230170e341105bed9f2e4e3b05 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Tue, 9 Apr 2002 09:38:15 +0000 Subject: Update fl_beep() to use the PC speaker for FL_BEEP_DEFAULT. Add docos for fl_beep... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2059 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/functions.html | 34 +++++++++++++++++++++++++++++++--- 1 file changed, 31 insertions(+), 3 deletions(-) (limited to 'documentation/functions.html') diff --git a/documentation/functions.html b/documentation/functions.html index 4a8f827e9..e999f4214 100644 --- a/documentation/functions.html +++ b/documentation/functions.html @@ -8,13 +8,41 @@ A.

Functions

+

void fl_beep(int type = FL_BEEP_DEFAULT)

+ +

Sounds an audible notification; the default type argument +sounds a simple "beep" sound. Other values for type may use +a system or user-defined sound file: + +

+

int fl_color_chooser(const char *title, double &r, double &g, double &b)
int fl_color_chooser(const char *title, uchar &r, uchar &g, uchar &b)

-The double version takes RGB values in the range 0.0 to 1.0. The -uchar version takes RGB values in the range 0 to 255. The title -argument specifies the label (title) for the window. +

The double version takes RGB values in the range +0.0 to 1.0. The uchar version takes RGB values in +the range 0 to 255. The title argument specifies the +label (title) for the window.

The fl_color_chooser dialog. -- cgit v1.2.3