|
|
|
|
|
|
|
|
|
_draw_pretty_arrows(self,
parent_container,
amount,
x=0,
y=0,
out=False)
Draws incoming or outgoing arrows for production line container. |
source code
|
|
|
_set_resource_amounts(self,
container,
production) |
source code
|
|
|
|
|
|
|
_add_resource_icons(self,
container,
resources,
marker=False) |
source code
|
|
|
|
|
|
|
|
|
|
|
init_stance_widget(self)
Call this for tabs with stances. |
source code
|
|
|
|
|
|
|
|
|
_set_position(self,
value)
Sets the widgets position to tuple *value* |
source code
|
|
|
|
|
ensure_loaded(self)
Called when a tab is shown, acts as hook for lazy loading |
source code
|
|
|
|
|
|
|
widget = 'overview_productionbuilding.xml'
hash(x)
|
|
helptext = LazyT("Production overview")
|
|
production_line_gui_xml = 'overview_productionline.xml'
|
|
ACTIVE_PRODUCTION_ANIM_DIR = "content/gui/images/animations/co...
|
|
BUTTON_BACKGROUND = "content/gui/images/buttons/msg_button.png"
|
|
ARROW_TOP = "content/gui/icons/templates/production/production...
|
|
ARROW_MID = "content/gui/icons/templates/production/production...
|
|
ARROW_BOTTOM = "content/gui/icons/templates/production/product...
|
|
ARROW_CONNECT_UP = "content/gui/icons/templates/production/pro...
|
|
ARROW_CONNECT_DOWN = "content/gui/icons/templates/production/p...
|
|
ARROWHEAD_TOP = "content/gui/icons/templates/production/produc...
|
|
ARROWHEAD_MID = "content/gui/icons/templates/production/produc...
|
|
ARROWHEAD_BOTTOM = "content/gui/icons/templates/production/pro...
|
|
ARROWHEAD_CONNECT_UP = "content/gui/icons/templates/production...
|
|
ARROWHEAD_CONNECT_DOWN = "content/gui/icons/templates/producti...
|
|
ICON_HEIGHT = ImageFillStatusButton.CELL_SIZE [1]+ ImageFillSt...
|
|
has_stance = False
|
|
icon_path = 'icons/tabwidget/common/building_overview'
|
|
lazy_loading = True
|
|
position = property(_get_position, _set_position)
|
|
scheduled_update_delay = 0.4
|