   var cellHeight: Int32 = 0
   var renderer: COpaquePointer
   var backgroundColor: SDL_Color? = nil
+  let offsetLeft: Int32 = 1
+  let offsetTop: Int32 = 1
+  var width = 0             // Max number of horizontal cells.
+  var height = 0            // Max number of vertical cells.
 
   init(renderer: COpaquePointer, font: COpaquePointer) {
     self.renderer = renderer

var ev = SDL_Event()
var done = false
var invalidated = false

while !done {
  while SDL_PollEvent(&ev) != 0 {
    invalidated = true
    p("event \(ev.type)")
    if ev.type == SDL.TEXTINPUT {
      p("text input \(ev.text)")
    } else if ev.type == SDL.QUIT {

//   SDL_Delay(16)
}

p("about to quit")
