Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #CODE BY JOIN(ADI)
- import uiScriptLocale
- window = {
- "name" : "TPWindow",
- "x" : 0,
- "y" : 0,
- "style" : ("movable", "float",),
- "width" : 396,
- "height" : 283,
- "children" :
- (
- {
- "name" : "board",
- "type" : "board",
- "style" : ("attach", "ignore_size",),
- "x" : 0,
- "y" : 0,
- "horizontal_align" : "center",
- "vertical_align" : "center",
- "width" : 396,
- "height" : 283,
- "children" :
- (
- ## Title
- {
- "name" : "TitleBar",
- "type" : "titlebar",
- "style" : ("attach",),
- "x" : 6,
- "y" : 6,
- "width" : 386,
- "color" : "yellow",
- "children" :
- (
- {
- "name" : "TitleName",
- "type" : "text",
- "x" : 0,
- "y" : 3,
- "horizontal_align" : "center",
- "text" : "Teleportacja",
- "text_horizontal_align" : "center",
- },
- ),
- },
- ##poprzeczka
- {
- "name" : "miasta_poprzeczka",
- "type":"horizontalbar",
- "x" : 15,
- "y" : 40,
- "width" : 366,
- "children" :
- (
- {
- "name" : "miasta_text",
- "type" : "text",
- "x" : 20,
- "y" : 1,
- "text" : "Miasta",
- "r" : 1.0,
- "g" : 1.0,
- "b" : 1.0,
- "a" : 1.0,
- "text_horizontal_align" : "center"
- },
- ),
- },
- ## Jinno
- {
- "name" : "jinno",
- "type" : "button",
- "x" : 15 - 155,
- "y" : 64,
- "horizontal_align" : "center",
- "default_image" : "d:/ymir work/ui/public/large_button_01.sub",
- "over_image" : "d:/ymir work/ui/public/large_button_02.sub",
- "down_image" : "d:/ymir work/ui/public/large_button_03.sub",
- "text" : "Jinno",
- },
- ## Shinsoo
- {
- "name" : "shinsoo",
- "type" : "button",
- "x" : 108 - 155,
- "y" : 64,
- "horizontal_align" : "center",
- "default_image" : "d:/ymir work/ui/public/large_button_01.sub",
- "over_image" : "d:/ymir work/ui/public/large_button_02.sub",
- "down_image" : "d:/ymir work/ui/public/large_button_03.sub",
- "text" : "Shinsoo",
- },
- ## Jinno M2
- {
- "name" : "jinnom2",
- "type" : "button",
- "x" : 200 - 155,
- "y" : 64,
- "horizontal_align" : "center",
- "default_image" : "d:/ymir work/ui/public/large_button_01.sub",
- "over_image" : "d:/ymir work/ui/public/large_button_02.sub",
- "down_image" : "d:/ymir work/ui/public/large_button_03.sub",
- "text" : "Jinno M2",
- },
- ## Shinsoo M2
- {
- "name" : "shinsoom2",
- "type" : "button",
- "x" : 292 - 155,
- "y" : 64,
- "horizontal_align" : "center",
- "default_image" : "d:/ymir work/ui/public/large_button_01.sub",
- "over_image" : "d:/ymir work/ui/public/large_button_02.sub",
- "down_image" : "d:/ymir work/ui/public/large_button_03.sub",
- "text" : "Shinsoo M2",
- },
- ##poprzeczka 2
- {
- "name" : "exp_poprzeczka",
- "type":"horizontalbar",
- "x" : 15,
- "y" : 40 + 53,
- "width" : 366,
- "children" :
- (
- {
- "name" : "exp_text",
- "type" : "text",
- "x" : 30,
- "y" : 1,
- "text" : "Expowiska",
- "r" : 1.0,
- "g" : 1.0,
- "b" : 1.0,
- "a" : 1.0,
- "text_horizontal_align" : "center"
- },
- ),
- },
- ## exp1
- {
- "name" : "exp1",
- "type" : "button",
- "x" : 15 - 155,
- "y" : 64 + 55,
- "horizontal_align" : "center",
- "default_image" : "d:/ymir work/ui/public/large_button_01.sub",
- "over_image" : "d:/ymir work/ui/public/large_button_02.sub",
- "down_image" : "d:/ymir work/ui/public/large_button_03.sub",
- "text" : "D. Seungryong",
- },
- ## exp2
- {
- "name" : "exp2",
- "type" : "button",
- "x" : 108 - 155,
- "y" : 64 + 55,
- "horizontal_align" : "center",
- "default_image" : "d:/ymir work/ui/public/large_button_01.sub",
- "over_image" : "d:/ymir work/ui/public/large_button_02.sub",
- "down_image" : "d:/ymir work/ui/public/large_button_03.sub",
- "text" : "P. Yongbi",
- },
- ## exp3
- {
- "name" : "exp3",
- "type" : "button",
- "x" : 200 - 155,
- "y" : 64 + 55,
- "horizontal_align" : "center",
- "default_image" : "d:/ymir work/ui/public/large_button_01.sub",
- "over_image" : "d:/ymir work/ui/public/large_button_02.sub",
- "down_image" : "d:/ymir work/ui/public/large_button_03.sub",
- "text" : "S. Hwang",
- },
- ## exp4
- {
- "name" : "exp4",
- "type" : "button",
- "x" : 292 - 155,
- "y" : 64 + 55,
- "horizontal_align" : "center",
- "default_image" : "d:/ymir work/ui/public/large_button_01.sub",
- "over_image" : "d:/ymir work/ui/public/large_button_02.sub",
- "down_image" : "d:/ymir work/ui/public/large_button_03.sub",
- "text" : "G. Sohan",
- },
- ## exp5
- {
- "name" : "exp5",
- "type" : "button",
- "x" : 15 - 155,
- "y" : 64 + 55 + 25,
- "horizontal_align" : "center",
- "default_image" : "d:/ymir work/ui/public/large_button_01.sub",
- "over_image" : "d:/ymir work/ui/public/large_button_02.sub",
- "down_image" : "d:/ymir work/ui/public/large_button_03.sub",
- "text" : "Pajaki V1",
- },
- ## exp6
- {
- "name" : "exp6",
- "type" : "button",
- "x" : 108 - 155,
- "y" : 64 + 55 + 25,
- "horizontal_align" : "center",
- "default_image" : "d:/ymir work/ui/public/large_button_01.sub",
- "over_image" : "d:/ymir work/ui/public/large_button_02.sub",
- "down_image" : "d:/ymir work/ui/public/large_button_03.sub",
- "text" : "O. Ziemia",
- },
- ## exp7
- {
- "name" : "exp7",
- "type" : "button",
- "x" : 200 - 155,
- "y" : 64 + 55 + 25,
- "horizontal_align" : "center",
- "default_image" : "d:/ymir work/ui/public/large_button_01.sub",
- "over_image" : "d:/ymir work/ui/public/large_button_02.sub",
- "down_image" : "d:/ymir work/ui/public/large_button_03.sub",
- "text" : "Pajaki V2",
- },
- ## exp8
- {
- "name" : "exp8",
- "type" : "button",
- "x" : 292 - 155,
- "y" : 64 + 55 + 25,
- "horizontal_align" : "center",
- "default_image" : "d:/ymir work/ui/public/large_button_01.sub",
- "over_image" : "d:/ymir work/ui/public/large_button_02.sub",
- "down_image" : "d:/ymir work/ui/public/large_button_03.sub",
- "text" : "Czerw. Las",
- },
- ##poprzeczka 3
- {
- "name" : "zapis_poprzeczka",
- "type":"horizontalbar",
- "x" : 15,
- "y" : 40 + 50 + 85,
- "width" : 366,
- "children" :
- (
- {
- "name" : "zapis_text",
- "type" : "text",
- "x" : 42,
- "y" : 1,
- "text" : "Zapisane Pozycje",
- "r" : 1.0,
- "g" : 1.0,
- "b" : 1.0,
- "a" : 1.0,
- "text_horizontal_align" : "center"
- },
- ),
- },
- ## zapis1
- {
- "name" : "zapis1",
- "type" : "button",
- "x" : 15 - 155,
- "y" : 64 + 55 + 31 + 48,
- "horizontal_align" : "center",
- "default_image" : "d:/ymir work/ui/public/large_button_01.sub",
- "over_image" : "d:/ymir work/ui/public/large_button_02.sub",
- "down_image" : "d:/ymir work/ui/public/large_button_03.sub",
- "text" : "Wolne",
- },
- ## zapis2
- {
- "name" : "zapis2",
- "type" : "button",
- "x" : 108 - 155,
- "y" : 64 + 55 + 31 + 48,
- "horizontal_align" : "center",
- "default_image" : "d:/ymir work/ui/public/large_button_01.sub",
- "over_image" : "d:/ymir work/ui/public/large_button_02.sub",
- "down_image" : "d:/ymir work/ui/public/large_button_03.sub",
- "text" : "Wolne",
- },
- ## zapis3
- {
- "name" : "zapis3",
- "type" : "button",
- "x" : 200 - 155,
- "y" : 64 + 55 + 31 + 48,
- "horizontal_align" : "center",
- "default_image" : "d:/ymir work/ui/public/large_button_01.sub",
- "over_image" : "d:/ymir work/ui/public/large_button_02.sub",
- "down_image" : "d:/ymir work/ui/public/large_button_03.sub",
- "text" : "Wolne",
- },
- ## zapis4
- {
- "name" : "zapis4",
- "type" : "button",
- "x" : 292 - 155,
- "y" : 64 + 55 + 31 + 48,
- "horizontal_align" : "center",
- "default_image" : "d:/ymir work/ui/public/large_button_01.sub",
- "over_image" : "d:/ymir work/ui/public/large_button_02.sub",
- "down_image" : "d:/ymir work/ui/public/large_button_03.sub",
- "text" : "Wolne",
- },
- ## zapis5
- {
- "name" : "zapis5",
- "type" : "button",
- "x" : 15 - 155,
- "y" : 64 + 55 + 25 + 31 + 48,
- "horizontal_align" : "center",
- "default_image" : "d:/ymir work/ui/public/large_button_01.sub",
- "over_image" : "d:/ymir work/ui/public/large_button_02.sub",
- "down_image" : "d:/ymir work/ui/public/large_button_03.sub",
- "text" : "Wolne",
- },
- ## zapis6
- {
- "name" : "zapis6",
- "type" : "button",
- "x" : 108 - 155,
- "y" : 64 + 55 + 25 + 31 + 48,
- "horizontal_align" : "center",
- "default_image" : "d:/ymir work/ui/public/large_button_01.sub",
- "over_image" : "d:/ymir work/ui/public/large_button_02.sub",
- "down_image" : "d:/ymir work/ui/public/large_button_03.sub",
- "text" : "Wolne",
- },
- ## zapis7
- {
- "name" : "zapis7",
- "type" : "button",
- "x" : 200 - 155,
- "y" : 64 + 55 + 25 + 31 + 48,
- "horizontal_align" : "center",
- "default_image" : "d:/ymir work/ui/public/large_button_01.sub",
- "over_image" : "d:/ymir work/ui/public/large_button_02.sub",
- "down_image" : "d:/ymir work/ui/public/large_button_03.sub",
- "text" : "Wolne",
- },
- ## zapis8
- {
- "name" : "zapis8",
- "type" : "button",
- "x" : 292 - 155,
- "y" : 64 + 55 + 25 + 31 + 48,
- "horizontal_align" : "center",
- "default_image" : "d:/ymir work/ui/public/large_button_01.sub",
- "over_image" : "d:/ymir work/ui/public/large_button_02.sub",
- "down_image" : "d:/ymir work/ui/public/large_button_03.sub",
- "text" : "Wolne",
- },
- ##poprzeczka 4
- {
- "name" : "wykonal_poprzeczka",
- "type":"horizontalbar",
- "x" : 15,
- "y" : 64 + 55 + 25 + 31 + 48 + 30,
- "width" : 366,
- "children" :
- (
- {
- "name" : "wykonal_text",
- "type" : "text",
- "x" : 75,
- "y" : 1,
- "text" : "Wykonal: Join",
- "r" : 1.0,
- "g" : 1.0,
- "b" : 1.0,
- "a" : 1.0,
- "horizontal_align" : "right"
- },
- ),
- },
- ),
- },
- ),
- }
Add Comment
Please, Sign In to add comment