Rev 3435 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3435 | Rev 3472 | ||
---|---|---|---|
Line 428... | Line 428... | ||
428 | pusha |
428 | pusha |
429 | mov esi,color_table |
429 | mov esi,color_table |
430 | mov ebx,220*65536+14 |
430 | mov ebx,220*65536+14 |
431 | mov ecx,10*65536+14 |
431 | mov ecx,10*65536+14 |
432 | mov eax,13 |
432 | mov eax,13 |
- | 433 | mov [frame_data.draw_text_flag],dword 0 |
|
433 | ;-------------------------------------- |
434 | ;-------------------------------------- |
434 | newcol: |
435 | newcol: |
435 | mov edx,[esi] |
436 | mov edx,[esi] |
436 | mcall |
437 | mcall |
- | 438 | ||
- | 439 | push ebx ecx |
|
- | 440 | ||
- | 441 | sub ebx,2 shl 16 |
|
- | 442 | add bx,4 |
|
- | 443 | sub ecx,2 shl 16 |
|
- | 444 | add cx,4 |
|
- | 445 | ||
- | 446 | mov [frame_data.x],ebx |
|
- | 447 | mov [frame_data.y],ecx |
|
- | 448 | ||
- | 449 | push dword frame_data |
|
437 | call draw_rectangle |
450 | call [Frame_draw] |
- | 451 | ||
- | 452 | pop ecx ebx |
|
- | 453 | ||
438 | add ecx,20*65536 |
454 | add ecx,20*65536 |
439 | add esi,4 |
455 | add esi,4 |
440 | cmp esi,color_table+4*9 |
456 | cmp esi,color_table+4*9 |
441 | jbe newcol |
457 | jbe newcol |
Line 523... | Line 539... | ||
523 | ;----------------------------------- |
539 | ;----------------------------------- |
524 | call draw_button_row |
540 | call draw_button_row |
525 | call draw_button_row_of_texts |
541 | call draw_button_row_of_texts |
526 | call draw_colours |
542 | call draw_colours |
527 | ;----------------------------------- |
543 | ;----------------------------------- |
528 | mov ebx,frame_1.x shl 16+frame_1.width |
544 | mov [frame_data.x],dword frame_1.x shl 16+frame_1.width |
529 | mov ecx,frame_1.y shl 16+frame_1.height |
545 | mov [frame_data.y],dword frame_1.y shl 16+frame_1.height |
- | 546 | mov [frame_data.text_pointer],dword select_dtp_text |
|
530 | call draw_rectangle |
547 | mov eax,[w_work] |
531 | - | ||
532 | ; select color DTP text |
548 | mov [frame_data.font_backgr_color],eax |
533 | mov ecx,[w_work_text] |
549 | mov eax,[w_work_text] |
534 | and ecx,0xffffff |
550 | mov [frame_data.font_color],eax |
535 | add ecx,0x40000000 |
551 | mov [frame_data.draw_text_flag],dword 1 |
- | 552 | ||
536 | mcall 4, |
553 | push dword frame_data |
537 | select_dtp_text.size,[w_work] |
554 | call [Frame_draw] |
538 | ;----------------------------------- |
555 | ;----------------------------------- |
539 | mov ebx,frame_2.x shl 16+frame_2.width |
556 | mov [frame_data.x],dword frame_2.x shl 16+frame_2.width |
540 | mov ecx,frame_2.y shl 16+frame_2.height |
557 | mov [frame_data.y],dword frame_2.y shl 16+frame_2.height |
541 | call draw_rectangle |
558 | mov [frame_data.text_pointer],dword select_skin_text |
542 | 559 | ||
543 | ; select skin text |
- | |
544 | mov ecx,[w_work_text] |
560 | push dword frame_data |
545 | and ecx,0xffffff |
561 | call [Frame_draw] |
546 | add ecx,0x40000000 |
- | |
547 | mcall 4, |
- | |
548 | select_skin_text.size,[w_work] |
- | |
549 | ;----------------------------------- |
562 | ;----------------------------------- |
550 | call draw_PathShow |
563 | call draw_PathShow |
551 | ;----------------------------------- |
564 | ;----------------------------------- |
552 | cmp dword[not_packed_area+SKIN_HEADER.ident],'SKIN' |
565 | cmp dword[not_packed_area+SKIN_HEADER.ident],'SKIN' |
553 | jne @f |
566 | jne @f |
Line 555... | Line 568... | ||
555 | @@: |
568 | @@: |
556 | .end: |
569 | .end: |
557 | mcall 12,2 |
570 | mcall 12,2 |
558 | ret |
571 | ret |
559 | ;----------------------------------------------------------------------------- |
572 | ;----------------------------------------------------------------------------- |
560 | include 'drawrect.inc' |
- | |
561 | ;----------------------------------------------------------------------------- |
- | |
562 | include 'drawskin.inc' |
573 | include 'drawskin.inc' |
563 | ;----------------------------------------------------------------------------- |
574 | ;----------------------------------------------------------------------------- |
564 | ; DATA AREA |
575 | ; DATA AREA |
565 | ;----------------------------------------------------------------------------- |
576 | ;----------------------------------------------------------------------------- |
566 | include 'idata.inc' |
577 | include 'idata.inc' |