Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Garcia <diego@sinestesia.co>2015-01-03 14:48:29 +0300
committerJoshua Leung <aligorith@gmail.com>2015-01-03 15:17:51 +0300
commitf329ebe38a19ec11ccc7fbf0c3ad71f52685aac9 (patch)
tree45775b847ba1f46a6916c702bc05447a362e3c0d /source/blender/editors/space_time
parentc50003cd09ab8d3477406f58f00e530e5e67b45f (diff)
D824: Add themeing for keyframe lines in Timeline
Reviewed by: Joshua Leung (aligorith)
Diffstat (limited to 'source/blender/editors/space_time')
-rw-r--r--source/blender/editors/space_time/space_time.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/space_time/space_time.c b/source/blender/editors/space_time/space_time.c
index 69a1853b7f1..7709980d12e 100644
--- a/source/blender/editors/space_time/space_time.c
+++ b/source/blender/editors/space_time/space_time.c
@@ -349,7 +349,7 @@ static void time_draw_keyframes(const bContext *C, ARegion *ar)
/* draw grease pencil keyframes (if available) */
if (gpd) {
- glColor3ub(0xB5, 0xE6, 0x1D);
+ UI_ThemeColor(TH_TIME_GP_KEYFRAME);
time_draw_idblock_keyframes(v2d, (ID *)gpd, onlysel);
}
@@ -359,7 +359,7 @@ static void time_draw_keyframes(const bContext *C, ARegion *ar)
*/
if (onlysel == 0) {
/* set draw color */
- glColor3ub(0xDD, 0xA7, 0x00);
+ UI_ThemeColorShade(TH_TIME_KEYFRAME, -50);
time_draw_idblock_keyframes(v2d, (ID *)scene, onlysel);
}
@@ -368,7 +368,7 @@ static void time_draw_keyframes(const bContext *C, ARegion *ar)
* OR the onlysel flag was set, which means that only active object's keyframes should
* be considered
*/
- glColor3ub(0xDD, 0xD7, 0x00);
+ UI_ThemeColor(TH_TIME_KEYFRAME);
if (ob && ((ob->mode == OB_MODE_POSE) || onlysel)) {
/* draw keyframes for active object only */