|
40 | 40 | static void draw_internal_load_coords(int type_descrip_index, t_pb_graph_node* pb_graph_node, float parent_width, float parent_height);
|
41 | 41 | static int draw_internal_find_max_lvl(const t_pb_type& pb_type);
|
42 | 42 | static void draw_internal_calc_coords(int type_descrip_index, t_pb_graph_node* pb_graph_node, int num_pb_types, int type_index, int num_pb, int pb_index, float parent_width, float parent_height, float* blk_width, float* blk_height);
|
43 |
| -static bool is_top_lvl_block_highlighted(const ClusterBlockId blk_id, const t_logical_block_type_ptr type); |
| 43 | +static bool is_top_lvl_block_highlighted(const ClusterBlockId blk_id); |
44 | 44 | std::vector<AtomBlockId> collect_pb_atoms(const t_pb* pb);
|
45 | 45 | void collect_pb_atoms_recurr(const t_pb* pb, std::vector<AtomBlockId>& atoms);
|
46 | 46 | t_pb* highlight_sub_block_helper(const ClusterBlockId clb_index, t_pb* pb, const ezgl::point2d& local_pt, int max_depth);
|
@@ -341,7 +341,7 @@ static void draw_internal_pb(const ClusterBlockId clb_index, t_pb* pb, const ezg
|
341 | 341 | /// first draw box ///
|
342 | 342 |
|
343 | 343 | if (pb_type->depth == 0) {
|
344 |
| - if (!is_top_lvl_block_highlighted(clb_index, type)) { |
| 344 | + if (!is_top_lvl_block_highlighted(clb_index)) { |
345 | 345 | // if this is a top level pb, and only if it isn't selected (ie. a funny colour),
|
346 | 346 | // overwrite it. (but stil draw the text)
|
347 | 347 |
|
@@ -665,7 +665,7 @@ void draw_one_logical_connection(const AtomPinId src_pin, const AtomPinId sink_p
|
665 | 665 | /* This function checks whether a top-level clb has been highlighted. It does
|
666 | 666 | * so by checking whether the color in this block is default color.
|
667 | 667 | */
|
668 |
| -static bool is_top_lvl_block_highlighted(const ClusterBlockId blk_id, const t_logical_block_type_ptr type) { |
| 668 | +static bool is_top_lvl_block_highlighted(const ClusterBlockId blk_id) { |
669 | 669 | t_draw_state* draw_state;
|
670 | 670 |
|
671 | 671 | /* Call accessor function to retrieve global variables. */
|
|
0 commit comments