diff options
author | Jed Barber <jjbarber@y7mail.com> | 2018-03-27 14:30:46 +1100 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2018-03-27 14:30:46 +1100 |
commit | 36709ab2223dc9a871f81d5dacf3df1e77a23281 (patch) | |
tree | 4ad8fb07fa26cd7c481f1eeb87764d12fb5266ca /src/fltk-tooltips.ads | |
parent | 17150a9322c650f804e7f9682a9beba573a8c9b7 (diff) |
Added FLTK.Tooltips
Diffstat (limited to 'src/fltk-tooltips.ads')
-rw-r--r-- | src/fltk-tooltips.ads | 93 |
1 files changed, 93 insertions, 0 deletions
diff --git a/src/fltk-tooltips.ads b/src/fltk-tooltips.ads new file mode 100644 index 0000000..153825f --- /dev/null +++ b/src/fltk-tooltips.ads @@ -0,0 +1,93 @@ + + +with + + FLTK.Widgets; + + +package FLTK.Tooltips is + + + function Get_Target + return access FLTK.Widgets.Widget'Class; + + procedure Set_Target + (To : in FLTK.Widgets.Widget'Class); + + function Is_Enabled + return Boolean; + + procedure Set_Enabled + (To : in Boolean); + + procedure Enter_Area + (Item : in FLTK.Widgets.Widget'Class; + X, Y, W, H : in Integer; + Tip : in String); + + + + + function Get_Delay + return Float; + + procedure Set_Delay + (To : in Float); + + function Get_Hover_Delay + return Float; + + procedure Set_Hover_Delay + (To : in Float); + + + + + function Get_Background_Color + return Color; + + procedure Set_Background_Color + (To : in Color); + + function Get_Margin_Height + return Natural; + + -- procedure Set_Margin_Height + -- (To : in Natural); + + function Get_Margin_Width + return Natural; + + -- procedure Set_Margin_Width + -- (To : in Natural); + + function Get_Wrap_Width + return Natural; + + -- procedure Set_Wrap_Width + -- (To : in Natural); + + + + + function Get_Text_Color + return Color; + + procedure Set_Text_Color + (To : in Color); + + function Get_Text_Font + return Font_Kind; + + procedure Set_Text_Font + (To : in Font_Kind); + + function Get_Text_Size + return Font_Size; + + procedure Set_Text_Size + (To : in Font_Size); + + +end FLTK.Tooltips; + |