/usr/include
NameSizeModeActions
arpa/-0755rm
asm/-0755rm
asm-generic/-0755rm
bind9/-0755rm
bits/-0755rm
bsock/-0755rm
c++/-0755rm
db4/-0755rm
db4.2.52/-0755rm
db4.3.29/-0755rm
dns/-0755rm
drm/-0755rm
dst/-0755rm
e2p/-0755rm
et/-0755rm
ext2fs/-0755rm
fontconfig/-0755rm
freetype2/-0755rm
gdbm/-0755rm
GL/-0755rm
gnu/-0755rm
gssapi/-0755rm
gssrpc/-0755rm
isc/-0755rm
isccc/-0755rm
isccfg/-0755rm
kadm5/-0755rm
krb5/-0755rm
layout/-0755rm
libexslt/-0755rm
libltdl/-0755rm
libpng12/-0755rm
libxml2/-0755rm
libxslt/-0755rm
linux/-0755rm
lve/-0755rm
lwres/-0755rm
lzma/-0755rm
mtd/-0755rm
mysql/-0755rm
ncurses/-0755rm
ncursesw/-0755rm
net/-0755rm
netash/-0755rm
netatalk/-0755rm
netax25/-0755rm
neteconet/-0755rm
netinet/-0755rm
netipx/-0755rm
netiucv/-0755rm
netpacket/-0755rm
netrom/-0755rm
netrose/-0755rm
nfs/-0755rm
numpy/-0755rm
openssl/-0755rm
PCSC/-0755rm
protocols/-0755rm
python2.6/-0755rm
rdma/-0755rm
readline/-0755rm
rpc/-0755rm
rpcsvc/-0755rm
sasl/-0755rm
scsi/-0755rm
security/-0755rm
selinux/-0755rm
sepol/-0755rm
sound/-0755rm
sys/-0755rm
uapi/-0755rm
unicode/-0755rm
video/-0755rm
X11/-0755rm
xcb/-0755rm
xen/-0755rm
yaz/-0755rm
a.out.h43510644editdlrm
aio.h75020644editdlrm
aliases.h21150644editdlrm
alloca.h12890644editdlrm
ar.h17920644editdlrm
argp.h265210644editdlrm
argz.h73080644editdlrm
assert.h35060644editdlrm
autosprintf.h22840644editdlrm
byteswap.h14890644editdlrm
complex.h35570644editdlrm
cpio.h23350644editdlrm
crypt.h23410644editdlrm
ctype.h112870644editdlrm
curses.h798310644editdlrm
cursesapp.h65820644editdlrm
cursesf.h276300644editdlrm
cursesm.h194860644editdlrm
cursesp.h84730644editdlrm
cursesw.h492640644editdlrm
cursslk.h73040644editdlrm
db.h994270444editdlrm
db_185.h60100444editdlrm
db_cxx.h386380444editdlrm
dirent.h113180644editdlrm
dlfcn.h71170644editdlrm
elf.h1175390644editdlrm
endian.h29910644editdlrm
entities.h46730644editdlrm
envz.h29620644editdlrm
err.h23130644editdlrm
errno.h24520644editdlrm
error.h21320644editdlrm
eti.h28910644editdlrm
etip.h92070644editdlrm
execinfo.h16060644editdlrm
expat.h408490644editdlrm
expat_external.h33640644editdlrm
fam.h68750644editdlrm
fcntl.h91330644editdlrm
features.h128770644editdlrm
fenv.h46700644editdlrm
FlexLexer.h62170644editdlrm
fmtmsg.h33290644editdlrm
fnmatch.h25300644editdlrm
form.h171900644editdlrm
fpu_control.h31630644editdlrm
fstab.h31150644editdlrm
ft2build.h38900644editdlrm
fts.h52900644editdlrm
ftw.h53600644editdlrm
gconv.h53390644editdlrm
gcrypt-module.h71840644editdlrm
gcrypt.h705720644editdlrm
gd.h327900644editdlrm
gdbm.h47440644editdlrm
gdcache.h28120644editdlrm
gdfontg.h6230644editdlrm
gdfontl.h6210644editdlrm
gdfontmb.h5900644editdlrm
gdfonts.h5850644editdlrm
gdfontt.h6170644editdlrm
gdfx.h23960644editdlrm
gd_io.h11540644editdlrm
getopt.h67400644editdlrm
gettext-po.h148350644editdlrm
glob.h70070644editdlrm
gnu-versions.h24160644editdlrm
gpg-error.h226890644editdlrm
grp.h69910644editdlrm
gshadow.h46110644editdlrm
gssapi.h1810644editdlrm
iconv.h19490644editdlrm
idn-free.h22990644editdlrm
idn-int.h200644editdlrm
idna.h34360644editdlrm
ieee754.h49900644editdlrm
ifaddrs.h29020644editdlrm
inttypes.h122020644editdlrm
jconfig.h16530644editdlrm
jerror.h147480644editdlrm
jmorecfg.h137740644editdlrm
jpeglib.h502070644editdlrm
kdb.h583840644editdlrm
keyutils.h60920644editdlrm
krb5.h4020644editdlrm
langinfo.h160070644editdlrm
lastlog.h1260644editdlrm
lauxlib.h57770644editdlrm
libaio.h72520644editdlrm
libgen.h14650644editdlrm
libintl.h47020644editdlrm
libio.h177900644editdlrm
libssh2.h483560644editdlrm
libssh2_publickey.h49100644editdlrm
libssh2_sftp.h156510644editdlrm
limits.h45960644editdlrm
link.h72210644editdlrm
locale.h80320644editdlrm
ltdl.h57150644editdlrm
lua.h116880644editdlrm
lua.hpp1910644editdlrm
luaconf.h221280644editdlrm
lualib.h10260644editdlrm
lzma.h93060644editdlrm
malloc.h62970644editdlrm
math.h159870644editdlrm
mcheck.h25210644editdlrm
memory.h10290644editdlrm
menu.h118450644editdlrm
mntent.h34650644editdlrm
monetary.h18350644editdlrm
mqueue.h38720644editdlrm
ncurses.h798310644editdlrm
ncurses_dll.h38980644editdlrm
nc_tparm.h39470644editdlrm
netdb.h282670644editdlrm
nl_types.h18420644editdlrm
nss.h19620644editdlrm
obstack.h196730644editdlrm
panel.h37700644editdlrm
paths.h29730644editdlrm
png.h1619820644editdlrm
pngconf.h509920644editdlrm
poll.h220644editdlrm
pr29.h19740644editdlrm
printf.h68050644editdlrm
profile.h121540644editdlrm
pthread.h404910644editdlrm
pty.h16100644editdlrm
punycode.h94250644editdlrm
pwd.h60790644editdlrm
regex.h218710644editdlrm
regexp.h71230644editdlrm
resolv.h147650644editdlrm
re_comp.h10240644editdlrm
sched.h47300644editdlrm
search.h53180644editdlrm
semaphore.h24720644editdlrm
setjmp.h41120644editdlrm
sgtty.h14310644editdlrm
shadow.h53020644editdlrm
signal.h136620644editdlrm
spawn.h67630644editdlrm
stab.h2640644editdlrm
stdint.h85360644editdlrm
stdio.h315680644editdlrm
stdio_ext.h28730644editdlrm
stdlib.h342540644editdlrm
string.h226120644editdlrm
stringprep.h80440644editdlrm
strings.h47630644editdlrm
syscall.h250644editdlrm
sysexits.h52320644editdlrm
syslog.h240644editdlrm
tar.h37710644editdlrm
tcpd.h95460644editdlrm
term.h382050644editdlrm
termcap.h34790644editdlrm
termio.h2140644editdlrm
termios.h36400644editdlrm
term_entry.h70560644editdlrm
tgmath.h186100644editdlrm
thread_db.h160920644editdlrm
tic.h121810644editdlrm
tiff.h338130644editdlrm
tiffconf-64.h29690644editdlrm
tiffconf.h2500644editdlrm
tiffio.h205140644editdlrm
tiffio.hxx17060644editdlrm
tiffvers.h4100644editdlrm
time.h135340644editdlrm
tld.h45030644editdlrm
ttyent.h24960644editdlrm
ucontext.h20150644editdlrm
ulimit.h16570644editdlrm
unctrl.h30050644editdlrm
unistd.h425510644editdlrm
ustat.h230644editdlrm
utime.h16030644editdlrm
utmp.h33340644editdlrm
utmpx.h42030644editdlrm
values.h20290644editdlrm
verto-module.h60190644editdlrm
verto.h168290644editdlrm
wait.h220644editdlrm
wchar.h323830644editdlrm
wctype.h112270644editdlrm
wordexp.h25920644editdlrm
xlocale.h17710644editdlrm
yaml.h542240644editdlrm
zconf.h95440644editdlrm
zlib.h661880644editdlrm
_G_config.h25260644editdlrm
Edit: /usr/include/cursesapp.h (6582B)
// * This makes emacs happy -*-Mode: C++;-*- /**************************************************************************** * Copyright (c) 1998-2003,2005 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * * "Software"), to deal in the Software without restriction, including * * without limitation the rights to use, copy, modify, merge, publish, * * distribute, distribute with modifications, sublicense, and/or sell * * copies of the Software, and to permit persons to whom the Software is * * furnished to do so, subject to the following conditions: * * * * The above copyright notice and this permission notice shall be included * * in all copies or substantial portions of the Software. * * * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, * * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR * * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR * * THE USE OR OTHER DEALINGS IN THE SOFTWARE. * * * * Except as contained in this notice, the name(s) of the above copyright * * holders shall not be used in advertising or otherwise to promote the * * sale, use or other dealings in this Software without prior written * * authorization. * ****************************************************************************/ /**************************************************************************** * Author: Juergen Pfeifer, 1997 * ****************************************************************************/ // $Id: cursesapp.h,v 1.11 2005/05/28 21:57:44 tom Exp $ #ifndef NCURSES_CURSESAPP_H_incl #define NCURSES_CURSESAPP_H_incl #include class NCURSES_IMPEXP NCursesApplication { public: typedef struct _slk_link { // This structure is used to maintain struct _slk_link* prev; // a stack of SLKs Soft_Label_Key_Set* SLKs; } SLK_Link; private: static int rinit(NCursesWindow& w); // Internal Init function for title static NCursesApplication* theApp; // Global ref. to the application static SLK_Link* slk_stack; protected: static NCursesWindow* titleWindow; // The Title Window (if any) bool b_Colors; // Is this a color application? NCursesWindow* Root_Window; // This is the stdscr equiv. // Initialization of attributes; // Rewrite this in your derived class if you prefer other settings virtual void init(bool bColors); // The number of lines for the title window. Default is no title window // You may rewrite this in your derived class virtual int titlesize() const { return 0; } // This method is called to put something into the title window initially // You may rewrite this in your derived class virtual void title() { } // The layout used for the Soft Label Keys. Default is to have no SLKs. // You may rewrite this in your derived class virtual Soft_Label_Key_Set::Label_Layout useSLKs() const { return Soft_Label_Key_Set::None; } // This method is called to initialize the SLKs. Default is nothing. // You may rewrite this in your derived class virtual void init_labels(Soft_Label_Key_Set& S) const { } // Your derived class must implement this method. The return value must // be the exit value of your application. virtual int run() = 0; // The constructor is protected, so you may use it in your derived // class constructor. The argument tells whether or not you want colors. NCursesApplication(bool wantColors = FALSE); NCursesApplication& operator=(const NCursesApplication& rhs) { if (this != &rhs) { *this = rhs; } return *this; } NCursesApplication(const NCursesApplication& rhs) : b_Colors(rhs.b_Colors), Root_Window(rhs.Root_Window) { } public: virtual ~NCursesApplication(); // Get a pointer to the current application object static NCursesApplication* getApplication() { return theApp; } // This method runs the application and returns its exit value int operator()(void); // Process the commandline arguments. The default implementation simply // ignores them. Your derived class may rewrite this. virtual void handleArgs(int argc, char* argv[]) { } // Does this application use colors? inline bool useColors() const { return b_Colors; } // Push the Key Set S onto the SLK Stack. S then becomes the current set // of Soft Labelled Keys. void push(Soft_Label_Key_Set& S); // Throw away the current set of SLKs and make the previous one the // new current set. bool pop(); // Retrieve the current set of Soft Labelled Keys. Soft_Label_Key_Set* top() const; // Attributes to use for menu and forms foregrounds virtual chtype foregrounds() const { return b_Colors ? COLOR_PAIR(1) : A_BOLD; } // Attributes to use for menu and forms backgrounds virtual chtype backgrounds() const { return b_Colors ? COLOR_PAIR(2) : A_NORMAL; } // Attributes to use for inactive (menu) elements virtual chtype inactives() const { return b_Colors ? (COLOR_PAIR(3)|A_DIM) : A_DIM; } // Attributes to use for (form) labels and SLKs virtual chtype labels() const { return b_Colors ? COLOR_PAIR(4) : A_NORMAL; } // Attributes to use for form backgrounds virtual chtype dialog_backgrounds() const { return b_Colors ? COLOR_PAIR(4) : A_NORMAL; } // Attributes to use as default for (form) window backgrounds virtual chtype window_backgrounds() const { return b_Colors ? COLOR_PAIR(5) : A_NORMAL; } // Attributes to use for the title window virtual chtype screen_titles() const { return b_Colors ? COLOR_PAIR(6) : A_BOLD; } }; #endif /* NCURSES_CURSESAPP_H_incl */