mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-19 02:48:12 +08:00
Rename GuiXml to Layout data type
This commit is contained in:
@@ -36,7 +36,7 @@ pub enum TypeValueOrArgument {
|
||||
|
||||
#[derive(Debug)]
|
||||
pub enum TypeName {
|
||||
// GuiXml, // TODO
|
||||
// Layout, // TODO
|
||||
Integer,
|
||||
Decimal,
|
||||
AbsolutePx,
|
||||
@@ -53,7 +53,7 @@ pub enum TypeName {
|
||||
|
||||
#[derive(Debug)]
|
||||
pub enum TypeValue {
|
||||
// GuiXml(()), // TODO
|
||||
// Layout(()), // TODO
|
||||
Integer(i64),
|
||||
Decimal(f64),
|
||||
AbsolutePx(f32),
|
||||
|
||||
@@ -224,7 +224,7 @@ impl AttributeParser {
|
||||
|
||||
// Return the case-insensitive TypeName enum for the individual type
|
||||
match &individual_type.to_ascii_lowercase()[..] {
|
||||
// "xml" => TypeName::Xml, // TODO
|
||||
// "layout" => TypeName::Layout, // TODO
|
||||
"integer" => TypeName::Integer,
|
||||
"decimal" => TypeName::Decimal,
|
||||
"absolutepx" => TypeName::AbsolutePx,
|
||||
|
||||
Reference in New Issue
Block a user