Cleanup: rename draw_markers_time -> ED_markers_draw
authorCampbell Barton <ideasman42@gmail.com>
Tue, 28 Oct 2014 18:03:13 +0000 (19:03 +0100)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 28 Oct 2014 18:03:13 +0000 (19:03 +0100)
source/blender/editors/animation/anim_markers.c
source/blender/editors/include/ED_markers.h
source/blender/editors/space_action/space_action.c
source/blender/editors/space_graph/space_graph.c
source/blender/editors/space_nla/space_nla.c
source/blender/editors/space_sequencer/sequencer_draw.c
source/blender/editors/space_time/space_time.c

index bb959ad06e5d6655ab5fde3cc687a8ecd8821e1e..60fd9dc7616b80921d784f1d09b08e21723f8719 100644 (file)
@@ -411,7 +411,7 @@ static void draw_marker(View2D *v2d, TimeMarker *marker, int cfra, int flag)
 }
 
 /* Draw Scene-Markers in time window */
-void draw_markers_time(const bContext *C, int flag)
+void ED_markers_draw(const bContext *C, int flag)
 {
        ListBase *markers = ED_context_get_markers(C);
        View2D *v2d;
index 241cd700c2096ddc120c48654d3989dce65113ce..5eaf459a4e1bdfe32a9cdcc8e2dcf4c97ed7f76a 100644 (file)
@@ -47,7 +47,7 @@ enum {
        DRAW_MARKERS_MARGIN = (1 << 2),
 };
 
-void draw_markers_time(const struct bContext *C, int flag);
+void ED_markers_draw(const struct bContext *C, int flag);
 
 /* Backend API ----------------------------- */
 
index ba68becaed119c661b522526e92dfee6157afa8d..5d0b34a2e0c205ebb14db21394168f8c41c0db71 100644 (file)
@@ -198,7 +198,7 @@ static void action_main_area_draw(const bContext *C, ARegion *ar)
        UI_view2d_view_orthoSpecial(ar, v2d, 1);
        
        flag = ((ac.markers && (ac.markers != &ac.scene->markers)) ? DRAW_MARKERS_LOCAL : 0) | DRAW_MARKERS_MARGIN;
-       draw_markers_time(C, flag);
+       ED_markers_draw(C, flag);
        
        /* preview range */
        UI_view2d_view_ortho(v2d);
index 7ed1c2237dcc4e5d5d88bd188aa2f4c79836833c..ef6cb1980083b4f18c7d5d62f44a04e666e91bf9 100644 (file)
@@ -293,7 +293,7 @@ static void graph_main_area_draw(const bContext *C, ARegion *ar)
        
        /* markers */
        UI_view2d_view_orthoSpecial(ar, v2d, 1);
-       draw_markers_time(C, DRAW_MARKERS_MARGIN);
+       ED_markers_draw(C, DRAW_MARKERS_MARGIN);
        
        /* preview range */
        UI_view2d_view_ortho(v2d);
index f36016b612f3e642bc2e15c3a532cb2f5de09e5d..ee2914ad227e282051e04b5df2d78b88e8ed2452 100644 (file)
@@ -305,7 +305,7 @@ static void nla_main_area_draw(const bContext *C, ARegion *ar)
        
        /* markers */
        UI_view2d_view_orthoSpecial(ar, v2d, 1);
-       draw_markers_time(C, DRAW_MARKERS_MARGIN);
+       ED_markers_draw(C, DRAW_MARKERS_MARGIN);
        
        /* preview range */
        UI_view2d_view_ortho(v2d);
index 383da74278e2f4868945fb2e37b5175ec1fde8cc..1eb61f4bfd7fad444f45a4fe622f8c9c39564250 100644 (file)
@@ -1487,7 +1487,7 @@ void draw_timeline_seq(const bContext *C, ARegion *ar)
        
        /* markers */
        UI_view2d_view_orthoSpecial(ar, v2d, 1);
-       draw_markers_time(C, DRAW_MARKERS_LINES | DRAW_MARKERS_MARGIN);
+       ED_markers_draw(C, DRAW_MARKERS_LINES | DRAW_MARKERS_MARGIN);
        
        /* preview range */
        UI_view2d_view_ortho(v2d);
index 88c57d45b7955999182ad526f06b33ea5ca4fbfd..d26ee982b20104db93d22074a5de8d8eb8e04551 100644 (file)
@@ -520,7 +520,7 @@ static void time_main_area_draw(const bContext *C, ARegion *ar)
        
        /* markers */
        UI_view2d_view_orthoSpecial(ar, v2d, 1);
-       draw_markers_time(C, 0);
+       ED_markers_draw(C, 0);
        
        /* caches */
        time_draw_cache(stime, obact, scene);