diff options
author | Jed Barber <jjbarber@y7mail.com> | 2016-07-18 15:58:30 +1000 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2016-07-18 15:58:30 +1000 |
commit | 6aa9475d598065081866913bb86a049a6d2d0c1a (patch) | |
tree | fd2074432185ed1d9f9dd8b3e9ae8e2344cbe7c5 /fltk.ads | |
parent | f419b275ee91792e08f211a588d891c4aa6bedac (diff) |
Decided on widget init problem, started on rudimentary editor appearance
Diffstat (limited to 'fltk.ads')
-rw-r--r-- | fltk.ads | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -20,10 +20,19 @@ package FLTK is private + function Has_Valid_Ptr + (This : in Wrapper) + return Boolean; + + type Wrapper is abstract new Ada.Finalization.Limited_Controlled with record Void_Ptr : System.Address; - end record; + end record + with Type_Invariant => Has_Valid_Ptr (Wrapper); + + -- unsure if the above invariant is doing what I'm after + -- oh well, something to work on overriding procedure Initialize |