diff --git a/core b/core index 689de54..927f508 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 689de54a962b7e1960859e214103ee50c67ee153 +Subproject commit 927f508765e79508b7520d12d2e6467dab175a08 diff --git a/drawing/Common.lua b/drawing/Common.lua index cfcff35..5cad858 100644 --- a/drawing/Common.lua +++ b/drawing/Common.lua @@ -95,11 +95,13 @@ M.Header = function(x, y, w, s) -- cap = HEADER_UNDERLINE_CAP -- } underline = _G_Widget_.Line( - {x = x, y = underline_y}, - {x = x + w, y = underline_y}, - HEADER_UNDERLINE_THICKNESS, - HEADER_UNDERLINE_CAP, - _G_Patterns_.HEADER_FG + _G_Widget_.make_point(x, underline_y), + _G_Widget_.make_point(x + w, underline_y), + _G_Widget_.line_style( + HEADER_UNDERLINE_THICKNESS, + _G_Patterns_.HEADER_FG, + HEADER_UNDERLINE_CAP + ) ) } @@ -320,11 +322,13 @@ M.initSeparator = function(x, y, w) -- line_pattern = _G_Patterns_.BORDER_FG, -- } return _G_Widget_.Line( - {x = x, y = y}, - {x = x + w, y = y}, - 1, - CAIRO_LINE_CAP_BUTT, - _G_Patterns_.BORDER_FG + _G_Widget_.make_point(x, y), + _G_Widget_.make_point(x + w, y), + _G_Widget_.line_style( + 1, + _G_Patterns_.BORDER_FG, + CAIRO_LINE_CAP_BUTT + ) ) end diff --git a/drawing/FileSystem.lua b/drawing/FileSystem.lua index f2f9f5a..c7746d8 100644 --- a/drawing/FileSystem.lua +++ b/drawing/FileSystem.lua @@ -59,17 +59,22 @@ local _BAR_Y_ = _SEP_Y_ + _SEPARATOR_SPACING_ -- } local bars = _G_Widget_.CompoundBar( - _G_INIT_DATA_.RIGHT_X + _BAR_PAD_, - _BAR_Y_, - _G_INIT_DATA_.SECTION_WIDTH - _BAR_PAD_, - _SPACING_, - FS_NUM, - 12, - false, - Patterns.INDICATOR_BG, - Patterns.INDICATOR_FG_PRIMARY, - Patterns.INDICATOR_FG_CRITICAL, - 0.8 + _G_Widget_.make_point( + _G_INIT_DATA_.RIGHT_X + _BAR_PAD_, + _BAR_Y_ + ), + _G_INIT_DATA_.SECTION_WIDTH - _BAR_PAD_, + _G_Widget_.line_style( + 12, + Patterns.INDICATOR_BG, + CAIRO_LINE_JOIN_MITER + ), + _SPACING_, + FS_NUM, + false, + Patterns.INDICATOR_FG_PRIMARY, + Patterns.INDICATOR_FG_CRITICAL, + 0.8 ) -- local labels = _G_Widget_.TextColumn{