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

Method drawCursor

src/main/java/Client/SmilePicker.java:151–160  ·  view source on GitHub ↗
(Graphics g, int width, int height)

Source from the content-addressed store, hash-verified

149 }
150
151 public void drawCursor(Graphics g, int width, int height){
152 int x=xBorder+(xCursor*imgWidth);
153
154 g.setColor(getColorBGnd());
155 g.fillRect(0,0,width, height);
156
157 g.translate(x,0);
158 super.drawCursor(g, imgWidth, lineHeight);
159 g.translate(-x,0);
160 }
161
162
163 public void pageLeft(){

Callers

nothing calls this directly

Calls 4

getColorBGndMethod · 0.95
setColorMethod · 0.45
fillRectMethod · 0.45
translateMethod · 0.45

Tested by

no test coverage detected