PreviousUpNext

15.4.1560  src/lib/x-kit/widget/space/sprite/spritespace-to-sprite.pkg

## spritespace-to-sprite.pkg
#
# For the big picture see the imp dataflow diagrams in
#
#     src/lib/x-kit/xclient/src/window/xclient-ximps.pkg
#
# Here we define the management interface which all spritespace look-imps export to
#
#     src/lib/x-kit/widget/space/sprite/spritespace-imp.pkg

# Compiled by:
#     src/lib/x-kit/widget/xkit-widget.sublib



stipulate
    include package   threadkit;                                                                # threadkit                     is from   src/lib/src/lib/thread-kit/src/core-thread-kit/threadkit.pkg
    #
    package g2d =  geometry2d;                                                                  # geometry2d                    is from   src/lib/std/2d/geometry2d.pkg
herein

    # This port is implemented in:
    #
    #     src/lib/x-kit/widget/xkit/theme/widget/default/look/sprite-imp.pkg
    #
    package spritespace_to_sprite {
        #
        Spritespace_To_Sprite
          =
          { id:                         Id,                                                     # Unique id to facilitate storing spritespace_to_sprite instances in indexed datastructures like red-black trees.
            #
            pass_draw_done_flag:        Replyqueue -> (Void -> Void) -> Void,
            pass_something:             Replyqueue ->  (Int -> Void) -> Void,
            do_something:               Int -> Void
          };
    };                                                                                          # package spritespace_to_sprite;
end;




Comments and suggestions to: bugs@mythryl.org

PreviousUpNext