From 92ccdbbc2db7ca06cb03534e9bcbbaeb47c156d9 Mon Sep 17 00:00:00 2001 From: Michele Date: Fri, 15 Jan 2021 11:36:12 +0000 Subject: [PATCH] icons --- Sledgemapper/Content/Content.mgcb | 36 +++++++++++++++++++++++++++ Sledgemapper/Content/icon_delete.png | Bin 0 -> 871 bytes Sledgemapper/Content/icon_line.png | Bin 0 -> 874 bytes Sledgemapper/Content/icon_room.png | Bin 0 -> 360 bytes Sledgemapper/Sledgemapper.cs | 3 +++ 5 files changed, 39 insertions(+) create mode 100644 Sledgemapper/Content/icon_delete.png create mode 100644 Sledgemapper/Content/icon_line.png create mode 100644 Sledgemapper/Content/icon_room.png diff --git a/Sledgemapper/Content/Content.mgcb b/Sledgemapper/Content/Content.mgcb index 7b86017..661c1e1 100644 --- a/Sledgemapper/Content/Content.mgcb +++ b/Sledgemapper/Content/Content.mgcb @@ -93,6 +93,42 @@ /processorParam:TextureFormat=Compressed /build:fonts/font99.spritefont +#begin icon_delete.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:icon_delete.png + +#begin icon_line.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:icon_line.png + +#begin icon_room.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:icon_room.png + #begin location.png /importer:TextureImporter /processor:TextureProcessor diff --git a/Sledgemapper/Content/icon_delete.png b/Sledgemapper/Content/icon_delete.png new file mode 100644 index 0000000000000000000000000000000000000000..ecec945d2574079ab243947cbb19bacc215a6412 GIT binary patch literal 871 zcmV-t1DO1YP)Px#1ZP1_K>z@;j|==^1poj532;bRa{vGi!vFvd!vV){sAK>D0{lrtK~z{r?UzkR zRACr}=YLXBQ8cv3GSaZbLUJLBD=~$j5HX@nY6#ULLWHyyK}1MU*di0FO@-M;6G;e) zYSSN05K5AP5L!wpCZ_o}r}K@k7aJY*&Nz<5Jn(>A=f3C6cjtb0#tCjfjgW zgT-K!L+b~G*tX()^+z}yGss9k&64W_RRj@XX{f!{gQ+RFc=LJ^yLTQ9cu7~e_}DDm zxitW%bGF#WaZ7$cOJc{iLuhUJ1-O-)<6+Y+PC3yC9LaHo| zTGg93dJz@AOHTDaEN4P?W)(g-CZ)#G%*+5amp@~JC0<7O502N zsjPShn<-jGtv)OlilV}M`2I~&buvBXveMD_LjrWI;uqjVvc!iY9rGpeML+!w$W=Zi9wcXU$^&vJYL!$H}<%;R3 zR&LIyaByRmG@Ynz=F-Jahzv`XDE+X6k)EOxS}AwqVt|egNnIi8<~m#Xo*VUMiP8_l z&GZ7D(aLyodjjyKThf_D%Z5^9k%pE$8vo{Y}DwA+%Ks)uYu2oT~y_nn#e5T*zbo zfrBIID=k=$R?|=ZF3I8F{ssAYiCmG+1qGJ2hwi0o1A~(2SGrgkcROgJoVs=}RISJl zDdEYNG*(VoTNtcVUlPx#1ZP1_K>z@;j|==^1poj6DNsyQMbp#MrlzLO(b8w0w0EVrfU3K7q_~2Df}x|N zI&g;*U3)@!k1TA4PxM>+wKyi0<|HU4fDB_V{g}wo#L=J#~#JX@t1G!KJjh$jHbge4)F? z%<%U3&Eo1Kd!X_6`AL(qDu1HD$<4XH!bp>`HgSs1(9t+=hCz6by~4zuot?VC!Z2=! z4@qH3c#B4MilC#UP?D|A(9%P7iF>EIg{-|ebBmI*z#3tGyw~HFwZax&d?0(Ez1ZV) zjh7pEo*#OkzS!fFv%nj7o;q}lfs>mSUVVk3tSf7UOnHo>q@^Hwph0tp9C)6s&)g_} zqAY-;Hif3i&d`Xf&Jq9s010qNS#tmY4#EHc4#EKyC`y0;00GKLL_t(IPt}yyQo=wK zhL^R)*cKZRg9R%#P!W5Q%^XLcuoiRd@+^WvY1 zvZ1l5*(`_%(ZVkV7FMg>)^2xnepigH-$X>nE*0(W=~aFG!Ae+^G4LE`Ag%^~6)jgq z6Amy0W~biN_(eIaq9f=zPETBo_UmoNC(4)|O|pkQ?J>R2e2a2iO;9c~FsTOpJv|ZU zozfC99mm-{jEM6lQ`#X?L-CneT?Mp=-kcK@o%w|t5p!YQpqS1qE>V>r5$1q?A#pjY zTuBarB7Gm${9KR)p;QtwYuxPHFEd0+hZpf(z)yq4c! z4vQ9=x}vDOe|);RK&`$gs?}WR9{eB@ekrt-2eap07*qoM6N<$g0^g_ A$N&HU literal 0 HcmV?d00001 diff --git a/Sledgemapper/Content/icon_room.png b/Sledgemapper/Content/icon_room.png new file mode 100644 index 0000000000000000000000000000000000000000..a313a0620988ba600c02b4d15d3937927fbfda46 GIT binary patch literal 360 zcmeAS@N?(olHy`uVBq!ia0vp^8X(NU3?z3ec*FxK#^NA%Cx&(BWL^R}Ea{HEjtmSN z`?>!lvI6;;0X`wFmoHylwrtsvGv_;}&s~4;HYgftGR>ctjR6Fz_7$VMb96uLhuCho_5Uh=u># zE1ulV4m@oS17C+-*V~r2_VoY%6OH1FJouX2Mdy2S?9q5+&}LziSZnF>qRQM+-_E>I z)NSK}>DFBbRKjLGbvh_~ioL5v?sv`J)-Ls$eN!fA-${HCQ5wvt>;Ixkq~_MSPge_C zvlahU{Qb?%>@V?k;fyp#{a06`^)xqqy>+`d;|$a82~LU6e(rYxx{1Nl)z4*}Q$iB} DUv-yS literal 0 HcmV?d00001 diff --git a/Sledgemapper/Sledgemapper.cs b/Sledgemapper/Sledgemapper.cs index 0dceb8f..fda2bf8 100644 --- a/Sledgemapper/Sledgemapper.cs +++ b/Sledgemapper/Sledgemapper.cs @@ -176,6 +176,9 @@ ResetRenderTarget(); _eye = Content.Load("eye"); _location = Content.Load("location"); _comment = Content.Load("comment"); + _mainWidget.BtnToolbarLine.Image = new TextureRegion(Content.Load("icon_line")); + _mainWidget.BtnToolbarRoom.Image = new TextureRegion(Content.Load("icon_room")); + _mainWidget.BtnToolbarDelete.Image = new TextureRegion(Content.Load("icon_delete")); _desktop.Root = _mainWidget; }