adapt widgets and text rendering to new font rendering

no background for text rendering anymore
This commit is contained in:
Hans-Werner Hilse
2014-10-04 15:53:30 +02:00
parent a713936d8c
commit 7b1777e095
10 changed files with 21 additions and 27 deletions

View File

@@ -15,7 +15,6 @@ Text widget with vertical scroll bar
local ScrollTextWidget = InputContainer:new{
text = nil,
face = nil,
bgcolor = 0.0, -- [0.0, 1.0]
fgcolor = 1.0, -- [0.0, 1.0]
width = 400,
height = 20,
@@ -28,7 +27,6 @@ function ScrollTextWidget:init()
self.text_widget = TextBoxWidget:new{
text = self.text,
face = self.face,
bgcolor = self.bgcolor,
fgcolor = self.fgcolor,
width = self.width - self.scroll_bar_width - self.text_scroll_span,
height = self.height