def create_separator_box(padding_x=0, padding_y=0):    
    separator_box = HSeparator(
        app_theme.get_shadow_color("hSeparator").get_color_info(),
        padding_x, padding_y)
    return separator_box
def draw_item_mask(cr, x, y, width, height, name):    
    draw_vlinear(cr, x, y, width, height,
                 app_theme.get_shadow_color(name).get_color_info())
def draw_separator(cr, x, y, width, height):
    draw_hlinear(cr, x, y, width, height, 
                 app_theme.get_shadow_color("hSeparator").get_color_info())
Exemplo n.º 4
0
def draw_item_mask(cr, x, y, width, height, name):
    draw_vlinear(cr, x, y, width, height,
                 app_theme.get_shadow_color(name).get_color_info())
Exemplo n.º 5
0
def draw_separator(cr, x, y, width, height):
    draw_hlinear(cr, x, y, width, height,
                 app_theme.get_shadow_color("hSeparator").get_color_info())
Exemplo n.º 6
0
def create_separator_box(padding_x=0, padding_y=0):
    separator_box = HSeparator(
        app_theme.get_shadow_color("hSeparator").get_color_info(), padding_x,
        padding_y)
    return separator_box