#textdomain wesnoth-lib # Push button canvas macros #define GUI__BUTTON_NORMAL_FRAME BACKGROUND_IMAGE_PATH BORDER_COLOR BORDER_COLOR_DARK HIGHLIGHT_LINE_COLOR IPF [image] x = 2 y = 2 w = "(width - 2)" h = "(height - 2)" name = "{BACKGROUND_IMAGE_PATH}.png{IPF}" [/image] # # Dark background borders # {GUI_LINE 0 1 0 "(height - 2)" "1, 10, 16, 255"} {GUI_LINE 2 1 "(width - 2)" 1 "1, 10, 16, 255"} {GUI_LINE 1 "(height - 1)" "(width - 2)" "(height - 1)" "1, 10, 16, 255"} {GUI_LINE "(width - 2)" 1 "(width - 2)" "(height - 1)" "1, 10, 16, 255"} # # Gold colored borders # {GUI_LINE 2 0 "(width - 2)" 0 {BORDER_COLOR}} {GUI_LINE "(width - 1)" 1 "(width - 1)" "(height - 3)" {BORDER_COLOR}} {GUI_LINE 1 1 1 "(height - 3)" {BORDER_COLOR_DARK}} {GUI_LINE 2 "(height - 2)" "(width - 2)" "(height - 2)" {BORDER_COLOR_DARK}} # # Blue tint lines on the top and right # {GUI_LINE 3 2 "(width - 3)" 2 {HIGHLIGHT_LINE_COLOR}} {GUI_LINE "(width - 3)" 2 "(width - 3)" "(height - 4)" {HIGHLIGHT_LINE_COLOR}} # # Round the corners # {GUI_POINT 2 1 {BORDER_COLOR_DARK}} {GUI_POINT 2 "(height - 3)" {BORDER_COLOR_DARK}} {GUI_POINT "(width - 2)" 1 {BORDER_COLOR}} {GUI_POINT "(width - 2)" "(height - 3)" {BORDER_COLOR}} #enddef