#include <bcpot.h>
Inheritance diagram for BC_Pot:

Public Member Functions | |
| BC_Pot (int x, int y, VFrame **data) | |
| virtual | ~BC_Pot () |
| int | initialize () |
| virtual float | get_percentage () |
| virtual int | percentage_to_value (float percentage) |
| virtual int | handle_event () |
| virtual char * | get_caption () |
| virtual int | increase_value () |
| virtual int | decrease_value () |
| void | set_use_caption (int value) |
| int | reposition_window (int x, int y) |
| int | repeat_event (int64_t repeat_id) |
| int | cursor_enter_event () |
| int | cursor_leave_event () |
| int | button_press_event () |
| virtual int | button_release_event () |
| int | cursor_motion_event () |
| int | keypress_event () |
Static Public Member Functions | |
| static int | calculate_h () |
Private Member Functions | |
| int | set_data (VFrame **data) |
| int | draw () |
| float | percentage_to_angle (float percentage) |
| float | angle_to_percentage (float angle) |
| int | angle_to_coords (int &x1, int &y1, int &x2, int &y2, float angle) |
| float | coords_to_angle (int x2, int y2) |
| void | show_value_tooltip () |
Private Attributes | |
| VFrame ** | data |
| BC_Pixmap * | images [POT_STATES] |
| char | caption [BCTEXTLEN] |
| char | temp_tooltip_text [BCTEXTLEN] |
| int | status |
| int64_t | keypress_tooltip_timer |
| float | angle_offset |
| float | start_cursor_angle |
| float | start_needle_angle |
| float | prev_angle |
| float | angle_correction |
| int | use_caption |
Friends | |
| class | BC_FPot |
| class | BC_IPot |
| class | BC_QPot |
| class | BC_PercentagePot |
Definition at line 18 of file bcpot.h.
|
||||||||||||||||
|
|
|
|
|
|
||||||||||||||||||||||||
|
|
|
|
|
|
|
Reimplemented from BC_WindowBase. |
|
|
Reimplemented from BC_WindowBase. |
|
|
|
|
||||||||||||
|
|
|
|
Reimplemented from BC_WindowBase. |
|
|
Reimplemented from BC_WindowBase. |
|
|
Reimplemented from BC_WindowBase. |
|
|
Reimplemented in BC_FPot, BC_IPot, BC_QPot, and BC_PercentagePot. |
|
|
|
|
|
Reimplemented in BC_FPot, BC_IPot, BC_QPot, and BC_PercentagePot. |
|
|
Reimplemented in BC_FPot, BC_IPot, BC_QPot, and BC_PercentagePot. |
|
|
|
|
|
Reimplemented in BC_FPot, BC_IPot, BC_QPot, and BC_PercentagePot. |
|
|
Reimplemented from BC_SubWindow. |
|
|
Reimplemented from BC_WindowBase. |
|
|
|
|
|
Reimplemented in BC_FPot, BC_IPot, BC_QPot, and BC_PercentagePot. |
|
|
Reimplemented from BC_WindowBase. |
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.4