PreviousUpNext

15.4.1471  src/lib/x-kit/widget/lib/shade.pkg

## shade.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 xt  =  xtypes;                                                                     # xtypes                is from   src/lib/x-kit/xclient/src/wire/xtypes.pkg
#    package ts  =  xserver_timestamp;                                                          # xserver_timestamp     is from   src/lib/x-kit/xclient/src/wire/xserver-timestamp.pkg
    package qk  =  quark;                                                                       # quark                 is from   src/lib/x-kit/style/quark.pkg
    package xc  =  xclient;                                                                     # xclient               is from   src/lib/x-kit/xclient/xclient.pkg
    package pn  =  pen;                                                                         # pen                   is from   src/lib/x-kit/xclient/src/window/pen.pkg
    package pg  =  pen_guts;                                                                    # pen_guts              is from   src/lib/x-kit/xclient/src/window/pen-guts.pkg
herein


    # This port is implemented in:
    #
    #     src/lib/x-kit/widget/lib/shade-ximp.pkg
    #
    package shade {
        #
        Shades = { light: pg::Pen,
                   base:  pg::Pen,
                   dark:  pg::Pen
                 };

        Shade   = {
                    get_shades:    rgb::Rgb -> Null_Or(Shades)
                  };
    };                                                                                          # package shade
end;




Comments and suggestions to: bugs@mythryl.org

PreviousUpNext