diff options
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; + |