diff --git a/public/index.html b/public/index.html index f1ced8e..77fc4c4 100644 --- a/public/index.html +++ b/public/index.html @@ -15,6 +15,6 @@
- + diff --git a/src/types/slides.ts b/src/types/slides.ts index 1793cb0..13c8132 100644 --- a/src/types/slides.ts +++ b/src/types/slides.ts @@ -60,12 +60,12 @@ export interface PPTIconElement extends PPTElementBaseProps, PPTElementSizeProps } export interface PPTLineElement extends PPTElementBaseProps { - start: number[]; - end: number[]; + start: [number, number]; + end: [number, number]; width: number; style: string; color: string; - marker: string[]; + marker: [string, string]; lineType: string; } @@ -121,6 +121,7 @@ export interface PPTAnimation { export interface Slide { id: string; + background: [string, string]; elements: PPTElement[]; animations: PPTAnimation[]; } \ No newline at end of file diff --git a/src/views/Editor/Canvas/AlignmentLine.vue b/src/views/Editor/Canvas/AlignmentLine.vue new file mode 100644 index 0000000..000f92a --- /dev/null +++ b/src/views/Editor/Canvas/AlignmentLine.vue @@ -0,0 +1,65 @@ + + + + + \ No newline at end of file diff --git a/src/views/Editor/Canvas/GridLines.vue b/src/views/Editor/Canvas/GridLines.vue new file mode 100644 index 0000000..e7bde13 --- /dev/null +++ b/src/views/Editor/Canvas/GridLines.vue @@ -0,0 +1,51 @@ + + + + + \ No newline at end of file diff --git a/src/views/Editor/Canvas/SlideBackground.vue b/src/views/Editor/Canvas/SlideBackground.vue new file mode 100644 index 0000000..60e7055 --- /dev/null +++ b/src/views/Editor/Canvas/SlideBackground.vue @@ -0,0 +1,57 @@ + + + + +