Line 1177... |
Line 1177... |
1177 |
std::map<std::string,std::string>& getListViewFieldMap() { return listFieldMap; }
|
1177 |
std::map<std::string,std::string>& getListViewFieldMap() { return listFieldMap; }
|
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 |
|
1183 |
|
1183 |
protected:
|
1184 |
protected:
|
1184 |
BUTTONTYPE getButtonType(const std::string& bt);
|
1185 |
BUTTONTYPE getButtonType(const std::string& bt);
|
1185 |
FEEDBACK getButtonFeedback(const std::string& fb);
|
1186 |
FEEDBACK getButtonFeedback(const std::string& fb);
|
1186 |
SkBitmap drawImageButton(SkBitmap& imgRed, SkBitmap& imgMask, int width, int height, SkColor col1, SkColor col2);
|
1187 |
SkBitmap drawImageButton(SkBitmap& imgRed, SkBitmap& imgMask, int width, int height, SkColor col1, SkColor col2);
|
Line 1310... |
Line 1311... |
1310 |
int ri{0}; // Bargraph inverted (0 = normal, 1 = inverted)
|
1311 |
int ri{0}; // Bargraph inverted (0 = normal, 1 = inverted)
|
1311 |
int rn{0}; // Bargraph: Range drag increment
|
1312 |
int rn{0}; // Bargraph: Range drag increment
|
1312 |
int ac_di{0}; // (guess) Direction of text: 0 = left to right (default); 1 = right to left
|
1313 |
int ac_di{0}; // (guess) Direction of text: 0 = left to right (default); 1 = right to left
|
1313 |
int hd{0}; // 1 = Hidden, 0 = Normal visible
|
1314 |
int hd{0}; // 1 = Hidden, 0 = Normal visible
|
1314 |
int da{0}; // 1 = Disabled, 0 = Normal active
|
1315 |
int da{0}; // 1 = Disabled, 0 = Normal active
|
- |
|
1316 |
int pp{0}; // >0 = password protected; Range 1 to 4
|
1315 |
std::string lf; // Bargraph function: empty = display only, active, active centering, drag, drag centering
|
1317 |
std::string lf; // Bargraph function: empty = display only, active, active centering, drag, drag centering
|
1316 |
std::string sd; // Name/Type of slider for a bargraph
|
1318 |
std::string sd; // Name/Type of slider for a bargraph
|
1317 |
std::string sc; // Color of slider (for bargraph)
|
1319 |
std::string sc; // Color of slider (for bargraph)
|
1318 |
int mt{0}; // Length of text area (0 = 2000)
|
1320 |
int mt{0}; // Length of text area (0 = 2000)
|
1319 |
std::string dt; // "multiple" textarea has multiple lines, else single line
|
1321 |
std::string dt; // "multiple" textarea has multiple lines, else single line
|
Line 1378... |
Line 1380... |
1378 |
std::vector<std::string> mListContent; // The content of a list, if this button is one
|
1380 |
std::vector<std::string> mListContent; // The content of a list, if this button is one
|
1379 |
bool mSubViewPart{false}; // TRUE = The button is part of a subview item.
|
1381 |
bool mSubViewPart{false}; // TRUE = The button is part of a subview item.
|
1380 |
int mCursorPosition{0}; // The cursor position if this is of type TEXT_INPUT
|
1382 |
int mCursorPosition{0}; // The cursor position if this is of type TEXT_INPUT
|
1381 |
bool mHasFocus{false}; // If this is of type TEXT_INPUT this holds the focus state
|
1383 |
bool mHasFocus{false}; // If this is of type TEXT_INPUT this holds the focus state
|
1382 |
std::string dummy; // dummy string used to return an empty string.
|
1384 |
std::string dummy; // dummy string used to return an empty string.
|
- |
|
1385 |
std::string mPassword; // Contains the last typed password (askPassword()).
|
1383 |
};
|
1386 |
};
|
1384 |
|
1387 |
|
1385 |
typedef struct BUTTONS_T
|
1388 |
typedef struct BUTTONS_T
|
1386 |
{
|
1389 |
{
|
1387 |
TButton *button{nullptr};
|
1390 |
TButton *button{nullptr};
|