Exemple #1
0
 @Override
 protected void drawBackground(Graphics g) {
   float w = getWidth();
   float h = getHeight();
   g.drawImage(FSkinTexture.BG_TEXTURE, 0, 0, w, h);
   g.fillRect(FScreen.TEXTURE_OVERLAY_COLOR, 0, 0, w, h);
 }
Exemple #2
0
 @Override
 protected void drawOverlay(Graphics g) {
   float w = getWidth();
   float h = getHeight();
   g.drawRect(2, BORDER_COLOR, 0, 0, w, h); // ensure border shows up on all sides
 }