Um die Hintergrundfarbe auf schwarz einzustellen UND
damit es keinen hellen Hintergrund und kein ein-/ausblenden mehr gibt:
in "BusBeeWindow.lua" folgendes ändern ...
Zeile 98 andern:
-------------------------------------------------------------------------------------------
Original.......: local WindowColorParams = {base = 40.0, low = -8, high = 20, R = 0.0, G = 0.0, B = 0.0 };
abgeändert..: local WindowColorParams = {base = 10.0, low = -8, high = 10.0, R = 0.0, G = 0.0, B = 0.0 };
-------------------------------------------------------------------------------------------
Zeile 931 ändern:
-------------------------------------------------------------------------------------------
Original.......: self:SetBackColor(Turbine.UI.Color(0.0,
abgeändert..: self:SetBackColor(Turbine.UI.Color(1.0,
-------------------------------------------------------------------------------------------
Zeile 938 bis 958 alle löschen oder alle deaktivieren:
-------------------------------------------------------------------------------------------
self:SetFadeSpeed(0.4);
self:SetPassiveOpacity(self.settings.passiveOpacity);
self:SetZOrder(-1);
self.bkOpacity = 0;
self.targetBkOpacity = self.bkOpacity;
self.Update = function(sender, args)
writeln(self.bkOpacity .. "->" .. self.targetBkOpacity);
if self.bkOpacity == self.targetBkOpacity then
self:SetWantsUpdates(false);
elseif self.bkOpacity < self.targetBkOpacity then
self.bkOpacity = self.bkOpacity + 1;
if self.bkOpacity > 0 then
self:SetBackColor(Turbine.UI.Color(self.bkOpacity / WindowColorParams.base,
WindowColorParams.R, WindowColorParams.G, WindowColorParams.B));
end
elseif self.bkOpacity > self.targetBkOpacity then
self.bkOpacity = self.bkOpacity - 1;
self:SetBackColor(Turbine.UI.Color(self.bkOpacity / WindowColorParams.base,
WindowColorParams.R, WindowColorParams.G, WindowColorParams.B));
end
end
-------------------------------------------------------------------------------------------
Um die Spaltenbreiten zu verbreitern....
Ab Zeile 306 in den 3 Abschnitten Werte ändern.
Hier die 3 abgeänderten Abschnitte mit neuen Werten:
--------------------------------------------------------------------------------------------
local BusyBeeTreeData = {
{ data = BusyBeeBuildTreeDataByKey("location", BusyBeeSortByLocation),
left = 0, fields = {
{ key = "level", width = 50, alignment = "left" },
{ key = "fullname", width = 181, alignment = "left" },
{ key = "count", width = 60, alignment = "center" },
{ key = "faction", width = 181, alignment = "left" },
} },
{ data = BusyBeeBuildTreeDataByKey("faction", BusyBeeSortByFaction),
left = 0, fields = {
{ key = "level", width = 50, alignment = "left" },
{ key = "fullname", width = 181, alignment = "left" },
{ key = "count", width = 60, alignment = "center" },
{ key = "location", width = 181, alignment = "left" },
} },
{ data = BusyBeeBuildTreeDataByKey("fullname", BusyBeeSortByName),
left = 26, headerfields = {
{ key = "level", width = 50, alignment = "left" },
{ key = "fullname", width = 181, alignment = "left" },
{ key = "count", width = 60, alignment = "center" },
}, fields = {
{ key = "level", width = 50, alignment = "left" },
{ key = "faction", width = 174, alignment = "left" },
{ key = "location", width = 181, alignment = "left" },
} },
--------------------------------------------------------------------------------------------
Ob die Spaltenbreiten dann wirklich dafür ausreichend sind das alle Zeilen komplett dargestellt werden,
hab ich nicht überprüft. In jedem Fall sieht man jetzt wesentlich mehr was zuvor abgeschnitten war.