Changeset 4524
- Timestamp:
- 07/14/08 06:19:05 (5 years ago)
- Location:
- developers/erin_yueh/pythonEFL-sudoku/data
- Files:
-
- 12 added
- 1 deleted
- 1 edited
-
image/dummy.png (deleted)
-
image/gtk-apply.png (added)
-
image/gtk-clear.png (added)
-
image/gtk-close.png (added)
-
image/gtk-no.png (added)
-
image/gtk-ok.png (added)
-
image/gtk-preferences.png (added)
-
image/gtk-redo.png (added)
-
image/gtk-select-color.png (added)
-
image/gtk-undo-ltr.png (added)
-
puzzle/puzzle_1000_easy (added)
-
puzzle/puzzle_1000_hard (added)
-
puzzle/puzzle_1000_medium (added)
-
theme/sudoku.edc (modified) (29 diffs)
Legend:
- Unmodified
- Added
- Removed
-
developers/erin_yueh/pythonEFL-sudoku/data/theme/sudoku.edc
r4521 r4524 3 3 image: "gtk-clear.png" COMP; 4 4 image: "gtk-ok.png" COMP; 5 image: "gtk-apply.png" COMP; 6 image: "gtk-close.png" COMP; 7 image: "gtk-no.png" COMP; 5 8 image: "gtk-redo.png" COMP; 6 9 image: "gtk-undo-ltr.png" COMP; … … 52 55 } 53 56 } /* end of parts */ 54 /* programs - where we react to events/signals */ 55 programs { 56 program { 57 name: "show1"; 58 signal: "show"; 59 in: 1.0 0.0; 60 action: STATE_SET "default" 0.0; 61 target: "bg"; 62 after: "show2"; 63 } 64 program { 65 name: "show2"; 66 in: 1.0 0.0; 67 action: STATE_SET "default2" 0.0; 68 target: "bg"; 69 after: "show1"; 70 } 71 } 57 72 58 } /* end of group */ 73 59 … … 95 81 description { 96 82 state: "default" 0.0; 97 min: 36 36;98 max: 36 36;83 min: 48 48; 84 max: 48 48; 99 85 rel1 { 100 86 to: "puzzle"; … … 105 91 to: "puzzle"; 106 92 relative: 0.0 1.0; 107 offset: 40 20;93 offset: 50 20; 108 94 } 109 95 image.normal: "gtk-select-color.png"; … … 114 100 description { 115 101 state: "default" 0.0; 116 min: 36 36;117 max: 36 36;102 min: 48 48; 103 max: 48 48; 118 104 rel1 { 119 105 to: "puzzle"; 120 106 relative: 0.0 1.0; 121 offset: 40 20;107 offset: 50 20; 122 108 } 123 109 rel2 { 124 110 to: "puzzle"; 125 111 relative: 0.0 1.0; 126 offset: 80 20;112 offset: 100 20; 127 113 } 128 114 image.normal: "gtk-undo-ltr.png"; … … 133 119 description { 134 120 state: "default" 0.0; 135 min: 36 36;136 max: 36 36;121 min: 48 48; 122 max: 48 48; 137 123 rel1 { 138 124 to: "puzzle"; 139 125 relative: 0.0 1.0; 140 offset: 80 20;126 offset: 100 20; 141 127 } 142 128 rel2 { 143 129 to: "puzzle"; 144 130 relative: 0.0 1.0; 145 offset: 1 20 20;131 offset: 150 20; 146 132 } 147 133 image.normal: "gtk-redo.png"; … … 152 138 description { 153 139 state: "default" 0.0; 154 min: 36 36;155 max: 36 36;140 min: 48 48; 141 max: 48 48; 156 142 rel1 { 157 143 to: "puzzle"; 158 144 relative: 0.0 1.0; 159 offset: 1 20 20;145 offset: 150 20; 160 146 } 161 147 rel2 { 162 148 to: "puzzle"; 163 149 relative: 0.0 1.0; 164 offset: 160 20;150 offset: 200 20; 165 151 } 166 152 image.normal: "gtk-clear.png"; … … 171 157 description { 172 158 state: "default" 0.0; 173 min: 36 36;174 max: 36 36;159 min: 48 48; 160 max: 48 48; 175 161 rel1 { 176 162 to: "puzzle"; 177 163 relative: 0.0 1.0; 178 offset: 160 20;164 offset: 200 20; 179 165 } 180 166 rel2 { 181 167 to: "puzzle"; 182 168 relative: 0.0 1.0; 183 offset: 2 00 20;169 offset: 250 20; 184 170 } 185 171 image.normal: "gtk-ok.png"; … … 193 179 description { 194 180 state: "default" 0.0; 195 color: 240 255 240 2 55;196 rel1 { 197 relative: 0. 71.0;181 color: 240 255 240 200; 182 rel1 { 183 relative: 0.6 1.0; 198 184 offset: 0 0; 199 185 to: "puzzle"; 200 186 } 201 187 rel2 { 202 relative: 0.7 1.0; 203 offset: 30 30; 204 to: "puzzle"; 205 } 206 align: 0.0 0.0; 207 } 188 relative: 0.6 1.0; 189 offset: 50 50; 190 to: "puzzle"; 191 } 192 align: 0.0 0.0; 193 } 194 description { 195 state: "activated" 0.0; 196 inherit: "default" 0.0; 197 color: 0 0 0 200; 198 } 208 199 } 209 200 part { … … 214 205 state: "default" 0.0; 215 206 rel1 { 216 relative: 0. 71.0;207 relative: 0.6 1.0; 217 208 offset: 0 0; 218 209 to: "puzzle"; 219 210 } 220 211 rel2 { 221 relative: 0. 71.0;222 offset: 30 30;212 relative: 0.6 1.0; 213 offset: 50 50; 223 214 to: "puzzle"; 224 215 } … … 245 236 description { 246 237 state: "default" 0.0; 247 color: 240 255 240 255;248 rel1 { 249 relative: 0. 71.0;250 offset: 30 0;251 to: "puzzle"; 252 } 253 rel2 { 254 relative: 0. 71.0;255 offset: 60 30;238 color: 240 255 240 150; 239 rel1 { 240 relative: 0.6 1.0; 241 offset: 50 0; 242 to: "puzzle"; 243 } 244 rel2 { 245 relative: 0.6 1.0; 246 offset: 100 50; 256 247 to: "puzzle"; 257 248 } … … 266 257 state: "default" 0.0; 267 258 rel1 { 268 relative: 0. 71.0;269 offset: 30 0;270 to: "puzzle"; 271 } 272 rel2 { 273 relative: 0. 71.0;274 offset: 60 30;259 relative: 0.6 1.0; 260 offset: 50 0; 261 to: "puzzle"; 262 } 263 rel2 { 264 relative: 0.6 1.0; 265 offset: 100 50; 275 266 to: "puzzle"; 276 267 } … … 297 288 description { 298 289 state: "default" 0.0; 299 color: 240 255 240 2 55;300 rel1 { 301 relative: 0. 71.0;302 offset: 60 0;303 to: "puzzle"; 304 } 305 rel2 { 306 relative: 0. 71.0;307 offset: 90 30;290 color: 240 255 240 200; 291 rel1 { 292 relative: 0.6 1.0; 293 offset: 100 0; 294 to: "puzzle"; 295 } 296 rel2 { 297 relative: 0.6 1.0; 298 offset: 150 50; 308 299 to: "puzzle"; 309 300 } … … 318 309 state: "default" 0.0; 319 310 rel1 { 320 relative: 0. 71.0;321 offset: 60 0;322 to: "puzzle"; 323 } 324 rel2 { 325 relative: 0. 71.0;326 offset: 90 30;311 relative: 0.6 1.0; 312 offset: 100 0; 313 to: "puzzle"; 314 } 315 rel2 { 316 relative: 0.6 1.0; 317 offset: 150 50; 327 318 to: "puzzle"; 328 319 } … … 349 340 description { 350 341 state: "default" 0.0; 351 color: 240 255 240 255;352 rel1 { 353 relative: 0. 71.0;354 offset: 0 30;355 to: "puzzle"; 356 } 357 rel2 { 358 relative: 0. 71.0;359 offset: 30 60;342 color: 240 255 240 150; 343 rel1 { 344 relative: 0.6 1.0; 345 offset: 0 50; 346 to: "puzzle"; 347 } 348 rel2 { 349 relative: 0.6 1.0; 350 offset: 50 100; 360 351 to: "puzzle"; 361 352 } … … 370 361 state: "default" 0.0; 371 362 rel1 { 372 relative: 0. 71.0;373 offset: 0 30;374 to: "puzzle"; 375 } 376 rel2 { 377 relative: 0. 71.0;378 offset: 30 60;363 relative: 0.6 1.0; 364 offset: 0 50; 365 to: "puzzle"; 366 } 367 rel2 { 368 relative: 0.6 1.0; 369 offset: 50 100; 379 370 to: "puzzle"; 380 371 } … … 401 392 description { 402 393 state: "default" 0.0; 403 color: 240 255 240 2 55;404 rel1 { 405 relative: 0. 71.0;406 offset: 30 30;407 to: "puzzle"; 408 } 409 rel2 { 410 relative: 0. 71.0;411 offset: 60 60;394 color: 240 255 240 200; 395 rel1 { 396 relative: 0.6 1.0; 397 offset: 50 50; 398 to: "puzzle"; 399 } 400 rel2 { 401 relative: 0.6 1.0; 402 offset: 100 100; 412 403 to: "puzzle"; 413 404 } … … 422 413 state: "default" 0.0; 423 414 rel1 { 424 relative: 0. 71.0;425 offset: 30 30;426 to: "puzzle"; 427 } 428 rel2 { 429 relative: 0. 71.0;430 offset: 60 60;415 relative: 0.6 1.0; 416 offset: 50 50; 417 to: "puzzle"; 418 } 419 rel2 { 420 relative: 0.6 1.0; 421 offset: 100 100; 431 422 to: "puzzle"; 432 423 } … … 453 444 description { 454 445 state: "default" 0.0; 455 color: 240 255 240 255;456 rel1 { 457 relative: 0. 71.0;458 offset: 60 30;459 to: "puzzle"; 460 } 461 rel2 { 462 relative: 0. 71.0;463 offset: 90 60;446 color: 240 255 240 150; 447 rel1 { 448 relative: 0.6 1.0; 449 offset: 100 50; 450 to: "puzzle"; 451 } 452 rel2 { 453 relative: 0.6 1.0; 454 offset: 150 100; 464 455 to: "puzzle"; 465 456 } … … 474 465 state: "default" 0.0; 475 466 rel1 { 476 relative: 0. 71.0;477 offset: 60 30;478 to: "puzzle"; 479 } 480 rel2 { 481 relative: 0. 71.0;482 offset: 90 60;467 relative: 0.6 1.0; 468 offset: 100 50; 469 to: "puzzle"; 470 } 471 rel2 { 472 relative: 0.6 1.0; 473 offset: 150 100; 483 474 to: "puzzle"; 484 475 } … … 505 496 description { 506 497 state: "default" 0.0; 507 color: 240 255 240 2 55;508 rel1 { 509 relative: 0. 71.0;510 offset: 0 60;511 to: "puzzle"; 512 } 513 rel2 { 514 relative: 0. 71.0;515 offset: 30 90;498 color: 240 255 240 200; 499 rel1 { 500 relative: 0.6 1.0; 501 offset: 0 100; 502 to: "puzzle"; 503 } 504 rel2 { 505 relative: 0.6 1.0; 506 offset: 50 150; 516 507 to: "puzzle"; 517 508 } … … 526 517 state: "default" 0.0; 527 518 rel1 { 528 relative: 0. 71.0;529 offset: 0 60;530 to: "puzzle"; 531 } 532 rel2 { 533 relative: 0. 71.0;534 offset: 30 90;519 relative: 0.6 1.0; 520 offset: 0 100; 521 to: "puzzle"; 522 } 523 rel2 { 524 relative: 0.6 1.0; 525 offset: 50 150; 535 526 to: "puzzle"; 536 527 } … … 557 548 description { 558 549 state: "default" 0.0; 559 color: 240 255 240 255;560 rel1 { 561 relative: 0. 71.0;562 offset: 30 60;563 to: "puzzle"; 564 } 565 rel2 { 566 relative: 0. 71.0;567 offset: 60 90;550 color: 240 255 240 150; 551 rel1 { 552 relative: 0.6 1.0; 553 offset: 50 100; 554 to: "puzzle"; 555 } 556 rel2 { 557 relative: 0.6 1.0; 558 offset: 100 150; 568 559 to: "puzzle"; 569 560 } … … 578 569 state: "default" 0.0; 579 570 rel1 { 580 relative: 0. 71.0;581 offset: 30 60;582 to: "puzzle"; 583 } 584 rel2 { 585 relative: 0. 71.0;586 offset: 60 90;571 relative: 0.6 1.0; 572 offset: 50 100; 573 to: "puzzle"; 574 } 575 rel2 { 576 relative: 0.6 1.0; 577 offset: 100 150; 587 578 to: "puzzle"; 588 579 } … … 609 600 description { 610 601 state: "default" 0.0; 611 color: 240 255 240 2 55;612 rel1 { 613 relative: 0. 71.0;614 offset: 60 60;615 to: "puzzle"; 616 } 617 rel2 { 618 relative: 0. 71.0;619 offset: 90 90;602 color: 240 255 240 200; 603 rel1 { 604 relative: 0.6 1.0; 605 offset: 100 100; 606 to: "puzzle"; 607 } 608 rel2 { 609 relative: 0.6 1.0; 610 offset: 150 150; 620 611 to: "puzzle"; 621 612 } … … 630 621 state: "default" 0.0; 631 622 rel1 { 632 relative: 0. 71.0;633 offset: 60 60;634 to: "puzzle"; 635 } 636 rel2 { 637 relative: 0. 71.0;638 offset: 90 90;623 relative: 0.6 1.0; 624 offset: 100 100; 625 to: "puzzle"; 626 } 627 rel2 { 628 relative: 0.6 1.0; 629 offset: 150 150; 639 630 to: "puzzle"; 640 631 } … … 653 644 color: 0 255 0 255; 654 645 } 655 }/* end of key9 */ 646 }/* end of key9 */ 647 /* game level */ 648 /* 649 part { 650 name: "level"; 651 type: RECT; 652 mouse_events: 1; 653 description { 654 state: "default" 0.0; 655 color: 100 100 100 120; 656 rel1 { 657 relative: 0.1 1.0; 658 offset: 0 100; 659 to: "puzzle"; 660 } 661 rel2 { 662 relative: 0.1 1.0; 663 offset: 80 130; 664 to: "puzzle"; 665 } 666 align: 0.0 0.0; 667 } 668 } 669 part { 670 name: "levelkey"; 671 type: TEXT; 672 mouse_events: 0; 673 description { 674 state: "default" 0.0; 675 rel1 { 676 relative: 0.1 1.0; 677 offset: 0 100; 678 to: "puzzle"; 679 } 680 rel2 { 681 relative: 0.1 1.0; 682 offset: 80 130; 683 to: "puzzle"; 684 } 685 color: 255 0 0 255; 686 text { 687 text: "EASY"; 688 font: "Edje-Sans-Bold"; 689 size: 20; 690 min: 1 1; 691 align: 0.5 0.5; 692 } 693 } 694 description { 695 state: "activated" 0.0; 696 inherit: "default" 0.0; 697 color: 0 255 0 255; 698 } 699 } 700 end of game level */ 656 701 } /* end of parts */ 657 702 /* programs - where we react to events/signals */ 658 programs { 659 program { 660 name: "show1"; 661 signal: "show"; 662 in: 1.0 0.0; 663 action: STATE_SET "default" 0.0; 664 target: "puzzle"; 665 after: "show2"; 666 } 667 program { 668 name: "show2"; 669 in: 1.0 0.0; 670 action: STATE_SET "default2" 0.0; 671 target: "puzzle"; 672 after: "show1"; 673 } 674 } 703 programs { 704 program { 705 name: "match_item1_clicked"; 706 signal: "mouse,down,*"; 707 source: "1"; 708 action: STATE_SET "activated" 0.0; target: "key1"; 709 } 710 program { 711 name: "match_item1_unclicked"; 712 signal: "mouse,up,*"; 713 source: "1"; 714 action: STATE_SET "default" 0.0; target: "key1"; 715 } 716 program { 717 name: "match_item2_clicked"; 718 signal: "mouse,down,*"; 719 source: "2"; 720 action: STATE_SET "activated" 0.0; target: "key2"; 721 } 722 program { 723 name: "match_item2_unclicked"; 724 signal: "mouse,up,*"; 725 source: "2"; 726 action: STATE_SET "default" 0.0; target: "key2"; 727 } 728 program { 729 name: "match_item3_clicked"; 730 signal: "mouse,down,*"; 731 source: "3"; 732 action: STATE_SET "activated" 0.0; target: "key3"; 733 } 734 program { 735 name: "match_item3_unclicked"; 736 signal: "mouse,up,*"; 737 source: "3"; 738 action: STATE_SET "default" 0.0; target: "key3"; 739 } 740 program { 741 name: "match_item4_clicked"; 742 signal: "mouse,down,*"; 743 source: "4"; 744 action: STATE_SET "activated" 0.0; target: "key4"; 745 } 746 program { 747 name: "match_item4_unclicked"; 748 signal: "mouse,up,*"; 749 source: "4"; 750 action: STATE_SET "default" 0.0; target: "key4"; 751 } 752 program { 753 name: "match_item5_clicked"; 754 signal: "mouse,down,*"; 755 source: "5"; 756 action: STATE_SET "activated" 0.0; target: "key5"; 757 } 758 program { 759 name: "match_item5_unclicked"; 760 signal: "mouse,up,*"; 761 source: "5"; 762 action: STATE_SET "default" 0.0; target: "key5"; 763 } program { 764 name: "match_item6_clicked"; 765 signal: "mouse,down,*"; 766 source: "6"; 767 action: STATE_SET "activated" 0.0; target: "key6"; 768 } 769 program { 770 name: "match_item6_unclicked"; 771 signal: "mouse,up,*"; 772 source: "6"; 773 action: STATE_SET "default" 0.0; target: "key6"; 774 } 775 program { 776 name: "match_item7_clicked"; 777 signal: "mouse,down,*"; 778 source: "7"; 779 action: STATE_SET "activated" 0.0; target: "key7"; 780 } 781 program { 782 name: "match_item7_unclicked"; 783 signal: "mouse,up,*"; 784 source: "7"; 785 action: STATE_SET "default" 0.0; target: "key7"; 786 } 787 program { 788 name: "match_item8_clicked"; 789 signal: "mouse,down,*"; 790 source: "8"; 791 action: STATE_SET "activated" 0.0; target: "key8"; 792 } 793 program { 794 name: "match_item8_unclicked"; 795 signal: "mouse,up,*"; 796 source: "8"; 797 action: STATE_SET "default" 0.0; target: "key8"; 798 } 799 program { 800 name: "match_item9_clicked"; 801 signal: "mouse,down,*"; 802 source: "9"; 803 action: STATE_SET "activated" 0.0; target: "key9"; 804 } 805 program { 806 name: "match_item9_unclicked"; 807 signal: "mouse,up,*"; 808 source: "9"; 809 action: STATE_SET "default" 0.0; target: "key9"; 810 } 811 } /* end of programs */ 675 812 } /* end of group */ 676 813 /* display 81 buttons for puzzle */ … … 696 833 align: 0.0 0.0; 697 834 } 835 description { 836 state: "activated" 0.0; 837 inherit: "default" 0.0; 838 color: 240 255 150 200; 839 } 698 840 } 699 841 part { … … 2155 2297 /* end of row 7 */ 2156 2298 } /* end of parts */ 2299 /* programs - where we react to events/signals */ 2300 program { 2301 name: "fixed"; 2302 signal: "FIXED"; 2303 source: "*"; 2304 action: STATE_SET "activated" 0.0; 2305 target: "button1"; 2157 2306 2307 } 2308 program { 2309 name: "nonfixed"; 2310 signal: "NONFIXED"; 2311 source: "*"; 2312 action: STATE_SET "default" 0.0; 2313 target: "button1"; 2314 } 2158 2315 } /* end of group */ 2159 2316 } /* end of collections */
Note: See TracChangeset
for help on using the changeset viewer.
