data:extend({ { type = "custom-input", name = "tlst-toggle-gui", key_sequence = "CONTROL + T", action = "lua" }, { type = "custom-input", name = "tlst-new-task", key_sequence = "", action = "lua" }, { type = "custom-input", name = "tlst-linked-confirm-gui", key_sequence = "", linked_game_control = "confirm-gui" }, { type = "shortcut", name = "tlst-toggle-gui", icon = "__TaskList__/graphics/tasks-dark-x32.png", icon_size = 32, small_icon = "__TaskList__/graphics/tasks-dark-x24.png", small_icon_size = 24, toggleable = true, associated_control_input = "tlst-toggle-gui", action = "lua", }, { type = "shortcut", name = "tlst-new-task", icon = "__TaskList__/graphics/new-task-dark-x32.png", icon_size = 32, small_icon = "__TaskList__/graphics/new-task-dark-x24.png", small_icon_size = 24, toggleable = true, associated_control_input = "tlst-new-task", action = "lua", }, { type = "sprite", name = "tlst_arrow_up", filename = "__TaskList__/graphics/tool-icons.png", position = { 0, 0 }, size = 32, mipmap_count = 2, flags = { "icon" }, }, { type = "sprite", name = "tlst_arrow_down", filename = "__TaskList__/graphics/tool-icons.png", position = { 0, 32 }, size = 32, mipmap_count = 2, flags = { "icon" }, }, { type = "sprite", name = "tlst_arrow_right", filename = "__TaskList__/graphics/tool-icons.png", position = { 0, 64 }, size = 32, mipmap_count = 2, flags = { "icon" }, }, }) local styles = data.raw["gui-style"]["default"] styles.tlst_description_frame = { type = "frame_style", padding = 6, top_padding = 4, graphical_set = { base = { position = { 85, 0 }, corner_size = 8, center = { position = { 42, 8 }, width = 1, height = 1 }, draw_type = "outer", }, shadow = default_inner_shadow, }, } styles.tlst_red_dialog_button = { type = "button_style", parent = "dialog_button", default_graphical_set = styles.red_button.default_graphical_set, hovered_graphical_set = styles.red_button.hovered_graphical_set, clicked_graphical_set = styles.red_button.clicked_graphical_set, } styles.tlst_tasks_scroll_pane = { type = "scroll_pane_style", parent = "flib_naked_scroll_pane", top_padding = 8, bottom_padding = 8, vertical_flow_style = { type = "vertical_flow_style", }, } styles.tlst_task_item_flow = { type = "horizontal_flow_style", height = 24, vertical_align = "center", } styles.tlst_new_task_label = { type = "label_style", font = "default-semibold", font_color = { 128, 206, 240 }, hovered_font_color = { 154, 250, 255 }, }