summaryrefslogtreecommitdiff
path: root/fltk-widgets.ads
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2016-10-05 15:44:17 +1100
committerJed Barber <jjbarber@y7mail.com>2016-10-05 15:44:17 +1100
commitf28f819c721fa5a317e23b3cc1eefb938115b47a (patch)
tree6c5ba8cc390f88d2ec326503ebd5fc30d4b4b99b /fltk-widgets.ads
parent8d0d41649b6b4699cfb2c6c05dda09c29b4c3d15 (diff)
Added logo, made find/replace/about windows attention grabbing
Diffstat (limited to 'fltk-widgets.ads')
-rw-r--r--fltk-widgets.ads15
1 files changed, 14 insertions, 1 deletions
diff --git a/fltk-widgets.ads b/fltk-widgets.ads
index 05bba29..e692a65 100644
--- a/fltk-widgets.ads
+++ b/fltk-widgets.ads
@@ -1,6 +1,7 @@
with FLTK.Enums; use FLTK.Enums;
+with FLTK.Images;
limited with FLTK.Widgets.Groups;
private with System;
private with System.Address_To_Access_Conversions;
@@ -98,12 +99,24 @@ package FLTK.Widgets is
procedure Resize (This : in out Widget; W, H : in Integer);
procedure Reposition (This : in out Widget; X, Y : in Integer);
+
+ function Get_Image
+ (This : in Widget)
+ return access FLTK.Images.Image'Class;
+
+
+ procedure Set_Image
+ (This : in out Widget;
+ Pic : in out FLTK.Images.Image'Class);
+
+
private
type Widget is abstract new Wrapper with
record
- Callback : access Widget_Callback'Class;
+ Callback : access Widget_Callback'Class;
+ Current_Image : access FLTK.Images.Image'Class;
end record;