libyui-ncurses  2.44.1
NCPad Class Reference
Inheritance diagram for NCPad:
Collaboration diagram for NCPad:

List of all members.

Public Member Functions

 NCPad (int lines, int cols, const NCWidget &p)
NCursesWindowDestwin ()
virtual void Destwin (NCursesWindow *dwin)
virtual void resize (wsze nsze)
virtual void wRecoded ()
virtual void setDirty ()
int update ()
virtual int setpos ()
virtual wpos CurPos () const
int ScrlTo (const wpos &newpos)
int ScrlLine (const int line)
int ScrlCol (const int col)
int ScrlDown (const int lines=1)
int ScrlUp (const int lines=1)
int ScrlRight (const int cols=1)
int ScrlLeft (const int cols=1)
virtual bool handleInput (wint_t key)

Protected Member Functions

int vheight () const
bool pageing () const
virtual int dirtyPad ()
virtual int setpos (const wpos &newpos)
int adjpos (const wpos &offset)
virtual void updateScrollHint ()
virtual void directDraw (NCursesWindow &w, const wrect at, unsigned lineno)

Protected Attributes

const NCWidgetparw
NCursesWindowdestwin
wrect drect
wrect srect
wpos maxdpos
wpos maxspos
bool dclear
bool dirty

Detailed Description

Definition at line 93 of file NCPad.h.


Member Function Documentation

virtual void NCPad::directDraw ( NCursesWindow w,
const wrect  at,
unsigned  lineno 
) [inline, protected, virtual]

Directly draw a table item at a specific location.

update usually copies the visible table content from the NCursesPad to destwin. In case the NCursesPad is truncated, the visible lines are prepared immediately before they are written to destwin

See also:
_vheight.

Reimplemented in NCTablePad.

Definition at line 151 of file NCPad.h.

bool NCPad::pageing ( ) const [inline, protected]

Whether the Pad is truncated (we're pageing).

Definition at line 129 of file NCPad.h.

int NCPad::vheight ( ) const [inline, protected]

The (virtual) height of the Pad (even if truncated).

Definition at line 126 of file NCPad.h.

Here is the call graph for this function:


The documentation for this class was generated from the following files:
 All Classes Functions Variables