Updating library parsing file for uGFX-Studio

This commit is contained in:
Joel Bodenmann 2015-05-16 01:01:38 +02:00
parent 88a43f5fc0
commit 6826f89269

View File

@ -1,299 +1,322 @@
[
"GOS",
[
"Priorities",
[
{
"User": "Low",
"Library": "LOW_PRIORITY"
},
{
"User": "Normal",
"Library": "NORMAL_PRIORITY"
},
{
"User": "High",
"Library": "HIGH_PRIORITY"
}
]
],
"GDISP",
[
"Orientations",
[
{
"GOS" : [
{
"Priorities" : [
{
"User": "Low",
"Library": "LOW_PRIORITY"
},
{
"User": "Normal",
"Library": "NORMAL_PRIORITY"
},
{
"User": "High",
"Library": "HIGH_PRIORITY"
}
]
}
]
},
{
"GDISP" : [
{
"User": "Native",
"Library": "GDISP_ROTATE_0"
"Orientations" : [
{
"User": "Native",
"Library": "GDISP_ROTATE_0"
},
{
"User": "Portrait",
"Library": "GDISP_ROTATE_PORTRAIT"
},
{
"User": "Landscape",
"Library": "GDISP_ROTATE_LANDSCAPE"
},
{
"User": "Rotate 90 degree",
"Library": "GDISP_ROTATE_90"
},
{
"User": "Rotate 180 degree",
"Library": "GDISP_ROTATE_180"
},
{
"User": "Rotate 270 degree",
"Library": "GDISP_ROTATE_270"
}
]
},
{
"User": "Portrait",
"Library": "GDISP_ROTATE_PORTRAIT"
"Colors" : [
{
"User": "White",
"RGB": "0xFFFFFF"
},
{
"User": "Black",
"RGB": "0x000000"
},
{
"User": "Gray",
"RGB": "0x808080"
},
{
"User": "Blue",
"RGB": "0x0000FF"
},
{
"User": "Red",
"RGB": "0xFF0000"
},
{
"User": "Magenta",
"RGB": "0xFF00FF"
},
{
"User": "Green",
"RGB": "0x008000"
},
{
"User": "Yellow",
"RGB": "0xFFFF00"
},
{
"User": "Cyan",
"RGB": "0x00FFFF"
},
{
"User": "Lime",
"RGB": "0x00FF00"
},
{
"User": "Maroon",
"RGB": "0x800000"
},
{
"User": "Navy",
"RGB": "0x000080"
},
{
"User": "Olive",
"RGB": "0x808000"
},
{
"User": "Purple",
"RGB": "0x800080"
},
{
"User": "Silver",
"RGB": "0xC0C0C0"
},
{
"User": "Teal",
"RGB": "0x008080"
},
{
"User": "Orange",
"RGB": "0xFFA500"
},
{
"User": "Pink",
"RGB": "0xFFC0CB"
},
{
"User": "SkyBlue",
"RGB": "0x87CEEB"
}
]
},
{
"User": "Landscape",
"Library": "GDISP_ROTATE_LANDSCAPE"
},
{
"User": "Rotate 90 degree",
"Library": "GDISP_ROTATE_90"
},
{
"User": "Rotate 180 degree",
"Library": "GDISP_ROTATE_180"
},
{
"User": "Rotate 270 degree",
"Library": "GDISP_ROTATE_270"
"Justifications" : [
{
"User": "Left",
"Library": "justifyLeft"
},
{
"User": "Right",
"Library": "justifyRight"
},
{
"User": "Center",
"Library": "justifyCenter"
}
]
}
],
"Colors",
[
{
"User": "White",
"RGB": "0xFFFFFF"
},
{
"User": "Black",
"RGB": "0x000000"
},
{
"User": "Gray",
"RGB": "0x808080"
},
{
"User": "Blue",
"RGB": "0x0000FF"
},
{
"User": "Red",
"RGB": "0xFF0000"
},
{
"User": "Magenta",
"RGB": "0xFF00FF"
},
{
"User": "Green",
"RGB": "0x008000"
},
{
"User": "Yellow",
"RGB": "0xFFFF00"
},
{
"User": "Cyan",
"RGB": "0x00FFFF"
},
{
"User": "Lime",
"RGB": "0x00FF00"
},
{
"User": "Maroon",
"RGB": "0x800000"
},
{
"User": "Navy",
"RGB": "0x000080"
},
{
"User": "Olive",
"RGB": "0x808000"
},
{
"User": "Purple",
"RGB": "0x800080"
},
{
"User": "Silver",
"RGB": "0xC0C0C0"
},
{
"User": "Teal",
"RGB": "0x008080"
},
{
"User": "Orange",
"RGB": "0xFFA500"
},
{
"User": "Pink",
"RGB": "0xFFC0CB"
},
{
"User": "SkyBlue",
"RGB": "0x87CEEB"
}
]
],
"GWIN",
[
"Fonts",
[
{
"User": "uGFX Font 1",
"Library": "UI1",
"Config": "GDISP_INCLUDE_FONT_UI1",
"Size": 10
},
{
"User": "uGFX Font 2",
"Library": "UI2",
"Config": "GDISP_INCLUDE_FONT_UI2",
"Size": 10
},
{
"User": "Fixed 5x8",
"Library": "fixed_5x8",
"Config": "GDISP_INCLUDE_FONT_FIXED_5X8",
"Size": 8
},
{
"User": "Fixed 7x14",
"Library": "fixed_7x14",
"Config": "GDISP_INCLUDE_FONT_FIXED_7X14",
"Size": 14
},
{
"User": "Fixed 10x20",
"Library": "fixed_10x20",
"Config": "GDISP_INCLUDE_FONT_FIXED_10X20",
"Size": 20
},
{
"User": "DejaVu Sans 10",
"Library": "DejaVuSans10",
"Config": "GDISP_INCLUDE_FONT_DEJAVUSANS10",
"Size": 10
},
{
"User": "DejaVu Sans 12",
"Library": "DejaVuSans12",
"Config": "GDISP_INCLUDE_FONT_DEJAVUSANS12",
"Size": 12
},
{
"User": "DejaVu Sans 16",
"Library": "DejaVuSans16",
"Config": "GDISP_INCLUDE_FONT_DEJAVUSANS16",
"Size": 16
},
{
"User": "DejaVu Sans 20",
"Library": "DejaVuSans20",
"Config": "GDISP_INCLUDE_FONT_DEJAVUSANS20",
"Size": 20
},
{
"User": "DejaVu Sans 24",
"Library": "DejaVuSans24",
"Config": "GDISP_INCLUDE_FONT_DEJAVUSANS24",
"Size": 24
},
{
"User": "DejaVu Sans 32",
"Library": "DejaVuSans32",
"Config": "GDISP_INCLUDE_FONT_DEJAVUSANS32",
"Size": 32
},
{
"User": "DejaVu Sans 12 Anti-Aliased",
"Library": "DejaVuSans12_aa",
"Config": "GDISP_INCLUDE_FONT_DEJAVUSANS12_AA",
"Size": 12
},
{
"User": "DejaVu Sans 16 Anti-Aliased",
"Library": "DejaVuSans16_aa",
"Config": "GDISP_INCLUDE_FONT_DEJAVUSANS16_AA",
"Size": 16
},
{
"User": "DejaVu Sans 20 Anti-Aliased",
"Library": "DejaVuSans20_aa",
"Config": "GDISP_INCLUDE_FONT_DEJAVUSANS20_AA",
"Size": 20
},
{
"User": "DejaVu Sans 24 Anti-Aliased",
"Library": "DejaVuSans24_aa",
"Config": "GDISP_INCLUDE_FONT_DEJAVUSANS24_AA",
"Size": 24
},
{
"User": "DejaVu Sans 32 Anti-Aliased",
"Library": "DejaVuSans32_aa",
"Config": "GDISP_INCLUDE_FONT_DEJAVUSANS32_AA",
"Size": 32
},
{
"User": "Large Numbers",
"Library": "LargeNumbers",
"Config": "GDISP_INCLUDE_FONT_LARGENUMBERS",
"Size": 23
}
],
"Styles",
[
{
"User": "White",
"Library": "WhiteWidgetStyle",
"Colors":
{
"Background": "0xFFFFFF",
"Enabled":
{
"Text": "0x000000",
"Edge": "0x404040",
"Fill": "0xE0E0E0",
"Progress": "0xE0E0E0"
},
"Disabled":
{
"Text": "0xC0C0C0",
"Edge": "0x808080",
"Fill": "0xE0E0E0",
"Progress": "0xC0E0C0"
},
"Pressed":
{
"Text": "0x404040",
"Edge": "0x404040",
"Fill": "0x808080",
"Progress": "0x00E000"
}
}
},
{
"User": "Black",
"Library": "BlackWidgetStyle",
"Colors":
{
"Background": "0x000000",
"Enabled":
{
"Text": "0xC0C0C0",
"Edge": "0xC0C0C0",
"Fill": "0x606060",
"Progress": "0x404040"
},
"Disabled":
{
"Text": "0x808080",
"Edge": "0x404040",
"Fill": "0x404040",
"Progress": "0x004000"
},
"Pressed":
{
"Text": "0xFFFFFF",
"Edge": "0xC0C0C0",
"Fill": "0xE0E0E0",
"Progress": "0x008000"
}
}
}
]
]
]
},
{
"GWIN" : [
{
"Fonts" : [
{
"User": "uGFX Font 1",
"Library": "UI1",
"Config": "GDISP_INCLUDE_FONT_UI1",
"Size": 10
},
{
"User": "uGFX Font 2",
"Library": "UI2",
"Config": "GDISP_INCLUDE_FONT_UI2",
"Size": 10
},
{
"User": "Fixed 5x8",
"Library": "fixed_5x8",
"Config": "GDISP_INCLUDE_FONT_FIXED_5X8",
"Size": 8
},
{
"User": "Fixed 7x14",
"Library": "fixed_7x14",
"Config": "GDISP_INCLUDE_FONT_FIXED_7X14",
"Size": 14
},
{
"User": "Fixed 10x20",
"Library": "fixed_10x20",
"Config": "GDISP_INCLUDE_FONT_FIXED_10X20",
"Size": 20
},
{
"User": "DejaVu Sans 10",
"Library": "DejaVuSans10",
"Config": "GDISP_INCLUDE_FONT_DEJAVUSANS10",
"Size": 10
},
{
"User": "DejaVu Sans 12",
"Library": "DejaVuSans12",
"Config": "GDISP_INCLUDE_FONT_DEJAVUSANS12",
"Size": 12
},
{
"User": "DejaVu Sans 16",
"Library": "DejaVuSans16",
"Config": "GDISP_INCLUDE_FONT_DEJAVUSANS16",
"Size": 16
},
{
"User": "DejaVu Sans 20",
"Library": "DejaVuSans20",
"Config": "GDISP_INCLUDE_FONT_DEJAVUSANS20",
"Size": 20
},
{
"User": "DejaVu Sans 24",
"Library": "DejaVuSans24",
"Config": "GDISP_INCLUDE_FONT_DEJAVUSANS24",
"Size": 24
},
{
"User": "DejaVu Sans 32",
"Library": "DejaVuSans32",
"Config": "GDISP_INCLUDE_FONT_DEJAVUSANS32",
"Size": 32
},
{
"User": "DejaVu Sans 12 Anti-Aliased",
"Library": "DejaVuSans12_aa",
"Config": "GDISP_INCLUDE_FONT_DEJAVUSANS12_AA",
"Size": 12
},
{
"User": "DejaVu Sans 16 Anti-Aliased",
"Library": "DejaVuSans16_aa",
"Config": "GDISP_INCLUDE_FONT_DEJAVUSANS16_AA",
"Size": 16
},
{
"User": "DejaVu Sans 20 Anti-Aliased",
"Library": "DejaVuSans20_aa",
"Config": "GDISP_INCLUDE_FONT_DEJAVUSANS20_AA",
"Size": 20
},
{
"User": "DejaVu Sans 24 Anti-Aliased",
"Library": "DejaVuSans24_aa",
"Config": "GDISP_INCLUDE_FONT_DEJAVUSANS24_AA",
"Size": 24
},
{
"User": "DejaVu Sans 32 Anti-Aliased",
"Library": "DejaVuSans32_aa",
"Config": "GDISP_INCLUDE_FONT_DEJAVUSANS32_AA",
"Size": 32
},
{
"User": "Large Numbers",
"Library": "LargeNumbers",
"Config": "GDISP_INCLUDE_FONT_LARGENUMBERS",
"Size": 23
}
]
},
{
"Styles" : [
{
"User": "White",
"Library": "WhiteWidgetStyle",
"Colors":
{
"Background": "0xFFFFFF",
"Enabled":
{
"Text": "0x000000",
"Edge": "0x404040",
"Fill": "0xE0E0E0",
"Progress": "0xE0E0E0"
},
"Disabled":
{
"Text": "0xC0C0C0",
"Edge": "0x808080",
"Fill": "0xE0E0E0",
"Progress": "0xC0E0C0"
},
"Pressed":
{
"Text": "0x404040",
"Edge": "0x404040",
"Fill": "0x808080",
"Progress": "0x00E000"
}
}
},
{
"User": "Black",
"Library": "BlackWidgetStyle",
"Colors":
{
"Background": "0x000000",
"Enabled":
{
"Text": "0xC0C0C0",
"Edge": "0xC0C0C0",
"Fill": "0x606060",
"Progress": "0x404040"
},
"Disabled":
{
"Text": "0x808080",
"Edge": "0x404040",
"Fill": "0x404040",
"Progress": "0x004000"
},
"Pressed":
{
"Text": "0xFFFFFF",
"Edge": "0xC0C0C0",
"Fill": "0xE0E0E0",
"Progress": "0x008000"
}
}
}
]
}
]
}
]