Changeset c2c5c77 for owl.h


Ignore:
Timestamp:
Mar 28, 2007, 10:54:33 PM (17 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:
7f33c18
Parents:
af9b92e
Message:
Adding 256-color support. This requires a version of ncurses that
supports ABI-6. Colors beyond the first eight are refered to by
number.

Perl now has the number of colors exposed to it by way of
  BarnOwl::getnumcolors()
and also has a mechanism for undefining filters using
  BarnOwl::_remove_filter([filter-name])

You can't remove the 'all' filter or the current filter.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • owl.h

    rb3a40c7 rc2c5c77  
    104104#define OWL_COLOR_CYAN      6
    105105#define OWL_COLOR_WHITE     7
    106 #define OWL_COLOR_DEFAULT   8
     106#define OWL_COLOR_DEFAULT   -1
    107107
    108108#define OWL_EDITWIN_STYLE_MULTILINE 0
     
    252252  char *textbuff;
    253253  char *fmbuff;
    254   char *fgcolorbuff;
    255   char *bgcolorbuff;
     254  short *fgcolorbuff;
     255  short *bgcolorbuff;
    256256} owl_fmtext;
    257257
     
    526526typedef struct _owl_colorpair_mgr {
    527527  int next;
    528   int **pairs;
     528  short **pairs;
    529529} owl_colorpair_mgr;
    530530
Note: See TracChangeset for help on using the changeset viewer.