feat: change src layout and write license infos
This commit is contained in:
@@ -1,3 +1,19 @@
|
|||||||
|
[[licenses]]
|
||||||
|
file = 'go-base.svg'
|
||||||
|
license = "CC-BY-SA-4.0"
|
||||||
|
authors = ["yyc12345"]
|
||||||
|
|
||||||
|
[[licenses]]
|
||||||
|
file = 'go-inner-shining.svg'
|
||||||
|
license = "CC-BY-SA-4.0"
|
||||||
|
authors = ["yyc12345"]
|
||||||
|
|
||||||
|
[[licenses]]
|
||||||
|
file = 'go-inner.svg'
|
||||||
|
license = "Apache-2.0"
|
||||||
|
authors = ["Google", "yyc12345"]
|
||||||
|
source = 'https://github.com/google/material-design-icon'
|
||||||
|
|
||||||
[[licenses]]
|
[[licenses]]
|
||||||
file = 'object-flip-horizontal.svg'
|
file = 'object-flip-horizontal.svg'
|
||||||
license = "LGPL-2.1-only"
|
license = "LGPL-2.1-only"
|
||||||
@@ -21,3 +37,27 @@ file = 'object-rotate-right.svg'
|
|||||||
license = "LGPL-2.1-only"
|
license = "LGPL-2.1-only"
|
||||||
authors = ["KDE Oxygen Icon Theme Team", "yyc12345"]
|
authors = ["KDE Oxygen Icon Theme Team", "yyc12345"]
|
||||||
source = 'https://invent.kde.org/frameworks/oxygen-icons'
|
source = 'https://invent.kde.org/frameworks/oxygen-icons'
|
||||||
|
|
||||||
|
[[licenses]]
|
||||||
|
file = 'object-rotate-right.svg'
|
||||||
|
license = "LGPL-2.1-only"
|
||||||
|
authors = ["KDE Oxygen Icon Theme Team", "yyc12345"]
|
||||||
|
source = 'https://invent.kde.org/frameworks/oxygen-icons'
|
||||||
|
|
||||||
|
[[licenses]]
|
||||||
|
file = 'dialog-infomation.svg'
|
||||||
|
license = "LGPL-2.1-only"
|
||||||
|
authors = ["KDE Oxygen Icon Theme Team", "yyc12345"]
|
||||||
|
source = 'https://invent.kde.org/frameworks/oxygen-icons'
|
||||||
|
|
||||||
|
[[licenses]]
|
||||||
|
file = 'dialog-warning.svg'
|
||||||
|
license = "LGPL-2.1-only"
|
||||||
|
authors = ["KDE Oxygen Icon Theme Team", "yyc12345"]
|
||||||
|
source = 'https://invent.kde.org/frameworks/oxygen-icons'
|
||||||
|
|
||||||
|
[[licenses]]
|
||||||
|
file = 'dialog-error.svg'
|
||||||
|
license = "LGPL-2.1-only"
|
||||||
|
authors = ["KDE Oxygen Icon Theme Team"]
|
||||||
|
source = 'https://invent.kde.org/frameworks/oxygen-icons'
|
||||||
|
|||||||
@@ -0,0 +1,9 @@
|
|||||||
|
[[licenses]]
|
||||||
|
file = 'sarasacw-picture-frame.svg'
|
||||||
|
license = "CC-BY-SA-4.0"
|
||||||
|
authors = ["yyc12345"]
|
||||||
|
|
||||||
|
[[licenses]]
|
||||||
|
file = 'notepad.blend'
|
||||||
|
license = "CC-BY-SA-4.0"
|
||||||
|
authors = ["yyc12345"]
|
||||||
@@ -1,20 +1,32 @@
|
|||||||
[[licenses]]
|
[[licenses]]
|
||||||
file = 'go-base.svg'
|
file = 'image-base.svg'
|
||||||
license = "CC-BY-SA-4.0"
|
license = "CC-BY-SA-4.0"
|
||||||
authors = ["yyc12345"]
|
authors = ["yyc12345"]
|
||||||
|
|
||||||
[[licenses]]
|
[[licenses]]
|
||||||
file = 'go-inner-shining.svg'
|
file = 'generic-background.svg'
|
||||||
license = "CC-BY-SA-4.0"
|
license = "CC-BY-SA-4.0"
|
||||||
authors = ["yyc12345"]
|
authors = ["yyc12345"]
|
||||||
|
|
||||||
[[licenses]]
|
[[licenses]]
|
||||||
file = 'go-inner.svg'
|
file = 'triangle.svg'
|
||||||
|
license = "Apache-2.0"
|
||||||
|
authors = ["Austin Andrews", "yyc12345"]
|
||||||
|
source = 'https://pictogrammers.com/library/mdi/icon/menu-left/'
|
||||||
|
|
||||||
|
[[licenses]]
|
||||||
|
file = 'magnifying-glass.blend'
|
||||||
|
license = "CC-BY-SA-4.0"
|
||||||
|
authors = ["yyc12345"]
|
||||||
|
|
||||||
|
[[licenses]]
|
||||||
|
file = 'minus.svg'
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
authors = ["Google", "yyc12345"]
|
authors = ["Google", "yyc12345"]
|
||||||
source = 'https://github.com/google/material-design-icon'
|
source = 'https://github.com/google/material-design-icon'
|
||||||
|
|
||||||
[[licenses]]
|
[[licenses]]
|
||||||
file = 'notepad.blend'
|
file = 'plus.svg'
|
||||||
license = "CC-BY-SA-4.0"
|
license = "Apache-2.0"
|
||||||
authors = ["yyc12345"]
|
authors = ["Google", "yyc12345"]
|
||||||
|
source = 'https://github.com/google/material-design-icon'
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ def register(ctx: AuroraContext) -> None:
|
|||||||
ctx.register(
|
ctx.register(
|
||||||
"nostd/application/org.sarasachipworkshop.picture",
|
"nostd/application/org.sarasachipworkshop.picture",
|
||||||
(
|
(
|
||||||
SvgSource("app", "sarasacw-picture", "app-frame.svg"),
|
SvgSource("apps", "sarasacw-picture-frame.svg"),
|
||||||
TempArtSource("image-jpeg.png"),
|
TempArtSource("image-jpeg.png"),
|
||||||
NewArtSource(),
|
NewArtSource(),
|
||||||
FdArtSink(FdContext.Applications, "org.sarasachipworkshop.picture"),
|
FdArtSink(FdContext.Applications, "org.sarasachipworkshop.picture"),
|
||||||
@@ -32,7 +32,7 @@ def register(ctx: AuroraContext) -> None:
|
|||||||
ctx.register(
|
ctx.register(
|
||||||
"nostd/application/notepad",
|
"nostd/application/notepad",
|
||||||
(
|
(
|
||||||
BlenderSource("app", "notepad.blend"),
|
BlenderSource("apps", "notepad.blend"),
|
||||||
TempArtSink("notepad.png"),
|
TempArtSink("notepad.png"),
|
||||||
WinArtSink(WinCategory.Application, "notepad"),
|
WinArtSink(WinCategory.Application, "notepad"),
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -13,19 +13,11 @@ from ..assemblicon.lowlevel.artproc import (
|
|||||||
|
|
||||||
|
|
||||||
def register(ctx: AuroraContext) -> None:
|
def register(ctx: AuroraContext) -> None:
|
||||||
ctx.register(
|
|
||||||
"component/image-base",
|
|
||||||
(
|
|
||||||
SvgSource("component", "image-base.svg"),
|
|
||||||
TempArtSink("component", "image-base.png"),
|
|
||||||
),
|
|
||||||
build_image_base_icon,
|
|
||||||
)
|
|
||||||
ctx.register(
|
ctx.register(
|
||||||
"nostd/mimetype/image-jpeg",
|
"nostd/mimetype/image-jpeg",
|
||||||
(
|
(
|
||||||
TempArtSource("component", "image-base.png"),
|
TempArtSource("component", "image-base.png"),
|
||||||
BitmapSource("ext", "bitmap", "Niinsaare_järv.jpg"),
|
BitmapSource("bitmap", "Niinsaare_järv.jpg"),
|
||||||
TempArtSink("image-jpeg.png"),
|
TempArtSink("image-jpeg.png"),
|
||||||
FdArtSink(FdContext.MimeTypes, "image-jpeg"),
|
FdArtSink(FdContext.MimeTypes, "image-jpeg"),
|
||||||
WinArtSink(WinCategory.Extension, "jpg"),
|
WinArtSink(WinCategory.Extension, "jpg"),
|
||||||
@@ -37,13 +29,6 @@ def register(ctx: AuroraContext) -> None:
|
|||||||
|
|
||||||
IMAGE_INNER_RECT = Rectangle(Point(20 * 4, 52 * 4), Point(236 * 4, 204 * 4))
|
IMAGE_INNER_RECT = Rectangle(Point(20 * 4, 52 * 4), Point(236 * 4, 204 * 4))
|
||||||
|
|
||||||
|
|
||||||
def build_image_base_icon(
|
|
||||||
env: AuroraEnvironment, src: SvgSource, sink: TempArtSink
|
|
||||||
) -> None:
|
|
||||||
src.pull_to_temp(env, sink)
|
|
||||||
|
|
||||||
|
|
||||||
def build_image_jpeg_icon(
|
def build_image_jpeg_icon(
|
||||||
env: AuroraEnvironment,
|
env: AuroraEnvironment,
|
||||||
base_src: TempArtSource,
|
base_src: TempArtSource,
|
||||||
|
|||||||
@@ -11,9 +11,9 @@ def register(ctx: AuroraContext) -> None:
|
|||||||
ctx.register(
|
ctx.register(
|
||||||
"std/action/go-[previous|down|next|up]",
|
"std/action/go-[previous|down|next|up]",
|
||||||
(
|
(
|
||||||
SvgSource("component", "go-base.svg"),
|
SvgSource("go-base.svg"),
|
||||||
SvgSource("component", "go-inner-shining.svg"),
|
SvgSource("go-inner-shining.svg"),
|
||||||
SvgSource("component", "go-inner.svg"),
|
SvgSource("go-inner.svg"),
|
||||||
FdArtSink(FdContext.Actions, "go-previous"),
|
FdArtSink(FdContext.Actions, "go-previous"),
|
||||||
FdArtSink(FdContext.Actions, "go-down"),
|
FdArtSink(FdContext.Actions, "go-down"),
|
||||||
FdArtSink(FdContext.Actions, "go-next"),
|
FdArtSink(FdContext.Actions, "go-next"),
|
||||||
|
|||||||
@@ -18,6 +18,14 @@ def register(ctx: AuroraContext) -> None:
|
|||||||
),
|
),
|
||||||
build_generic_background,
|
build_generic_background,
|
||||||
)
|
)
|
||||||
|
ctx.register(
|
||||||
|
"component/image-base",
|
||||||
|
(
|
||||||
|
SvgSource("component", "image-base.svg"),
|
||||||
|
TempArtSink("component", "image-base.png"),
|
||||||
|
),
|
||||||
|
build_image_base_icon,
|
||||||
|
)
|
||||||
ctx.register(
|
ctx.register(
|
||||||
"component/triangles",
|
"component/triangles",
|
||||||
(
|
(
|
||||||
@@ -59,6 +67,12 @@ def build_generic_background(
|
|||||||
src.pull_to_temp(env, sink)
|
src.pull_to_temp(env, sink)
|
||||||
|
|
||||||
|
|
||||||
|
def build_image_base_icon(
|
||||||
|
env: AuroraEnvironment, src: SvgSource, sink: TempArtSink
|
||||||
|
) -> None:
|
||||||
|
src.pull_to_temp(env, sink)
|
||||||
|
|
||||||
|
|
||||||
def build_triangle_icons(
|
def build_triangle_icons(
|
||||||
env: AuroraEnvironment,
|
env: AuroraEnvironment,
|
||||||
tri_src: SvgSource,
|
tri_src: SvgSource,
|
||||||
|
|||||||
Reference in New Issue
Block a user