LEFT | RIGHT |
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 1009 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1020 /* window */ | 1020 /* window */ |
1021 prop = RNA_def_property(srna, "back", PROP_FLOAT, PROP_COLOR_GAMMA); | 1021 prop = RNA_def_property(srna, "back", PROP_FLOAT, PROP_COLOR_GAMMA); |
1022 RNA_def_property_array(prop, 3); | 1022 RNA_def_property_array(prop, 3); |
1023 RNA_def_property_ui_text(prop, "Window Background", ""); | 1023 RNA_def_property_ui_text(prop, "Window Background", ""); |
1024 RNA_def_property_update(prop, 0, "rna_userdef_update"); | 1024 RNA_def_property_update(prop, 0, "rna_userdef_update"); |
1025 | 1025 |
1026 prop = RNA_def_property(srna, "title", PROP_FLOAT, PROP_COLOR_GAMMA); | 1026 prop = RNA_def_property(srna, "title", PROP_FLOAT, PROP_COLOR_GAMMA); |
1027 RNA_def_property_array(prop, 3); | 1027 RNA_def_property_array(prop, 3); |
1028 RNA_def_property_ui_text(prop, "Title", ""); | 1028 RNA_def_property_ui_text(prop, "Title", ""); |
1029 RNA_def_property_update(prop, 0, "rna_userdef_update"); | 1029 RNA_def_property_update(prop, 0, "rna_userdef_update"); |
1030 | |
1031 prop = RNA_def_property(srna, "text", PROP_FLOAT, PROP_COLOR_GAMMA); | |
1032 RNA_def_property_array(prop, 3); | |
1033 RNA_def_property_range(prop, 1, 5); | 1030 RNA_def_property_range(prop, 1, 5); |
1034 RNA_def_property_ui_text(prop, "Outline Width", ""); | 1031 RNA_def_property_ui_text(prop, "Outline Width", ""); |
1035 RNA_def_property_update(prop, 0, "rna_userdef_update"); | 1032 RNA_def_property_update(prop, 0, "rna_userdef_update"); |
1036 } | 1033 } |
1037 | 1034 |
1038 static void rna_def_userdef_theme_space_graph(BlenderRNA *brna) | 1035 static void rna_def_userdef_theme_space_graph(BlenderRNA *brna) |
1039 { | 1036 { |
1040 StructRNA *srna; | 1037 StructRNA *srna; |
LEFT | RIGHT |