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