Skip to content

Instantly share code, notes, and snippets.

@Vavius
Created March 30, 2014 06:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Vavius/9868572 to your computer and use it in GitHub Desktop.
Save Vavius/9868572 to your computer and use it in GitHub Desktop.
--------------------------------------------------------------------------------
-- src/layout/quest_dialog.lua
--
-- WARNING: Do not edit!
-- This file is auto generated, all changes will be lost.
--------------------------------------------------------------------------------
local Button = Gui.Button
local Sprite = Display.Sprite
local Group = Display.Group
local Label = Display.Label
local function layout(layer, fontName, fontSize)
local group = Group {
layer = layer,
children = {
Sprite {
name = "img_bg", fileName = "yellow_bg.9.png",
loc = {0.000000, 12.500000, 0},
width = 287.000000, height = 306.000000,
},
Button {
name = "btn_back",
normalSprite = Sprite("btn_back.png", 37.000000, 37.000000),
activeSprite = Sprite("btn_back_active.png"),
loc = {139.000000, 162.000000, 0},
},
Button {
name = "btn_quest_2",
normalSprite = Sprite("quest_active_bg.png", 68.000000, 68.000000),
activeSprite = Sprite("quest_active_bg_active.png"),
disabledSprite = Sprite("quest_active_bg_disabled.png"),
loc = {0.000000, 45.000000, 0},
},
Button {
name = "btn_quest_1",
normalSprite = Sprite("quest_active_bg.png", 68.000000, 68.000000),
activeSprite = Sprite("quest_active_bg_active.png"),
disabledSprite = Sprite("quest_active_bg_disabled.png"),
loc = {-86.000000, 45.000000, 0},
},
Button {
name = "btn_quest_3",
normalSprite = Sprite("quest_active_bg.png", 68.000000, 68.000000),
activeSprite = Sprite("quest_active_bg_active.png"),
disabledSprite = Sprite("quest_active_bg_disabled.png"),
loc = {86.000000, 45.000000, 0},
},
Sprite {
name = "img_quest_1", fileName = "quest_bg.png",
loc = {-86.000000, 45.000000, 0},
width = 68.000000, height = 68.000000,
},
Sprite {
name = "img_quest_2", fileName = "quest_bg.png",
loc = {0.000000, 45.000000, 0},
width = 68.000000, height = 68.000000,
},
Sprite {
name = "img_quest_3", fileName = "quest_bg.png",
loc = {86.000000, 45.000000, 0},
width = 68.000000, height = 68.000000,
},
Sprite {
name = "img_timer_bg", fileName = "timer_bg-1.png",
loc = {0.000000, -97.500000, 0},
width = 150.500000, height = 52.000000,
},
Label {
name = "lbl_timer",
loc = {25.000000, -106.000000, 0},
width = 122.500000, height = 43.000000,
fontName = fontName,
fontSize = fontSize,
text = "",
},
Label {
name = "lbl_main",
loc = {0.000000, 130.000000, 0},
width = 242.000000, height = 51.000000,
fontName = fontName,
fontSize = fontSize,
text = "",
},
Label {
name = "lbl_description",
loc = {0.000000, -30.500000, 0},
width = 260.000000, height = 73.500000,
fontName = fontName,
fontSize = fontSize,
text = "",
},
Button {
name = "btn_continue",
normalSprite = Sprite("btn_continue.png", 226.000000, 36.000000),
activeSprite = Sprite("btn_continue_active.png"),
loc = {0.000000, -69.000000, 0},
},
Sprite {
name = "img_icon_complete_2", fileName = "icon_complete.png",
loc = {29.500000, 73.500000, 0},
width = 19.000000, height = 19.500000,
},
Sprite {
name = "img_icon_complete_3", fileName = "icon_complete.png",
loc = {116.000000, 73.500000, 0},
width = 19.000000, height = 19.500000,
},
Sprite {
name = "img_icon_complete_1", fileName = "icon_complete.png",
loc = {-56.500000, 73.500000, 0},
width = 19.000000, height = 19.500000,
},
}
}
return group
end
return layout
@makotok
Copy link

makotok commented Apr 5, 2014

The very interesting!
Is there something editor?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment