From 70fa59a9b55b08e729d90cfb30d72378db2f6cf0 Mon Sep 17 00:00:00 2001 From: ccremers Date: Wed, 9 Aug 2006 10:07:57 +0000 Subject: [PATCH] - Improved. --- gui/Gui/Mainwindow.py | 9 ++++----- gui/Images/characterize-button.png | Bin 4026 -> 1572 bytes gui/Images/characterize-button.svg | 23 ++++++----------------- gui/Images/verify-button.png | Bin 3975 -> 1590 bytes gui/Images/verify-button.svg | 24 ++++++------------------ 5 files changed, 16 insertions(+), 40 deletions(-) diff --git a/gui/Gui/Mainwindow.py b/gui/Gui/Mainwindow.py index 4b73c87..550b7ed 100644 --- a/gui/Gui/Mainwindow.py +++ b/gui/Gui/Mainwindow.py @@ -115,20 +115,19 @@ class MainWindow(wx.Frame): #print "Default toolbar tool size: %s\n" % tb.GetToolBitmapSize() def getBmp(name): - bmp = wx.Bitmap(os.path.join("Images","%s.png" % name),wx.BITMAP_TYPE_PNG) + bmp = wx.Image(os.path.join("Images","%s.png" % name),wx.BITMAP_TYPE_PNG).ConvertToBitmap() if not bmp.Ok(): - tsize = (32,32) - bmp = wx.EmptyBitmap(tsize) + bmp = wx.EmptyBitmap(32,32) return bmp bmpverify = getBmp("verify-button") bmpcharacterize = getBmp("characterize-button") # add the actual tools - tb.AddSimpleTool(ID_VERIFY, bmpverify,shortHelpString="Verify") + tb.AddSimpleTool(ID_VERIFY, bmpverify,shortHelpString="Verify claims in protocol") self.Bind(wx.EVT_TOOL, self.OnVerify, id=ID_VERIFY) tb.AddSimpleTool(ID_STATESPACE, - bmpcharacterize,shortHelpString="Statespace") + bmpcharacterize,shortHelpString="Generate statespace for all roles") self.Bind(wx.EVT_TOOL, self.OnStatespace, id=ID_STATESPACE) # tb.AddSeparator() diff --git a/gui/Images/characterize-button.png b/gui/Images/characterize-button.png index 88ac27fe525ac20e0df9f534beb3b7836179444f..a01871c236438b59465c0c1d029a24e816a226fd 100644 GIT binary patch delta 1537 zcmV+c2LAcFAEXQ+iBL{Q4GJ0x0000DNk~Le0000W0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i zs_WZd-o2`6WwTW*QWi^4$r+SkK#-&ng}w;@WEi80Mh`VCmRtTVQD8lC;21kwf7?CJ z&EFS!bDyeaM+|_fIwH~!^lM(flRezOeBh8%Sv9FTRxpU_cVToU6(C;uixu6{x_|l1 z7J(ZcfTFyzelhS7p8$dK;5*|RA2T0T?5l{s)v}D%9 znO2HkphL!y_41b?unB zA4}Pps@PC1#3qy|rxe4W@autsnc?9vq6wHWV(7X>#?#_o`JiTE#X)8tx^ zXp7}h48I*4ejIpCt_}Ekf24aia4cE>8;(ZuadaBc4AcUaNmo9Ou`(wCu7J&m=u~)* zOB%SoGx&#u6P5?|0PmgXvlxsFfEr*HaK?wB=l>BM19q!w`^gwb@++}^V1RH%{dFMa z1c^^MofLp*1uZOwzYf#~^s4HJCTyg?6Ff%f2}8cEeFSO5vkxN#e?V1z!Y$>v3B^Z* z1_{&N{*!V>bSl3TEu0TN%5=iCcQ_g`08tgSpAhAbBDsVfdP-~6ss7~k7%-MF%Yq@r z@)6UA@gLjeGO~n;&;ROAWi6m#1j-zbPDQzq@Rsv*4)-I76VWLF@c)ti2P3*gy9p{f RI{*Lx07*qoM6N<$0fHvd%wYfk diff --git a/gui/Images/characterize-button.svg b/gui/Images/characterize-button.svg index 46db627..1f23b5c 100644 --- a/gui/Images/characterize-button.svg +++ b/gui/Images/characterize-button.svg @@ -14,11 +14,11 @@ id="svg1307" sodipodi:version="0.32" inkscape:version="0.43" - sodipodi:docbase="/home/cas/svn/scyther/gui/images" + sodipodi:docbase="/home/cas/svn/scyther/gui/Images" sodipodi:docname="characterize-button.svg" - inkscape:export-filename="/home/cas/svn/scyther/gui/images/characterize-button.png" - inkscape:export-xdpi="90" - inkscape:export-ydpi="90"> + inkscape:export-filename="/home/cas/svn/scyther/gui/Images/characterize-button.png" + inkscape:export-xdpi="45" + inkscape:export-ydpi="45"> - REACH CNj_a%t1Q7uNQ8L-}KlWTeg4ZvtNB6yf`O>YXrv;Tw`#I;5ve91lLK89V6>gHgJsbe|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^z(L?xuGUx|0JPS&h;#y7>7=#%qb(aA7&X2*nqOGdr_B{y zoiHdt<+6Hrp63iGC(BFv$jQ+X%L3`ef9F@FQ>kPtu+Cl7obL(x>k1#m`Kj2Wwf%bQ zpH?rLa>m(_kfQ#iVFMw{3k1A`<|*%AyL@;qACM6Qk^lf+`wZVZBv|MnBD5da&$ew_ zlS#|E!}aEFt#y3R0BEgE5$OSX>~#9Uqa6q49q#BTEUT>b74ekv+R{D!F>S*MEEZl53+* z-Je-0JFp^-7MXJ$P}+9?`lX?3oX&Rd0BCk#9-Rw-5ExF?+OqaVJDEy-2&@4TIIqpS z{~Q3iaNNfNUQ1f$B?sDejH_#&eSnV4ExpPML zvmjvo7~D@NXr1QGm;No4v=R>jF(BzKV&?#heB8IgM{(Sz64wU)~e;mwLVm&}FPDcGp7@7eJpX_m50Nf1fCBwgj(G7HItp~MW zgZ)nMD2^xedAD`~jzO=W!>zz@kN@`o{2vO_Uv~n^ RfwKSr002ovPDHLkV1f@pyx{-< diff --git a/gui/Images/verify-button.svg b/gui/Images/verify-button.svg index 116b6a8..58c01a6 100644 --- a/gui/Images/verify-button.svg +++ b/gui/Images/verify-button.svg @@ -14,11 +14,11 @@ id="svg1307" sodipodi:version="0.32" inkscape:version="0.43" - sodipodi:docbase="/home/cas/svn/scyther/gui/images" + sodipodi:docbase="/home/cas/svn/scyther/gui/Images" sodipodi:docname="verify-button.svg" - inkscape:export-filename="/home/cas/svn/scyther/gui/images/verify-button.png" - inkscape:export-xdpi="90" - inkscape:export-ydpi="90"> + inkscape:export-filename="/home/cas/svn/scyther/gui/Images/verify-button.png" + inkscape:export-xdpi="45" + inkscape:export-ydpi="45"> - CLAIM + style="display:inline">