From bc42c6bad0d957e9caddea401c6f8ff9849ea3f7 Mon Sep 17 00:00:00 2001 From: shyamjayakannan Date: Sun, 7 Apr 2024 15:24:17 +0530 Subject: [PATCH] added multiple widget icons --- editor/resources/border-icon.png | Bin 0 -> 1101 bytes editor/resources/checkbox-icon.png | Bin 0 -> 2003 bytes editor/resources/fileBrowser-icon.png | Bin 0 -> 1394 bytes editor/resources/image-icon.png | Bin 0 -> 1283 bytes editor/resources/inspector-icon.png | Bin 0 -> 1664 bytes editor/resources/list-icon.png | Bin 0 -> 1325 bytes editor/resources/menu-icon.png | Bin 0 -> 618 bytes editor/resources/messageBox-icon.png | Bin 0 -> 1629 bytes editor/resources/popup-icon.png | Bin 0 -> 1094 bytes editor/resources/stackPanel-icon.png | Bin 0 -> 1824 bytes editor/resources/window-icon.png | Bin 0 -> 1381 bytes editor/src/ui_scene/utils.rs | 39 +++++++++++++++++++++++--- 12 files changed, 35 insertions(+), 4 deletions(-) create mode 100644 editor/resources/border-icon.png create mode 100644 editor/resources/checkbox-icon.png create mode 100644 editor/resources/fileBrowser-icon.png create mode 100644 editor/resources/image-icon.png create mode 100644 editor/resources/inspector-icon.png create mode 100644 editor/resources/list-icon.png create mode 100644 editor/resources/menu-icon.png create mode 100644 editor/resources/messageBox-icon.png create mode 100644 editor/resources/popup-icon.png create mode 100644 editor/resources/stackPanel-icon.png create mode 100644 editor/resources/window-icon.png diff --git a/editor/resources/border-icon.png b/editor/resources/border-icon.png new file mode 100644 index 0000000000000000000000000000000000000000..c3422c3962753bc6e36eb6791bb55b862e252abd GIT binary patch literal 1101 zcmV-T1hV^yP)c8zydJP;rxbV|3yR|XapoJfL8$K72ZvTuLH12@{Td4fda4ZWdO5^zB#^OzY3De z&N+60b8ac~g5aE+CHcDp&maC}sUW%1N!eZA%Z8*C5s(~ho^dKDr-KU5GZ!%`Uy=}! z+Vdtl9;0oevk?&+ZfL@^dm8hKk}7R#V0iH*gy%Kdl)vIgV@Vo~Fx}^bR+MuokKA$T zS`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w;GC1s>78feZ|Y% z@X``Xb)7V3+**gdtM2w731;?Ghc1&bCWeD+9Fvqiiz*CaCh2}j zyE^*rHM29@6uXPFbn7%dYWro+0LDPWBIe~(kAnP#a!;D_SYB{ZMZT|OdFF8|fM1!} zC0jV={Uonf@?9;Koz|u09$HDGmzFV3nb{Sa9jOMle|@43V=-=Nncy;#FG>0m$&;HH z^Uad3*#vzzNG_fpmae!xKtsBELDCneDB!L8t(yF_K32Y^dydutSX1Kv>ii7ru?xTn zGrMWRn6C%0S1NDqa{9y=OItl34k$fG^*c#EuMsOUzl1zUf3{Wn09f;~QhTWl04V8{ zq|160ZQ$P|Zz0+972|RMZz{>_xsP(aXwi~f$yzv+dn}!_T>#*D`Hut*+%0J-wN6kt zm6gg%`}ELC0?q6c$*r<506^0F0IqY+y_IV>vz;WD0eosJ<#y<`vRx++djOn}bREg} zGwruZIdo5u#HJAo=Xe4 zv=!1@gc|_-*rK2AlDrZ?@k2nG9z$J8k1@2s`VYU0lTmnXO&Gbm$Ja<62-`zRcaWTw zESB=ArNgnbz;L#-whb{H!vXjK$+yhxHzaS{W_eX)PaaZth>`1;P&=pnZdW)&P9o0eBa{!x(-Dw&AVBjB5EX^CqkHrRSE_Qe8&UJ`Uhy zSW7>F;a?w*qVp86g_bpX=r$uW!WxI)S05&cx!L@(?Me*4McxOX=g?~|C_JaBVJvN0 l-URKcq&G19O7CQ7{}@H2?f=>3{6zo&002ovPDHLkV1l)n#&`e# literal 0 HcmV?d00001 diff --git a/editor/resources/fileBrowser-icon.png b/editor/resources/fileBrowser-icon.png new file mode 100644 index 0000000000000000000000000000000000000000..34ba0025be4682506b338864934d7c68746b02bf GIT binary patch literal 1394 zcmV-&1&#WNP)bkEkUsp`{x=6L_u4~FT}T~*!H-PKjq zX9jqU+YJGLob#E8oRNgcz6tn`_x~UM0+9Tk>*JHF)+@pU;GWvLt3X8FSykYQm;h{mSKHUy zx~=Dc<}H%vt&Tl82HBy>B(sQQk~rr?DFzH#WWv|W-v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 zTviojLy>P?kRJXsqVP{7{{rCtR5$XqtyQ%&5v^C>;#ErO3(5@OharQ@IiHKjov7Uo z%sXTvT8oIj$26q;t%$GwE>QnsbUpuR^BODSCHP^2(7zomrT_o{07*qoM6N<$g6i?S A6aWAK literal 0 HcmV?d00001 diff --git a/editor/resources/image-icon.png b/editor/resources/image-icon.png new file mode 100644 index 0000000000000000000000000000000000000000..90e427a3fc119079100fd27cf5c3ecf40456fdd1 GIT binary patch literal 1283 zcmV+e1^oJnP)-%WnG<9ehB;y`5(vh47sv(v zV#sccnPcevg}VLArK*-J$sX(Hfw9zG)m^2o*VQFkNd6}IC?fa^@V)@>2w?TmmfQj) zQ2~I6faK|uJFT!cfbA=d5gFm>mgXI!Tj>rjti8UHQ>8IHT`ixlwT!nIV{{jhqW$i2 z%Io*Wh^}wZMiPts6z&mYY>RXkS^#K=O4of~8QUJoc!p1@yNHC7&_5#bt8?VG-bKdf z`)G`aueJ}sR{$H`mseXv0FrNv@%<8K?*Syg7yNl!Bq3LMu7?pXbL161Fb!U{zSb3!Tq{}mk05Rv~@xNka{1N5Q89yu#5WHHx}2I5Vt7}9e^ z$)8j4pud4}=h%-#iJBx){a<*S;bj?}W-CkXIUhPKJfH5mJRE{9Un(t7D*ES!ysFlh z7KgjuNMzJ?{Xp{bv}SgLhX(6i^p|0yk5!nIQlUz^aOD9OKN$vsc zNIsTi!xc^gxgQV7*`FjgB$oiTbzNWG=`_a{z>?$!z|Y9(l0U8TFnTg+(gzXQl6+Fl zD*)STt~ANDh-`8G{`@J;+X`=OzxBs04|AJFa&`}3W939-g(l1# zwVbv&*j-@_ovsvTzvMnA5|$(<4ez?H*Ce+9mUd1x?-w|nj^v9RPEJ3f;manHQ%`V( zi8!spxNBa^=`kGs1Yj#7Pqts*n=x{D4^CN0cSmw%=gDwvcuLXm$);9aA_~bjT<6EM zBY&uNKGx;M4r*m!;L;`*O_g%;;?=CsclrAPA9A0wu^|*;Y+xy9qJPu22?gXYYBI*~;- z0$0q#I$}Kj20B+gd%GOg2KQO%sLvP^_M7%mDT`z)PwRO)(^BM2X(Q{K!U_*>aLP)D zlONt(8CU!D(1vl}uufQ_3D2S79rj(dJnY)Qw45{MYRE?B(dR5JdAypkJoHw!Z;6Ki zoX+!qXn9y#(P$%6a!Zo?zALT$@qC)guZI_Ly2xSRrsZMS)?A|e5 z9Wy$Nl;*eX5#{>m0(Vdz>hb%Qcw=Ut*m+*HC*SmBx thu{0~!Go8cyfkL7OS+N#6uKne{{?+qE!BKa#%}-s002ovPDHLkV1gYwdj|jj literal 0 HcmV?d00001 diff --git a/editor/resources/inspector-icon.png b/editor/resources/inspector-icon.png new file mode 100644 index 0000000000000000000000000000000000000000..93e7df42085f5675e41a8f83b8f6d6b099408046 GIT binary patch literal 1664 zcmV-`27md9P)1RA_;k?9t^yOlXTYXf+F3OK-UjAajBAp1 zbXvcrLef^?LC8{4c%K4xbz0A+LDI(|(fIP123`a@t#0E0zKYy8u9X zF2I88j+wm%{1bh@1~_A8@2ynQr66fIj9XyR6MR9^y+mwRfWts7FLmVr7>?p~(tmHj z05Fw^=?X9ibah()ngNVNR-BA}-y!K%BBlXO1Kpj{y)IM<2Ns-+WhC`Wx*ASbf&2)t zwiCM71xfQ3E+XvZ`Xo(+@gBJNIZ5l=t$SSnMkC85347TMz{P^OdK}o;PTlJQFdD^W zAz?4y1Ds0*w4}?DHn&Unx*%yZve=S@&CGyxRnJIR`x>yV9lF29fH_I~R|M%W@u=6rA-pwb$J2K{QlS;Nz;j#u1GpAsdJDlV?GRovCl1|X6l@>4@ z#aqLKgSMZPG!^IG{(hEDth7SH&9ZRR{&q>%6EO|&J+Q8s{VfYg!)jn2E(2gIaHSv> zJqNUJrPWH8j{4~%-{4>1-X0evZD^$ZT1G)diZ#-2A)Ir6nA!7Y_H(rl{@)+0jsepwYH4Bo=%rf8h8Z+Bi zy?|ab>ov2-opaUCeF+aM{qjo_cFt*esq&Dt$;<{VC(&y;$@LZ}pL)RsFa6iD{nljR zsN+Um`Y-3)0I((1ehv8B%ubdSt~rLQ_p%BCmKsH~EPDtH#qCz_MOXCuedpZkS(e=> z%b_lpu7PX@9CFS*BkAQVTljvRb6=X-`}jpcb({$AW+p#iJv6gB&bdF$?1q_50N*<2 zelN?RCIDxm`S12p@{+p9OQn!++w3fm`yw&7jsyE7?FP01kF|aG12_|9I(Lg?C3OR* zBKe^L*?viLk?a)hUjHT(I~`b{kg%k+_@!jDw3{JOMDsB|oYqY!^KLS zj;uB9vm^sH0hi*{Ou^@U1?}%i$o@#D_NReUkxS2zC-7T##7j(_%8svk)kBuz(s%t%VUpq2tS04ykTddvcaWlo@% zs8T3tl7egs_&niFM_Wp+KoJA>0>1#aCEW$ilb@1b?%A`6SbwWPc59q&O1dSfGwCMz zDrhbFAX93dlr$iz5*cosM0HSkDK*{)N7CNrvuP2OA9uJAS-3*tK#TXJ=fXJl@}D%S zN87TPEX!nOC*qAj;9wXIJ|90|W@pS6ZUz9e?b5d?@L_O0vf7-F+0DQ)U@|qgd)bwB z(x(i7BZ(>Pn(|XTix5m_=OwMKBgkg?6eVdUwS0_TLiqg{tKmRu5tP{0N#GGM2JE5J zCwdwM&?9NQAWk2UpX(S{^+ZDe>wGFY0o(*Gk^d>Aue#1|1^xpAoN^9xJRo=g0000< KMNUMnLSTZOh8#Hn literal 0 HcmV?d00001 diff --git a/editor/resources/list-icon.png b/editor/resources/list-icon.png new file mode 100644 index 0000000000000000000000000000000000000000..b9abcb2b1a9bae703638ab0f339f4d0b55a34118 GIT binary patch literal 1325 zcmV+|1=9M7P)~mnMG(h-)jXDEISl+*77-&+lZzB15y49?Gcgp; zK#aw}$jrpZ)Ihl46uCeX6Jx`T4)2gdE)qRq1wG|Bj%DdGc+=0Gny#LYcMIE#e|YRn zcXfBwbXC{K%nBJ)72tW`L*O}JM^$%3WCeu6kHR&oiip_0B{(tnG5gv3lkD#?a2xmx zxZUvrfMk=Qs+WLofXB9A@+{%Ls=gIM_&zmk1Xk52RrMxtAR_rLrT*T1-j?@uS~6(& z;Ek=VJ7+9#1Y8Uu96_dTs(M944oZ`jCQ9w;Z$gQ=oW_prsawXpeQZh+Ii@ zt8Bni`9Kkgz#;H}wOu58ie2A8hs3C!^uSbgB_hR#n6(8}4T-M1evNK3 zJGv(Z0^6Mejz#2+5W<7OYG)X#dO=nH5Ru)2O#KtIv?Hy-YL?ZIjld&n(;TeLC#-CP zvEgX@&pND@TJ!|=4v*GQ^Bm{ShM{b`2?Ldeb_KPVWy7ta++Y~I9!#+TFhb>wRK9WW(N)KBMK0JS)Fh~#cVwml30oKOtrZp$fRCs0N zMX|K1USJ(*<*zyJbfX-eRtOMBoPzx$hB-+VITu@IY0+qhAF482BWcF926D zq2(h&1YQ8{lsZo(J@ousiN@O1)YmcIxG|i1dgzsSJr`la(y8-q%M;Yo!^z1*t>5nE zqe3kvpA}jrj4*d3BJZ$H)1ru+0JqFs5%@q=_qIs@O3?q_3cBzfuv@hpQMG@7FGm)P zz_&G;(?ZRL^Vg-l0j(oHJBrDJ?Er#^G#Qx8c1sg;(ld)1?*oXI&RKg8I7JyeV zv9wp0_SSPsJh9`!A6KVJiuziJtjX;sy}hl;9t*%PQ%SuELg z;ek}YKbag$n@Nk2R#$!)4s3H)RK~7EWXGe)1^&y} zaS)L=(?IYum9ezgySyZ?JblPEA*XI@PXhx!KyoW0k8AhjMC_U@o=f46iC4P}BP+J_yR2HCQ&MZU#bKGEB`G6c z+9PrhTYaraJGIR@+Wml!aY<_jamgyeA?du!umx`wVnElmE^{j$-408%B&7rJDk67L zl6EA$RSCU95NUO1b!^aj1DdJ*9Ep-7Ns=TV_ z)P7{WPSuLY_)i|Xa5R07*qoM6N<$ Eg86AC?*IS* literal 0 HcmV?d00001 diff --git a/editor/resources/messageBox-icon.png b/editor/resources/messageBox-icon.png new file mode 100644 index 0000000000000000000000000000000000000000..835509e058112dd1304797baac37f2ec72f8b715 GIT binary patch literal 1629 zcmV-j2BP_iP)DbT z5f&5?{{Z7ny!an@3?X_7A~^*G6+sM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D8AG-ZRke&H~)iF>xjmWyFCTL3nkjZ2u?v?PstGtI`eXK$CW(sT_j zu5Cl?UeawE#xbU8@E6kfm-*0M0Ji>eaV-Gu1%Awwbn7kzwmjT@r@J2qescGpfa8RX b^J(Ef(ONtN%UVm|00000NkvXXu0mjfl6NPA literal 0 HcmV?d00001 diff --git a/editor/resources/popup-icon.png b/editor/resources/popup-icon.png new file mode 100644 index 0000000000000000000000000000000000000000..1818c847313380bbf4e6a8225738e799f1881bee GIT binary patch literal 1094 zcmV-M1iAZ(P)^(h2NN|Nz=Z%sV`lfegg14a;XMcNEQIhgx8PG|zL%P`CpaUbyUhGOHL2@8u#1?& zwoVEsvLB(;@6tJ%?#^+5th+2}(hzTsMc0dv`lMcF9@x=(13GE2ytZf( zB{a{79Is_VtvnAMk?#p9P~Y_&TI0{-%gHNUbdZzfcmL4>HO=C+4AJr|J)RxbqAVLr zaOq(y*Y$#}c-8Y{TuNB+n$wfhVewkJEx0i(Q5s7*z8r7MUQ%mUQ4H@3iWh8^e;TP= zTU$z6Dag}l@p-((kF*pja7IM0i70xzrZ&!c46OyF9#cKvxPDGVw=LeHPy=upV}$Yf z3cxK)mI8nej=jGDT+i`$*5fD;rZc?_)=pl7kYS8XQfEfZrW^DfQ^|biJWSM{CW-Rx z;m&z@+me}fMbuBh*pEr zQlTY=A29PLO)PB*OXfH+e8kKjGrXVO(sDhaDTa5oRAuIDY1zC>=gP&5-i`TQnOe(B zn^vy$D?P=ikyFBZxnR$mt(#VALs=Sw_E4eP!`gd7?o%TALPU|7SAu0_ z9J~iI%3c6rJ$8vTZ)eaR0(d2D0&r1UY6v5@@~|*8GV{9-!jBetjW+!0_4hUr8SSAk zl4!gbUZU$-S$l=s9`>H8)iU;e&ia4Yop^Px!{d$vnES|g5W_?hzCE;R={aH55X@}<1E9a|Kbj_gdt*z(vb7{F znY2`U=Zpnf=q-k}Z?;Ez30V3&B03?WW3PWLEfdAOn?&>?Cu3?@ZSN!w0PrZr2#FZu zUlhE%9ode@(vI~z?wR$1YR1fcaOAN&eEXE9uECJjRBzslAOc zp09se>9PbrC+l*;lb9#93ygbQ*Q*RYg zxjvQiCEb!=%1bms3^VgD0PiiunSy07-x}9(T*C|CTg_SyIA9O(545R&EyN=@D*ylh M07*qoM6N<$g3vhwlmGw# literal 0 HcmV?d00001 diff --git a/editor/resources/stackPanel-icon.png b/editor/resources/stackPanel-icon.png new file mode 100644 index 0000000000000000000000000000000000000000..8014ae75afb34dd2bf17874c4a34608e7365ec96 GIT binary patch literal 1824 zcmV+*2jBRKP)8I-K2V`*lfoH)SNHGDw!@;@G)>r7IpR0H@0_IRrPK9VrF1zTJrZ?11CjjM0>@R#rO6(<)^U~^KL}ST6x;ZBXi8`MV0#PjrR^W3MkTE_=*#8gy0G!P zT#s5UR?;cpMoAY_hwlN7_Ik20>0U{1Kr;`A5U{;`Wo=qNl61)S8Yy1HCxEa>BB5}#2km*}c&S53LymDvI;+CD%CVQZ;LHXGUAs^(!t z9oX?6RTZ^*Y2T{EZxsyQy+|nZi~fp z;19O{DQSUv!Eg_=A$M|Wq}!l$QPMu!Z&p?9UkKrElAg2uWGpC&$rtV$P)c1o7n4I$ zz8E`HZ;X$yM}UVjQ{;l}5ugOE7xF>&f5OM z_EN;FC+`BFXlUt+43Qhc8(h{*CQtC7n+A`)%J4GbGicSlpte zD}5iA(>ijpsr(SVC0v5t4ji?;$Mq)U$o3<^ABncBpa}!p9|J!g-k?`CU7+r@*^^7# zpUU<@+kc@>u-A-AgVB{D)q7gYYK+)J^p*RvtRaKR&?RBtQgX-=b0GFp;KN?SHybI0 zfTSJ3ZLFkXYjJwN7Swl|pRTInKLp0jT7FC&+oyrkBj9JitF8~xHXTLd##u@GWcw}P zuC9zJt)MH#oF`3;d0nyEr9Z(2NnLC7_bXsWT4C%!%Zr_B%QJJFrcWBvE5@evrFEpb za`F-8Yv3VCKLlpVxTJ>?Mi85OtZYr*>e#%nPMv-3 z7D-P4JCcDljA*{_T2tI(=84}`#QHUoj)o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Bsd~8T}xna zJXWO+7qjjr*y^Le6kow1J8%N*Q^UDzS|v)i5-`%V#=4)Su)yw&Pfqd7#jOO|t|dwD z0W|F}#{W$mHCm@538V0^45{LCO1~aGTH#^BD8*9=ty0c;7HEZsNr!vueud#Eau(>t z1ui}yzo+N8ME=UtpT~|`dN!ScxRkukg)WFsLkP3TYn2X?CA=ruGfOW3xC`KqXEMs0 zMSlLY1CsD5)7Q#cN}4pol5#gRIOnzpWtiZ=Tvv5Sj*=Nh#N<86ogKIk-jh6&^c28F zQ~`(KzoBbZ#x-pYvX&jXijsN8wbI;bBW3^74cP+KAU`&l-4*eox*@fg9oB zWWA}qZ{e!#U1uyLod`v(|<_W-^FaEjr-=_Q76aRFd~OWV1Y^n}B2x_2>{ zj%CbuSvGp~E54*qs!IOeu)mwybJkACmT!va%4?I|*8qOo&bg7AE%hQ;x)Jl%mJW@C nXz8N0`8hY+M9VF1aY+0NX+r9ua7Oop00000NkvXXu0mjf+eVzf literal 0 HcmV?d00001 diff --git a/editor/src/ui_scene/utils.rs b/editor/src/ui_scene/utils.rs index b3077d3b1..9acc09c9d 100644 --- a/editor/src/ui_scene/utils.rs +++ b/editor/src/ui_scene/utils.rs @@ -7,8 +7,11 @@ use crate::fyrox::{ }, graph::{BaseSceneGraph, SceneGraph}, gui::{ - button::Button, canvas::Canvas, grid::Grid, screen::Screen, text::Text, UiNode, - UserInterface, UserInterfaceResourceExtension, + border::Border, button::Button, canvas::Canvas, check_box::CheckBox, + file_browser::FileBrowser, grid::Grid, image::Image, inspector::Inspector, + list_view::ListView, menu::Menu, messagebox::MessageBox, popup::Popup, screen::Screen, + stack_panel::StackPanel, text::Text, window::Window, UiNode, UserInterface, + UserInterfaceResourceExtension, }, }; use crate::{ @@ -97,16 +100,44 @@ impl<'a> WorldViewerDataProvider for UiSceneWorldViewerDataProvider<'a> { // all icons are able to be used freely // todo: add more icons + + // Containers if node.cast::().is_some() { load_image(include_bytes!("../../resources/canvas-icon.png")) } else if node.cast::().is_some() { load_image(include_bytes!("../../resources/screen-icon.png")) } else if node.cast::().is_some() { load_image(include_bytes!("../../resources/grid-icon.png")) - } else if node.cast::().is_some() { + } else if node.cast::().is_some() { + load_image(include_bytes!("../../resources/stackPanel-icon.png")) + } else if node.cast::().is_some() { + load_image(include_bytes!("../../resources/window-icon.png")) + } else if node.cast::().is_some() { + load_image(include_bytes!("../../resources/messageBox-icon.png")) + } else if node.cast::().is_some() { + load_image(include_bytes!("../../resources/menu-icon.png")) + } else if node.cast::().is_some() { + load_image(include_bytes!("../../resources/popup-icon.png")) + } + // Visual + else if node.cast::().is_some() { load_image(include_bytes!("../../resources/text-icon.png")) - } else if node.cast::