Ignore:
Timestamp:
11/12/2007 07:08:49 PM (19 years ago)
Author:
David Owen <dsowen@…>
branch-nick:
tui
revision id:
dsowen@tux-20071112190849-f4iha3mmvx2nskce
Message:

Textboxes and numberboxes now change colors.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/widget/numberbox.lisp

    r40 r46  
    3232    (setf (text data) s)))
    3333
    34 (defun create-numberbox (parent-window y x data width)
     34(defun create-numberbox (parent-window y x data width &key
     35                         (inactive-background '(#\Space 0))
     36                         (active-background '(#\Space 0)))
    3537  (let* ((data-wrapper (make-instance 'numberbox-data :data data :width width))
    36          (textbox (create-textbox parent-window y x data-wrapper width)))
     38         (textbox (create-textbox parent-window y x data-wrapper width
     39                                  :inactive-background inactive-background
     40                                  :active-background active-background)))
    3741    (change-class textbox 'numberbox)))
    3842
Note: See TracChangeset for help on using the changeset viewer.