Revision 4bd09fe2
Added by Leszek Koltunski 2 months ago
src/main/java/org/distorted/config/ConfigScreenPane.java | ||
---|---|---|
79 | 79 |
|
80 | 80 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
81 | 81 |
|
82 |
void resetUI() |
|
82 |
void resetUI(ConfigActivity act)
|
|
83 | 83 |
{ |
84 | 84 |
mSeekBarBorders.setProgress(DEFAULT_BORDERS); |
85 | 85 |
mSeekBarCorners.setProgress(DEFAULT_CORNERS); |
86 | 86 |
|
87 |
markButton(0,0); |
|
87 |
act.runOnUiThread(new Runnable() |
|
88 |
{ |
|
89 |
@Override |
|
90 |
public void run() |
|
91 |
{ |
|
92 |
markButton(0,0); |
|
93 |
} |
|
94 |
}); |
|
88 | 95 |
} |
89 | 96 |
|
90 | 97 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
... | ... | |
178 | 185 |
return COLORS[mRow][mCol]; |
179 | 186 |
} |
180 | 187 |
|
188 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
189 |
|
|
190 |
int getCurrentBorders() |
|
191 |
{ |
|
192 |
return mCurrentBorders; |
|
193 |
} |
|
194 |
|
|
195 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
196 |
|
|
197 |
int getCurrentCorners() |
|
198 |
{ |
|
199 |
return mCurrentCorners; |
|
200 |
} |
|
201 |
|
|
181 | 202 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
182 | 203 |
|
183 | 204 |
ConfigScreenPane(final ConfigActivity act, int objectOrdinal) |
Also available in: Unified diff
progress with configurable stickers