-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for fat components, refactored inheritance of component…
…/app containers. Preparing support of path type in props. Extended fl:window props.
- Loading branch information
karurochari
committed
Dec 1, 2024
1 parent
79e0f15
commit ff1c5f1
Showing
14 changed files
with
100 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
TODO: Move material in here from index.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<app xmlns:fl="vs.fltk"> | ||
<fl:window box="0,0,600,200"> | ||
<use src="this://module-example-btn.xml"/> | ||
<use src="this://module-example-btn.xml" box.x="100"/> | ||
<use src="this://module-example-btn.xml" box.x="200"/> | ||
<fl:window box="0,0,600,200" name="win-1"> | ||
<use src="this://module-example-btn.xml" /> | ||
<use src="this://module-example-btn.xml" box.x="100" /> | ||
<use src="this://module-example-btn.xml" box.x="200" /> | ||
</fl:window> | ||
</app> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,22 @@ | ||
{ | ||
"$schema": "../../commons/schemas/json-component.schema.json", | ||
"description": "Base element to a window", | ||
"usable": true, | ||
"type": "node", | ||
"headers": ["FL/Fl_Window.H"], | ||
"extends": "fl:base", | ||
"codegen": {"extends": "ui<Fl_Window>"}, | ||
"props":{ | ||
"$schema": "../../commons/schemas/json-component.schema.json", | ||
"description": "Base element to a window", | ||
"usable": true, | ||
"type": "node", | ||
"headers": ["FL/Fl_Window.H", "FL/Fl_SVG_Image.H"], | ||
"extends": "fl:base", | ||
"codegen": { "extends": "ui<Fl_Window>" }, | ||
"props": { | ||
"border": { | ||
"type": "flag", | ||
"description": "True if using a border around", | ||
"code": "w.border(computed);" | ||
}, | ||
"computed":{ | ||
"icon": { | ||
"type": "string", | ||
"description": "True if using a border around", | ||
"code": "w.icon(new Fl_SVG_Image(value));" | ||
} | ||
} | ||
}, | ||
"computed": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,18 @@ | ||
{ | ||
"elements":[ | ||
"app", | ||
"component", | ||
"static-data", | ||
"import", | ||
"use", | ||
"slot", | ||
"viewport", | ||
"data.", | ||
"script", | ||
"mixin", | ||
"debug", | ||
"namespace" | ||
], | ||
|
||
"attributes":[ | ||
"src.", | ||
"name", | ||
"frame.", | ||
"template", | ||
"mixins" | ||
] | ||
} | ||
"elements": [ | ||
"app", | ||
"component", | ||
"static-data", | ||
"import", | ||
"use", | ||
"slot", | ||
"viewport", | ||
"data.", | ||
"script", | ||
"mixin", | ||
"debug", | ||
"namespace" | ||
], | ||
|
||
"attributes": ["src.", "name", "frame.", "template", "mixins"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters