Line 1178... |
Line 1178... |
1178 |
void listViewNavigate(const std::string& command, bool select=false);
|
1178 |
void listViewNavigate(const std::string& command, bool select=false);
|
1179 |
void listViewRefresh(int interval, bool force=false);
|
1179 |
void listViewRefresh(int interval, bool force=false);
|
1180 |
void listViewSortData(const std::vector<std::string>& columns, LIST_SORT order, const std::string& override);
|
1180 |
void listViewSortData(const std::vector<std::string>& columns, LIST_SORT order, const std::string& override);
|
1181 |
int getBorderSize(const std::string& name);
|
1181 |
int getBorderSize(const std::string& name);
|
1182 |
void setPassword(const std::string& pw) { mPassword = pw; }
|
1182 |
void setPassword(const std::string& pw) { mPassword = pw; }
|
- |
|
1183 |
void setUserName(const std::string& user);
|
1183 |
|
1184 |
|
1184 |
protected:
|
1185 |
protected:
|
1185 |
BUTTONTYPE getButtonType(const std::string& bt);
|
1186 |
BUTTONTYPE getButtonType(const std::string& bt);
|
1186 |
FEEDBACK getButtonFeedback(const std::string& fb);
|
1187 |
FEEDBACK getButtonFeedback(const std::string& fb);
|
1187 |
SkBitmap drawImageButton(SkBitmap& imgRed, SkBitmap& imgMask, int width, int height, SkColor col1, SkColor col2);
|
1188 |
SkBitmap drawImageButton(SkBitmap& imgRed, SkBitmap& imgMask, int width, int height, SkColor col1, SkColor col2);
|
Line 1381... |
Line 1382... |
1381 |
bool mSubViewPart{false}; // TRUE = The button is part of a subview item.
|
1382 |
bool mSubViewPart{false}; // TRUE = The button is part of a subview item.
|
1382 |
int mCursorPosition{0}; // The cursor position if this is of type TEXT_INPUT
|
1383 |
int mCursorPosition{0}; // The cursor position if this is of type TEXT_INPUT
|
1383 |
bool mHasFocus{false}; // If this is of type TEXT_INPUT this holds the focus state
|
1384 |
bool mHasFocus{false}; // If this is of type TEXT_INPUT this holds the focus state
|
1384 |
std::string dummy; // dummy string used to return an empty string.
|
1385 |
std::string dummy; // dummy string used to return an empty string.
|
1385 |
std::string mPassword; // Contains the last typed password (askPassword()).
|
1386 |
std::string mPassword; // Contains the last typed password (askPassword()).
|
- |
|
1387 |
std::string mUser; // If this contains a user name contained in the User Password list, the user is asked for a password.
|
1386 |
};
|
1388 |
};
|
1387 |
|
1389 |
|
1388 |
typedef struct BUTTONS_T
|
1390 |
typedef struct BUTTONS_T
|
1389 |
{
|
1391 |
{
|
1390 |
TButton *button{nullptr};
|
1392 |
TButton *button{nullptr};
|