Add gears_shape_function
type_fix
#70
|
@ -1,19 +1,20 @@
|
||||||
local List = require "pl.List"
|
local List = require "pl.List"
|
||||||
local Map = require "pl.Map"
|
local Map = require "pl.Map"
|
||||||
|
|
||||||
|
local gears_shape_function = "function(cr: any, width: integer, height: integer)"
|
||||||
local type_fix <const> : Map<string, string> = Map({
|
local type_fix <const> : Map<string, string> = Map({
|
||||||
awesome = "awesome",
|
awesome = "awesome",
|
||||||
Awesome = "awesome",
|
Awesome = "awesome",
|
||||||
bool = "boolean",
|
bool = "boolean",
|
||||||
client = "client",
|
client = "client",
|
||||||
Client = "client",
|
Client = "client",
|
||||||
["gears.shape"] = "Shape",
|
["gears.shape"] = gears_shape_function,
|
||||||
["gears.surface"] = "Surface",
|
["gears.surface"] = "Surface",
|
||||||
image = "Image",
|
image = "Image",
|
||||||
int = "integer",
|
int = "integer",
|
||||||
screen = "screen",
|
screen = "screen",
|
||||||
Screen = "screen",
|
Screen = "screen",
|
||||||
shape = "Shape",
|
shape = gears_shape_function,
|
||||||
surface = "Surface",
|
surface = "Surface",
|
||||||
tag = "tag",
|
tag = "tag",
|
||||||
Tag = "tag",
|
Tag = "tag",
|
||||||
|
|
Loading…
Reference in New Issue