Ignore:
Timestamp:
11/16/2007 04:52:26 PM (19 years ago)
Author:
David Owen <dsowen@…>
branch-nick:
tui
revision id:
dsowen@fugue88.ws-20071116165226-urvzht93m31b4n1t
Message:

Made column-widths part of the data model.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/grid/model.lisp

    r26 r55  
    22
    33
     4
     5(defgeneric rows (grid-data)
     6  (:documentation
     7   "Returns the number of rows of data."))
    48
    59#|(defgeneric header-rows (grid-data)
     
    1014  (:method (grid-data) 0))|#
    1115
     16(defgeneric columns (grid-data)
     17  (:documentation
     18   "Returns the number of columns of data."))
     19
    1220#|(defgeneric header-columns (grid-data)
    1321  (:documentation
     
    1725  (:method (grid-data) 0))|#
    1826
    19 #|(defgeneric column-width (grid-data column)
     27(defgeneric column-width (grid-data column)
    2028  (:documentation
    2129   "Returns the width of the column, as the total number of characters
    2230requested for this column.  The count may be less than the length of
    23 the maximal item in the column."))|#
    24 
    25 (defgeneric rows (grid-data)
    26   (:documentation
    27    "Returns the number of rows of data."))
    28 
    29 (defgeneric columns (grid-data)
    30   (:documentation
    31    "Returns the number of columns of data."))
     31the maximal item in the column."))
    3232
    3333(defgeneric item (grid-data row column)
Note: See TracChangeset for help on using the changeset viewer.