You are here

function panels_add_rounded_corners_css in Panels 6.2

Same name and namespace in other branches
  1. 5.2 styles/rounded_corners.inc \panels_add_rounded_corners_css()
  2. 6.3 plugins/styles/corners/rounded_corners.inc \panels_add_rounded_corners_css()
  3. 7.3 plugins/styles/corners/rounded_corners.inc \panels_add_rounded_corners_css()
2 calls to panels_add_rounded_corners_css()
theme_panels_rounded_corners_style_render_pane in styles/rounded_corners.inc
Render callback for a single pane.
theme_panels_rounded_corners_style_render_panel in styles/rounded_corners.inc
Render callback.

File

styles/rounded_corners.inc, line 66
styles/rounded_corners.inc Definition of the 'rounded_corners' panel style.

Code

function panels_add_rounded_corners_css($display, $where) {
  static $displays_used = array();
  if (empty($displays_used[$display->css_id])) {
    panels_rounded_corners_css($display, $where);
    $displays_used[$display->css_id] = TRUE;
  }
}