MCPcopy Index your code
hub / github.com/BombusMod/BombusMod / set_xCursor

Method set_xCursor

src/main/java/Client/SmilePicker.java:210–219  ·  view source on GitHub ↗
(int x)

Source from the content-addressed store, hash-verified

208 }
209
210 private void set_xCursor(int x) {
211 if (x >= xCnt*imgWidth)
212 return;
213 xCursor = x/imgWidth;
214 setRotator();
215 if (cursor != lines-1)
216 return;
217 if (xCursor >= xLastCnt)
218 xCursor=xLastCnt-1;
219 }
220
221 protected void pointerPressed(int x, int y) {
222 super.pointerPressed(x,y);

Callers 2

pointerPressedMethod · 0.95
pointerDraggedMethod · 0.95

Calls 1

setRotatorMethod · 0.80

Tested by

no test coverage detected