45 mTextField(textField),
97 for (
int f = 0; f < 10; f ++)
109 if (rect.
height > buttonHeight)
110 buttonHeight = rect.
height;
116 const int ySize = buttonHeight +
mSpacing;
117 for (
int f = 0; f < 10; f ++)
157 if (event.
getId() ==
"clear")
164 if (
mText.size() >= 4)
166 const Widget *
const eventSrc =
event.getSource();
167 for (
int f = 0; f < 10; f ++)
171 const std::string str =
toString(f);
183 const uint32_t multiplier = 0x3498;
184 const uint32_t baseSeed = 0x881234;
187 for (
size_t f = 0; f < 10; f ++)
189 for (
size_t f = 1; f < 10; f ++)
191 seed = baseSeed + seed * multiplier;
192 const size_t pos = seed % k;
195 const int tmp = tab[f];
201 for (
size_t f = 0; f < 10; f ++)
203 const std::string str =
toString(tab[f]);
const std::string & getId() const
virtual void add(Widget *const widget)
void setOpaque(Opaque opaque)
void removeDragged(const Widget *const widget)
void shuffle(uint32_t seed) const
void action(const ActionEvent &event)
static void finalCleanup()
Pincode(const Widget2 *const widget, TextField *const textField)
int getOption(const std::string &name) const
void setText(const std::string &text)
void unload(Skin *const skin)
static std::string getThemePath()
Skin * load(const std::string &filename, const std::string &filename2, const bool full, const std::string &defaultPath)
std::string toString(T const &value)
converts any type to a string
static const int buttonWidth