game logic done. one start - one turn
1.1 --- a/include/lf/mj/Core.h Sun Nov 01 17:59:23 2009 +0700
1.2 +++ b/include/lf/mj/Core.h Sun Nov 01 19:55:42 2009 +0700
1.3 @@ -24,6 +24,8 @@
1.4 bool loadField(const core::stringc &path);
1.5 void mousePressed(input::CMouseEvent &e);
1.6 void run();
1.7 + u32 turnsLeft() const;
1.8 + void ui();
1.9
1.10 private:
1.11 render::IRenderWindow *mWin;
1.12 @@ -43,6 +45,8 @@
1.13 typedef Tiles::const_iterator TIt;
1.14 Tiles mTiles;
1.15 TileTemplate *mTmpl;
1.16 + gui::CGUILabel *mLbFPSPolys;
1.17 + gui::CGUILabel *mLbTurnsLeft;
1.18 };
1.19
1.20 } // namespace lf
2.1 Binary file res/gui/Vera.ttf has changed
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
3.2 +++ b/res/gui/clearlooks.lfgt Sun Nov 01 19:55:42 2009 +0700
3.3 @@ -0,0 +1,1841 @@
3.4 +[texture]
3.5 + filename=vir_mouse_silver.png
3.6 + name=vir_mouse
3.7 +[/texture]
3.8 +[texture]
3.9 + filename=clearlooks.png
3.10 + name=clearlooks
3.11 +[/texture]
3.12 +[font]
3.13 + filename=Vera.ttf
3.14 + name=vera24
3.15 + size=24
3.16 +[/font]
3.17 +[font]
3.18 + filename=Vera.ttf
3.19 + name=vera16
3.20 + size=16
3.21 +[/font]
3.22 +[font]
3.23 + filename=Vera.ttf
3.24 + name=vera12
3.25 + size=12
3.26 +[/font]
3.27 +[font]
3.28 + filename=Vera.ttf
3.29 + name=vera11
3.30 + size=11
3.31 +[/font]
3.32 +[font]
3.33 + filename=Vera.ttf
3.34 + name=vera10
3.35 + size=10
3.36 +[/font]
3.37 +[font]
3.38 + filename=Vera.ttf
3.39 + name=vera9
3.40 + size=9
3.41 +[/font]
3.42 +[theme]
3.43 + name=clearlooks
3.44 + [widget]
3.45 + type=EGWT_FILE_DIALOG
3.46 + name=filedialog
3.47 + [homeicon]
3.48 + texture=clearlooks
3.49 + imageRect=0,480,32,32
3.50 + color=255,255,255,255
3.51 + [/homeicon]
3.52 + [driveicon]
3.53 + texture=clearlooks
3.54 + imageRect=33,480,32,32
3.55 + color=255,255,255,255
3.56 + [/driveicon]
3.57 + [appdiricon]
3.58 + texture=clearlooks
3.59 + imageRect=66,480,32,32
3.60 + color=255,255,255,255
3.61 + [/appdiricon]
3.62 + [foldericon]
3.63 + texture=clearlooks
3.64 + imageRect=99,480,32,32
3.65 + color=255,255,255,255
3.66 + [/foldericon]
3.67 + [fileicon]
3.68 + texture=clearlooks
3.69 + imageRect=132,480,32,32
3.70 + color=255,255,255,255
3.71 + [/fileicon]
3.72 + [/widget]
3.73 + [widget]
3.74 + type=EGWT_MESSAGE_DIALOG
3.75 + name=messagedialog
3.76 + [question]
3.77 + texture=clearlooks
3.78 + imageRect=165,480,32,32
3.79 + color=255,255,255,255
3.80 + [/question]
3.81 + [error]
3.82 + texture=clearlooks
3.83 + imageRect=197,480,32,32
3.84 + color=255,255,255,255
3.85 + [/error]
3.86 + [warning]
3.87 + texture=clearlooks
3.88 + imageRect=229,480,32,32
3.89 + color=255,255,255,255
3.90 + [/warning]
3.91 + [info]
3.92 + texture=clearlooks
3.93 + imageRect=261,480,32,32
3.94 + color=255,255,255,255
3.95 + [/info]
3.96 + [cancel]
3.97 + texture=clearlooks
3.98 + imageRect=293,496,16,16
3.99 + color=255,255,255,255
3.100 + [/cancel]
3.101 + [ok]
3.102 + texture=clearlooks
3.103 + imageRect=309,496,16,16
3.104 + color=255,255,255,255
3.105 + [/ok]
3.106 + [/widget]
3.107 + [widget]
3.108 + type=EGWT_MOUSE_POINTER
3.109 + name=mouse
3.110 + [normal]
3.111 + texture=vir_mouse
3.112 + imageRect=0, 0, 15, 22
3.113 + correctX=2
3.114 + correctY=1
3.115 + [/normal]
3.116 + [move]
3.117 + texture=vir_mouse
3.118 + imageRect=0, 23, 30, 29
3.119 + correctX=15
3.120 + correctY=15
3.121 + [/move]
3.122 + [resizehorizontal]
3.123 + texture=vir_mouse
3.124 + imageRect=34, 3, 24, 15
3.125 + correctX=14
3.126 + correctY=14
3.127 + [/resizehorizontal]
3.128 + [resizevertical]
3.129 + texture=vir_mouse
3.130 + imageRect=17, 0, 16, 22
3.131 + correctX=15
3.132 + correctY=13
3.133 + [/resizevertical]
3.134 + [resizediatlbr]
3.135 + texture=vir_mouse
3.136 + imageRect=58, 1, 20, 20
3.137 + correctX=12
3.138 + correctY=13
3.139 + [/resizediatlbr]
3.140 + [resizediabltr]
3.141 + texture=vir_mouse
3.142 + imageRect=78, 1, 20, 20
3.143 + correctX=12
3.144 + correctY=13
3.145 + [/resizediabltr]
3.146 + [unavailable]
3.147 + texture=vir_mouse
3.148 + imageRect=34, 25, 22, 26
3.149 + [/unavailable]
3.150 + [text]
3.151 + texture=vir_mouse
3.152 + imageRect=115, 0, 13, 22
3.153 + correctX=10
3.154 + correctY=10
3.155 + [/text]
3.156 + [busy]
3.157 + texture=vir_mouse
3.158 + imageRect=64, 25, 25, 27
3.159 + [/busy]
3.160 + [alternateselect]
3.161 + texture=vir_mouse
3.162 + imageRect=96, 25, 26, 26
3.163 + [/alternateselect]
3.164 + [helpselect]
3.165 + texture=vir_mouse
3.166 + imageRect=1, 52, 24, 26
3.167 + [/helpselect]
3.168 + [handwriting]
3.169 + texture=vir_mouse
3.170 + imageRect=34, 54, 24, 27
3.171 + [/handwriting]
3.172 + [backgroundwork]
3.173 + texture=vir_mouse
3.174 + imageRect=64, 52, 30, 29
3.175 + [/backgroundwork]
3.176 + [precisionselect]
3.177 + texture=vir_mouse
3.178 + imageRect=96, 52, 30, 28
3.179 + correctX=14
3.180 + correctY=14
3.181 + [/precisionselect]
3.182 + [linkselect]
3.183 + texture=vir_mouse
3.184 + imageRect=100, 0, 16, 23
3.185 + [/linkselect]
3.186 + [/widget]
3.187 + [widget]
3.188 + type=EGWT_PANEL
3.189 + name=panel
3.190 + [borders]
3.191 + [left]
3.192 + texture=clearlooks
3.193 + imageRect=194, 49, 2, 59
3.194 + color=255,255,255,255
3.195 + [/left]
3.196 + [leftTop]
3.197 + texture=clearlooks
3.198 + imageRect=194, 47, 2, 2
3.199 + color=255,255,255,255
3.200 + [/leftTop]
3.201 + [leftBottom]
3.202 + texture=clearlooks
3.203 + imageRect=194, 108, 2, 3
3.204 + color=255,255,255,255
3.205 + [/leftBottom]
3.206 + [right]
3.207 + texture=clearlooks
3.208 + imageRect=263, 49, 3, 59
3.209 + color=255,255,255,255
3.210 + [/right]
3.211 + [rightTop]
3.212 + texture=clearlooks
3.213 + imageRect=263, 47, 3, 2
3.214 + color=255,255,255,255
3.215 + [/rightTop]
3.216 + [rightBottom]
3.217 + texture=clearlooks
3.218 + imageRect=263, 108, 3, 3
3.219 + color=255,255,255,255
3.220 + [/rightBottom]
3.221 + [top]
3.222 + texture=clearlooks
3.223 + imageRect=196, 47, 67, 2
3.224 + color=255,255,255,255
3.225 + [/top]
3.226 + [topLeft]
3.227 + texture=clearlooks
3.228 + imageRect=194, 47, 2, 2
3.229 + color=255,255,255,255
3.230 + [/topLeft]
3.231 + [topRight]
3.232 + texture=clearlooks
3.233 + imageRect=263, 47, 3, 2
3.234 + color=255,255,255,255
3.235 + [/topRight]
3.236 + [bottom]
3.237 + texture=clearlooks
3.238 + imageRect=196, 108, 67, 3
3.239 + color=255,255,255,255
3.240 + [/bottom]
3.241 + [bottomLeft]
3.242 + texture=clearlooks
3.243 + imageRect=194, 108, 2, 3
3.244 + color=255,255,255,255
3.245 + [/bottomLeft]
3.246 + [bottomRight]
3.247 + texture=clearlooks
3.248 + imageRect=263, 108, 3, 3
3.249 + color=255,255,255,255
3.250 + [/bottomRight]
3.251 + [/borders]
3.252 + [grip]
3.253 + left=4
3.254 + right=4
3.255 + top=6
3.256 + bottom=6
3.257 + [/grip]
3.258 + [/widget]
3.259 + [widget]
3.260 + type=EGWT_BUTTON
3.261 + name=button
3.262 + [normal]
3.263 + [topLeft]
3.264 + texture=clearlooks
3.265 + imageRect=11, 8, 3, 3
3.266 + [/topLeft]
3.267 + [top]
3.268 + texture=clearlooks
3.269 + imageRect=14, 8, 77, 3
3.270 + [/top]
3.271 + [topRight]
3.272 + texture=clearlooks
3.273 + imageRect=91, 8, 3, 3
3.274 + [/topRight]
3.275 + [left]
3.276 + texture=clearlooks
3.277 + imageRect=11, 11, 3, 26
3.278 + [/left]
3.279 + [center]
3.280 + texture=clearlooks
3.281 + imageRect=14, 11, 77, 26
3.282 + [/center]
3.283 + [right]
3.284 + texture=clearlooks
3.285 + imageRect=91, 11, 3, 26
3.286 + [/right]
3.287 + [bottomLeft]
3.288 + texture=clearlooks
3.289 + imageRect=11, 37, 3, 3
3.290 + [/bottomLeft]
3.291 + [bottom]
3.292 + texture=clearlooks
3.293 + imageRect=14, 37, 77, 3
3.294 + [/bottom]
3.295 + [bottomRight]
3.296 + texture=clearlooks
3.297 + imageRect=91, 37, 3, 3
3.298 + [/bottomRight]
3.299 + texture=clearlooks
3.300 + imageRect=11, 8, 83, 31
3.301 + color=255,255,255, 255
3.302 + [/normal]
3.303 + [hovered]
3.304 + [topLeft]
3.305 + texture=clearlooks
3.306 + imageRect=275, 8, 3, 3
3.307 + [/topLeft]
3.308 + [top]
3.309 + texture=clearlooks
3.310 + imageRect=278, 8, 77, 3
3.311 + [/top]
3.312 + [topRight]
3.313 + texture=clearlooks
3.314 + imageRect=355, 8, 3, 3
3.315 + [/topRight]
3.316 + [left]
3.317 + texture=clearlooks
3.318 + imageRect=275, 11, 3, 26
3.319 + [/left]
3.320 + [center]
3.321 + texture=clearlooks
3.322 + imageRect=278, 11, 77, 26
3.323 + [/center]
3.324 + [right]
3.325 + texture=clearlooks
3.326 + imageRect=355, 11, 3, 26
3.327 + [/right]
3.328 + [bottomLeft]
3.329 + texture=clearlooks
3.330 + imageRect=275, 37, 3, 3
3.331 + [/bottomLeft]
3.332 + [bottom]
3.333 + texture=clearlooks
3.334 + imageRect=278, 37, 77, 3
3.335 + [/bottom]
3.336 + [bottomRight]
3.337 + texture=clearlooks
3.338 + imageRect=355, 37, 3, 3
3.339 + [/bottomRight]
3.340 + texture=clearlooks
3.341 + imageRect=275, 8, 83, 31
3.342 + color=255,255,255, 255
3.343 + [/hovered]
3.344 + [pressed]
3.345 + [topLeft]
3.346 + texture=clearlooks
3.347 + imageRect=187, 8, 3, 3
3.348 + [/topLeft]
3.349 + [top]
3.350 + texture=clearlooks
3.351 + imageRect=190, 8, 77, 3
3.352 + [/top]
3.353 + [topRight]
3.354 + texture=clearlooks
3.355 + imageRect=267, 8, 3, 3
3.356 + [/topRight]
3.357 + [left]
3.358 + texture=clearlooks
3.359 + imageRect=187, 11, 3, 26
3.360 + [/left]
3.361 + [center]
3.362 + texture=clearlooks
3.363 + imageRect=190, 11, 77, 26
3.364 + [/center]
3.365 + [right]
3.366 + texture=clearlooks
3.367 + imageRect=267, 11, 3, 26
3.368 + [/right]
3.369 + [bottomLeft]
3.370 + texture=clearlooks
3.371 + imageRect=187, 37, 3, 3
3.372 + [/bottomLeft]
3.373 + [bottom]
3.374 + texture=clearlooks
3.375 + imageRect=190, 37, 77, 3
3.376 + [/bottom]
3.377 + [bottomRight]
3.378 + texture=clearlooks
3.379 + imageRect=267, 37, 3, 3
3.380 + [/bottomRight]
3.381 + texture=clearlooks
3.382 + imageRect=187, 8, 83, 31
3.383 + color=255,255,255, 255
3.384 + [/pressed]
3.385 + [disabled]
3.386 + [topLeft]
3.387 + texture=clearlooks
3.388 + imageRect=99, 8, 3, 3
3.389 + [/topLeft]
3.390 + [top]
3.391 + texture=clearlooks
3.392 + imageRect=102, 8, 77, 3
3.393 + [/top]
3.394 + [topRight]
3.395 + texture=clearlooks
3.396 + imageRect=179, 8, 3, 3
3.397 + [/topRight]
3.398 + [left]
3.399 + texture=clearlooks
3.400 + imageRect=99, 11, 3, 26
3.401 + [/left]
3.402 + [center]
3.403 + texture=clearlooks
3.404 + imageRect=102, 11, 77, 26
3.405 + [/center]
3.406 + [right]
3.407 + texture=clearlooks
3.408 + imageRect=179, 11, 3, 26
3.409 + [/right]
3.410 + [bottomLeft]
3.411 + texture=clearlooks
3.412 + imageRect=99, 37, 3, 3
3.413 + [/bottomLeft]
3.414 + [bottom]
3.415 + texture=clearlooks
3.416 + imageRect=102, 37, 77, 3
3.417 + [/bottom]
3.418 + [bottomRight]
3.419 + texture=clearlooks
3.420 + imageRect=179, 37, 3, 3
3.421 + [/bottomRight]
3.422 + texture=clearlooks
3.423 + imageRect=99, 8, 83, 31
3.424 + color=255,255,255, 255
3.425 + [/disabled]
3.426 + [focus]
3.427 + [topLeft]
3.428 + texture=clearlooks
3.429 + imageRect=275, 8, 3, 3
3.430 + [/topLeft]
3.431 + [top]
3.432 + texture=clearlooks
3.433 + imageRect=278, 8, 77, 3
3.434 + [/top]
3.435 + [topRight]
3.436 + texture=clearlooks
3.437 + imageRect=355, 8, 3, 3
3.438 + [/topRight]
3.439 + [left]
3.440 + texture=clearlooks
3.441 + imageRect=275, 11, 3, 26
3.442 + [/left]
3.443 + [center]
3.444 + texture=clearlooks
3.445 + imageRect=278, 11, 77, 26
3.446 + [/center]
3.447 + [right]
3.448 + texture=clearlooks
3.449 + imageRect=355, 11, 3, 26
3.450 + [/right]
3.451 + [bottomLeft]
3.452 + texture=clearlooks
3.453 + imageRect=275, 37, 3, 3
3.454 + [/bottomLeft]
3.455 + [bottom]
3.456 + texture=clearlooks
3.457 + imageRect=278, 37, 77, 3
3.458 + [/bottom]
3.459 + [bottomRight]
3.460 + texture=clearlooks
3.461 + imageRect=355, 37, 3, 3
3.462 + [/bottomRight]
3.463 + texture=clearlooks
3.464 + imageRect=275, 8, 83, 31
3.465 + color=255,255,255, 255
3.466 + [/focus]
3.467 + font=vera12
3.468 + [fontcolor]
3.469 + color=0,0,0, 255
3.470 + hoveredcolor=0,0,0, 255
3.471 + pressedcolor=0,0,0, 255
3.472 + disabledcolor=191,191,191, 255
3.473 + focuscolor=0,0,0, 255
3.474 + [/fontcolor]
3.475 + [insets]
3.476 + top=5
3.477 + left=4
3.478 + bottom=5
3.479 + right=4
3.480 + [/insets]
3.481 + [/widget]
3.482 + [widget]
3.483 + type=EGWT_CHECKBOX
3.484 + name=checkbox
3.485 + [normal]
3.486 + texture=clearlooks
3.487 + imageRect=421, 52, 12, 12
3.488 + color=255,255,255,255
3.489 + [/normal]
3.490 + [checked]
3.491 + texture=clearlooks
3.492 + imageRect=405, 52, 12, 12
3.493 + color=255,255,255,255
3.494 + [/checked]
3.495 + [disabled]
3.496 + texture=clearlooks
3.497 + imageRect=437, 52, 12, 12
3.498 + color=255,255,255,255
3.499 + [/disabled]
3.500 + [disabledchecked]
3.501 + texture=clearlooks
3.502 + imageRect=453, 52, 12, 12
3.503 + color=255,255,255,255
3.504 + [/disabledchecked]
3.505 + font=vera11
3.506 + [fontcolor]
3.507 + color=0,0,0,255
3.508 + hoveredcolor=0,0,0,255
3.509 + pressedcolor=0,0,0,255
3.510 + disabledcolor=192,192,192,255
3.511 + focuscolor=0,0,0,255
3.512 + [/fontcolor]
3.513 + labeloffsetx=15
3.514 + labeloffsety=0
3.515 + [/widget]
3.516 + [widget]
3.517 + type=EGWT_CONTEXT_MENU
3.518 + name=contextmenu
3.519 + font=vera12
3.520 + [fontcolor]
3.521 + color=0,0,0,255
3.522 + hoveredcolor=0,0,0,255
3.523 + pressedcolor=0,0,0,255
3.524 + disabledcolor=192,192,192,255
3.525 + focuscolor=0,0,0,255
3.526 + [/fontcolor]
3.527 + [background]
3.528 + texture=clearlooks
3.529 + imageRect=194, 47, 72, 64
3.530 + [/background]
3.531 + [highlight]
3.532 + colorTopLeft=255,255,255,255
3.533 + colorTopRight=255,255,255,255
3.534 + colorBottomLeft=255,255,255,255
3.535 + colorBottomRight=255,255,255,255
3.536 + [/highlight]
3.537 + focusLabelColor=255,255,255,255
3.538 + [borders]
3.539 + left=2
3.540 + right=2
3.541 + top=1
3.542 + bottom=1
3.543 + [/borders]
3.544 + height=24
3.545 + headerheight=24
3.546 + cliphighlightoborders=0
3.547 + [/widget]
3.548 + [widget]
3.549 + type=EGWT_MENU_ITEM
3.550 + name=menuitem
3.551 + [normal]
3.552 + texture=clearlooks
3.553 + imageRect=196, 49, 68, 59
3.554 + color=255,255,255,255
3.555 + [/normal]
3.556 + [hovered]
3.557 + texture=clearlooks
3.558 + imageRect=188, 14, 81, 19
3.559 + color=255,255,255,255
3.560 + [/hovered]
3.561 + [pressed]
3.562 + texture=clearlooks
3.563 + imageRect=196, 49, 67, 59
3.564 + color=255,255,255,255
3.565 + [/pressed]
3.566 + [disabled]
3.567 + texture=clearlooks
3.568 + imageRect=196, 49, 67, 59
3.569 + color=196,196,196,255
3.570 + [/disabled]
3.571 + [focus]
3.572 + texture=clearlooks
3.573 + imageRect=196, 116, 67, 10
3.574 + color=255,255,255,255
3.575 + [/focus]
3.576 + font=vera10
3.577 + [fontcolor]
3.578 + color=0,0,0,255
3.579 + hoveredcolor=0,0,0,255
3.580 + pressedcolor=0,0,0,255
3.581 + disabledcolor=192,192,192,255
3.582 + focuscolor=0,0,0,255
3.583 + [/fontcolor]
3.584 + [insets]
3.585 + top=2
3.586 + left=2
3.587 + bottom=2
3.588 + right=2
3.589 + [/insets]
3.590 + [/widget]
3.591 + [widget]
3.592 + type=EGWT_MENU_BAR
3.593 + name=menubar
3.594 + font=vera12
3.595 + [fontcolor]
3.596 + color=0,0,255,255
3.597 + hoveredcolor=128,128,128,255
3.598 + pressedcolor=0,0,0,255
3.599 + disabledcolor=192,192,192,255
3.600 + focuscolor=0,0,0,255
3.601 + [/fontcolor]
3.602 + [background]
3.603 + texture=clearlooks
3.604 + imageRect=194, 48, 71, 62
3.605 + [/background]
3.606 + [highlight]
3.607 + colorTopLeft=255,255,255,255
3.608 + colorTopRight=255,255,255,255
3.609 + colorBottomLeft=255,255,255,255
3.610 + colorBottomRight=255,255,255,255
3.611 + [/highlight]
3.612 + focusLabelColor=255,255,255,255
3.613 + [borders]
3.614 + left=0
3.615 + right=0
3.616 + top=0
3.617 + bottom=0
3.618 + [/borders]
3.619 + clipHighlighToBorders=0
3.620 + height=26
3.621 + [/widget]
3.622 + [widget]
3.623 + type=EGWT_PROGRESS_BAR
3.624 + name=progressbar
3.625 + [normal]
3.626 + texture=clearlooks
3.627 + imageRect=338, 103, 128, 15
3.628 + color=255,255,255,255
3.629 + [/normal]
3.630 + [done]
3.631 + texture=clearlooks
3.632 + imageRect=338, 119, 128, 15
3.633 + color=255,255,255,255
3.634 + [/done]
3.635 + font=vera11
3.636 + [fontcolor]
3.637 + color=255,255,255, 255
3.638 + hoveredcolor=255,255,255, 255
3.639 + pressedcolor=255,255,255, 255
3.640 + disabledcolor=192,192,192,255
3.641 + focuscolor=255,255,255, 255
3.642 + [/fontcolor]
3.643 + [/widget]
3.644 + [widget]
3.645 + type=EGWT_WINDOW
3.646 + name=window
3.647 + [borders]
3.648 + [left]
3.649 + texture=clearlooks
3.650 + imageRect=10, 143, 3, 127
3.651 + color=255,255,255,255
3.652 + [/left]
3.653 + [leftTop]
3.654 + texture=clearlooks
3.655 + imageRect=10, 140, 3, 3
3.656 + color=255,255,255,255
3.657 + [/leftTop]
3.658 + [leftBottom]
3.659 + texture=clearlooks
3.660 + imageRect=10, 270, 3, 4
3.661 + color=255,255,255,255
3.662 + [/leftBottom]
3.663 + [right]
3.664 + texture=clearlooks
3.665 + imageRect=183, 143, 4, 127
3.666 + color=255,255,255,255
3.667 + [/right]
3.668 + [rightTop]
3.669 + texture=clearlooks
3.670 + imageRect=183, 140, 4, 3
3.671 + color=255,255,255,255
3.672 + [/rightTop]
3.673 + [rightBottom]
3.674 + texture=clearlooks
3.675 + imageRect=183, 270, 4, 4
3.676 + color=255,255,255,255
3.677 + [/rightBottom]
3.678 + [bottom]
3.679 + texture=clearlooks
3.680 + imageRect=13, 270, 170, 4
3.681 + color=255,255,255,255
3.682 + [/bottom]
3.683 + [bottomLeft]
3.684 + texture=clearlooks
3.685 + imageRect=10, 270, 3, 4
3.686 + color=255,255,255,255
3.687 + [/bottomLeft]
3.688 + [bottomRight]
3.689 + texture=clearlooks
3.690 + imageRect=183, 270, 4, 4
3.691 + color=255,255,255,255
3.692 + [/bottomRight]
3.693 + [bottomInactive]
3.694 + texture=clearlooks
3.695 + imageRect=22, -17, 255, 6
3.696 + color=255,255,255,255
3.697 + [/bottomInactive]
3.698 + [bottomLeftInactive]
3.699 + texture=clearlooks
3.700 + imageRect=6, -17, 16, 6
3.701 + color=255,255,255,255
3.702 + [/bottomLeftInactive]
3.703 + [bottomRightInactive]
3.704 + texture=clearlooks
3.705 + imageRect=277, -17, 16, 6
3.706 + color=255,255,255,255
3.707 + [/bottomRightInactive]
3.708 + [/borders]
3.709 + [titlebar]
3.710 + [top]
3.711 + texture=clearlooks
3.712 + imageRect=15, 119, 166, 22
3.713 + color=255,255,255,255
3.714 + [/top]
3.715 + [topLeft]
3.716 + texture=clearlooks
3.717 + imageRect=10, 119, 5, 22
3.718 + color=255,255,255,255
3.719 + [/topLeft]
3.720 + [topRight]
3.721 + texture=clearlooks
3.722 + imageRect=181, 119, 6, 22
3.723 + color=255,255,255,255
3.724 + [/topRight]
3.725 + [topInactive]
3.726 + texture=clearlooks
3.727 + imageRect=15, 274, 166, 22
3.728 + color=255,255,255,255
3.729 + [/topInactive]
3.730 + [topLeftInactive]
3.731 + texture=clearlooks
3.732 + imageRect=10, 274, 5, 22
3.733 + color=255,255,255,255
3.734 + [/topLeftInactive]
3.735 + [topRightInactive]
3.736 + texture=clearlooks
3.737 + imageRect=181, 274, 6, 22
3.738 + color=255,255,255,255
3.739 + [/topRightInactive]
3.740 + [/titlebar]
3.741 + [title]
3.742 + [top]
3.743 + texture=clearlooks
3.744 + imageRect=15, 119, 166, 22
3.745 + color=255,255,255,255
3.746 + [/top]
3.747 + [topLeft]
3.748 + texture=clearlooks
3.749 + imageRect=10, 119, 5, 22
3.750 + color=255,255,255,255
3.751 + [/topLeft]
3.752 + [topRight]
3.753 + texture=clearlooks
3.754 + imageRect=164, 119, 14, 22
3.755 + color=255,255,255,255
3.756 + [/topRight]
3.757 + [topInactive]
3.758 + texture=clearlooks
3.759 + imageRect=15, 274, 166, 22
3.760 + color=255,255,255,255
3.761 + [/topInactive]
3.762 + [topLeftInactive]
3.763 + texture=clearlooks
3.764 + imageRect=10, 274, 5, 22
3.765 + color=255,255,255,255
3.766 + [/topLeftInactive]
3.767 + [topRightInactive]
3.768 + texture=clearlooks
3.769 + imageRect=174, 274, 7, 22
3.770 + color=255,255,255,255
3.771 + [/topRightInactive]
3.772 + font=vera12
3.773 + [fontcolor]
3.774 + color=255,255,255,255
3.775 + hoveredcolor=0,0,0,255
3.776 + pressedcolor=0,0,0,255
3.777 + disabledcolor=192,192,192,255
3.778 + focuscolor=0,0,0,255
3.779 + [/fontcolor]
3.780 + [/title]
3.781 + [closeButton]
3.782 + [normal]
3.783 + texture=clearlooks
3.784 + imageRect=269, 46, 16, 16
3.785 + color=255,255,255,255
3.786 + [/normal]
3.787 + [hovered]
3.788 + texture=clearlooks
3.789 + imageRect=285, 46, 16, 16
3.790 + color=255,255,255,255
3.791 + [/hovered]
3.792 + [pressed]
3.793 + texture=clearlooks
3.794 + imageRect=317, 46, 16, 16
3.795 + color=255,255,255,255
3.796 + [/pressed]
3.797 + [disabled]
3.798 + texture=clearlooks
3.799 + imageRect=301, 46, 16, 16
3.800 + color=255,255,255,255
3.801 + [/disabled]
3.802 + [focus]
3.803 + texture=clearlooks
3.804 + imageRect=269, 46, 16, 16
3.805 + color=255,255,255,255
3.806 + [/focus]
3.807 + font=vera12
3.808 + [fontcolor]
3.809 + color=255,255,255,255
3.810 + hoveredcolor=0,0,0,255
3.811 + pressedcolor=0,0,0,255
3.812 + disabledcolor=192,192,192,255
3.813 + focuscolor=0,0,0,255
3.814 + [/fontcolor]
3.815 + [/closeButton]
3.816 + [rollButton]
3.817 + [normal]
3.818 + texture=clearlooks
3.819 + imageRect=269, 62, 16, 16
3.820 + color=255,255,255,255
3.821 + [/normal]
3.822 + [hovered]
3.823 + texture=clearlooks
3.824 + imageRect=285, 62, 16, 16
3.825 + color=255,255,255,255
3.826 + [/hovered]
3.827 + [pressed]
3.828 + texture=clearlooks
3.829 + imageRect=317, 62, 16, 16
3.830 + color=255,255,255,255
3.831 + [/pressed]
3.832 + [disabled]
3.833 + texture=clearlooks
3.834 + imageRect=301, 62, 16, 16
3.835 + color=255,255,255,255
3.836 + [/disabled]
3.837 + [focus]
3.838 + texture=clearlooks
3.839 + imageRect=269, 62, 16, 16
3.840 + color=255,255,255,255
3.841 + [/focus]
3.842 + font=vera12
3.843 + [fontcolor]
3.844 + color=255,255,255,255
3.845 + hoveredcolor=0,0,0,255
3.846 + pressedcolor=0,0,0,255
3.847 + disabledcolor=192,192,192,255
3.848 + focuscolor=0,0,0,255
3.849 + [/fontcolor]
3.850 + [/rollButton]
3.851 + [grip]
3.852 + left=4
3.853 + right=4
3.854 + top=6
3.855 + bottom=6
3.856 + [/grip]
3.857 + titlebarheight=21
3.858 + titleoffsetx=0
3.859 + titleoffsety=0
3.860 + closebuttonoffsetx=24
3.861 + closebuttonoffsety=3
3.862 + closebuttonwidth=15
3.863 + closebuttonheight=15
3.864 + rollbuttonoffsetx=40
3.865 + rollbuttonoffsety=3
3.866 + rollbuttonwidth=15
3.867 + rollbuttonheight=15
3.868 + [/widget]
3.869 + [widget]
3.870 + type=EGWT_EDIT_BOX
3.871 + name=editbox
3.872 + font=vera12
3.873 + [fontcolor]
3.874 + color=0,0,0,255
3.875 + hoveredcolor=0,0,0,255
3.876 + pressedcolor=0,0,0,255
3.877 + disabledcolor=192,192,192,255
3.878 + focuscolor=0,0,0,255
3.879 + [/fontcolor]
3.880 + [left]
3.881 + texture=clearlooks
3.882 + imageRect=11, 48, 9, 23
3.883 + color=255,255,255,255
3.884 + [/left]
3.885 + [right]
3.886 + texture=clearlooks
3.887 + imageRect=88, 48, 9, 23
3.888 + color=255,255,255,255
3.889 + [/right]
3.890 + [middle]
3.891 + texture=clearlooks
3.892 + imageRect=19, 48, 69, 23
3.893 + color=255,255,255,255
3.894 + [/middle]
3.895 + [field]
3.896 + color=255,255,255,255
3.897 + [/field]
3.898 + [fieldDisabled]
3.899 + color=100,100,100,255
3.900 + [/fieldDisabled]
3.901 + [textCursor]
3.902 + texture=clearlooks
3.903 + imageRect=144, 120, 1, 19
3.904 + color=255,255,255,255
3.905 + [/textCursor]
3.906 + [highlight]
3.907 + color=153,153,220, 255
3.908 + [/highlight]
3.909 + [textHighlightColor]
3.910 + color=255,0,255,255
3.911 + [/textHighlightColor]
3.912 + [borders]
3.913 + top=3
3.914 + left=7
3.915 + bottom=3
3.916 + right=7
3.917 + [/borders]
3.918 + cursorwidth=1
3.919 + [/widget]
3.920 + [widget]
3.921 + type=EGWT_LABEL
3.922 + name=label
3.923 + font=vera16
3.924 + [fontcolor]
3.925 + color=255,255,255,255
3.926 + hoveredcolor=0,0,0,255
3.927 + pressedcolor=0,0,0,255
3.928 + disabledcolor=0,0,0,255
3.929 + focuscolor=0,0,0,255
3.930 + [/fontcolor]
3.931 + [/widget]
3.932 + [widget]
3.933 + type=EGWT_BASIC_CONTENT_PANE
3.934 + name=basiccontentpane
3.935 + [pane]
3.936 + texture=clearlooks
3.937 + imageRect=13, 143, 170, 127
3.938 + colorTopLeft=255,255,255,255
3.939 + colorTopRight=255,255,255,255
3.940 + colorBottomLeft=255,255,255,255
3.941 + colorBottomRight=255,255,255,255
3.942 + [/pane]
3.943 + [/widget]
3.944 + [widget]
3.945 + type=EGWT_SLIDER_VERTICAL
3.946 + name=scrollbarvertical
3.947 + [buttontop]
3.948 + [normal]
3.949 + texture=clearlooks
3.950 + imageRect=474, 7, 15, 15
3.951 + color=255,255,255,255
3.952 + [/normal]
3.953 + [hovered]
3.954 + texture=clearlooks
3.955 + imageRect=474, 7, 15, 15
3.956 + color=255,255,255,255
3.957 + [/hovered]
3.958 + [pressed]
3.959 + texture=clearlooks
3.960 + imageRect=474, 7, 15, 15
3.961 + color=255,255,255,255
3.962 + [/pressed]
3.963 + [disabled]
3.964 + texture=clearlooks
3.965 + imageRect=490, 7, 15, 15
3.966 + color=255,255,255,255
3.967 + [/disabled]
3.968 + [/buttontop]
3.969 + [buttonbottom]
3.970 + [normal]
3.971 + texture=clearlooks
3.972 + imageRect=490, 120, 15, 15
3.973 + color=255,255,255,255
3.974 + [/normal]
3.975 + [hovered]
3.976 + texture=clearlooks
3.977 + imageRect=490, 120, 15, 15
3.978 + color=255,255,255,255
3.979 + [/hovered]
3.980 + [pressed]
3.981 + texture=clearlooks
3.982 + imageRect=490, 120, 15, 15
3.983 + color=255,255,255,255
3.984 + [/pressed]
3.985 + [disabled]
3.986 + texture=clearlooks
3.987 + imageRect=474, 120, 15, 15
3.988 + color=255,255,255,255
3.989 + [/disabled]
3.990 + [/buttonbottom]
3.991 + [thumb]
3.992 + [normal]
3.993 + texture=clearlooks
3.994 + imageRect=490, 21, 15, 31
3.995 + color=255,255,255,255
3.996 + [/normal]
3.997 + [hovered]
3.998 + texture=clearlooks
3.999 + imageRect=490, 21, 15, 31
3.1000 + color=255,255,255,255
3.1001 + [/hovered]
3.1002 + [pressed]
3.1003 + texture=clearlooks
3.1004 + imageRect=490, 21, 15, 31
3.1005 + color=255,255,255,255
3.1006 + [/pressed]
3.1007 + [disabled]
3.1008 + texture=clearlooks
3.1009 + imageRect=490, 21, 15, 31
3.1010 + color=255,255,255,255
3.1011 + [/disabled]
3.1012 + [/thumb]
3.1013 + [grip]
3.1014 + [normal]
3.1015 + texture=clearlooks
3.1016 + imageRect=490, 30, 15, 11
3.1017 + color=255,255,255,255
3.1018 + [/normal]
3.1019 + [hovered]
3.1020 + texture=clearlooks
3.1021 + imageRect=490, 30, 15, 11
3.1022 + color=255,255,255,255
3.1023 + [/hovered]
3.1024 + [pressed]
3.1025 + texture=clearlooks
3.1026 + imageRect=490, 30, 15, 11
3.1027 + color=255,255,255,255
3.1028 + [/pressed]
3.1029 + [disabled]
3.1030 + texture=clearlooks
3.1031 + imageRect=490, 30, 15, 11
3.1032 + color=255,255,255,255
3.1033 + [/disabled]
3.1034 + [/grip]
3.1035 + [background]
3.1036 + [top]
3.1037 + texture=clearlooks
3.1038 + imageRect=474, 22, 15, 4
3.1039 + color=255,255,255,255
3.1040 + [/top]
3.1041 + [bottom]
3.1042 + texture=clearlooks
3.1043 + imageRect=490, 116, 15, 4
3.1044 + color=255,255,255,255
3.1045 + [/bottom]
3.1046 + [middle]
3.1047 + texture=clearlooks
3.1048 + imageRect=474, 28, 15, 57
3.1049 + color=255,255,255,255
3.1050 + [/middle]
3.1051 + [/background]
3.1052 + [/widget]
3.1053 + [widget]
3.1054 + type=EGWT_SLIDER_HORIZONTAL
3.1055 + name=scrollbarhorizontal
3.1056 + [buttonleft]
3.1057 + [normal]
3.1058 + texture=clearlooks
3.1059 + imageRect=338, 87, 15, 15
3.1060 + color=255,255,255,255
3.1061 + [/normal]
3.1062 + [hovered]
3.1063 + texture=clearlooks
3.1064 + imageRect=338, 87, 15, 15
3.1065 + color=255,255,255,255
3.1066 + [/hovered]
3.1067 + [pressed]
3.1068 + texture=clearlooks
3.1069 + imageRect=338, 87, 15, 15
3.1070 + color=255,255,255,255
3.1071 + [/pressed]
3.1072 + [disabled]
3.1073 + texture=clearlooks
3.1074 + imageRect=338, 71, 15, 15
3.1075 + color=255,255,255,255
3.1076 + [/disabled]
3.1077 + [/buttonleft]
3.1078 + [buttonright]
3.1079 + [normal]
3.1080 + texture=clearlooks
3.1081 + imageRect=451, 71, 15, 15
3.1082 + color=255,255,255,255
3.1083 + [/normal]
3.1084 + [hovered]
3.1085 + texture=clearlooks
3.1086 + imageRect=451, 71, 15, 15
3.1087 + color=255,255,255,255
3.1088 + [/hovered]
3.1089 + [pressed]
3.1090 + texture=clearlooks
3.1091 + imageRect=451, 71, 15, 15
3.1092 + color=255,255,255,255
3.1093 + [/pressed]
3.1094 + [disabled]
3.1095 + texture=clearlooks
3.1096 + imageRect=451, 87, 15, 15
3.1097 + color=255,255,255,255
3.1098 + [/disabled]
3.1099 + [/buttonright]
3.1100 + [thumb]
3.1101 + [normal]
3.1102 + texture=clearlooks
3.1103 + imageRect=352, 71, 31, 15
3.1104 + color=255,255,255,255
3.1105 + [/normal]
3.1106 + [hovered]
3.1107 + texture=clearlooks
3.1108 + imageRect=352, 71, 31, 15
3.1109 + color=255,255,255,255
3.1110 + [/hovered]
3.1111 + [pressed]
3.1112 + texture=clearlooks
3.1113 + imageRect=352, 71, 31, 15
3.1114 + color=255,255,255,255
3.1115 + [/pressed]
3.1116 + [disabled]
3.1117 + texture=clearlooks
3.1118 + imageRect=352, 71, 31, 15
3.1119 + color=255,255,255,255
3.1120 + [/disabled]
3.1121 + [/thumb]
3.1122 + [grip]
3.1123 + [normal]
3.1124 + texture=clearlooks
3.1125 + imageRect=361, 71, 11, 15
3.1126 + color=255,255,255,255
3.1127 + [/normal]
3.1128 + [hovered]
3.1129 + texture=clearlooks
3.1130 + imageRect=361, 71, 11, 15
3.1131 + color=255,255,255,255
3.1132 + [/hovered]
3.1133 + [pressed]
3.1134 + texture=clearlooks
3.1135 + imageRect=361, 71, 11, 15
3.1136 + color=255,255,255,255
3.1137 + [/pressed]
3.1138 + [disabled]
3.1139 + texture=clearlooks
3.1140 + imageRect=361, 71, 11, 15
3.1141 + color=255,255,255,255
3.1142 + [/disabled]
3.1143 + [/grip]
3.1144 + [background]
3.1145 + [left]
3.1146 + texture=clearlooks
3.1147 + imageRect=353, 87, 6, 15
3.1148 + color=255,255,255,255
3.1149 + [/left]
3.1150 + [right]
3.1151 + texture=clearlooks
3.1152 + imageRect=442, 71, 9, 15
3.1153 + color=255,255,255,255
3.1154 + [/right]
3.1155 + [middle]
3.1156 + texture=clearlooks
3.1157 + imageRect=385, 71, 62, 15
3.1158 + color=255,255,255,255
3.1159 + [/middle]
3.1160 + [/background]
3.1161 + [/widget]
3.1162 + [widget]
3.1163 + type=EGWT_RADIOBUTTON
3.1164 + name=radiobutton
3.1165 + [normal]
3.1166 + texture=clearlooks
3.1167 + imageRect=421, 36, 12, 12
3.1168 + color=255,255,255,255
3.1169 + [/normal]
3.1170 + [checked]
3.1171 + texture=clearlooks
3.1172 + imageRect=405, 36, 12, 12
3.1173 + color=255,255,255,255
3.1174 + [/checked]
3.1175 + [disabled]
3.1176 + texture=clearlooks
3.1177 + imageRect=437, 36, 12, 12
3.1178 + color=255,255,255,255
3.1179 + [/disabled]
3.1180 + [disabledchecked]
3.1181 + texture=clearlooks
3.1182 + imageRect=453, 36, 12, 12
3.1183 + color=255,255,255,255
3.1184 + [/disabledchecked]
3.1185 + font=vera11
3.1186 + [fontcolor]
3.1187 + color=0,0,0,255
3.1188 + hoveredcolor=0,0,0,255
3.1189 + pressedcolor=0,0,0,255
3.1190 + disabledcolor=192,192,192,255
3.1191 + focuscolor=0,0,0,255
3.1192 + [/fontcolor]
3.1193 + labeloffsetx=16
3.1194 + labeloffsety=0
3.1195 + [/widget]
3.1196 + [widget]
3.1197 + type=EGWT_LISTBOX
3.1198 + name=listbox
3.1199 + [top]
3.1200 + texture=clearlooks
3.1201 + imageRect=13, 48, 82, 4
3.1202 + color=255,255,255,255
3.1203 + [/top]
3.1204 + [topleft]
3.1205 + texture=clearlooks
3.1206 + imageRect=11, 48, 2, 4
3.1207 + color=255,255,255,255
3.1208 + [/topleft]
3.1209 + [topright]
3.1210 + texture=clearlooks
3.1211 + imageRect=95, 48, 2, 4
3.1212 + color=255,255,255,255
3.1213 + [/topright]
3.1214 + [left]
3.1215 + texture=clearlooks
3.1216 + imageRect=11, 52, 2, 14
3.1217 + color=255,255,255,255
3.1218 + [/left]
3.1219 + [right]
3.1220 + texture=clearlooks
3.1221 + imageRect=95, 52, 2, 14
3.1222 + color=255,255,255,255
3.1223 + [/right]
3.1224 + [normal]
3.1225 + texture=clearlooks
3.1226 + imageRect=13, 52, 82, 14
3.1227 + color=255,255,255,255
3.1228 + [/normal]
3.1229 + [hovered]
3.1230 + texture=clearlooks
3.1231 + imageRect=196, 55, 68, 10
3.1232 + color=255,255,255,255
3.1233 + [/hovered]
3.1234 + [selected]
3.1235 + texture=clearlooks
3.1236 + imageRect=12, 126, 173, 11
3.1237 + color=255,255,255,255
3.1238 + [/selected]
3.1239 + [disabled]
3.1240 + texture=clearlooks
3.1241 + imageRect=101, 53, 82, 13
3.1242 + color=255,255,255,255
3.1243 + [/disabled]
3.1244 + [bottom]
3.1245 + texture=clearlooks
3.1246 + imageRect=13, 67, 82, 4
3.1247 + color=255,255,255,255
3.1248 + [/bottom]
3.1249 + [bottomleft]
3.1250 + texture=clearlooks
3.1251 + imageRect=11, 66, 2, 4
3.1252 + color=255,255,255,255
3.1253 + [/bottomleft]
3.1254 + [bottomright]
3.1255 + texture=clearlooks
3.1256 + imageRect=95, 66, 2, 4
3.1257 + color=255,255,255,255
3.1258 + [/bottomright]
3.1259 + font=vera12
3.1260 + [fontcolor]
3.1261 + color=0,0,0,255
3.1262 + hoveredcolor=0,0,0,255
3.1263 + pressedcolor=0,0,0,255
3.1264 + disabledcolor=192,192,192,255
3.1265 + [/fontcolor]
3.1266 + labeloffsetleft=3
3.1267 + labeloffsetright=3
3.1268 + minwidth=30
3.1269 + [/widget]
3.1270 + [widget]
3.1271 + type=EGWT_GRID
3.1272 + name=grid
3.1273 + [top]
3.1274 + texture=clearlooks
3.1275 + imageRect=103, 48, 77, 4
3.1276 + color=255,255,255,255
3.1277 + [/top]
3.1278 + [topleft]
3.1279 + texture=clearlooks
3.1280 + imageRect=99, 48, 4, 4
3.1281 + color=255,255,255,255
3.1282 + [/topleft]
3.1283 + [topright]
3.1284 + texture=clearlooks
3.1285 + imageRect=181, 48, 4, 4
3.1286 + color=255,255,255,255
3.1287 + [/topright]
3.1288 + [left]
3.1289 + texture=clearlooks
3.1290 + imageRect=99, 52, 4, 14
3.1291 + color=255,255,255,255
3.1292 + [/left]
3.1293 + [right]
3.1294 + texture=clearlooks
3.1295 + imageRect=181, 52, 4, 14
3.1296 + color=255,255,255,255
3.1297 + [/right]
3.1298 + [normal]
3.1299 + texture=clearlooks
3.1300 + imageRect=13, 52, 82, 14
3.1301 + color=255,255,255,255
3.1302 + [/normal]
3.1303 + [hovered]
3.1304 + texture=clearlooks
3.1305 + imageRect=196, 55, 68, 10
3.1306 + color=255,255,255,255
3.1307 + [/hovered]
3.1308 + [selected]
3.1309 + texture=clearlooks
3.1310 + imageRect=12, 126, 173, 11
3.1311 + color=255,255,255,255
3.1312 + [/selected]
3.1313 + [disabled]
3.1314 + texture=clearlooks
3.1315 + imageRect=101, 53, 82, 13
3.1316 + color=255,255,255,255
3.1317 + [/disabled]
3.1318 + [bottom]
3.1319 + texture=clearlooks
3.1320 + imageRect=103, 67, 77, 4
3.1321 + color=255,255,255,255
3.1322 + [/bottom]
3.1323 + [bottomleft]
3.1324 + texture=clearlooks
3.1325 + imageRect=99, 67, 4, 4
3.1326 + color=255,255,255,255
3.1327 + [/bottomleft]
3.1328 + [bottomright]
3.1329 + texture=clearlooks
3.1330 + imageRect=181, 67, 4, 4
3.1331 + color=255,255,255,255
3.1332 + [/bottomright]
3.1333 + [background]
3.1334 + texture=clearlooks
3.1335 + imageRect=101, 53, 82, 13
3.1336 + color=255,255,255,255
3.1337 + [/background]
3.1338 + [grid]
3.1339 + texture=clearlooks
3.1340 + imageRect=101, 53, 82, 13
3.1341 + color=255,255,255,255
3.1342 + [/grid]
3.1343 + font=vera12
3.1344 + [fontcolor]
3.1345 + color=0,0,0,255
3.1346 + hoveredcolor=0,0,0,255
3.1347 + pressedcolor=0,0,0,255
3.1348 + disabledcolor=192,192,192,255
3.1349 + [/fontcolor]
3.1350 + [/widget]
3.1351 + [widget]
3.1352 + type=EGWT_PROPERTY_GRID
3.1353 + name=propgrid
3.1354 + [top]
3.1355 + texture=clearlooks
3.1356 + imageRect=103, 48, 77, 4
3.1357 + color=255,255,255,255
3.1358 + [/top]
3.1359 + [topleft]
3.1360 + texture=clearlooks
3.1361 + imageRect=99, 48, 4, 4
3.1362 + color=255,255,255,255
3.1363 + [/topleft]
3.1364 + [topright]
3.1365 + texture=clearlooks
3.1366 + imageRect=181, 48, 4, 4
3.1367 + color=255,255,255,255
3.1368 + [/topright]
3.1369 + [left]
3.1370 + texture=clearlooks
3.1371 + imageRect=99, 52, 4, 14
3.1372 + color=255,255,255,255
3.1373 + [/left]
3.1374 + [right]
3.1375 + texture=clearlooks
3.1376 + imageRect=181, 52, 4, 14
3.1377 + color=255,255,255,255
3.1378 + [/right]
3.1379 + [normal]
3.1380 + texture=clearlooks
3.1381 + imageRect=13, 52, 82, 14
3.1382 + color=255,255,255,255
3.1383 + [/normal]
3.1384 + [hovered]
3.1385 + texture=clearlooks
3.1386 + imageRect=196, 55, 68, 10
3.1387 + color=255,255,255,255
3.1388 + [/hovered]
3.1389 + [selected]
3.1390 + texture=clearlooks
3.1391 + imageRect=12, 126, 173, 11
3.1392 + color=255,255,255,255
3.1393 + [/selected]
3.1394 + [disabled]
3.1395 + texture=clearlooks
3.1396 + imageRect=101, 53, 82, 13
3.1397 + color=255,255,255,255
3.1398 + [/disabled]
3.1399 + [bottom]
3.1400 + texture=clearlooks
3.1401 + imageRect=103, 67, 77, 4
3.1402 + color=255,255,255,255
3.1403 + [/bottom]
3.1404 + [bottomleft]
3.1405 + texture=clearlooks
3.1406 + imageRect=99, 67, 4, 4
3.1407 + color=255,255,255,255
3.1408 + [/bottomleft]
3.1409 + [bottomright]
3.1410 + texture=clearlooks
3.1411 + imageRect=181, 67, 4, 4
3.1412 + color=255,255,255,255
3.1413 + [/bottomright]
3.1414 + [background]
3.1415 + texture=clearlooks
3.1416 + imageRect=101, 53, 82, 13
3.1417 + color=255,255,255,255
3.1418 + [/background]
3.1419 + [grid]
3.1420 + texture=clearlooks
3.1421 + imageRect=101, 53, 82, 13
3.1422 + color=255,255,255,255
3.1423 + [/grid]
3.1424 + [collapse]
3.1425 + texture=clearlooks
3.1426 + imageRect=373, 52, 12, 12
3.1427 + color=255,255,255,255
3.1428 + [/collapse]
3.1429 + [expand]
3.1430 + texture=clearlooks
3.1431 + imageRect=389, 52, 12, 12
3.1432 + color=255,255,255,255
3.1433 + [/expand]
3.1434 + font=vera12
3.1435 + [fontcolor]
3.1436 + color=0,0,0,255
3.1437 + hoveredcolor=0,0,0,255
3.1438 + pressedcolor=0,0,0,255
3.1439 + disabledcolor=192,192,192,255
3.1440 + [/fontcolor]
3.1441 + groupfont=vera12
3.1442 + [groupfontcolor]
3.1443 + color=72,86,114,255
3.1444 + hoveredcolor=72,86,114,255
3.1445 + pressedcolor=72,86,114,255
3.1446 + disabledcolor=192,192,192,255
3.1447 + [/groupfontcolor]
3.1448 + [/widget]
3.1449 + [widget]
3.1450 + type=EGWT_TREE_VIEW
3.1451 + name=treeview
3.1452 + [top]
3.1453 + texture=clearlooks
3.1454 + imageRect=103, 48, 77, 4
3.1455 + color=255,255,255,255
3.1456 + [/top]
3.1457 + [topleft]
3.1458 + texture=clearlooks
3.1459 + imageRect=99, 48, 4, 4
3.1460 + color=255,255,255,255
3.1461 + [/topleft]
3.1462 + [topright]
3.1463 + texture=clearlooks
3.1464 + imageRect=181, 48, 4, 4
3.1465 + color=255,255,255,255
3.1466 + [/topright]
3.1467 + [left]
3.1468 + texture=clearlooks
3.1469 + imageRect=99, 52, 4, 14
3.1470 + color=255,255,255,255
3.1471 + [/left]
3.1472 + [right]
3.1473 + texture=clearlooks
3.1474 + imageRect=181, 52, 4, 14
3.1475 + color=255,255,255,255
3.1476 + [/right]
3.1477 + [normal]
3.1478 + texture=clearlooks
3.1479 + imageRect=13, 52, 82, 14
3.1480 + color=255,255,255,255
3.1481 + [/normal]
3.1482 + [hovered]
3.1483 + texture=clearlooks
3.1484 + imageRect=196, 55, 68, 10
3.1485 + color=255,255,255,255
3.1486 + [/hovered]
3.1487 + [selected]
3.1488 + texture=clearlooks
3.1489 + imageRect=12, 126, 173, 11
3.1490 + color=255,255,255,255
3.1491 + [/selected]
3.1492 + [disabled]
3.1493 + texture=clearlooks
3.1494 + imageRect=101, 53, 82, 13
3.1495 + color=255,255,255,255
3.1496 + [/disabled]
3.1497 + [bottom]
3.1498 + texture=clearlooks
3.1499 + imageRect=103, 67, 77, 4
3.1500 + color=255,255,255,255
3.1501 + [/bottom]
3.1502 + [bottomleft]
3.1503 + texture=clearlooks
3.1504 + imageRect=99, 67, 4, 4
3.1505 + color=255,255,255,255
3.1506 + [/bottomleft]
3.1507 + [bottomright]
3.1508 + texture=clearlooks
3.1509 + imageRect=181, 67, 4, 4
3.1510 + color=255,255,255,255
3.1511 + [/bottomright]
3.1512 + [collapse]
3.1513 + texture=clearlooks
3.1514 + imageRect=373, 52, 12, 12
3.1515 + color=255,255,255,255
3.1516 + [/collapse]
3.1517 + [expand]
3.1518 + texture=clearlooks
3.1519 + imageRect=389, 52, 12, 12
3.1520 + color=255,255,255,255
3.1521 + [/expand]
3.1522 + font=vera12
3.1523 + [fontcolor]
3.1524 + color=0,0,0,255
3.1525 + hoveredcolor=0,0,0,255
3.1526 + pressedcolor=0,0,0,255
3.1527 + disabledcolor=192,192,192,255
3.1528 + [/fontcolor]
3.1529 + labeloffset=16
3.1530 + indent=16
3.1531 + [/widget]
3.1532 + [widget]
3.1533 + type=EGWT_SPLITTER
3.1534 + name=splitter
3.1535 + [horizontal]
3.1536 + texture=clearlooks
3.1537 + imageRect=269, 89, 6, 16
3.1538 + color=255,255,255,255
3.1539 + [/horizontal]
3.1540 + [vertical]
3.1541 + texture=clearlooks
3.1542 + imageRect=269, 82, 16, 6
3.1543 + color=255,255,255,255
3.1544 + [/vertical]
3.1545 + [/widget]
3.1546 + [widget]
3.1547 + type=EGWT_TAB_CONTROL
3.1548 + name=tabcontrol
3.1549 + [button]
3.1550 + [normal]
3.1551 + [left]
3.1552 + texture=clearlooks
3.1553 + imageRect=50, 81, 3, 26
3.1554 + color=255,255,255,255
3.1555 + [/left]
3.1556 + [middle]
3.1557 + texture=clearlooks
3.1558 + imageRect=53, 81, 31, 26
3.1559 + color=255,255,255,255
3.1560 + [/middle]
3.1561 + [right]
3.1562 + texture=clearlooks
3.1563 + imageRect=84, 81, 3, 26
3.1564 + color=255,255,255,255
3.1565 + [/right]
3.1566 + [/normal]
3.1567 + [hovered]
3.1568 + [left]
3.1569 + texture=clearlooks
3.1570 + imageRect=10, 79, 3, 28
3.1571 + color=255,255,255,255
3.1572 + [/left]
3.1573 + [middle]
3.1574 + texture=clearlooks
3.1575 + imageRect=13, 79, 33, 28
3.1576 + color=255,255,255,255
3.1577 + [/middle]
3.1578 + [right]
3.1579 + texture=clearlooks
3.1580 + imageRect=46, 79, 3, 28
3.1581 + color=255,255,255,255
3.1582 + [/right]
3.1583 + [/hovered]
3.1584 + [selected]
3.1585 + [left]
3.1586 + texture=clearlooks
3.1587 + imageRect=10, 79, 3, 28
3.1588 + color=255,255,255,255
3.1589 + [/left]
3.1590 + [middle]
3.1591 + texture=clearlooks
3.1592 + imageRect=13, 79, 33, 28
3.1593 + color=255,255,255,255
3.1594 + [/middle]
3.1595 + [right]
3.1596 + texture=clearlooks
3.1597 + imageRect=46, 79, 3, 28
3.1598 + color=255,255,255,255
3.1599 + [/right]
3.1600 + [/selected]
3.1601 + [disabled]
3.1602 + [left]
3.1603 + texture=clearlooks
3.1604 + imageRect=196, 167, 3, 20
3.1605 + color=255,255,255,255
3.1606 + [/left]
3.1607 + [middle]
3.1608 + texture=clearlooks
3.1609 + imageRect=199, 167, 59, 20
3.1610 + color=255,255,255,255
3.1611 + [/middle]
3.1612 + [right]
3.1613 + texture=clearlooks
3.1614 + imageRect=258, 167, 4, 20
3.1615 + color=255,255,255,255
3.1616 + [/right]
3.1617 + [/disabled]
3.1618 + [focus]
3.1619 + [left]
3.1620 + texture=clearlooks
3.1621 + imageRect=262, 167, 3, 20
3.1622 + color=255,255,255,255
3.1623 + [/left]
3.1624 + [middle]
3.1625 + texture=clearlooks
3.1626 + imageRect=265, 167, 59, 20
3.1627 + color=255,255,255,255
3.1628 + [/middle]
3.1629 + [right]
3.1630 + texture=clearlooks
3.1631 + imageRect=324, 167, 4, 20
3.1632 + color=255,255,255,255
3.1633 + [/right]
3.1634 + [/focus]
3.1635 + font=vera12
3.1636 + [fontcolor]
3.1637 + color=0,0,0,255
3.1638 + hoveredcolor=128,128,128,255
3.1639 + pressedcolor=0,0,255,255
3.1640 + disabledcolor=192,192,192,255
3.1641 + focuscolor=0,0,0,255
3.1642 + [/fontcolor]
3.1643 + [/button]
3.1644 + [pane]
3.1645 + [left]
3.1646 + texture=clearlooks
3.1647 + imageRect=194, 49, 2, 59
3.1648 + color=255,255,255,255
3.1649 + [/left]
3.1650 + [right]
3.1651 + texture=clearlooks
3.1652 + imageRect=263, 49, 3, 59
3.1653 + color=255,255,255,255
3.1654 + [/right]
3.1655 + [top]
3.1656 + texture=clearlooks
3.1657 + imageRect=196, 47, 67, 2
3.1658 + color=255,255,255,255
3.1659 + [/top]
3.1660 + [bottom]
3.1661 + texture=clearlooks
3.1662 + imageRect=196, 108, 67, 3
3.1663 + color=255,255,255,255
3.1664 + [/bottom]
3.1665 + [center]
3.1666 + texture=clearlooks
3.1667 + imageRect=196, 49, 67, 59
3.1668 + color=255,255,255,255
3.1669 + [/center]
3.1670 + [filler]
3.1671 + texture=clearlooks
3.1672 + imageRect=14, 143, 167, 127
3.1673 + color=255,255,255,255
3.1674 + [/filler]
3.1675 + [/pane]
3.1676 + [/widget]
3.1677 + [widget]
3.1678 + type=EGWT_COMBOBOX
3.1679 + name=combobox
3.1680 + [button]
3.1681 + [normal]
3.1682 + texture=clearlooks
3.1683 + imageRect=378, 8, 26, 25
3.1684 + color=255,255,255,255
3.1685 + [/normal]
3.1686 + [hovered]
3.1687 + texture=clearlooks
3.1688 + imageRect=378, 8, 26, 25
3.1689 + color=255,255,255,255
3.1690 + [/hovered]
3.1691 + [pressed]
3.1692 + texture=clearlooks
3.1693 + imageRect=443, 8, 25, 25
3.1694 + color=255,255,255,255
3.1695 + [/pressed]
3.1696 + [disabled]
3.1697 + texture=clearlooks
3.1698 + imageRect=411, 8, 25, 25
3.1699 + color=255,255,255,255
3.1700 + [/disabled]
3.1701 + [/button]
3.1702 + [background]
3.1703 + [normal]
3.1704 + [left]
3.1705 + texture=clearlooks
3.1706 + imageRect=11, 48, 6, 23
3.1707 + color=255,255,255,255
3.1708 + [/left]
3.1709 + [middle]
3.1710 + texture=clearlooks
3.1711 + imageRect=20, 48, 62, 23
3.1712 + color=255,255,255,255
3.1713 + [/middle]
3.1714 + [right]
3.1715 + texture=clearlooks
3.1716 + imageRect=88, 48, 9, 23
3.1717 + color=255,255,255,255
3.1718 + [/right]
3.1719 + [/normal]
3.1720 + [hovered]
3.1721 + [left]
3.1722 + texture=clearlooks
3.1723 + imageRect=99, 48, 9, 23
3.1724 + color=255,255,255,255
3.1725 + [/left]
3.1726 + [middle]
3.1727 + texture=clearlooks
3.1728 + imageRect=109, 48, 65, 23
3.1729 + color=255,255,255,255
3.1730 + [/middle]
3.1731 + [right]
3.1732 + texture=clearlooks
3.1733 + imageRect=177, 48, 8, 23
3.1734 + color=255,255,255,255
3.1735 + [/right]
3.1736 + [/hovered]
3.1737 + [pressed]
3.1738 + [left]
3.1739 + texture=clearlooks
3.1740 + imageRect=11, 48, 8, 23
3.1741 + color=255,255,255,255
3.1742 + [/left]
3.1743 + [middle]
3.1744 + texture=clearlooks
3.1745 + imageRect=19, 48, 69, 23
3.1746 + color=255,255,255,255
3.1747 + [/middle]
3.1748 + [right]
3.1749 + texture=clearlooks
3.1750 + imageRect=87, 48, 10, 23
3.1751 + color=255,255,255,255
3.1752 + [/right]
3.1753 + [/pressed]
3.1754 + [disabled]
3.1755 + [left]
3.1756 + texture=clearlooks
3.1757 + imageRect=99, 48, 9, 23
3.1758 + color=255,255,255,255
3.1759 + [/left]
3.1760 + [middle]
3.1761 + texture=clearlooks
3.1762 + imageRect=108, 48, 68, 23
3.1763 + color=255,255,255,255
3.1764 + [/middle]
3.1765 + [right]
3.1766 + texture=clearlooks
3.1767 + imageRect=178, 48, 7, 23
3.1768 + color=255,255,255,255
3.1769 + [/right]
3.1770 + [/disabled]
3.1771 + [/background]
3.1772 + font=vera12
3.1773 + [fontcolor]
3.1774 + color=0,0,0,255
3.1775 + hoveredcolor=0,0,0,255
3.1776 + pressedcolor=0,0,0,255
3.1777 + disabledcolor=192,192,192,255
3.1778 + focuscolor=0,0,0,255
3.1779 + [/fontcolor]
3.1780 + labeloffsetx=3
3.1781 + labeloffsety=0
3.1782 + [/widget]
3.1783 + [widget]
3.1784 + type=EGWT_SCROLL_CONTROL
3.1785 + name=scrollcontrol
3.1786 + [pane]
3.1787 + colorTopLeft=77,77,77,255
3.1788 + colorTopRight=77,77,77,255
3.1789 + colorBottomLeft=77,77,77,255
3.1790 + colorBottomRight=77,77,77,255
3.1791 + [/pane]
3.1792 + [/widget]
3.1793 + [widget]
3.1794 + type=EGWT_TEXT_AREA
3.1795 + name=textarea
3.1796 + font=vera12
3.1797 + [fontcolor]
3.1798 + color=0,0,0,255
3.1799 + hoveredcolor=0,0,0,255
3.1800 + pressedcolor=0,0,0,255
3.1801 + disabledcolor=192,192,192,255
3.1802 + focuscolor=0,0,0,255
3.1803 + [/fontcolor]
3.1804 + [left]
3.1805 + texture=clearlooks
3.1806 + imageRect=194, 47, 2, 64
3.1807 + color=255,255,255,255
3.1808 + [/left]
3.1809 + [right]
3.1810 + texture=clearlooks
3.1811 + imageRect=263, 47, 3, 64
3.1812 + color=255,255,255,255
3.1813 + [/right]
3.1814 + [middle]
3.1815 + texture=clearlooks
3.1816 + imageRect=196, 49, 67, 59
3.1817 + color=255,255,255,255
3.1818 + [/middle]
3.1819 + [field]
3.1820 + color=255,255,255,255
3.1821 + [/field]
3.1822 + [fieldDisabled]
3.1823 + color=100,100,100,255
3.1824 + [/fieldDisabled]
3.1825 + [textCursor]
3.1826 + texture=clearlooks
3.1827 + imageRect=144, 120, 1, 19
3.1828 + color=255,255,255,255
3.1829 + [/textCursor]
3.1830 + [highlight]
3.1831 + color=100,100,200,255
3.1832 + [/highlight]
3.1833 + [textHighlightColor]
3.1834 + color=255,255,255,255
3.1835 + [/textHighlightColor]
3.1836 + [borders]
3.1837 + top=3
3.1838 + left=1
3.1839 + bottom=3
3.1840 + right=1
3.1841 + [/borders]
3.1842 + cursorwidth=1
3.1843 + [/widget]
3.1844 +[/theme]
4.1 Binary file res/gui/clearlooks.png has changed
5.1 Binary file res/gui/vir_mouse_silver.png has changed
6.1 --- a/src/lf/mj/Core.cpp Sun Nov 01 17:59:23 2009 +0700
6.2 +++ b/src/lf/mj/Core.cpp Sun Nov 01 19:55:42 2009 +0700
6.3 @@ -20,7 +20,7 @@
6.4 32,
6.5 render::EWCF_AUTOCLOSE | render::EWCF_OPPL_PIPELINE,
6.6 render::EAAF_NONE);
6.7 - mWin->setWindowCaption(L"LF MJ");
6.8 + mWin->setWindowCaption(L"Mahjongg by Opensource game studio");
6.9 mWin->setVisible(true);
6.10 mWin->addKeyListener(this);
6.11 mWin->addMouseListener(this);
6.12 @@ -28,7 +28,7 @@
6.13 mScn = mWin->getRenderLayer3D()->getScene();
6.14 CLFRender::getInstance().setAutoSleep(0);
6.15 // Stub model.
6.16 - res::CCubeModel *stubModel = new res::CCubeModel("stub");
6.17 + /*res::CCubeModel *stubModel = */new res::CCubeModel("stub");
6.18 // Load resources.
6.19 mRMgr->loadResources("res/lfm/tile.lfm");
6.20 // Camera.
6.21 @@ -61,6 +61,7 @@
6.22 mTexs.push_back("tile03.png");
6.23 mTexs.push_back("tile04.png");
6.24 mRMgr->loadResources("res/lfm/tile.lfm");
6.25 + ui();
6.26 }
6.27
6.28 Core::~Core() {
6.29 @@ -168,10 +169,24 @@
6.30 if (newTile && canSelect(newTile)) {
6.31 if (mSelectedTile &&
6.32 newTile->getGroup() == mSelectedTile->getGroup()) {
6.33 -
6.34 mSelectedTile->setVisible(false);
6.35 newTile->setVisible(false);
6.36 mSelectedTile = 0;
6.37 + // Turn.
6.38 + u32 turns = turnsLeft();
6.39 + if (turns > 0)
6.40 + mLbTurnsLeft->setText(core::stringw("Turns left: ") +
6.41 + core::stringw(turns));
6.42 + else {
6.43 + u32 count = 0;
6.44 + for (u32 i = 0; i < mTiles.size(); i++)
6.45 + if (mTiles[i]->getVisible())
6.46 + count++;
6.47 + if (count)
6.48 + mLbTurnsLeft->setText(L"You lose");
6.49 + else
6.50 + mLbTurnsLeft->setText(L"You win");
6.51 + }
6.52 return;
6.53 }
6.54 newTile->setSelected(true);
6.55 @@ -290,33 +305,21 @@
6.56 mHNT[inst->getNode()] = inst;
6.57 mTiles.push_back(inst);
6.58 }
6.59 - /*
6.60 - for (u32 i = 0; i < ly.positions().size(); i++) {
6.61 - TileInstance *inst = mTmpl->instantiate();
6.62 - inst->setPos(ly.positions()[i]);
6.63 - inst->setID(i);
6.64 - u32 id = i % 4;
6.65 - inst->setTex(mTexs[id]);
6.66 - // Group is equal to texture ID.
6.67 - inst->setGroup(id);
6.68 - mHNT[inst->getNode()] = inst;
6.69 - mTiles.push_back(inst);
6.70 - }
6.71 - */
6.72 mTmpl->setRot(core::vector3df(0, 180, 0));
6.73 + mLbTurnsLeft->setText(core::stringw("Turns left: ") +
6.74 + core::stringw(turnsLeft()));
6.75 return true;
6.76 }
6.77
6.78 void Core::run() {
6.79 bool quit = !loadField("res/layout/pirates.layout");
6.80 - // Loop.
6.81 while (!quit) {
6.82 u32 fps = mWin->getOneSecondFPS();
6.83 u32 polys = mWin->getTotalPolygonCount();
6.84 if (fps != mFPS || polys != mPolys) {
6.85 wchar_t tmp[256];
6.86 - snwprintf(tmp, 256, L"LF MJ. FPS: %u Polys: %u", fps, polys);
6.87 - mWin->setWindowCaption(tmp);
6.88 + snwprintf(tmp, 256, L"FPS: %u Polys: %u", fps, polys);
6.89 + mLbFPSPolys->setText(tmp);
6.90 mFPS = fps;
6.91 mPolys = polys;
6.92 }
6.93 @@ -324,6 +327,39 @@
6.94 }
6.95 }
6.96
6.97 +u32 Core::turnsLeft() const {
6.98 + u32 count = 0;
6.99 + for (u32 i = 0; i < mTiles.size(); i++)
6.100 + for (u32 j = i + 1; j < mTiles.size(); j++)
6.101 + if (mTiles[i]->getVisible() &&
6.102 + mTiles[j]->getVisible() &&
6.103 + canSelect(mTiles[i]) &&
6.104 + canSelect(mTiles[j]) &&
6.105 + mTiles[i]->getGroup() == mTiles[j]->getGroup())
6.106 + count++;
6.107 + return count;
6.108 +}
6.109 +
6.110 +void Core::ui() {
6.111 + mRMgr->loadResources("res/gui/clearlooks.lfgt");
6.112 + gui::CGUIManager *gmgr = new gui::CGUIManager;
6.113 + gmgr->getMousePointer()->setVisible(false);
6.114 + mWin->addGUIManager(gmgr);
6.115 + gmgr->drop();
6.116 +
6.117 + mLbFPSPolys = new gui::CGUILabel;
6.118 + mLbFPSPolys->setPosition(5, 5);
6.119 + mLbFPSPolys->setSize(200, 30);
6.120 + gmgr->addChild(mLbFPSPolys);
6.121 + mLbFPSPolys->drop();
6.122 +
6.123 + mLbTurnsLeft = new gui::CGUILabel;
6.124 + mLbTurnsLeft->setPosition(5, 40);
6.125 + mLbTurnsLeft->setSize(200, 30);
6.126 + gmgr->addChild(mLbTurnsLeft);
6.127 + mLbTurnsLeft->drop();
6.128 +}
6.129 +
6.130 } // namespace lf
6.131 } // namespace mj
6.132