Ignore:
Timestamp:
11/03/2007 05:27:59 PM (19 years ago)
Author:
David Owen <dsowen@…>
branch-nick:
tui
revision id:
dsowen@fugue88.ws-20071103172759-aacwcew0kzliob1n
Message:

Grid now uses display strings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/grid/display.lisp

    r22 r26  
    8181
    8282(defun draw-cell (grid row column y x)
    83   (with-slots (window) grid
    84     (cdk::move-and-add-string window y x (item grid row column))))
     83  (with-slots (data window) grid
     84    (let ((text (item data row column)))
     85      (unless (uses-display-strings data row column)
     86        (setf text (enquote text)))
     87      (render text window y x))))
    8588
    8689(defun draw-column (grid column x)
Note: See TracChangeset for help on using the changeset viewer.