(Graphics g)
| 170 | } |
| 171 | |
| 172 | @Override |
| 173 | protected void drawBackground(Graphics g) { |
| 174 | if (Forge.isLandscapeMode() && getLandscapeBackdropScreen() != null) { |
| 175 | return; //don't draw background if this screen has a backdrop |
| 176 | } |
| 177 | float w = getWidth(); |
| 178 | float h = getHeight(); |
| 179 | g.drawImage(Forge.isMobileAdventureMode ? FSkinTexture.ADV_BG_TEXTURE : FSkinTexture.BG_TEXTURE, 0, 0, w, h); |
| 180 | g.fillRect(getTextureOverlayColor(), 0, 0, w, h); |
| 181 | } |
| 182 | |
| 183 | public static abstract class Header extends FContainer { |
| 184 | public static FSkinColor getBtnPressedColor() { |
nothing calls this directly
no test coverage detected