Changeset 8fa9562 for global.c


Ignore:
Timestamp:
Jan 20, 2007, 9:49:55 PM (18 years ago)
Author:
Alejandro R. Sedeño <asedeno@mit.edu>
Branches:
master, barnowl_perlaim, debian, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
575877f
Parents:
212764e
Message:
Added background color support to owl.

If we run out of color pairs during a painting of the screen, further
background colors will be silently dropped. I'm hoping this doesn't
happen often. The used pair list is reset with each draw, so only
what's actually on screen matters.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • global.c

    rcb769bb r8fa9562  
    6464  }
    6565  g->colorpairs=COLOR_PAIRS;
     66  owl_fmtext_init_colorpair_mgr(&(g->cpmgr));
    6667  g->debug=OWL_DEBUG;
    6768  g->searchactive=0;
     
    592593}
    593594
     595owl_colorpair_mgr *owl_global_get_colorpair_mgr(owl_global *g) {
     596  return(&(g->cpmgr));
     597}
     598
    594599/* puntlist */
    595600
Note: See TracChangeset for help on using the changeset viewer.