This commit is contained in:
Paul Liverman III
2018-04-06 15:30:00 -07:00
parent f0a9da387a
commit a45aa2624e
101 changed files with 12392 additions and 77 deletions

View File

@@ -0,0 +1,48 @@
local _ = {
toolbar = {
width = 1,
padding = 5,
{
dropdown = {
toggle = "click",
background = hamburger,
background = {
hamburger,
close_x
},
{ }
}
},
{
text = "Title",
clicked = function(btn, x, y) end
},
{
align = "right",
dropdown = {
toggle = "click",
background = down_arrow,
{ }
}
}
}
}
return {
toolbar = {
padding = 5,
{
background = close_x
},
{
textinput = {
name = "title",
value = "Title"
}
},
{
align = "right",
text = "SAVE",
clicked = function(btn, x, y) end
}
}
}

View File

@@ -0,0 +1,18 @@
return {
background = some_image,
badge = {
text = 2,
background = {
255,
0,
0,
255
},
color = {
255,
255,
255,
255
}
}
}

View File

@@ -0,0 +1,17 @@
return {
toolbar = {
width = 0.5,
padding = 3,
{
background = recents_icon
},
{
align = "center",
background = favorites_icon
},
{
align = "right",
background = nearby_icon
}
}
}

View File

@@ -0,0 +1,42 @@
local _ = {
text = "click me"
}
_ = {
padding = 3,
text = "button",
background = {
0,
255,
255,
255
},
color = {
255,
255,
255,
255
}
}
_ = {
padding = 8,
text = "+",
background = {
0,
255,
255,
255
},
color = {
255,
255,
255,
255
},
round = true,
round = 5
}
return {
background = some_image,
clicked = function(btn, x, y) end,
hovered = function(x, y) end
}

View File

@@ -0,0 +1,19 @@
return {
rounded = 5,
background = some_color,
padding = {
right = 5
},
{
rounded = true,
background = an_image
},
{
text = "Colored Chip"
},
{
width = 0.8,
rounded = true,
background = an_x_image
}
}

View File

@@ -0,0 +1,8 @@
local _ = {
text = "some text"
}
return {
newline = true,
height = 1.0001,
background = dark_grey
}