qulogic/libgnt

Use accessors when accessing ncurses structures
trac-16764
2017-09-22, Daniel Kamil Kozar
2242b92d9446
Use accessors when accessing ncurses structures

Imported from https://developer.pidgin.im/ticket/16764 , authored by
dimstar. Fixes build failures when ncurses defines NCURSES_OPAQUE.
[general]
shadow = 0
[colors]
black = 0; 0; 0
red = 1000; 0; 0
green = 0; 1000; 0
blue = 250; 250; 700
white = 1000; 1000; 1000
gray = 700; 700; 700
darkgray = 256; 256; 256
[colorpairs]
normal = black; white
highlight = white; blue
highlightd = black; gray
shadow = black; darkgray
title = white; blue
titled = white; gray
text = white; blue
disabled = gray; white