-
-
-;;; Style
-
-; (defbinding style-new () style)
-
-; (defbinding style-copy () style
-; (style style))
-#|
-(defbinding %style-get-color () gdk:color
- (style style)
- (color-type color-type)
- (state-type state-type))
-
-(defbinding %style-set-color () gdk:color
- (style style)
- (color-type color-type)
- (state-type state-type)
- (color gdk:color))
-
-(defun style-fg (style state)
- (%style-get-color style :foreground state))
-
-(defun (setf style-fg) (color style state)
- (%style-set-color style :foreground state color))
-
-(defun style-bg (style state)
- (%style-get-color style :background state))
-
-(defun (setf style-bg) (color style state)
- (%style-set-color style :background state color))
-
-(defun style-text (style state)
- (%style-get-color style :text state))
-
-(defun (setf style-text) (color style state)
- (%style-set-color style :text state color))
-
-(defun style-base (style state)
- (%style-get-color style :base state))
-
-(defun (setf style-base) (color style state)
- (%style-set-color style :base state color))
-
-(defun style-white (style)
- (%style-get-color style :white :normal))
-
-(defun (setf style-white) (color style)
- (%style-set-color style :white :normal color))
-
-(defun style-black (style)
- (%style-get-color style :black :normal))
-
-(defun (setf style-black) (color style)
- (%style-set-color style :black :normal color))
-
-(defbinding style-get-gc () gdk:gc
- (style style)
- (color-type color-type)
- (state-type state-type))
-
-|#
-(defbinding draw-hline () nil
- (style style)
- (window gdk:window)
- (state state-type)
- (x1 int)
- (x2 int)
- (y int))
-
-(defbinding draw-vline () nil
- (style style)
- (window gdk:window)
- (state state-type)
- (y1 int)
- (y2 int)
- (x int))
-
-(defbinding draw-shadow () nil
- (style style)
- (window gdk:window)
- (state state-type)
- (shadow shadow-type)
- (x int)
- (y int)
- (width int)
- (height int))
-
-; (defbinding draw-polygon () nil
-; (style style)
-; (window gdk:window)
-; (state state-type)
-; (shadow shadow-type)
-; (points (vector gdk:point))
-; ((length points) int)
-; (fill boolean))
-
-(defbinding draw-arrow () nil
- (style style)
- (window gdk:window)
- (state state-type)
- (shadow shadow-type)
- (arrow arrow-type)
- (fill boolean)
- (x int)
- (y int)
- (width int)
- (height int))
-
-(defbinding draw-diamond () nil
- (style style)
- (window gdk:window)
- (state state-type)
- (shadow shadow-type)
- (x int)
- (y int)
- (width int)
- (height int))
-
-; (defbinding draw-oval () nil
-; (style style)
-; (window gdk:window)
-; (state state-type)
-; (shadow shadow-type)
-; (x int)
-; (y int)
-; (width int)
-; (height int))
-
-(defbinding draw-string () nil
- (style style)
- (window gdk:window)
- (state state-type)
- (x int)
- (y int)
- (string string))
-
-(defbinding draw-box () nil
- (style style)
- (window gdk:window)
- (state state-type)
- (shadow shadow-type)
- (x int)
- (y int)
- (width int)
- (height int))
-
-(defbinding draw-flat-box () nil
- (style style)
- (window gdk:window)
- (state state-type)
- (shadow shadow-type)
- (x int)
- (y int)
- (width int)
- (height int))
-
-(defbinding draw-check () nil
- (style style)
- (window gdk:window)
- (state state-type)
- (shadow shadow-type)
- (x int)
- (y int)
- (width int)
- (height int))
-
-(defbinding draw-option () nil
- (style style)
- (window gdk:window)
- (state state-type)
- (shadow shadow-type)
- (x int)
- (y int)
- (width int)
- (height int))
-
-; (defbinding draw-cross () nil
-; (style style)
-; (window gdk:window)
-; (state state-type)
-; (shadow shadow-type)
-; (x int)
-; (y int)
-; (width int)
-; (height int))
-
-; (defbinding draw-ramp () nil
-; (style style)
-; (window gdk:window)
-; (state state-type)
-; (shadow shadow-type)
-; (arrow arrow-type)
-; (x int)
-; (y int)
-; (width int)
-; (height int))
-
-(defbinding draw-tab () nil
- (style style)
- (window gdk:window)
- (state state-type)
- (x int)
- (y int)
- (width int)
- (height int))
-
-(defbinding draw-shadow-gap () nil
- (style style)
- (window gdk:window)
- (state state-type)
- (x int)
- (y int)
- (width int)
- (height int)
- (gap-side position-type)
- (gap-x int)
- (gap-width int))
-
-(defbinding draw-box-gap () nil
- (style style)
- (window gdk:window)
- (state state-type)
- (x int)
- (y int)
- (width int)
- (height int)
- (gap-side position-type)
- (gap-x int)
- (gap-width int))
-
-(defbinding draw-extension () nil
- (style style)
- (window gdk:window)
- (state state-type)
- (x int)
- (y int)
- (width int)
- (height int))
-
-(defbinding draw-focus () nil
- (style style)
- (window gdk:window)
- (x int)
- (y int)
- (width int)
- (height int))
-
-(defbinding draw-slider () nil
- (style style)
- (window gdk:window)
- (state state-type)
- (shadow shadow-type)
- (x int)
- (y int)
- (width int)
- (height int)
- (orientation orientation))
-
-(defbinding draw-handle () nil
- (style style)
- (window gdk:window)
- (state state-type)
- (shadow shadow-type)
- (x int)
- (y int)
- (width int)
- (height int)
- (orientation orientation))
-
-(defbinding draw-handle () nil
- (style style)
- (window gdk:window)
- (state state-type)
- (shadow shadow-type)
- (x int)
- (y int)
- (width int)
- (height int)
- (orientation orientation))
-
-(defbinding paint-hline () nil
- (style style)
- (window gdk:window)
- (state state-type)
- (x1 int)
- (x2 int)
- (y int))