From 2cbec01126c34e70fc8e11d77553ef5bfd94cec7 Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Fri, 18 May 2018 16:21:25 +1000 Subject: Added Choices, Pixmaps, GIFs, XPMs --- doc/fl_choice.html | 130 ++++++++++++++++++++++++++++++++++++++++++ doc/fl_gif_image.html | 65 +++++++++++++++++++++ doc/fl_menu_.html | 12 +++- doc/fl_pixmap.html | 153 ++++++++++++++++++++++++++++++++++++++++++++++++++ doc/fl_xpm_image.html | 65 +++++++++++++++++++++ doc/index.html | 12 ++-- 6 files changed, 431 insertions(+), 6 deletions(-) create mode 100644 doc/fl_choice.html create mode 100644 doc/fl_gif_image.html create mode 100644 doc/fl_pixmap.html create mode 100644 doc/fl_xpm_image.html (limited to 'doc') diff --git a/doc/fl_choice.html b/doc/fl_choice.html new file mode 100644 index 0000000..34b8778 --- /dev/null +++ b/doc/fl_choice.html @@ -0,0 +1,130 @@ + + + + + + + Fl_Choice Binding Map + + + + + + +

Fl_Choice Binding Map

+ + + + + + + + + + +
Package name
Fl_ChoiceFLTK.Widgets.Menus.Choices
+ + + + + + + + + + + + + + + + +
Types
Fl_ChoiceChoice
 Choice_Reference
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Functions and Procedures
+Fl_Choice(int X, int Y, int W, int H, const char *L=0);
+
+function Create
+       (X, Y, W, H : in Integer;
+        Text       : in String)
+    return Choice;
+
+void draw();
+
+procedure Draw
+       (This : in out Choice);
+
+int handle(int);
+
+function Handle
+       (This  : in out Choice;
+        Event : in     Event_Kind)
+    return Event_Outcome;
+
 
+function Chosen
+       (This : in Choice)
+    return FLTK.Menu_Items.Menu_Item_Reference;
+
+int value() const;
+
+function Chosen_Index
+       (This : in Choice)
+    return Extended_Index;
+
+int value(int v);
+
+procedure Set_Chosen
+       (This  : in out Choice;
+        Place : in     Index);
+
+int value(const Fl_Menu_Item *v);
+
+procedure Set_Chosen
+       (This : in out Choice;
+        Item : in     FLTK.Menu_Items.Menu_Item);
+
+ + + + + diff --git a/doc/fl_gif_image.html b/doc/fl_gif_image.html new file mode 100644 index 0000000..6117095 --- /dev/null +++ b/doc/fl_gif_image.html @@ -0,0 +1,65 @@ + + + + + + + Fl_GIF_Image Binding Map + + + + + + +

Fl_GIF_Image Binding Map

+ + + + + + + + + + +
Package name
Fl_GIF_ImageFLTK.Images.Pixmaps.GIF
+ + + + + + + + + + + + + + + + +
Types
Fl_GIF_ImageGIF_Image
 GIF_Image_Reference
+ + + + + + + + + + + +
Functions and Procedures
+Fl_GIF_Image(const char *filename);
+
+function Create
+       (Filename : in String)
+    return GIF_Image;
+
+ + + + + diff --git a/doc/fl_menu_.html b/doc/fl_menu_.html index 2c3ae6c..731c16e 100644 --- a/doc/fl_menu_.html +++ b/doc/fl_menu_.html @@ -572,14 +572,22 @@ function Chosen_Index
 int value(const Fl_Menu_Item *);
 
-  +
+procedure Set_Chosen
+       (This : in out Menu;
+        Item : in     FLTK.Menu_Items.Menu_Item);
+
 int value(int i);
 
-  +
+procedure Set_Chosen
+       (This  : in out Menu;
+        Place : in     Index);
+
diff --git a/doc/fl_pixmap.html b/doc/fl_pixmap.html new file mode 100644 index 0000000..de528e6 --- /dev/null +++ b/doc/fl_pixmap.html @@ -0,0 +1,153 @@ + + + + + + + Fl_Pixmap Binding Map + + + + + + +

Fl_Pixmap Binding Map

+ + + + + + + + + + +
Package name
Fl_PixmapFLTK.Images.Pixmaps
+ + + + + + + + + + + + + + + + +
Types
Fl_PixmapPixmap
 Pixmap_Reference
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Functions and Procedures
+Fl_Pixmap(char *const *D);
+Fl_Pixmap(uchar *const *D);
+Fl_Pixmap(const char *const *D);
+Fl_Pixmap(const uchar *const *D);
+
 
+virtual void color_average(Fl_Color c, float i);
+
+procedure Color_Average
+       (This   : in out Pixmap;
+        Col    : in     Color;
+        Amount : in     Blend);
+
+virtual Fl_Image * copy(int W, int H);
+
+function Copy
+       (This          : in Pixmap;
+        Width, Height : in Natural)
+    return Pixmap'Class;
+
+Fl_Image * copy();
+
+function Copy
+       (This : in Pixmap)
+    return Pixmap'Class;
+
+virtual void desaturate();
+
+procedure Desaturate
+       (This : in out Pixmap);
+
+virtual void draw(int X, int Y, int W, int H, int cx=0, int cy=0);
+
+procedure Draw
+       (This       : in Pixmap;
+        X, Y, W, H : in Integer;
+        CX, CY     : in Integer := 0);
+
+void draw(int X, int Y);
+
+procedure Draw
+       (This : in Pixmap;
+        X, Y : in Integer);
+
+virtual void label(Fl_Widget *w);
+
 
+virtual void label(Fl_Menu_Item *m);
+
 
+virtual void uncache();
+
 
+ + + + + diff --git a/doc/fl_xpm_image.html b/doc/fl_xpm_image.html new file mode 100644 index 0000000..72e95b4 --- /dev/null +++ b/doc/fl_xpm_image.html @@ -0,0 +1,65 @@ + + + + + + + Fl_XPM_Image Binding Map + + + + + + +

Fl_XPM_Image Binding Map

+ + + + + + + + + + +
Package name
Fl_XPM_ImageFLTK.Images.Pixmaps.XPM
+ + + + + + + + + + + + + + + + +
Types
Fl_XPM_ImageXPM_Image
 XPM_Image_Reference
+ + + + + + + + + + + +
Functions and Procedures
+Fl_XPM_Image(const char *filename);
+
+function Create
+       (Filename : in String)
+    return XPM_Image;
+
+ + + + + diff --git a/doc/index.html b/doc/index.html index 1993a9a..057f763 100644 --- a/doc/index.html +++ b/doc/index.html @@ -30,7 +30,7 @@
  • Fl_Chart
  • Fl_Check_Browser
  • Fl_Check_Button
  • -
  • Fl_Choice
  • +
  • Fl_Choice
  • Fl_Clock
  • Fl_Clock_Output
  • Fl_Color_Chooser
  • @@ -46,7 +46,7 @@
  • Fl_Fill_Dial
  • Fl_Fill_Slider
  • Fl_Float_Input
  • -
  • Fl_GIF_Image
  • +
  • Fl_GIF_Image
  • Fl_Gl_Window
  • Fl_Glut_Window
  • Fl_Graphics_Driver
  • @@ -81,7 +81,7 @@
  • Fl_Overlay_Window
  • Fl_Pack
  • Fl_Paged_Device
  • -
  • Fl_Pixmap
  • +
  • Fl_Pixmap
  • Fl_PNG_Image
  • Fl_PNM_Image
  • Fl_Preferences
  • @@ -125,7 +125,7 @@
  • Fl_Window
  • Fl_Wizard
  • Fl_XBM_Image
  • -
  • Fl_XPM_Image
  • +
  • Fl_XPM_Image
  • @@ -146,6 +146,9 @@
  • FLTK.Images
  • FLTK.Images.Bitmaps
  • FLTK.Images.Bitmaps.XBM
  • +
  • FLTK.Images.Pixmaps
  • +
  • FLTK.Images.Pixmaps.GIF
  • +
  • FLTK.Images.Pixmaps.XPM
  • FLTK.Images.RGB
  • FLTK.Images.RGB.BMP
  • FLTK.Images.RGB.JPEG
  • @@ -197,6 +200,7 @@
  • FLTK.Widgets.Inputs.Outputs.Multiline
  • FLTK.Widgets.Inputs.Secret
  • FLTK.Widgets.Menus
  • +
  • FLTK.Widgets.Menus.Choices
  • FLTK.Widgets.Menus.Menu_Bars
  • FLTK.Widgets.Menus.Menu_Buttons
  • FLTK.Widgets.Progress_Bars
  • -- cgit