#
#  File: resources.tcl
#  
#  This file is part of XSCHEM,
#  a schematic capture and Spice/Vhdl/Verilog netlisting tool for circuit 
#  simulation.
#  Copyright (C) 1998-2024 Stefan Frederik Schippers
# 
#  This program is free software; you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation; either version 2 of the License, or
#  (at your option) any later version.
# 
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
# 
#  You should have received a copy of the GNU General Public License
#  along with this program; if not, write to the Free Software
#  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA




##
## Tcl Resources for XSchem toolbars
##


## Toolbar images are 24x24,
## Context menu images are 16x16
##
## NOTE: if a svg image is created (with transparent white) it needs to be converted to gif,
## however inkscape does not convert from svg to gif, so the steps are:
##
## # this creates paste.png
## inkscape --export-type="png" -w 24 -h 24 paste.svg
## # generate gif and base64 encode.
## # we need to lose transparency in gif otherwise all antialiasing in png image is lost
## # so we set white background and eliminate alpha channel (unsupported in gif).
## convert  -background white -alpha remove -alpha off  paste.png -transparent white gif:-|base64
##
## Following shell function (and call) converts a png base64 encoded to proper 
## gif89a base64 encoded format:
##   to_gif () {
##     echo "image create photo $1 -data \""
##     echo -n "$2" | base64 -d |convert -background white -alpha remove -alpha off - -transparent white gif:- |base64
##     echo '"'
##   }
## 
##   to_gif imgFileOpen "...."

##
## Toolbar buttons
##
## Original artwork derived from http://www.entypo.com/
## Colours inverted, and then converted from SVG to base64-encoded GIF
## Author: Neil Johnson
## Released under the license CC BY-SA 4.0.
## https://creativecommons.org/licenses/by-sa/4.0/
##
##


# #
# # context menu steps.
# # open xschem and draw a 0,0, 100,100 polygon border. The image should be drawn inside it
# # set light colorscheme, set transparent svg background
# # draw image inside the border in green color
# # set line with 40 disable change line width, redraw
# # move away the border, full zoom the image 
# # export svg:
#  xschem print svg 1.svg 400 400 0 0 100 100
# # edit svg, change .l4 layer from green to black (#000000)
# # you need imagemagick and graphicsmagick packages
# gm convert -size 16x16 1.svg 1.png
# convert -background white -alpha remove -alpha off 1.png -transparent white 1.gif
# base64 1.gif
# # the output is the 16x16 image with transparent background, antialiasing 
# # and base64 encoded
# #
# #
# #



## FILE


if { $dark_gui_colorscheme == 0 } {

image create photo ximgFileOpen
ximgFileOpen put "
R0lGODlhGAAYAPYAAAAAAAEBAQMDAwQEBAUFBQcHBwgICAkJCQsLCw0NDRISEhMTExcXFxkZGRwc
HB0dHR4eHiEhISYmJisrKywsLDAwMDExMTIyMjY2Njc3Nzk5OUREREVFRUZGRk5OTlRUVFlZWVpa
Wl1dXV5eXmBgYGhoaGlpaW1tbW5ubm9vb3BwcHl5eXp6en19fYGBgYKCgouLi5OTk5SUlJWVlZ2d
naenp6ioqKmpqbW1tbq6ury8vL29vcDAwMHBwcLCwsTExMbGxsfHx8nJydDQ0NHR0dLS0tnZ2dra
2uDg4Ojo6Ovr6+zs7PDw8Pf39/j4+Pn5+fz8/P39/f7+/gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5
BAEAAFMALAAAAAAYABgAAAfLgFOCg4SFhoeIiYU8LSaOKDBCioVSKwgAmAANIjhLUpNSTCKZmQga
Mjk8QDysrEBGTVNSSB+kpAQEALi7BAgkRlJSRB66vLi6mMfIGDafTUZAQELR0dNC1tLXQESeKygo
KuHi4+Ti3ysLubbr7LoLEOrt8gAIEBcJ8/MIFx0L+fILOoBg8K8dAxAoIBRkBwFFiwgL10V4IUNC
RFsSZNigcJEUBRs6OHbEdEEHEQwjMWEgkqRDSgAdkjihgcKRzZs4b6Kg4WSSz58+AwEAOw==
"

image create photo ximgFileSave
ximgFileSave put "
R0lGODlhGAAYAPUAAAAAAAEBAQICAgMDAwQEBAUFBQcHBzExMT4+Pj8/P0FBQUNDQ0REREVFRUdH
R0hISElJSV9fX2BgYGFhYWJiYmVlZWdnZ2hoaGlpaW1tbW5ubm9vb3BwcHNzc3R0dJOTk6Ghoaam
pqqqqq2trbGxsbKysrOzs7a2trq6usHBwcLCwsPDw8TExMbGxsfHx8rKytXV1ebm5urq6uzs7O3t
7e7u7vX19fr6+vz8/P7+/gAAAAAAAAAAAAAAAAAAAAAAACH5BAEAADoALAAAAAAYABgAAAa3QJ1w
SCwaj8hkcUbqYDCUiHQqpXRAMiNpYQAAINGpZdwwHEKzosfrTRFzsFQs1UWMbEQM2+Ae3hYAHS9s
ECh5e31CNwiBL11eHodefESLABotjwAYkgCUQzmMHS1sm50GJDl+HxYiJ5qcQ3qTGiQpKSgpLS8n
GrCdkwbCwp6lprLGycqxQrPKz8fN0NDMOs7TxtXX2Gza3Mne36XVa+JskUMkZeIGDSdETE5P8/T0
HiRpSvr7/ENBADs=
"

image create photo ximgFileReload
ximgFileReload put "
R0lGODlhGAAYAPYAAAAAAAEBAQICAgQEBAUFBQcHBwgICAsLCw0NDQ4ODg8PDxMTExQUFBoaGhsb
GxwcHB8fHyAgICEhIScnJysrKywsLDg4OD4+Pj8/P0BAQEFBQUJCQkZGRk9PT1VVVVZWVmFhYWdn
Z2hoaGlpaWtra2xsbHNzc4yMjJaWlpqamqSkpKWlpaqqqq2trbOzs7a2tri4uL6+vsHBwcPDw8TE
xMXFxcbGxsfHx8jIyMzMzM7OztPT09XV1dvb297e3uTk5OXl5evr6+3t7e/v7/Hx8fLy8vb29vf3
9/n5+fv7+/39/QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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Svrl+KWiF/CciwMcDBVhIIDbvnPxCBjawatd
J3szKJwwlIRDAYcFxYF0J7ATBwAZgqhcuXLXuVTUjPm64C2mTF7IVPkI0eKFz58/VZAQ4q2o0aOp
AgEAOw==
"

image create photo ximgEditDelete
ximgEditDelete put "
R0lGODlhGAAYAPUAAAAAAAEBAQICAgMDAwYGBgcHBw0NDRAQEBQUFBUVFRkZGRoaGi4uLjAwMDEx
MTw8PD09PUBAQEZGRklJSVNTU1RUVFhYWICAgIGBgYuLi4+Pj5KSkpOTk5ubm6ioqKmpqaqqqra2
tre3t8PDw8bGxsfHx8zMzM3Nzdra2vHx8fLy8vPz8/T09Pb29vn5+fr6+vz8/P39/f7+/gAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAADMALAAAAAAYABgAAAajwJlw
SCwaj8ikcslsMl8yo+zFlKVMKBaRhTKloskUhxH5ED+RBielTGEUg4lIJhNNBgoMO/kiTQoGFSMk
FQYFEiRUSjIfDwMHFBYJAw8eYEsyHQwDnAMMHZdMYgecBhl7TiwaBqWnTjOZDZ2eoE2MjgkVFqQP
H6FHfX8GFIMUhoiKSG4Kh3N1d3moR2JkZkNoDGuLV1lbXV9Pv7DJr+Xm5+ivQQA7
"

image create photo ximgEditDuplicate
ximgEditDuplicate put "
R0lGODlhGAAYAPcAAAAAAAEBAQICAgMDAwQEBAUFBQYGBgcHBwgICAkJCQsLCwwMDA0NDRERERIS
EhMTExQUFBkZGRoaGhwcHB0dHR4eHh8fHyIiIiQkJCcnJygoKCkpKSsrKywsLC4uLi8vLzMzMzQ0
NDY2Njk5OTs7Oz09PT4+Pj8/P0BAQEFBQUREREdHR0lJSUpKSktLS09PT1JSUlRUVFVVVVdXV1pa
WlxcXF1dXWBgYGJiYmNjY2RkZGdnZ2lpaWpqamtra2xsbG1tbW5ubnJycnR0dHV1dXp6ent7e39/
f4GBgYKCgoiIiIqKio2NjZGRkZOTk5SUlJWVlZaWlpeXl5i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00LolgIgKgyASAABBkwMQkCADs=
"

image create photo ximgEditPop
ximgEditPop put "
R0lGODlhGAAYAPUAAAAAAAEBAQICAgYGBhAQEBMTExUVFRYWFhgYGBoaGhsbGxwcHB0dHSAgIC4u
LjExMTc3Nz4+PnR0dHh4eHx8fIODg4SEhIeHh4iIiIuLi5KSkpOTk5aWlpycnKCgoLCwsNzc3N7e
3t/f3+Dg4OLi4uTk5OXl5ebm5ufn5+np6ezs7PPz8/T09Pb29vr6+vz8/P39/f7+/gAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAADIALAAAAAAYABgAAAaaQJlw
SCwaj8ikcghbrWDL5GizCUWPowzCcLFehbAUBgEAFColaBSmopDLAMQkpU6yJw04nCGh21MUeXpw
DRNpSCMYDIODCF1GMCEYBoyMBF11Mi0eDwwIA5UAAwgIDx0rRDAtJSUjEKEQI6wtmakRoREua7eV
uVEuvIy+S8C4usTBg8NKxb3HzMl6y3YfGxzX2BsftV/d3t9LQQA7
"

## OPTION


## VIEW

image create photo ximgViewZoomIn
ximgViewZoomIn put "
R0lGODlhGAAYAPUAAAAAAAEBAQYGBggICBERERISEhMTExQUFBoaGjc3Nzg4OD4+PkFBQUJCQklJ
SUpKSktLS0xMTF5eXl9fX2BgYGxsbHd3d3l5eXp6enx8fIODg4SEhIWFhZGRkZKSkpOTk5SUlLu7
u7y8vL29vcDAwMHBwcLCws/Pz9DQ0NHR0dbW1tfX19ra2tvb29zc3N3d3eDg4O7u7u/v7/X19fb2
9vf39/r6+vv7+/z8/P39/f7+/gAAAAAAAAAAAAAAAAAAACH5BAEAADsALAAAAAAYABgAAAb+wJ1w
ONQZj8SkchhDlUSo2HKpm4k0E0ej4aBsRDPddHd7dRwEgHpNcHRYt+VtlTms72zMKp5kWQZ3AggI
AncDGCxJMx1pdwkvMAp4BCAzRCEOeAALNzoLmhEiRBuNd5w3n5MbQlUUmps3qK8TMUYnmQACCQsL
CRU6NxUKvAmFABEoRiINaggwRrGssTowCGoNJUYlzADOwNFk09XXJZ23arq8Cr86FbsLCsbIRjGu
mqepeBMzfKT3sfnWHFg1RAQuUwBBiRqyqJSaBDBgJJhUqQ8GQGsEETKE4YUSHSsw2HmlhkAGFmKU
3GDRIcLIOwcivOFDxcqGCRG2dPnSaUwOkiYlSqCw5JPKESNjggAAOw==
"

image create photo ximgViewZoomOut
ximgViewZoomOut put "
R0lGODlhGAAYAPUAAAAAAAEBAQYGBggICBERERISEhMTExQUFBoaGjc3Nz4+PkFBQUJCQklJSUpK
SktLS0xMTF5eXl9fX2BgYHd3d3l5eXp6enx8fIODg4SEhIWFhZGRkZKSkpOTk5SUlLu7u7y8vL29
vcDAwMHBwcLCws/Pz9DQ0NHR0dbW1tfX19ra2tvb29zc3N3d3eDg4O7u7u/v7/X19fb29vf39/r6
+vv7+/39/f7+/gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAADgALAAAAAAYABgAAAbiQJxw
OLQZj8SkcggzjUYm2HJpi4EwkgaD0ZBkQDHbFGdrbRoEgHpNaGxUtWUtdTms72xLSpxUUQZ4gQAD
FipJMRtpgoEEG3FDHw2Liw0fRBl2k4wZQjYwE5qLEjBGJpIAAgkKq6ysDAkCahAmRiMMagguRjW8
vTU2LghqDCO1twC5Nr6+wMIAxKWnqa3UCrBqDbRVEqGCE2FCGYrdagecQyCn5AAQIESImd0EHjF9
FoChhC1KcxbxggQuqOCTpIaKDRDGrTkAwUOLR1SsZJAAYUuDCV/AjXnnBEq9jVSOGBkTBAA7
"

image create photo ximgViewZoomBox
ximgViewZoomBox put "
R0lGODlhGAAYAPYAAAAAAAEBAQICAgQEBAUFBQYGBgcHBwgICAoKCgsLCwwMDBYWFhcXFxoaGhsb
Gx0dHSMjIysrKzQ0NDY2NkBAQEFBQUJCQkNDQ0lJSUpKSk1NTVFRUVJSUlZWVldXV1tbW1xcXF5e
XmJiYmNjY2RkZGlpaWpqamtra3t7e4aGho+Pj5aWlpeXl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wFqR1nGXGBKUFRUVk7U1dbX2EVBADs=
"

image create photo ximgToolInsertText
ximgToolInsertText put "
R0lGODlhGAAYAPUAAAAAAAMDAwQEBAgICBERERMTExUVFRYWFh8fHyAgICIiIjQ0NERERFVVVVZW
VlhYWGZmZnd3d3h4eH19fY2NjZSUlKCgoKqqqqurq7u7u729vcvLy83NzdDQ0NHR0dLS0t3d3eHh
4eLi4u3t7e7u7vLy8vX19fb29vz8/P39/f7+/gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAACsALAAAAAAYABgAAAZ2wJVQ
qCIZSSXTcMlckhSAqLTSrAo/0uzDarVEvt+JiEsum8/cz2XNbrPHVZAgS88aVFXRvF5H4PMZgYKD
GoUkaIiJZhQQjY6NEiVmHHxTZiULBJqbmgofiqChomQmDJynnAYSVZSVdQRVKhMNtLW2thejurtc
QQA7
"

image create photo ximgToolInsertWire
ximgToolInsertWire put "
R0lGODlhGAAYAPUAAAQEBA8PDzs7Ozw8PD09PUREREVFRU5OTk9PT1BQUGJiYmNjY2RkZGVlZWho
aGlpaXd3d3h4eHx8fH19fX5+foaGhoeHh5OTk5SUlJubm6WlpaampsHBwcnJycrKysvLy8/Pz9DQ
0NTU1NXV1dnZ2dra2ujo6O7u7u/v7/Hx8fLy8vz8/P39/f7+/gAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAC4ALAAAAAAYABgAAAaDQJdw
SHS1WsWkcpjqdFLLqBAkYTAkIakydSlYLAUMVEscRRjHR2REJpaqJtO11B62NoPDYbBB1oUnGQEB
GWN/QhwAAByHRImLjUOPjJEuk5WWipSRl5WdnJqVgYOFjXcCCQl8fnUlEQpxc4dmD0cMa4cpGF5g
Yo0hVVdZkU0ghpFHWkEAOw==
"

image create photo ximgToolInsertLine
ximgToolInsertLine put "
R0lGODlhGAAYAPMAAAQEBAcHByAgICEhIcHBwcLCwsjIyMnJyfLy8gAAAAAAAAAAAAAAAAAAAAAA
AAAAACH5BAEAAAkALAAAAAAYABgAAAQ1MMlJq7046827/2AojmTZIQahrmxRGAhmDAFg33gwGDKN
/wAd74JiGVWvmGnJbDqf0Kg0EwEAOw==
"

image create photo ximgToolInsertRect
ximgToolInsertRect put "
R0lGODlhGAAYAPQAAAAAAAgICAkJCQsLCxsbG0BAQEFBQV5eXl9fX2BgYGFhYWlpaWpqapaWlp6e
np+fn8TExMXFxeTk5Pn5+fr6+v39/QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEA
ABYALAAAAAAYABgAAAWPoCVWVFlO56SaVCW+FnQUdG3bBwSLzgD8wGBw4NhZGoDBgcFsOg++hhFJ
kBhhEgJAuqNar6LsdgqogsNaLsx7tojVL/b5TTbP0/UvmN4t6698a35tgXGDd2N9dnt4in9GhSJy
jImCi4CNlo87kUeHlHCSSUtOpVCVLz1Cq0BERjI3sTUKOjskJiorLCYuIiEAOw==
"

image create photo ximgToolInsertPolygon
ximgToolInsertPolygon put "
R0lGODlhGAAYAPUAAAEBAQUFBQoKCg8PDxMTExcXFxoaGh4eHiYmJiwsLDExMTY2Njk5OUBAQEpK
SlRUVFdXV1lZWV5eXmRkZGdnZ3d3d39/f4KCgoqKio6OjpCQkJmZmaampqqqqq6urrCwsLu7u76+
vsTExMnJyc7OztPT09nZ2eHh4ebm5ujo6Ozs7PPz8/j4+Pv7+wAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAC4ALAAAAAAYABgAAAa9QJdw
SBS2LJNWccl0pRoAgKhJdYkMUUCoyswEsloucQWJBjbRrdhlSkQPI1d6/RlEHSrhvNqqZCtEe00o
DFEEakOCTBFRCydLUQxxTRMACCxMClkTKEwcAAErTCl+UQMZSkQqUR9EIiCwIBoEWQggRYUTQxlg
vVmILhcAB0YHvr6tQyNRJS4dURgb0tPTyUQFABguhQ1rRBIADSRRHt5DnwJlxOZCKWDa7EKFAAOd
8cFRuvcu4wDN+8HgeQsCADs=
"

image create photo ximgToolInsertArc
ximgToolInsertArc put "
R0lGODlhGAAYAPUAAAMDAwQEBAwMDA8PDxYWFh8fHyEhISwsLDExMTk5OUREREVFRU9PT1dXV15e
XmBgYGZmZm5ubnR0dHd3d4GBgYSEhIqKio+Pj5ycnKKioqenp6qqqrm5ucnJydbW1tjY2Nzc3OHh
4ebm5ujo6Orq6vLy8vX19fn5+QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAACgALAAAAAAYABgAAAaHQJQQ
NQqBRKehcslcAJ6AwOGxMTGvJaj2OZiMrksNZDKJMArawSUJBoMoBKhC1G6fLIOnIVRvexB6dH1X
Jk4ACWyDSyYJTxOKVyFxAR6QTBlPDZZMgAAgm0obTxWgQyd5CKVDDE9WqhNPHaooogAbsxxPGLi6
sxpPt6oUsbMPTyWzGwEOs0tBADs=
"

image create photo ximgToolInsertCircle
ximgToolInsertCircle put "
R0lGODlhGAAYAPYAAAAAAAEBAQICAgYGBgcHBwgICAkJCQoKCgsLCwwMDBMTExQUFBUVFRkZGRoa
GhsbGxwcHB0dHR4eHh8fHykpKSoqKjQ0NDU1NTY2Njc3Nzw8PD09PT4+Pj8/P0pKSktLS0xMTFBQ
UFFRUVJSUlNTU2BgYGFhYWNjY2dnZ2hoaGlpaWpqam1tbW9vb3BwcHFxcXJycn19fX5+fn9/f4CA
gIGBgYKCgoODg5KSkpOTk5SUlKenp6ioqKmpqaqqqq2tra6urq+vr7CwsLGxsbKysrOzs7S0tLa2
tre3t7i4uL+/v8DAwMHBwdDQ0NHR0djY2NnZ2dra2tvb29zc3N3d3d7e3t/f3+zs7O3t7e7u7u/v
7/Dw8PHx8fb29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cBE60fpVerAQAB
Eq0hGxQLBgsVUBK7ARG/SBHJvsxGEM/R0tTVRNO80NhC2gkg3UMPCR7iROHnR0EAOw==
"

image create photo ximgToolJoinTrim
ximgToolJoinTrim put "
R0lGODlhGAAYAPUAAAAAAAEBAQMDAwQEBAUFBQsLCw0NDQ4ODhAQEBERERMTExQUFBkZGRoaGh8f
HycnJykpKSoqKi4uLlRUVFdXV1hYWF9fX2NjY2RkZGVlZWhoaGlpaW9vb3BwcHJycnNzc3l5eXx8
fIqKio2NjZCQkJiYmJubm5+fn6amprm5ub6+vr+/v8TExMbGxsjIyMnJycvLy87Ozs/Pz9HR0dLS
0tPT09TU1NbW1tjY2Nvb2/r6+vz8/P39/QAAAAAAAAAAACH5BAEAAD0ALAAAAAAYABgAAAagwJ5w
SCwSeTqecbnkrU4sJlMm6+lklYeFpZQSRZ7bbbMAQEpdrzDDyHgMAAMllVZvAARC/AJTF+8AeBwz
dX6AgRkzfn+BgQweiotCKBcblhkikZKbnJ2enjckFhmWFyicOCEPjQAbnTgceoGumzwzHqy0kjAX
BXizkjwsFAhxHh4OGZI6JxIACBczOCAjwbwQFTI6PTeaizAnK4W1POOLQQA7
"

image create photo ximgToolBreak
ximgToolBreak put "
R0lGODlhGAAYAPUAAAAAAAEBAQICAgMDAwoKCgsLCw8PDxAQEBERERMTExUVFRYWFicnJywsLDEx
MVFRUVJSUlNTU1RUVFZWVldXV1hYWFpaWlxcXF1dXWFhYWJiYmNjY2VlZWZmZmlpaXR0dHZ2dnl5
eZqamqKioqamprS0tLa2tre3t7q6uru7u7+/v8DAwMTExMXFxcbGxsfHx8jIyMnJycrKysvLy8zM
zM3Nzfj4+Pn5+fr6+vv7+/z8/P39/f7+/gAAAAAAAAAAACH5BAEAAD0ALAAAAAAYABgAAAafwJ5w
SCwaj8ik0phDhTxQT4e0JOpQlwVgC/BUi7MKt/sd6midAddb7s0yhTG7qlNRDoBChaLolHUkDnkV
LWEgf2gMESs5PScnbW4iKDpCOY1tOjmVXzqekZdCVyIzkSUlPTktEQwZLZxVHxSFF3gNIrBLHQcU
F3G8KrlKHmMFFy2RxFsDHTOYZcpbFKXJYwoVKM9VJBlRHSAn2pHj5EZBADs=
"

## SYMBOL

## HIGHLIGHT

## SIMULATE

## HELP

## ACTION BUTTONS

image create photo ximgSimulate
ximgSimulate put "
R0lGODlhGAAYAPUAAAAAAAEBAQQEBAkJCQ8PDxoaGhsbGx4eHi8vLzY2Njw8PD09PUVFRUxMTE1N
TVVVVV5eXnZ2dnp6ep2dnaCgoKGhoaioqL6+vsHBwcLCwtDQ0NHR0dbW1tfX19ra2tzc3OPj4+Tk
5OXl5ejo6Onp6e/v7/Hx8fj4+Pn5+fr6+vv7+/7+/gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAACwALAAAAAAYABgAAAZ5QJZw
SCwaj8ikcslsKlMajslpHCkallGKOgwdBAbIJbXiegEAQkLi2TpDBjQA/JiA3nE5eo2ZLuF6cgMM
FG1KgIFyBhF+SIiJAIslh3mBgxQfbo4HiQgSGJNLIJUAB3V3TWdpa4ZvXwdiZGZXWZpUUB6NXLu8
vb68QQA7
"

image create photo ximgNetlist
ximgNetlist put "
R0lGODlhGAAYAPUAAAAAAAUFBQcHBxERERISEiIiIiUlJSsrKzMzMzo6Oj8/P0tLS1JSUl5eXmBg
YHNzc3d3d3x8fIKCgoaGhoiIiI6OjpGRkZaWlpmZmZ6enqOjo6enp6ioqK6urrGxsbq6usHBwcXF
xcvLy9TU1NnZ2d3d3eXl5enp6e/v7/b29vn5+QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAACsALAAAAAAYABgAAAa8wJVw
SCwaj8ikcsk0pjocjieqiXI6zA6AwO12AUwOGBkgqhihojhZHp4AAQ5Ra/ESFsK28A0ATIZiJBiD
gx95HlAcGX19DiorWmyMk30BCihiIxSbnCArAZSUAQYaABcFqKkPn6GTAQQXY0egAQICAaCVBiVr
ZBWcEZOXkH6UCXlEfAANjytiJldWIshufX+AskZ6KykHcnMAIRDj5B6fYQAaCOvsEudLkWRZW3Zf
TCkZF4T6hBlN/wCNBAEAOw==
"

image create photo ximgWaves
ximgWaves put "
R0lGODlhGAAYAPUAAAEBAQUFBQsLCwwMDBISEhcXFxwcHCUlJTIyMj4+PktLS1FRUV1dXWNjY2Vl
ZXV1dXp6eoeHh4uLi5OTk5iYmJmZmaOjo6ioqKqqqru7u729vcPDw8fHx8nJyc/Pz9DQ0NXV1dvb
29zc3OLi4uXl5enp6e3t7fHx8fX19QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAACkALAAAAAAYABgAAAbMwJRw
SCwaj8gk8YBROlOEytAkCBACgtMBQKhqFIABoQCVCjeAdLqjTkMM7fIQlMakQQOABG5JABoZG1AT
JoUcaSRrAgAaWxV+EUOLbWkjlBiTaQ6SlGkoAW0bcGoQQwQRIqkiHyUpJB4iICEpKB0iIR5EUUUP
YQS/BGJiwGNyRAidyWnGQw0AChnR0tPRggSEhYUMAJtPKZmUCd7fygvjpyGqqR3jzO26Zu9DHgMQ
Hh33+fj6/PghygCTiRiASp3Bg+pIpHjwQZ5DJUEAADs=
"


} else {


image create photo ximgWaves
ximgWaves put "
R0lGODlhGAAYAPUAAAAAAAoKCg4ODhISEhYWFhoaGh0dHSMjIyQkJCoqKi8vLzAwMDY2Njg4ODw8
PEJCQkRERFVVVVxcXGZmZmxsbHR0dHh4eIWFhYqKipqampycnKKioq6urrS0tMHBwc3Nzdra2uPj
4+jo6O3t7fPz8/T09Pr6+v7+/gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAA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zAYOaO0ikQLiA4UqWLSi9sFuyIEEkmTiRBAEAOw==
"
image create photo ximgToolInsertArc
ximgToolInsertArc put "
R0lGODlhGAAYAPUAAAAAAAYGBgoKCg0NDRcXFxkZGR4eHiMjIykpKTY2NkZGRlVVVVhYWF1dXWNj
Y3BwcHV1dXt7e35+foiIiJGRkZmZmZ+fn6GhoaioqLCwsLq6uru7u8bGxs7OztPT097e3uDg4Onp
6fDw8Pv7+/z8/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAAAAAAAIf8LSW1hZ2VNYWdpY2sO
Z2FtbWE9MC40NTQ1NDUALAAAAAAYABgAAAaHQIAQQDAcCoGhcsnUkJ6kkceyEDCvA6j2KZoQrktG
ZTKhZEBa0SMJBh8kIaim0G4HIKLnx1BvIzp6dH1XAk4kHGyDSwIcTxOKVwZxIwiQTA1PGJZMgCQH
m0oLTxGgQwF5HaVDGU9WqhNPCaoAoiQLswpPDri6swxPt6oSsbMWTwOzCyMXs0tBADs=
"
image create photo ximgSimulate
ximgSimulate put "
R0lGODlhGAAYAPQAAAAAAAEBAQUFBQ4ODhAQEBcXFxsbGxwcHCMjIyUlJSkpKS8vLz4+PkFBQVdX
V19fX2JiYoWFhYmJiaGhoaqqqrOzs7q6usPDw8nJydDQ0OHh4eTk5PDw8Pb29vv7+////yH5BAAA
AAAAIf8LSW1hZ2VNYWdpY2sOZ2FtbWE9MC40NTQ1NDUALAAAAAAYABgAAAVxICCOZGmeaKqubKsK
izK4ZnFVTiHQo6F5m0ljx/N9PhxMJEFsGTbHD5ACObie0aiSMVths8eO5cFUfcHHjaSLOqPVBDMU
LX4gmicjOBNhxFcHc0caVFZOGkdJS3hePxpCjCwGNzmRLDAJbDybnJ2enCEAOw==
"
image create photo ximgToolSearch
ximgToolSearch put "
R0lGODlhGAAYAPUAAAAAAAcHBw4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bWE9MC40NTQ1NDUALAAAAAAYABgAAAWPICCOZGmeaKqubMsK
KMwSRjGQQ2EQK9FkFgVJYcE0eCkCRPOhJEQJykcDQcYOFE9HgjhIOp7KQaZSXD6cSWTzuQhdjMxn
/skwXCIfZ955WFsDDh18fngADBh0dXcuZh8bEhF7bi9YWhNdE2BiZCdKGmFPAFFTVSo+QG8iRBlH
PTU3Izk7LZ0ktoa5uru8KCEAOw==
"
image create photo ximgToolInsertPolygon
ximgToolInsertPolygon put "
R0lGODlhGAAYAPUAAAAAAAQEBAcHBwwMDBMTExcXFxkZGR4eHiYmJiwsLDExMTY2Njs7O0FBQURE
RE9PT1FRUVVVVVlZWWZmZm9vb3FxcXV1dX19fYCAgIiIiJubm6GhoaampqioqLW1tb+/v8bGxsnJ
yc7OztPT09nZ2eHh4eXl5ejo6Ozs7PDw8PX19fr6+v7+/gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAAAAAAAIf8LSW1hZ2VNYWdpY2sO
Z2FtbWE9MC40NTQ1NDUALAAAAAAYABgAAAa9QIBwSBQGMJpAcckEFD4sFqNJBTBMUVajyqysslou
cdCJribRrRiAGEVLC0B6/UhFPQThvBrIZDNEe00GIFEoakOCTBxRIQdLUSBxTRosJEpLIlkaBkwS
LCsDTAV+USkVmEMEUQ9EDA6wDhQoWSQORYUaQxVgvVmIABcsJUYlvr6tQwtRCQARURYT0tPTyUQn
LBYAhR9rRBssHwpREN5DnyplxOZCBWDa7EKFLCmd8cFRuvcA4yzN+8HgeQsCADs=
"
image create photo ximgViewRedraw
ximgViewRedraw put "
R0lGODlhGAAYAPUAAAAAAAICAgUFBQoKCg0NDRISEhcXFxsbGx4eHiUlJSgoKC0tLTAwMDc3Nz8/
P0JCQkZGRktLS0xMTFFRUVZWVlpaWl9fX2FhYWdnZ25ubnd3d3h4eH5+foCAgISEhI+Pj5ubm5+f
n6Ghoaenp6qqqq2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7SUEAOw==
"
image create photo ximgToolJoinTrim
ximgToolJoinTrim put "
R0lGODlhGAAYAPUAAAAAAAICAgUFBScnJykpKS4uLjAwMDQ0NDs7O0BAQEZGRllZWWBgYGdnZ29v
b3JycnV1dYODg4aGho2NjZCQkJaWlpqampycnKCgoKenp6ioqNHR0dbW1tjY2ODg4Obm5uvr6+/v
7/Ly8vT09Pr6+v///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAAAAAAAIf8LSW1hZ2VNYWdpY2sO
Z2FtbWE9MC40NTQ1NDUALAAAAAAYABgAAAaVQIBwSCwWBcakEpBgIJZJgwEgMGQ6mCeUCJkQCBVQ
idPYEi0fy0RUEmkU5mGlRCK1L4e4vMQnUQp6e3wlFoCBAHODHxOGegsXFZEWEI2HlpeYmUkEDhgW
kRcLhwMRHYMlFZYDFHZ8qYcFE6evegcXI3SugQgaIW0TEx4WegIMGyUhFwUDEg+BthwZBkgElWYH
DAma20EAOw==
"
image create photo ximgViewToggleColors
ximgViewToggleColors put "
R0lGODlhGAAYAPUAAAAAAAICAgYGBg0NDQ4ODhERERQUFBsbGx0dHSEhISUlJSsrKy4uLjMzMzU1
NT09PUFBQUVFRUtLS09PT1JSUmNjY21tbXFxcX19fYuLi42NjZCQkJWVlZiYmJ2dnaSkpKenp6io
qK2trbGxsbu7u7y8vMHBwdXV1dnZ2eTk5Obm5urq6uzs7PDw8P7+/gAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAAAAAAAIf8LSW1hZ2VNYWdpY2sO
Z2FtbWE9MC40NTQ1NDUALAAAAAAYABgAAAb/QIBwSFRwNgmicqlklEgMpjIBcSgXo9FC6YAkh5BO
pyEYGigUw1DgEEOIDc8JQxAKCgZDoQwgYE4eDVwYFnUFDhUYGBUNBX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Tp0C
d+j9eg7NwqOy6ZRacFRHoTxANqQTC85vqTwLRwIJGG99hy0rIHREAgohKoiSJhgCRAmQkogrH2hD
CBsriCwre3CkHAlEAxN6JiIdFxQTEhEjfFmqRA0hJyAVDgYDRGUoG55DAhgkF2JXLSYcW0UKFxJK
Hikb00UPDMNJFhncRQfkRwZVSJZj7e7v7kEAOw==
"
image create photo ximgToolInsertText
ximgToolInsertText put "
R0lGODlhGAAYAPQAAAAAAAEBAQoKCg0NDRERER0dHSIiIi0tLTIyMkJCQkRERFVVVV9fX2tra3Jy
coKCgoeHh4iIiJmZmaenp6qqqru7u8vLy93d3eDg4Orq6u7u7vv7+////wAAAAAAAAAAACH5BAAA
AAAAIf8LSW1hZ2VNYWdpY2sOZ2FtbWE9MC40NTQ1NDUALAAAAAAYABgAAAVrICCOREkMwqiuKnFx
cNywtHjE+FTXTOT7j8JuSCwad4eFcslcCmmGDW6Ky9QKUioVsysovuBwYkw4ms9Fh2TNXkMGRYRW
VhxYNPg8/nJA+/+AQwIVeoV6GRA0cnNUGjUPFJGSk5MLgZeYOyEAOw==
"
image create photo ximgEditCut
ximgEditCut put "
R0lGODlhGAAYAPUAAAAAAAEBAQQEBAsLCw8PDxAQEBUVFRkZGR8fHyIiIiUlJSoqKi4uLjMzMzU1
NTo6Ojw8PERERElJSUxMTFRUVFVVVVpaWl1dXWJiYmRkZGpqamxsbHJycnV1dXp6en5+foeHh4uL
i46OjpKSkpaWlpubm56enqKioqampqioqK2trbGxsbe3t7q6ury8vMHBwcTExMnJyc7OztPT09TU
1Nra2t3d3eHh4eTk5Orq6u7u7vPz8/f39/r6+v///wAAACH5BAAAAAAAIf8LSW1hZ2VNYWdpY2sO
Z2FtbWE9MC40NTQ1NDUALAAAAAAYABgAAAb/QIBwSCwaj8hk0TABlUQYhNJYwMB4Ph/No5gSJdcY
yqW7cQRegIC0az0Eh1RPlTAKCo3GYaBe+UZCAhw3LhBFAw0nNTkqEmooPicGaiI6MhRECBswOlkw
jgIbN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X
2EVBADs=
"
image create photo ximgToolInsertWire
ximgToolInsertWire put "
R0lGODlhGAAYAPQAAAAAAAEBAQ4ODhERERcXFyUlJSoqKi8vLzAwMDY2Nj4+PllZWWRkZGtra2xs
bHh4eIODg4eHh5aWlpubm52dna+vr7Gxsbu7u8PDw8TExPDw8Pv7+wAAAAAAAAAAAAAAACH5BAAA
AAAAIf8LSW1hZ2VNYWdpY2sOZ2FtbWE9MC40NTQ1NDUALAAAAAAYABgAAAV0ICCOZGmeppAkAuqK
CDRN0PGegnM9z9W0N5IhMhFJIoYgqSAjEGgFJWmBsVgwCylpwNBoGECtSLHZKMQkshk9Up/ZADc8
Xn6z5XD8vQ7nesFsCxkVFVhoBREUTlBiQxIiE0hiAg07PT9oBzI0NmwqCGFzNyEAOw==
"
image create photo ximgEditPushSch
ximgEditPushSch put "
R0lGODlhGAAYAPQAAAAAAAICAgUFBQkJCQwMDBMTExYWFhgYGB0dHSEhIU9PT19fX2NjY2lpaWxs
bHd3d3h4eHx8fIODg4eHh4uLi8HBwcjIyM7OztHR0d/f3+Pj4+Xl5enp6ezs7Pn5+f///yH5BAAA
AAAAIf8LSW1hZ2VNYWdpY2sOZ2FtbWE9MC40NTQ1NDUALAAAAAAYABgAAAWLICCOZGmeaKquLKA4
TSw7SitUX67nlcDeu13vhwvyfCug8TNMFo1NlRKKlD6DURPhcEBYlh9LgksoDRYXzcYD9mw0GMag
lHh0wLtOJHFCPDR4HxsQfCgHEhlgGhMIKwUTiUEaFAYtBRIbOxuULSIGEBw5HBEHnSN+GxwPhaYi
CQ4OrK0iBGWzt7gkIQA7
"
image create photo ximgToolInsertRect
ximgToolInsertRect put "
R0lGODlhGAAYAPMAAAAAAAICAgUFBQYGBhsbGzs7O2FhYWlpaZWVlZ6enqGhob+/v+Tk5PT09P//
/wAAACH5BAAAAAAAIf8LSW1hZ2VNYWdpY2sOZ2FtbWE9MC40NTQ1NDUALAAAAAAYABgAAASAEEgg
qr1YzF3U+mAYKsUmGY2jrizbGCZwOI2C3HiupEc8M4TYhsBw9Ey/oFBCNPocwCWzeNwkpYBmdXKV
ap9RLxWsXH6R0LLwbE1j2Vy32IkOm8d1dQwu6d7pbXZreIF6Jnwycn9bfTQ2OZA7gBMoLZYrLzEd
IpwgCSUxGaIWGxEAOw==
"
image create photo ximgEditPaste
ximgEditPaste put "
R0lGODlhGAAYAPUAAAAAAAICAgoKCg8PDxERERQUFB8fHyIiIiQkJCwsLDExMTQ0NEREREpKSlNT
U1VVVVxcXF9fX2FhYXJycnd3d3x8fIGBgYeHh4uLi5WVlaKioqWlpaioqK+vr7Kysru7u729vcbG
xsrKys/Pz9HR0dnZ2d/f3+Li4uTk5O/v7/Hx8fT09Pr6+v///wAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAAAAAAAIf8LSW1hZ2VNYWdpY2sO
Z2FtbWE9MC40NTQ1NDUALAAAAAAYABgAAAbEQICmhQIAEK2WxDg8GZ9QQKelMiqSE+O0GoUqLo7n
xFKwgrtoKOECebjfb4hFYExQGtBScs/nh7RUUCd9hEkkRhtEUCAtIwyPkJAmLRxGBAwHiy0gaQAk
lJ2MnGmflQAOHxaao2ilRh6BT6KdrgAYjau0oEYDUbOku2i/rbsVKR9GBSYsm7qmsCtGC3usXbUS
IxlGAh8qzcCmwt/E4V0fLSEH6uvreuVRk4V9Ip3x8nuHaQkdFhT+//8ucDDQqaDBg2iCAAA7
"
image create photo ximgToolInsertLine
ximgToolInsertLine put "
R0lGODlhGAAYAPIAAAAAAA0NDTc3Nz09PT4+Pt7e3vj4+Pv7+yH5BAAAAAAAIf8LSW1hZ2VNYWdp
Y2sOZ2FtbWE9MC40NTQ1NDUALAAAAAAYABgAAAMtCLrc/jDKSau9OOvNew0CIY6kKASQUBxs67KF
kK5vHUNgqROn5//AoHBILEoSADs=
"
image create photo ximgToolInsertCircle
ximgToolInsertCircle put "
R0lGODlhGAAYAPUAAAAAAAE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DUALAAAAAAYABgAAAbGQIBwKOyYSshTg8hsCj+vaBTirD6lU2sViqVqhRdS
KHTCvsQh08Iq6LDM2NPkC6io4OcEXegwYV0fBHtDBiJRKxmDTAIeKBKKCAeSkwsHCAV0HnhYKhgH
ViObZi1eQxITE4Yak6wIChJ+LktDZiFaAyFnAUMmJyZvHF8HLi8OTRsvFnS5IhkZGEPIF3QlZtEv
01+GzRkXvidvHV8IxLMAZiBaBKEkRBARECAvq6ySCQwUKS8ua00kolhWPKjCAeCLExYwMQkCADs=
"
image create photo ximgViewZoomOut
ximgViewZoomOut put "
R0lGODlhGAAYAPUAAAAAAAICAgQEBAoKChAQEB8fHyIiIiUlJSgoKC8vLz4+PkNDQ0RERGtra25u
bnt7e3x8fIODg4WFhYiIiJ+fn6CgoLOzs7a2tr29vcHBwcjIyOXl5evr6+7u7vf39/n5+f///wAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAAAAAAAIf8LSW1hZ2VNYWdpY2sO
Z2FtbWE9MC40NTQ1NDUALAAAAAAYABgAAAbXQIBwSCwaj0VCQqFIEJDHwQJSuWAwl8pjMYAKDY5L
B0Qudy6Og+AoQEQ45bhZgjgeJh65HuSRHIoDDmN7eh0Oa0MMF4SEFwxED3CMhQ9DBBSThBVPAAmL
IB8aGaOkpBgaH2QWCUIKGGQbBUICtLVrBRtkGAqtryCxALa2ALi6vJ2foaXLGahkF6wAAxWZexRd
Qg+D1WQclUMLn9wgFgtEgZLVHQ3YQwcSeZl9BkZtEul7HRF/bAcOFtvKcLDQwAAiJFIeVLBw5QKF
Le28CBmwpElEiRiNBAEAOw==
"
}
image create photo imgFileOpen
image create photo imgFileSave
image create photo imgFileReload
image create photo imgEditUndo
image create photo imgEditRedo
image create photo imgEditCopy
image create photo imgEditCut
image create photo imgEditPaste
image create photo imgEditDelete
image create photo imgEditDuplicate
image create photo imgEditMove
image create photo imgEditPushSch
image create photo imgEditPushSym
image create photo imgEditPop
image create photo imgViewZoomIn
image create photo imgViewZoomOut
image create photo imgViewZoomBox
image create photo imgViewToggleColors
image create photo imgViewRedraw
image create photo imgToolInsertSymbol
image create photo imgToolInsertText
image create photo imgToolInsertWire
image create photo imgToolInsertLine
image create photo imgToolInsertRect
image create photo imgToolInsertPolygon
image create photo imgToolInsertArc
image create photo imgToolInsertCircle
image create photo imgToolSearch
image create photo imgToolJoinTrim
image create photo imgToolBreak
image create photo imgSimulate
image create photo imgNetlist
image create photo imgWaves

imgFileOpen copy ximgFileOpen -zoom $toolbar_icon_zoom
imgFileSave copy ximgFileSave -zoom $toolbar_icon_zoom
imgFileReload copy ximgFileReload -zoom $toolbar_icon_zoom
imgEditUndo copy ximgEditUndo -zoom $toolbar_icon_zoom
imgEditRedo copy ximgEditRedo -zoom $toolbar_icon_zoom
imgEditCopy copy ximgEditCopy -zoom $toolbar_icon_zoom
imgEditCut copy ximgEditCut -zoom $toolbar_icon_zoom
imgEditPaste copy ximgEditPaste -zoom $toolbar_icon_zoom
imgEditDelete copy ximgEditDelete -zoom $toolbar_icon_zoom
imgEditDuplicate copy ximgEditDuplicate -zoom $toolbar_icon_zoom
imgEditMove copy ximgEditMove -zoom $toolbar_icon_zoom
imgEditPushSch copy ximgEditPushSch -zoom $toolbar_icon_zoom
imgEditPushSym copy ximgEditPushSym -zoom $toolbar_icon_zoom
imgEditPop copy ximgEditPop -zoom $toolbar_icon_zoom
imgViewZoomIn copy ximgViewZoomIn -zoom $toolbar_icon_zoom
imgViewZoomOut copy ximgViewZoomOut -zoom $toolbar_icon_zoom
imgViewZoomBox copy ximgViewZoomBox -zoom $toolbar_icon_zoom
imgViewToggleColors copy ximgViewToggleColors -zoom $toolbar_icon_zoom
imgViewRedraw copy ximgViewRedraw -zoom $toolbar_icon_zoom
imgToolInsertSymbol copy ximgToolInsertSymbol -zoom $toolbar_icon_zoom
imgToolInsertText copy ximgToolInsertText -zoom $toolbar_icon_zoom
imgToolInsertWire copy ximgToolInsertWire -zoom $toolbar_icon_zoom
imgToolInsertLine copy ximgToolInsertLine -zoom $toolbar_icon_zoom
imgToolInsertRect copy ximgToolInsertRect -zoom $toolbar_icon_zoom
imgToolInsertPolygon copy ximgToolInsertPolygon -zoom $toolbar_icon_zoom
imgToolInsertArc copy ximgToolInsertArc -zoom $toolbar_icon_zoom
imgToolInsertCircle copy ximgToolInsertCircle -zoom $toolbar_icon_zoom
imgToolSearch copy ximgToolSearch -zoom $toolbar_icon_zoom
imgToolJoinTrim copy ximgToolJoinTrim -zoom $toolbar_icon_zoom
imgToolBreak copy ximgToolBreak -zoom $toolbar_icon_zoom
imgSimulate copy ximgSimulate -zoom $toolbar_icon_zoom
imgNetlist copy ximgNetlist -zoom $toolbar_icon_zoom
imgWaves copy ximgWaves -zoom $toolbar_icon_zoom

image delete ximgFileOpen
image delete ximgFileSave
image delete ximgFileReload
image delete ximgEditUndo
image delete ximgEditRedo
image delete ximgEditCopy
image delete ximgEditCut
image delete ximgEditPaste
image delete ximgEditDelete
image delete ximgEditDuplicate
image delete ximgEditMove
image delete ximgEditPushSch
image delete ximgEditPushSym
image delete ximgEditPop
image delete ximgViewZoomIn
image delete ximgViewZoomOut
image delete ximgViewZoomBox
image delete ximgViewToggleColors
image delete ximgViewRedraw
image delete ximgToolInsertSymbol
image delete ximgToolInsertText
image delete ximgToolInsertWire
image delete ximgToolInsertLine
image delete ximgToolInsertRect
image delete ximgToolInsertPolygon
image delete ximgToolInsertArc
image delete ximgToolInsertCircle
image delete ximgToolSearch
image delete ximgToolJoinTrim
image delete ximgToolBreak
image delete ximgSimulate
image delete ximgNetlist
image delete ximgWaves

## Context menu

image create photo xCtxmenuBlank
xCtxmenuBlank put "
R0lGODlhEAAQAPAAAAAAAAAAACH5BAEAAAAALAAAAAAQABAAAAIOhI+py+0Po5y02ouzPgUAOw==
"

image create photo xCtxmenuRotate
xCtxmenuRotate put "
R0lGODlhEAAQAPQAAAAAACoqKisrKzo6Oj8/P15eXmBgYHZ2doKCgq+vr9fX19jY2OLi4uTk5Ofn
5+/v7/7+/v///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEA
ABIALAAAAAAQABAAAAVCoCSOZGmeqBg5ixOlUgLMc4Iec2AE83ESAMVIUYMNZy+jhOdQSgyAhZMJ
eziIgKTpgaABbKeu14fyfmGMAs2ZHpRCADs=
"

image create photo xCtxmenuSave
xCtxmenuSave put "
R0lGODlhEAAQAPEAAAAAAI2Njejo6AAAACH5BAEAAAMALAAAAAAQABAAAAImhI8nM+naDJv0RECv
tlVaPn2eRAXm9jxXiqzs+IoxPLuvzeLpUAAAOw==
"

image create photo xCtxmenuTerm
xCtxmenuTerm put "
R0lGODlhEAAQAPMAAAAAACIiIjAwMHR0dHh4eHx8fOXl5ejo6O/v7/f39wAAAAAAAAAAAAAAAAAA
AAAAACH5BAEAAAoALAAAAAAQABAAAAQ+UMlJq731mM07PwcgjmRpAEWqriqgoNhUAOcwItd8EkIg
JDkaLKbQDWPGArEoVBKTrOgsVKqOFBqP1nBYViIAOw==
"

image create photo xCtxmenuSchematic
xCtxmenuSchematic put "
R0lGODlhEAAQAPQAAAAAAAQEBBwcHB4eHkJCQkxMTGpqanNzc319fZGRkaioqKqqqq+vr7m5ucLC
wsrKytjY2Nra2t/f3+Li4ubm5u7u7vDw8PPz8/n5+fz8/P///wAAAAAAAAAAAAAAAAAAACH5BAEA
ABsALAAAAAAQABAAAAVO4CaOZGmKDqACyTkuK2C4Y6VK2tkU16apFRcB8IgIVBMh4KAKMEyOROKo
QmBOMdWCFp2urLTNkAlw0oZFalLH8wHDo1ulF85GwlQVZRMCADs=
"
image create photo xCtxmenuOpendir
xCtxmenuOpendir put "
R0lGODlhEAAQAPMAAAAAAAICAg0NDTMzMzc3N0dHR3R0dHp6eoGBgY6Ojrm5ucjIyObm5vDw8Pr6
+gAAACH5BAEAAA8ALAAAAAAQABAAAARB8MlJ6zQgi2Zv/sIijuLznej3DGzrvg8iz3Rtpjhw5+hD
8CfC4wD8HB6KYkbxYCgBjIfj6ZAIioJJoViYJIqJRwQAOw==
"

image create photo xCtxmenuFlip
xCtxmenuFlip put "
R0lGODlhEAAQAPMAAAAAAAQEBDc3N42NjaamptDQ0NHR0eTk5AAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAACH5BAEAAAgALAAAAAAQABAAAAQvEMlJq7046807NgJwTAcgGBMIrAPhDquJBnFtAwGisi4B
r6dUaCQpBT3IpHKJiAAAOw==
"

image create photo xCtxmenuAbort
xCtxmenuAbort put "
R0lGODlhEAAQAPUAAAAAAAQEBAkJCQ0NDRISEhcXFx4eHicnJygoKC4uLjIyMjg4ODw8PE5OTlFR
UVdXV1paWl1dXWZmZnBwcHt7e35+foKCgoODg4iIiI2NjZeXl56enqKioqioqLW1tcPDw8XFxcfH
x9DQ0Onp6e3t7fDw8PX19fj4+AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAACgALAAAAAAQABAAAAaNQJQQ
BVoICIRBwjNsSgaAqHTgODUfAgCh4HAUoAKGFbWBDjpNDgEgmAgNgAGoKRStCSTQ2kEfVgQCGxRx
EhiGh4YUUBENUQGPkJFRCxCOkZdRChkBAhGIiBNQDSFrC31ClQEaKAVaaHQfdyMoGmYTJUInFmAW
QxBZA0oIAmAJY0JPUlMMJn1FR0kHr0JBADs=
"

image create photo xCtxmenuRecent
xCtxmenuRecent put "
R0lGODlhEAAQAPUAAAAAAA4ODikpKS8vLzg4OENDQ0dHR0xMTFZWVm9vb3Z2dnp6enx8fIKCgoeH
h4mJiYyMjJmZmaGhoaampqmpqbCwsLe3t7q6ur+/v8XFxcjIyM7OztHR0dXV1dvb2+Dg4OXl5efn
5+3t7fPz8/T09Pr6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J8jgoBADs=
"

image create photo xCtxmenuDown
xCtxmenuDown put "
R0lGODlhEAAQAPQAAAAAAAsLCxISEhYWFiAgICcnJygoKC0tLTc3Nz8/P0dHR1NTU1paWnFxcXZ2
dpCQkJeXl7u7u8LCwtHR0d3d3eLi4vHx8fr6+gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEA
ABgALAAAAAAQABAAAAVOICaOZGlWVJpe5kgEMCy1YgHc90zbOKC3PNzPFMzRMEXfMTnETBAKxaAH
SCgSj1HkQMUFGKyRZRGgCho0CAFHgBwxlATA0GxdHJW3HhMCADs=
"

image create photo xCtxmenuDownSym
xCtxmenuDownSym put "
R0lGODlhEAAQAPUAAAAAAAcHBwoKCg0NDRAQEBQUFBoaGiMjIyYmJi4uLjQ0NDs7Oz4+PkREREtL
S1NTU1ZWVlpaWmJiYmZmZmtra3p6en5+foGBgYmJiZGRkZiYmJ2dnaampqmpqa2trbm5uby8vMHB
wcTExMnJydPT093d3eHh4erq6u7u7vPz8/n5+QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAACsALAAAAAAQABAAAAZywJVw
SCwaKYqkQmMkQgBQgKW5ylQUUQCj4jFiCFmoAdS8DLKGDnVFCUALzPVKEiBg5MPHBa86MBoJDB9N
JxgWWhALBwBqRSIFYI1zCB8hRigAlkIVUSNDIFEceQolJkQpGxgACAoGBAJkVAsSEw4RJEVBADs=
"

image create photo xCtxmenuPaste
xCtxmenuPaste put "
R0lGODlhEAAQAPUAAAAAAAEBAQUFBQkJCQ0NDScnJy0tLTQ0NEBAQEZGRk1NTU9PT1BQUFNTU1lZ
WWBgYGFhYWNjY2VlZWlpaWxsbG5ubnNzc3R0dHZ2dnd3d3h4eICAgIGBgYmJiYqKio6OjpCQkJGR
kZmZmaKioqenp6qqqq6urrm5ubq6usHBwcXFxcnJydXV1dvb293d3d7e3uDg4OPj4+Tk5Onp6erq
6u3t7e/v7/Dw8PX19fb29vf39/39/QAAAAAAAAAAAAAAACH5BAEAADwALAAAAAAQABAAAAaAQFkg
wgMFTrwDgcds4hwknqrx4nUqzWw2dcB4vxLFjjawMBuCgHqtbtkKHebm+KrXJYGYds7SWvI3ByBy
AX1ZGHk0Alg8fH55e4WPMTgRJjwrBpKHeTFDPB9qhk2Ieiw2PDgTAS2TWhoBGiKzswmQWQpsulVZ
Nh0lwMEjI1rFxUEAOw==
"

image create photo xCtxmenuDelete
xCtxmenuDelete put "
R0lGODlhEAAQAPUAAAAAAAMDAwgICA0NDRYWFh8fHyEhISkpKS8vLzMzMzU1NT8/P0BAQEVFRUxM
TGlpaXp6eoaGhomJiZCQkJSUlJeXl5ycnK2tra6urrGxsbW1tbu7u729vc3NzdfX19vb2+Pj4+Xl
5evr6+7u7vHx8fb29vv7+wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAACcALAAAAAAQABAAAAZxwJNw
SCwOTSbjyVQiggiFT1GUGHSGGgCgABqSElrKkaE9iE6lRXlEJCm0CJFDyzWKDlpCXqoMGbQAVkpD
D4ANg0ITgFoPgxaAEQNaEEYZgBYnHAJaEkQegBNDF4AbQxyTRCajAJhDFRdKGRJJR7SIJ0EAOw==
"

image create photo xCtxmenuDuplicate
xCtxmenuDuplicate put "
R0lGODlhEAAQAPQAAAAAAAcHBwgICA8PDxAQEBUVFSsrKzMzMzU1NT4+PlRUVFdXV2JiYn9/f4iI
iJqamqGhoaampqqqqq2trba2tsPDw8TExO7u7vb29gAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEA
ABkALAAAAAAQABAAAAVTYJZhk2SekiWuWQS88CuwIjRceA7NNERklIaj0VAAHA+WL2OMvQ7KX9OJ
iDKdr+pqOY1pa1Is4Jvhisk7B+LMqhQIAjbtiiWvGIa83pCY+/+ALCEAOw==
"

image create photo xCtxmenuCut
xCtxmenuCut put "
R0lGODlhEAAQAPUAAAEBAQUFBQkJCQwMDBAQEB4eHiIiIiYmJicnJzc3Nzw8PEJCQkVFRUtLS0xM
TFZWVllZWV1dXWNjY2lpaXFxcX5+foSEhImJiZGRkZWVlZqamp2dnaGhoaampqmpqa6urrKysri4
uL29vcHBwcbGxsrKys/Pz9HR0dbW1tnZ2d/f3+Li4ufn5+jo6O3t7fPz8/b29vn5+QAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAADIALAAAAAAQABAAAAaLQJns
0niEhMik8AFoAjbK5KgJSQAIsagrdAEsZK8A4JSMYQiADODwIjVVSNChKVAJAAMnxYVqOB8rMhx3
TgBiTQkkSSUTFSl+ThNKHoSHh15kMit3hAASLCUKThEtGgAGW02BQh0FTQMWAAwyMWImSTAWeSJN
Egt4MFEsHzIOhRlRZRYKDcTJz9AyQQA7
"

image create photo xCtxmenuMove
xCtxmenuMove put "
R0lGODlhEAAQAPUAAAMDAwQEBAkJCQ4ODhISEhsbGx0dHSMjIyUlJSgoKC8vLzMzMzk5OUZGRkxM
TFBQUGdnZ29vb3BwcHl5eX9/f5GRkZOTk5WVlZiYmJ+fn6SkpLCwsLy8vMHBwcXFxdHR0dXV1djY
2Ovr6+/v7/Ly8vT09Pz8/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAACcALAAAAAAQABAAAAZmwJNw
SCwaj8iOUWncJIyNSTGEWBgdBM2QtAAMDIXQCWEgAAwfoQPABgRA4zZAMaLIAQI44v4QKeR5cW0F
HCceBW2BB4kWQxgDCBYXJScZFgwAEEUST0UODSZFJhFGEyNIqKmqqydBADs=
"

image create photo xCtxmenuCopy
xCtxmenuCopy put "
R0lGODlhEAAQAPUAAAAAAAICAgUFB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EBx2BA
kJgohqmixe16v+BRCAA7
"

image create photo xCtxmenuLine
xCtxmenuLine put "
R0lGODlhEAAQAPQAAAICAgcHBwsLCw8PD1RUVGFhYZmZmZ2dnaCgoKSkpKqqqq6urrKysra2trq6
ur29vcLCwsXFxczMzNra2vb29gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEA
ABUALAAAAAAQABAAAAVBYCWO5OhMZSoaAKGWBzBI74gAAlSLCq7vC9xjV1kEAsNd48ggOpjOAKC5
cwgACiJkAEgQI1fvjsJFEEUF8XktCgEAOw==
"

image create photo xCtxmenuBox
xCtxmenuBox put "
R0lGODlhEAAQAPQAAAAAAA0NDRERERcXF0ZGRklJSWZmZmtra3t7e35+foiIiJGRkbW1tbu7u8LC
wsbGxt3d3fv7+wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEA
ABIALAAAAAAQABAAAAVCoCSOZGmeJXQYbOsajpgAdG3ThYgAS+P/PwBBB3igIkKi8YQcSnZLU1N5
TD6LVSc0SwwIvmCwlTEIm78KlHrNZocAADs=
"

image create photo xCtxmenuPoly
xCtxmenuPoly put "
R0lGODlhEAAQAPUAAAAAAAUFBQsLCw0NDRERERUVFRsbGxwcHCMjIyUlJSgoKCwsLD09PUdHR09P
T1JSUlRUVF1dXWhoaG1tbXV1dXl5eX5+foCAgIiIiJWVlZ2dnaioqKysrLW1tbi4uMLCwsfHx8rK
ytPT09fX19ra2uDg4Orq6uzs7PLy8vb29vv7+wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAACsALAAAAAAQABAAAAaVwJVQ
6CkNj8hVCOBIOhmAgcp55ACuoWOqciAJVQnABYAZehBXkRADmJgAjZUpcgUkhCcCwbRaCDIDdhIA
FmtkQhNXAhYqEABqK4MjQh0ADF4oAndCDwAnKkZeQhuEQwwBKQwCKEedkCsJBQ5XIEMmAgpHBFeB
GiYZDQGlX1cLlQV1BhMnQyh2JifCCBS1SR98Kx+vSUEAOw==
"

image create photo xCtxmenuArc
xCtxmenuArc put "
R0lGODlhEAAQAPUAAAAAAAQEBAsLCwwMDBAQECsrKywsLDAwMDw8PEFBQUdHR0tLS1lZWW1tbX5+
foWFhYmJiZGRkZ6enqOjo6ysrLe3t76+vsrKytDQ0NTU1NnZ2ejo6Ovr6+3t7fPz8/T09Pv7+wAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAACEALAAAAAAQABAAAAZTwFDn
sTAcFA5MaMlcQgDQKGChaS45EszHk4kUAAKKdbyMCABistUiGFTVTQlAAbcmAJc6swJo6JcgBAV/
SwgAIIQMAByJi4QIAYQhAgaSDROSTEEAOw==
"

image create photo xCtxmenuCircle
xCtxmenuCircle put "
R0lGODlhEAAQAPUAAAAAAAQEBA4ODhERERUVFRsbGykpKS4uLjQ0NDo6Oj4+Pk9PT1BQUFpaWl9f
X2NjY2lpaW5ubnBwcH5+foGBgYeHh46OjpCQkJeXl5mZmZ+fn6KiorCwsLm5ucHBwdLS0tXV1djY
2OHh4eTk5O/v7/T09Pr6+gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAACcALAAAAAAQABAAAAZ+wJNw
+NloPMPksHMAOAEEjVKYcSomFEYAAFF6AoNOEmQAXJIIAFIpGgxIwg9gMRVSANITBrCpn0AAD3Zq
fiVzQhYAHH4jAA1CHQASfhsAFUImBAIjUyZNIUMXAAlwQyYOAA5KCwAFFx8gG00GpaYRW09ztUog
EwsLEmt+w0JBADs=
"

image create photo xCtxmenuText
xCtxmenuText put "
R0lGODlhEAAQAPQAAAAAAB4eHjMzMzU1NURERElJSVRUVFVVVXt7e4aGhoqKipOTk5mZmZ6enqCg
oLKyssLCwszMzM/Pz9LS0tjY2N3d3eDg4Obm5unp6e7u7vLy8gAAAAAAAAAAAAAAAAAAACH5BAEA
ABsALAAAAAAQABAAAAVN4CaOZDlGaIqZ4gK8cMBu02HfyqyzmKIkwJ8wYRkpYEgkYqRxMJ5QaCOz
00EGgqwgoXMkDztNZkzdWSroNHpFYiSTD1KEQK/XC5TqLAQAOw==
"

image create photo CtxmenuBlank
image create photo CtxmenuRotate
image create photo CtxmenuSave
image create photo CtxmenuTerm
image create photo CtxmenuSchematic
image create photo CtxmenuOpendir
image create photo CtxmenuFlip
image create photo CtxmenuAbort
image create photo CtxmenuRecent
image create photo CtxmenuSymbol
image create photo CtxmenuUp
image create photo CtxmenuDown
image create photo CtxmenuDownSym
image create photo CtxmenuPaste
image create photo CtxmenuDelete
image create photo CtxmenuDuplicate
image create photo CtxmenuCut
image create photo CtxmenuMove
image create photo CtxmenuCopy
image create photo CtxmenuEdit
image create photo CtxmenuWire
image create photo CtxmenuLine
image create photo CtxmenuBox
image create photo CtxmenuPoly
image create photo CtxmenuArc
image create photo CtxmenuCircle
image create photo CtxmenuText

CtxmenuBlank copy xCtxmenuBlank -zoom $ctxmenu_icon_zoom
CtxmenuRotate copy xCtxmenuRotate -zoom $ctxmenu_icon_zoom
CtxmenuSave copy xCtxmenuSave -zoom $ctxmenu_icon_zoom
CtxmenuTerm copy xCtxmenuTerm -zoom $ctxmenu_icon_zoom
CtxmenuSchematic copy xCtxmenuSchematic -zoom $ctxmenu_icon_zoom
CtxmenuOpendir copy xCtxmenuOpendir -zoom $ctxmenu_icon_zoom
CtxmenuFlip copy xCtxmenuFlip -zoom $ctxmenu_icon_zoom
CtxmenuAbort copy xCtxmenuAbort -zoom $ctxmenu_icon_zoom
CtxmenuRecent copy xCtxmenuRecent -zoom $ctxmenu_icon_zoom
CtxmenuSymbol copy xCtxmenuSymbol -zoom $ctxmenu_icon_zoom
CtxmenuUp copy xCtxmenuUp -zoom $ctxmenu_icon_zoom
CtxmenuDown copy xCtxmenuDown -zoom $ctxmenu_icon_zoom
CtxmenuDownSym copy xCtxmenuDownSym -zoom $ctxmenu_icon_zoom
CtxmenuPaste copy xCtxmenuPaste -zoom $ctxmenu_icon_zoom
CtxmenuDelete copy xCtxmenuDelete -zoom $ctxmenu_icon_zoom
CtxmenuDuplicate copy xCtxmenuDuplicate -zoom $ctxmenu_icon_zoom
CtxmenuCut copy xCtxmenuCut -zoom $ctxmenu_icon_zoom
CtxmenuMove copy xCtxmenuMove -zoom $ctxmenu_icon_zoom
CtxmenuCopy copy xCtxmenuCopy -zoom $ctxmenu_icon_zoom
CtxmenuEdit copy xCtxmenuEdit -zoom $ctxmenu_icon_zoom
CtxmenuWire copy xCtxmenuWire -zoom $ctxmenu_icon_zoom
CtxmenuLine copy xCtxmenuLine -zoom $ctxmenu_icon_zoom
CtxmenuBox copy xCtxmenuBox -zoom $ctxmenu_icon_zoom
CtxmenuPoly copy xCtxmenuPoly -zoom $ctxmenu_icon_zoom
CtxmenuArc copy xCtxmenuArc -zoom $ctxmenu_icon_zoom
CtxmenuCircle copy xCtxmenuCircle -zoom $ctxmenu_icon_zoom
CtxmenuText copy xCtxmenuText -zoom $ctxmenu_icon_zoom

image delete xCtxmenuBlank
image delete xCtxmenuRotate
image delete xCtxmenuSave
image delete xCtxmenuTerm
image delete xCtxmenuSchematic
image delete xCtxmenuOpendir
image delete xCtxmenuFlip
image delete xCtxmenuAbort
image delete xCtxmenuRecent
image delete xCtxmenuSymbol
image delete xCtxmenuUp
image delete xCtxmenuDown
image delete xCtxmenuDownSym
image delete xCtxmenuPaste
image delete xCtxmenuDelete
image delete xCtxmenuDuplicate
image delete xCtxmenuCut
image delete xCtxmenuMove
image delete xCtxmenuCopy
image delete xCtxmenuEdit
image delete xCtxmenuWire
image delete xCtxmenuLine
image delete xCtxmenuBox
image delete xCtxmenuPoly
image delete xCtxmenuArc
image delete xCtxmenuCircle
image delete xCtxmenuText
