Misc changes.
This commit is contained in:
parent
7b1e2853cb
commit
ecc0ab4af6
@ -78,7 +78,7 @@ do
|
|||||||
x = x + (self.column_widths[c] - #chunk)
|
x = x + (self.column_widths[c] - #chunk)
|
||||||
end
|
end
|
||||||
if c < #self.columns then
|
if c < #self.columns then
|
||||||
chstr:set_ch(x, C.ACS_VLINE, self.active and self.active_frame or self.inactive_frame)
|
chstr:set_ch(x, C.ACS_VLINE, color("black bold"))
|
||||||
x = x + 1
|
x = x + 1
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -181,7 +181,7 @@ do
|
|||||||
self.selected = nil
|
self.selected = nil
|
||||||
self.columns = { }
|
self.columns = { }
|
||||||
self.column_widths = { }
|
self.column_widths = { }
|
||||||
self.active_frame = color("blue bold")
|
self.active_frame = color("white bold")
|
||||||
self.inactive_frame = color("blue dim")
|
self.inactive_frame = color("blue dim")
|
||||||
self.colors = { }
|
self.colors = { }
|
||||||
for i = 1, select('#', ...) - 1, 2 do
|
for i = 1, select('#', ...) - 1, 2 do
|
||||||
|
@ -42,7 +42,7 @@ class Pad
|
|||||||
|
|
||||||
@columns = {}
|
@columns = {}
|
||||||
@column_widths = {}
|
@column_widths = {}
|
||||||
@active_frame = color("blue bold")
|
@active_frame = color("white bold")
|
||||||
@inactive_frame = color("blue dim")
|
@inactive_frame = color("blue dim")
|
||||||
@colors = {}
|
@colors = {}
|
||||||
for i=1,select('#',...)-1,2
|
for i=1,select('#',...)-1,2
|
||||||
@ -94,7 +94,7 @@ class Pad
|
|||||||
chstr\set_str(x, " ", attr, @column_widths[c]-#chunk)
|
chstr\set_str(x, " ", attr, @column_widths[c]-#chunk)
|
||||||
x += @column_widths[c]-#chunk
|
x += @column_widths[c]-#chunk
|
||||||
if c < #@columns
|
if c < #@columns
|
||||||
chstr\set_ch(x, C.ACS_VLINE, @active and @active_frame or @inactive_frame)
|
chstr\set_ch(x, C.ACS_VLINE, color("black bold"))
|
||||||
x += 1
|
x += 1
|
||||||
@_pad\mvaddchstr(i-1,0,chstr)
|
@_pad\mvaddchstr(i-1,0,chstr)
|
||||||
@dirty = true
|
@dirty = true
|
||||||
|
Loading…
Reference in New Issue
Block a user