#include <PasswordPanel.hh>
Definition at line 29 of file PasswordPanel.hh.
Public Member Functions | |
PasswordPanel () | |
Creates a new PasswordPanel. | |
void | setPassword (const Password *password) |
Sets the password string drawn by this PasswordPanel. | |
Private Member Functions | |
wxPoint | getLetterPos (wxChar letter) const |
Gets the upper-left corner position of a letter in the alphabet bitmap. | |
void | onEraseBackground (wxEraseEvent &event) |
Called to erase the background on this PasswordPanel. | |
void | onPaint (wxPaintEvent &event) |
Called to paint this PasswordPanel. | |
Private Attributes | |
wxBitmap | alphabet |
const Password * | password |
Static Private Attributes | |
static const int | START_X = 4 |
static const int | START_Y = 4 |
static const int | CHARS_PER_ROW = 13 |
static const int | CHAR_WIDTH = 16 |
static const int | CHAR_HEIGHT = 16 |
|
Creates a new PasswordPanel.
Definition at line 48 of file PasswordPanel.cc. |
|
Gets the upper-left corner position of a letter in the alphabet bitmap.
Definition at line 50 of file PasswordPanel.cc. |
|
Called to erase the background on this PasswordPanel.
Definition at line 83 of file PasswordPanel.hh. |
|
Called to paint this PasswordPanel.
Definition at line 57 of file PasswordPanel.cc. |
|
Sets the password string drawn by this PasswordPanel.
Definition at line 81 of file PasswordPanel.hh. |
|
Definition at line 34 of file PasswordPanel.hh. |
|
Definition at line 41 of file PasswordPanel.hh. |
|
Definition at line 40 of file PasswordPanel.hh. |
|
Definition at line 39 of file PasswordPanel.hh. |
|
Definition at line 35 of file PasswordPanel.hh. |
|
Definition at line 37 of file PasswordPanel.hh. |
|
Definition at line 38 of file PasswordPanel.hh. |