From d326e56b15805fa089c0badee8b09940fc7ebbd9 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Thu, 5 Nov 2020 12:28:07 +0100 Subject: [PATCH] Generate assets as SVG --- Svg.ts | 155 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 155 insertions(+) create mode 100644 Svg.ts diff --git a/Svg.ts b/Svg.ts new file mode 100644 index 0000000..43470d2 --- /dev/null +++ b/Svg.ts @@ -0,0 +1,155 @@ +import {Img} from "./UI/Img"; +import {FixedUiElement} from "./UI/Base/FixedUiElement"; + +export default class Svg { + + + public static add = " image/svg+xml " + public static add_img = Img.AsImageElement(Svg.add) + public static add_ui() { return new FixedUiElement(Svg.add_img);} + + public static addSmall = " image/svg+xml " + public static addSmall_img = Img.AsImageElement(Svg.addSmall) + public static addSmall_ui() { return new FixedUiElement(Svg.addSmall_img);} + + public static ampersand = " image/svg+xml " + public static ampersand_img = Img.AsImageElement(Svg.ampersand) + public static ampersand_ui() { return new FixedUiElement(Svg.ampersand_img);} + + public static arrow_left_smooth = " image/svg+xml " + public static arrow_left_smooth_img = Img.AsImageElement(Svg.arrow_left_smooth) + public static arrow_left_smooth_ui() { return new FixedUiElement(Svg.arrow_left_smooth_img);} + + public static arrow_right_smooth = " image/svg+xml " + public static arrow_right_smooth_img = Img.AsImageElement(Svg.arrow_right_smooth) + public static arrow_right_smooth_ui() { return new FixedUiElement(Svg.arrow_right_smooth_img);} + + public static bug = " " + public static bug_img = Img.AsImageElement(Svg.bug) + public static bug_ui() { return new FixedUiElement(Svg.bug_img);} + + public static camera_plus = " image/svg+xml " + public static camera_plus_img = Img.AsImageElement(Svg.camera_plus) + public static camera_plus_ui() { return new FixedUiElement(Svg.camera_plus_img);} + + public static checkmark = "" + public static checkmark_img = Img.AsImageElement(Svg.checkmark) + public static checkmark_ui() { return new FixedUiElement(Svg.checkmark_img);} + + public static close = " image/svg+xml " + public static close_img = Img.AsImageElement(Svg.close) + public static close_ui() { return new FixedUiElement(Svg.close_img);} + + public static crosshair_blue_center = " image/svg+xml " + public static crosshair_blue_center_img = Img.AsImageElement(Svg.crosshair_blue_center) + public static crosshair_blue_center_ui() { return new FixedUiElement(Svg.crosshair_blue_center_img);} + + public static crosshair_blue = " image/svg+xml " + public static crosshair_blue_img = Img.AsImageElement(Svg.crosshair_blue) + public static crosshair_blue_ui() { return new FixedUiElement(Svg.crosshair_blue_img);} + + public static crosshair = " image/svg+xml " + public static crosshair_img = Img.AsImageElement(Svg.crosshair) + public static crosshair_ui() { return new FixedUiElement(Svg.crosshair_img);} + + public static delete_icon = " image/svg+xml " + public static delete_icon_img = Img.AsImageElement(Svg.delete_icon) + public static delete_icon_ui() { return new FixedUiElement(Svg.delete_icon_img);} + + public static down = " image/svg+xml " + public static down_img = Img.AsImageElement(Svg.down) + public static down_ui() { return new FixedUiElement(Svg.down_img);} + + public static envelope = " " + public static envelope_img = Img.AsImageElement(Svg.envelope) + public static envelope_ui() { return new FixedUiElement(Svg.envelope_img);} + + public static floppy = " " + public static floppy_img = Img.AsImageElement(Svg.floppy) + public static floppy_ui() { return new FixedUiElement(Svg.floppy_img);} + + public static gear = "" + public static gear_img = Img.AsImageElement(Svg.gear) + public static gear_ui() { return new FixedUiElement(Svg.gear_img);} + + public static help = " image/svg+xml " + public static help_img = Img.AsImageElement(Svg.help) + public static help_ui() { return new FixedUiElement(Svg.help_img);} + + public static home = " " + public static home_img = Img.AsImageElement(Svg.home) + public static home_ui() { return new FixedUiElement(Svg.home_img);} + + public static josm_logo = " JOSM Logotype 2019 image/svg+xml JOSM Logotype 2019 2019-08-05 Diamond00744 Public Domain " + public static josm_logo_img = Img.AsImageElement(Svg.josm_logo) + public static josm_logo_ui() { return new FixedUiElement(Svg.josm_logo_img);} + + public static layers = " image/svg+xml " + public static layers_img = Img.AsImageElement(Svg.layers) + public static layers_ui() { return new FixedUiElement(Svg.layers_img);} + + public static layersAdd = " image/svg+xml " + public static layersAdd_img = Img.AsImageElement(Svg.layersAdd) + public static layersAdd_ui() { return new FixedUiElement(Svg.layersAdd_img);} + + public static logo = " image/svg+xml " + public static logo_img = Img.AsImageElement(Svg.logo) + public static logo_ui() { return new FixedUiElement(Svg.logo_img);} + + public static logout = " image/svg+xml " + public static logout_img = Img.AsImageElement(Svg.logout) + public static logout_ui() { return new FixedUiElement(Svg.logout_img);} + + public static or = " image/svg+xml " + public static or_img = Img.AsImageElement(Svg.or) + public static or_ui() { return new FixedUiElement(Svg.or_img);} + + public static osm_logo_us = "" + public static osm_logo_us_img = Img.AsImageElement(Svg.osm_logo_us) + public static osm_logo_us_ui() { return new FixedUiElement(Svg.osm_logo_us_img);} + + public static osm_logo = " OpenStreetMap logo 2011 image/svg+xml OpenStreetMap logo 2011 Ken Vermette April 2011 OpenStreetMap.org Replacement logo for OpenStreetMap Foundation OSM openstreetmap logo http://wiki.openstreetmap.org/wiki/File:Public-images-osm_logo.svg 010110010011010110010011 010110010011010110010011 " + public static osm_logo_img = Img.AsImageElement(Svg.osm_logo) + public static osm_logo_ui() { return new FixedUiElement(Svg.osm_logo_img);} + + public static pencil = " " + public static pencil_img = Img.AsImageElement(Svg.pencil) + public static pencil_ui() { return new FixedUiElement(Svg.pencil_img);} + + public static pop_out = " Svg Vector Icons : http://www.onlinewebfonts.com/icon " + public static pop_out_img = Img.AsImageElement(Svg.pop_out) + public static pop_out_ui() { return new FixedUiElement(Svg.pop_out_img);} + + public static reload = " " + public static reload_img = Img.AsImageElement(Svg.reload) + public static reload_ui() { return new FixedUiElement(Svg.reload_img);} + + public static search = " " + public static search_img = Img.AsImageElement(Svg.search) + public static search_ui() { return new FixedUiElement(Svg.search_img);} + + public static share = " image/svg+xml " + public static share_img = Img.AsImageElement(Svg.share) + public static share_ui() { return new FixedUiElement(Svg.share_img);} + + public static star = " Created by potrace 1.15, written by Peter Selinger 2001-2017 " + public static star_img = Img.AsImageElement(Svg.star) + public static star_ui() { return new FixedUiElement(Svg.star_img);} + + public static statistics = " Svg Vector Icons : http://www.onlinewebfonts.com/icon " + public static statistics_img = Img.AsImageElement(Svg.statistics) + public static statistics_ui() { return new FixedUiElement(Svg.statistics_img);} + + public static up = " " + public static up_img = Img.AsImageElement(Svg.up) + public static up_ui() { return new FixedUiElement(Svg.up_img);} + + public static wikimedia_commons_white = " Wikimedia Commons Logo " + public static wikimedia_commons_white_img = Img.AsImageElement(Svg.wikimedia_commons_white) + public static wikimedia_commons_white_ui() { return new FixedUiElement(Svg.wikimedia_commons_white_img);} + + public static wikipedia = " Wikipedia logo version 2" + public static wikipedia_img = Img.AsImageElement(Svg.wikipedia) + public static wikipedia_ui() { return new FixedUiElement(Svg.wikipedia_img);} + +}