OLD | NEW |
1 /* | 1 /* |
2 * ***** BEGIN GPL LICENSE BLOCK ***** | 2 * ***** BEGIN GPL LICENSE BLOCK ***** |
3 * | 3 * |
4 * This program is free software; you can redistribute it and/or | 4 * This program is free software; you can redistribute it and/or |
5 * modify it under the terms of the GNU General Public License | 5 * modify it under the terms of the GNU General Public License |
6 * as published by the Free Software Foundation; either version 2 | 6 * as published by the Free Software Foundation; either version 2 |
7 * of the License, or (at your option) any later version.· | 7 * of the License, or (at your option) any later version.· |
8 * | 8 * |
9 * This program is distributed in the hope that it will be useful, | 9 * This program is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
577 uiBlockSetEmboss(block, UI_EMBOSSN); | 577 uiBlockSetEmboss(block, UI_EMBOSSN); |
578 ················ | 578 ················ |
579 /* expand */ | 579 /* expand */ |
580 uiItemR(sub, &ptr, "show_expanded", UI_ITEM_R_ICON_ONLY, "", ICO
N_NONE); | 580 uiItemR(sub, &ptr, "show_expanded", UI_ITEM_R_ICON_ONLY, "", ICO
N_NONE); |
581 ················ | 581 ················ |
582 /* checkbox for 'active' status (for now) */ | 582 /* checkbox for 'active' status (for now) */ |
583 uiItemR(sub, &ptr, "active", UI_ITEM_R_ICON_ONLY, "", ICON_NONE)
; | 583 uiItemR(sub, &ptr, "active", UI_ITEM_R_ICON_ONLY, "", ICON_NONE)
; |
584 ················ | 584 ················ |
585 /* name */ | 585 /* name */ |
586 if (fmi) | 586 if (fmi) |
587 » » » uiItemL(sub, IFACE_(fmi->name), ICON_NONE); | 587 » » » uiItemL(sub, fmi->name, ICON_NONE); |
588 else | 588 else |
589 » » » uiItemL(sub, IFACE_("<Unknown Modifier>"), ICON_NONE); | 589 » » » uiItemL(sub, "<Unknown Modifier>", ICON_NONE); |
590 ················ | 590 ················ |
591 /* right-align ------------------------------------------- */ | 591 /* right-align ------------------------------------------- */ |
592 sub = uiLayoutRow(row, TRUE); | 592 sub = uiLayoutRow(row, TRUE); |
593 uiLayoutSetAlignment(sub, UI_LAYOUT_ALIGN_RIGHT); | 593 uiLayoutSetAlignment(sub, UI_LAYOUT_ALIGN_RIGHT); |
594 ················ | 594 ················ |
595 ················ | 595 ················ |
596 /* 'mute' button */ | 596 /* 'mute' button */ |
597 uiItemR(sub, &ptr, "mute", UI_ITEM_R_ICON_ONLY, "", ICON_NONE); | 597 uiItemR(sub, &ptr, "mute", UI_ITEM_R_ICON_ONLY, "", ICON_NONE); |
598 ················ | 598 ················ |
599 uiBlockSetEmboss(block, UI_EMBOSSN); | 599 uiBlockSetEmboss(block, UI_EMBOSSN); |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
757 /* now add it to the end of the list */ | 757 /* now add it to the end of the list */ |
758 BLI_addtail(modifiers, fcmN); | 758 BLI_addtail(modifiers, fcmN); |
759 ok = 1; | 759 ok = 1; |
760 } | 760 } |
761 ········ | 761 ········ |
762 /* did we succeed? */ | 762 /* did we succeed? */ |
763 return ok; | 763 return ok; |
764 } | 764 } |
765 | 765 |
766 /* ********************************************** */ | 766 /* ********************************************** */ |
OLD | NEW |