Adonthell 0.4
win_scroll Class Reference
Inheritance diagram for win_scroll:
Collaboration diagram for win_scroll:

List of all members.

Public Member Functions

u_int16 amplitude ()
virtual void add (win_base *)
virtual void remove (win_base *)
virtual void remove_all ()
void resize (u_int16 tl, u_int16 th)
 Rezise the win_*.
void destroy ()
bool draw ()
 Draw process.
bool update ()
 Update process.
bool input_update ()
 Input Update process @.
void set_space_between_border (u_int16)
void set_space_between_object (u_int16)
virtual void set_pos (const u_int8 pos)
u_int16 cursor_y ()
void set_auto_scrollbar (bool b)
void set_auto_refresh (bool b)
void set_brightness (bool b)
 Set the transluency parameter.
void set_trans (bool b)
 Set the transluency parameter.

Static Public Attributes

static const u_int8 PAD_DEFAULT = 5

Protected Member Functions

bool up ()
bool down ()
void find_amplitude ()
void update_amplitude ()

Protected Attributes

u_int16 max_amplitude_
u_int16 cur_amplitude_
u_int16 index_pad_
u_int16 cursor_y_
bool auto_scrollbar_
bool auto_refresh_

Detailed Description

Definition at line 21 of file win_scroll.h.


Member Function Documentation

void win_scroll::resize ( u_int16  tl,
u_int16  th 
) [virtual]

Rezise the win_*.

Parameters:
tlnew horizontal position.
thnew vertical position.

Reimplemented from win_container.

Definition at line 53 of file win_scroll.cc.

bool win_scroll::draw ( ) [virtual]

Draw process.

Returns:
true if draw is successful, false otherwise

Reimplemented from win_container.

Definition at line 163 of file win_scroll.cc.

bool win_scroll::update ( ) [virtual]

Update process.

Returns:
true if update is successful, false otherwise

Reimplemented from win_container.

Reimplemented in win_select.

Definition at line 186 of file win_scroll.cc.

bool win_scroll::input_update ( ) [virtual]

Input Update process @.

Reimplemented from win_container.

Reimplemented in win_select.

Definition at line 212 of file win_scroll.cc.

void win_scroll::set_brightness ( bool  b) [inline, virtual]

Set the transluency parameter.

Parameters:
btrue if the win_* should be in transluency, false otherwise

Reimplemented from win_container.

Definition at line 59 of file win_scroll.h.

void win_scroll::set_trans ( bool  b) [inline, virtual]

Set the transluency parameter.

Parameters:
btrue if the win_* should be ins transluency, false otherwise

Reimplemented from win_container.

Definition at line 61 of file win_scroll.h.


The documentation for this class was generated from the following files: