Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

NCStyleDef.cc File Reference

#include <iostream>
#include <fstream>
#include <vector>
#include <list>
#include "Y2Log.h"
#include "NCurses.h"
#include "NCstyle.h"

Classes

class  NCStyleDef
struct  NCStyleDef::Aset
struct  NCStyleDef::queryCharEnt
struct  NCStyleDef::SubWin
struct  NCStyleDef::Wstyle
struct  NCStyleDef::Wset
struct  NCStyleDef::Wchattr
struct  NCStyleDef::Wchstat
struct  NCStyleDef::Wex
struct  NCStyleDef::lookupIdx

Defines

#define PRT(t)   case t: return #t;
#define PRTIF(S)   if ( style & S ) str << "|" << #S
#define PRT(T)   aset.push_back( Aset( const_cast<chtype&>( attr( NCstyle::T ) ), #T ) )
#define PUT(a)   men.push_back( queryCharEnt( #a, a ) );
#define BGSET(a)   W.bkgdset( st.a )
#define IFASSIGN(T)   if ( tt == #T ) ch |= T

Functions

void frame (NCursesWindow &w, int l, int c, int H=0, int W=0)
void laex (NCursesWindow &W, const char *T, NCstyle::StItem st)
void itex (NCursesWindow &W, const char *T, NCstyle::StItem st)
void butex (NCursesWindow &W, int L, int C, const char *T, NCstyle::StWidget st)
void frameex (NCursesWindow &W, int L, int C, const char *T, NCstyle::StWidget st)
void listex (NCursesWindow &W, int L, int C, NCstyle::StList st)
void widex (NCursesWindow &W, int L, int C, const char *T, NCstyle::StWidget w, NCstyle::StWidget f, NCstyle::StList l)
void NCDefineStyle (NCstyle &style)

Variables

int hi = 4
int wi = 15

Define Documentation

#define BGSET  )     W.bkgdset( st.a )
 

#define IFASSIGN  )     if ( tt == #T ) ch |= T
 

#define PRT  )     aset.push_back( Aset( const_cast<chtype&>( attr( NCstyle::T ) ), #T ) )
 

#define PRT  )     case t: return #t;
 

#define PRTIF  )     if ( style & S ) str << "|" << #S
 

#define PUT  )     men.push_back( queryCharEnt( #a, a ) );
 


Function Documentation

void butex NCursesWindow W,
int  L,
int  C,
const char *  T,
NCstyle::StWidget  st
[inline]
 

void frame NCursesWindow w,
int  l,
int  c,
int  H = 0,
int  W = 0
[inline]
 

void frameex NCursesWindow W,
int  L,
int  C,
const char *  T,
NCstyle::StWidget  st
[inline]
 

void itex NCursesWindow W,
const char *  T,
NCstyle::StItem  st
[inline]
 

void laex NCursesWindow W,
const char *  T,
NCstyle::StItem  st
[inline]
 

void listex NCursesWindow W,
int  L,
int  C,
NCstyle::StList  st
[inline]
 

void NCDefineStyle NCstyle style  ) 
 

void widex NCursesWindow W,
int  L,
int  C,
const char *  T,
NCstyle::StWidget  w,
NCstyle::StWidget  f,
NCstyle::StList  l
[inline]
 


Variable Documentation

int hi = 4 [static]
 

int wi = 15 [static]
 


Generated on Wed Sep 5 17:18:56 2007 for yast2-ncurses by doxygen 1.3.6