diff options
author | Jed Barber <jjbarber@y7mail.com> | 2016-05-25 01:10:29 +1000 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2016-05-25 01:10:29 +1000 |
commit | 99ea64c2c914608d3429e63845f8ed396b234dd7 (patch) | |
tree | 767a09255183d906af68706bfd11df4787b0a5c9 /src/adapad.adb | |
parent | 63d9e14dd0cccb2191bd18ec07cfb11d06a30fcd (diff) |
Buttons and accessors
Diffstat (limited to 'src/adapad.adb')
-rw-r--r-- | src/adapad.adb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/adapad.adb b/src/adapad.adb index b9fc616..a2fe4c5 100644 --- a/src/adapad.adb +++ b/src/adapad.adb @@ -2,9 +2,7 @@ -- with Editor; with FLTK.Widget.Group.Window.Double; -with FLTK.Widget.Button; with FLTK.Widget.Box; -with FLTK.Widget.Input; with FLTK.Enums; use FLTK.Enums; @@ -13,13 +11,15 @@ function AdaPad return Integer is package Dbl renames FLTK.Widget.Group.Window.Double; package Box renames FLTK.Widget.Box; - W : Dbl.Double_Type := Dbl.Create (300, 300, 300, 300, "AdaPad"); - B : Box.Box_Type := Box.Create (100, 100, 100, 100, "Test"); + W : Dbl.Double_Type := Dbl.Create (340, 180); + B : Box.Box_Type := Box.Create (20, 40, 300, 100, "Test"); begin B.Set_Box (Engraved_Box); B.Set_Label_Font (Times_Bold_Italic); + B.Set_Label_Size (36); + B.Set_Label_Type (Shadow_Label); W.Add (B); W.Show; |