This repository has been archived by the owner on Jan 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from Parabeac/release-1.1.0
Release 1.1.0
- Loading branch information
Showing
175 changed files
with
2,377 additions
and
899 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,3 +16,4 @@ out/ | |
temp/ | ||
.DS_Store | ||
TestingSketch | ||
debug |
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
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,11 @@ | ||
import 'package:parabeac_core/design_logic/design_node.dart'; | ||
import 'package:parabeac_core/design_logic/group_node.dart'; | ||
import 'package:parabeac_core/design_logic/rect.dart'; | ||
|
||
abstract class PBArtboard extends DesignNode implements GroupNode { | ||
var backgroundColor; | ||
PBArtboard(this.backgroundColor, UUID, String name, bool isVisible, | ||
Rect boundaryRectangle, String type, style, prototypeNode) | ||
: super(UUID, name, isVisible, boundaryRectangle, type, style, | ||
prototypeNode); | ||
} |
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,13 @@ | ||
abstract class Color { | ||
Color( | ||
this.alpha, | ||
this.red, | ||
this.green, | ||
this.blue, | ||
); | ||
|
||
double alpha; | ||
double red; | ||
double green; | ||
double blue; | ||
} |
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,7 @@ | ||
import 'package:json_annotation/json_annotation.dart'; | ||
import 'package:parabeac_core/design_logic/design_node.dart'; | ||
import 'package:parabeac_core/interpret_and_optimize/entities/subclasses/pb_intermediate_node.dart'; | ||
|
||
abstract class DesignElement extends DesignNode { | ||
DesignElement() : super('', '', false, null, '', null, null); | ||
} |
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,25 @@ | ||
import 'package:parabeac_core/design_logic/rect.dart'; | ||
import 'package:parabeac_core/interpret_and_optimize/entities/subclasses/pb_intermediate_node.dart'; | ||
import 'package:parabeac_core/interpret_and_optimize/helpers/pb_context.dart'; | ||
|
||
abstract class DesignNode { | ||
DesignNode( | ||
this.UUID, | ||
this.name, | ||
this.isVisible, | ||
this.boundaryRectangle, | ||
this.type, | ||
this.style, | ||
this.prototypeNodeUUID, | ||
); | ||
|
||
String UUID; | ||
String name; | ||
bool isVisible; | ||
var boundaryRectangle; | ||
String type; | ||
var style; | ||
String prototypeNodeUUID; | ||
|
||
Future<PBIntermediateNode> interpretNode(PBContext currentContext); | ||
} |
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,7 @@ | ||
import 'package:json_annotation/json_annotation.dart'; | ||
import 'package:parabeac_core/design_logic/design_element.dart'; | ||
|
||
@JsonSerializable() | ||
abstract class DesignShape extends DesignElement { | ||
DesignShape() : super(); | ||
} |
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,10 @@ | ||
import 'package:json_annotation/json_annotation.dart'; | ||
|
||
@JsonSerializable(nullable: true) | ||
abstract class GroupNode { | ||
GroupNode( | ||
this.children, | ||
); | ||
|
||
List children; | ||
} |
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,9 @@ | ||
import 'package:parabeac_core/design_logic/design_element.dart'; | ||
|
||
abstract class Image extends DesignElement { | ||
Image( | ||
this.imageReference, | ||
) : super(); | ||
|
||
String imageReference; | ||
} |
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,11 @@ | ||
import 'package:parabeac_core/design_logic/design_node.dart'; | ||
|
||
abstract class PBSharedInstanceNodeDesign extends DesignNode { | ||
String symbolID; | ||
List parameters; | ||
|
||
PBSharedInstanceNodeDesign(String UUID, String name, bool isVisible, | ||
boundaryRectangle, String type, style, prototypeNode) | ||
: super(UUID, name, isVisible, boundaryRectangle, type, style, | ||
prototypeNode); | ||
} |
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,11 @@ | ||
import 'package:parabeac_core/design_logic/design_node.dart'; | ||
|
||
abstract class PBSharedMasterNodeDesign extends DesignNode { | ||
String symbolID; | ||
List overriadableProperties; | ||
|
||
PBSharedMasterNodeDesign(String UUID, String name, bool isVisible, | ||
boundaryRectangle, String type, style, prototypeNode) | ||
: super(UUID, name, isVisible, boundaryRectangle, type, style, | ||
prototypeNode); | ||
} |
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,13 @@ | ||
abstract class Rect { | ||
Rect( | ||
this.x, | ||
this.y, | ||
this.width, | ||
this.height, | ||
); | ||
|
||
double x; | ||
double y; | ||
double width; | ||
double height; | ||
} |
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,5 @@ | ||
import 'package:parabeac_core/design_logic/design_shape.dart'; | ||
|
||
abstract class Star extends DesignShape { | ||
Star(); | ||
} |
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,7 @@ | ||
import 'package:parabeac_core/design_logic/design_element.dart'; | ||
|
||
abstract class Text extends DesignElement { | ||
Text(this.content) : super(); | ||
|
||
String content; | ||
} |
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
Oops, something went wrong.