Changeset 2249 in Sophya
- Timestamp:
- Nov 7, 2002, 12:50:46 AM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PI/pigratt.cc
r2242 r2249 517 517 string& opts = att[k]; 518 518 if (opts == "horizleft") { 519 tdirpos &= ( !PI_HorizontalPosition);519 tdirpos &= (~PI_HorizontalPosition); 520 520 tdirpos |= PI_HorizontalLeft; 521 521 } 522 522 else if (opts == "horizcenter") { 523 tdirpos &= ( !PI_HorizontalPosition);523 tdirpos &= (~PI_HorizontalPosition); 524 524 tdirpos |= PI_HorizontalCenter; 525 525 } 526 526 else if (opts == "horizright") { 527 tdirpos &= ( !PI_HorizontalPosition);527 tdirpos &= (~PI_HorizontalPosition); 528 528 tdirpos |= PI_HorizontalRight; 529 529 } 530 530 else if (opts == "vertbottom") { 531 tdirpos &= ( !PI_VerticalPosition);531 tdirpos &= (~PI_VerticalPosition); 532 532 tdirpos |= PI_VerticalBottom; 533 533 } 534 534 else if (opts == "vertcenter") { 535 tdirpos &= ( !PI_VerticalPosition);535 tdirpos &= (~PI_VerticalPosition); 536 536 tdirpos |= PI_VerticalCenter; 537 537 } 538 538 else if (opts == "verttop") { 539 tdirpos &= ( !PI_VerticalPosition);539 tdirpos &= (~PI_VerticalPosition); 540 540 tdirpos |= PI_VerticalTop; 541 541 } 542 542 else if (opts == "textdirhoriz") { 543 tdirpos &= ( !PI_TextDirection);543 tdirpos &= (~PI_TextDirection); 544 544 } 545 545 else if (opts == "textdirvertup") { 546 tdirpos &= ( !PI_TextDirection);546 tdirpos &= (~PI_TextDirection); 547 547 tdirpos |= PI_TextDirectionVerticalUp; 548 548 } 549 549 else if (opts == "textdirvertdown") { 550 tdirpos &= ( !PI_TextDirection);550 tdirpos &= (~PI_TextDirection); 551 551 tdirpos |= PI_TextDirectionVerticalDown; 552 552 }
Note:
See TracChangeset
for help on using the changeset viewer.