密猟オンラインクライアントプログラム JAVAベース
メインビュー表示の調整
| @@ -16,7 +16,7 @@ | ||
| 16 | 16 | static final int CANVAS_WIDTH = MAINVIEW_WIDTH + 8 + OVERVIEW_WIDTH * 16; |
| 17 | 17 | static final int CANVAS_HEIGHT = MAINVIEW_HEIGHT; |
| 18 | 18 | static final int ViewWidth[] = { |
| 19 | - 480, 240, 120, 60, 30 | |
| 19 | + 350, 200, 80, 50, 30 | |
| 20 | 20 | }; |
| 21 | 21 | static final int dirPattern[][] = { |
| 22 | 22 | {1, 2, 3, 0}, |
| @@ -243,6 +243,8 @@ | ||
| 243 | 243 | int i; |
| 244 | 244 | int ey; |
| 245 | 245 | calc_baserect(r, ViewWidth[y], ViewWidth[y]); |
| 246 | + offg.setColor(Color.darkGray); | |
| 247 | + offg.fillRect(0, r.y, r.x, r.height); | |
| 246 | 248 | ey = (int) (r.y + r.height - 1); |
| 247 | 249 | offg.setColor(Color.white); |
| 248 | 250 | offg.drawLine(0, ey, MAINVIEW_WIDTH - 1, ey); |
| @@ -252,6 +254,9 @@ | ||
| 252 | 254 | } |
| 253 | 255 | r.translate(ViewWidth[y], 0); |
| 254 | 256 | } |
| 257 | + offg.setColor(Color.darkGray); | |
| 258 | + offg.fillRect(r.x, r.y, | |
| 259 | + MAINVIEW_WIDTH - r.x, r.height); | |
| 255 | 260 | } |
| 256 | 261 | } |
| 257 | 262 |