From 32eca14a811ce8a8938b87bc3e4e561f4c0ed6db Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 22 Mar 2022 09:18:17 +0400 Subject: [PATCH] Add icons to report reason selectors. --- Telegram/Resources/icons/menu/copyright.png | Bin 0 -> 611 bytes .../Resources/icons/menu/copyright@2x.png | Bin 0 -> 1152 bytes .../Resources/icons/menu/copyright@3x.png | Bin 0 -> 1766 bytes Telegram/Resources/icons/menu/drugs.png | Bin 0 -> 556 bytes Telegram/Resources/icons/menu/drugs@2x.png | Bin 0 -> 1075 bytes Telegram/Resources/icons/menu/drugs@3x.png | Bin 0 -> 1491 bytes Telegram/Resources/icons/menu/fake.png | Bin 0 -> 726 bytes Telegram/Resources/icons/menu/fake@2x.png | Bin 0 -> 1420 bytes Telegram/Resources/icons/menu/fake@3x.png | Bin 0 -> 2064 bytes Telegram/Resources/icons/menu/personal.png | Bin 0 -> 599 bytes Telegram/Resources/icons/menu/personal@2x.png | Bin 0 -> 1068 bytes Telegram/Resources/icons/menu/personal@3x.png | Bin 0 -> 1598 bytes Telegram/Resources/icons/menu/porn.png | Bin 0 -> 632 bytes Telegram/Resources/icons/menu/porn@2x.png | Bin 0 -> 1235 bytes Telegram/Resources/icons/menu/porn@3x.png | Bin 0 -> 1850 bytes Telegram/Resources/icons/menu/violence.png | Bin 0 -> 695 bytes Telegram/Resources/icons/menu/violence@2x.png | Bin 0 -> 1308 bytes Telegram/Resources/icons/menu/violence@3x.png | Bin 0 -> 1946 bytes Telegram/SourceFiles/info/info.style | 6 ++ Telegram/SourceFiles/ui/boxes/report_box.cpp | 61 ++++++++++++++---- Telegram/SourceFiles/ui/menu_icons.style | 6 ++ 21 files changed, 62 insertions(+), 11 deletions(-) create mode 100644 Telegram/Resources/icons/menu/copyright.png create mode 100644 Telegram/Resources/icons/menu/copyright@2x.png create mode 100644 Telegram/Resources/icons/menu/copyright@3x.png create mode 100644 Telegram/Resources/icons/menu/drugs.png create mode 100644 Telegram/Resources/icons/menu/drugs@2x.png create mode 100644 Telegram/Resources/icons/menu/drugs@3x.png create mode 100644 Telegram/Resources/icons/menu/fake.png create mode 100644 Telegram/Resources/icons/menu/fake@2x.png create mode 100644 Telegram/Resources/icons/menu/fake@3x.png create mode 100644 Telegram/Resources/icons/menu/personal.png create mode 100644 Telegram/Resources/icons/menu/personal@2x.png create mode 100644 Telegram/Resources/icons/menu/personal@3x.png create mode 100644 Telegram/Resources/icons/menu/porn.png create mode 100644 Telegram/Resources/icons/menu/porn@2x.png create mode 100644 Telegram/Resources/icons/menu/porn@3x.png create mode 100644 Telegram/Resources/icons/menu/violence.png create mode 100644 Telegram/Resources/icons/menu/violence@2x.png create mode 100644 Telegram/Resources/icons/menu/violence@3x.png diff --git a/Telegram/Resources/icons/menu/copyright.png b/Telegram/Resources/icons/menu/copyright.png new file mode 100644 index 0000000000000000000000000000000000000000..72b5630b586630366fff9ec67c52ec31473224c5 GIT binary patch literal 611 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaM1SIoCSFHz9jKx9jP7LeL$-D$|Tv8)E(|mmy zw18|52FCVG1{RPKAeI7R1_tH@j10^`nh_+nfC(-uv49!D1}S`GTDlgf?5wAYV~B;| z-6{4f91BH`e+<}jM4?T)zAQ4&D=^HsZTF1GwP`vte8SRFO*}LuUAlPQxk$U5boA12*^Rs3A^FMXZk0<=NaejsQ%=_=prx=|~ne^Dgp#5;7iB#$CyLa=x zZ+hY_U1}lI>$doAUiIF4CsT}M_@00M`LxJ$`Q@ozM<0LeIi9@ZmQyH8@0zgHN0S8m zkB4@)H!B1&G-PhpX^La`T4g)??6E~z+?osr7*-o|t-qP`h<$#@nY7J!^TGqzfP&i1 zXWX{Wh_MVbkdWbF1Daj6S8w|12pu;Qg9Gc?b;Pa7|L# z8KcL7pN@|2JZdd>d0Cj2Y>HdI_~MF-C&KI}dRWZ$gBY5@A1!jUYHweX z%ytEi$f~%iTZt6{`TZ| a>O0GyXuaH@qMR@X6v3XZelF{r5}E*AnEL?$ literal 0 HcmV?d00001 diff --git a/Telegram/Resources/icons/menu/copyright@2x.png b/Telegram/Resources/icons/menu/copyright@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..7ad15646a225686686b279912a3b76771c156ca8 GIT binary patch literal 1152 zcmV-`1b_R9P)Px#L}ge>W=%~1DgXcg2mk?xX#fNO00031000^Q000001E2u_0{{R30RRC20H6W@ z1ONa40RR91FrWhf1ONa40RR91FaQ7m0NXcg3;+NF>PbXFR9Fe^n7K{v&dp(fro4%^5YG`Pvxw-jA;)3UQ z;<~!J+S}WEczE#5>mVzB`z9t)lrmz0Q5AGE9JhvzIZ$?lfA#c@9*!2!{OG})>JS;hEPCF^v}=Ffv0Nv zmrP7dyu7>!J8RL?)8mEcNl>W%b$l>9ke!Q9N z?Cfk|VWFg?MA0%e<=jE;EoKsAVP_`06P}-+zp=3)ugjgCLE3nGdlSjQ!9jg}y~z-* z1EIVCQ)n_5Pk9f5o1N~`(vr-*wYAmR*@=B@qaC;P_-6WLp#j4UoLqD`7qWTqxN7loCT6_eE585|reFE2OCjGp9R zCNe}?D^F_}Ps$rQY*Is{w93lLBrFl=6mfF%=;-MA`8ipt^@Us}(qw<1o(-z4trh6y zr>Ggf}HC%0!k7CZS_sY-nhBdU|39SVo$nqN0Px#L}ge>W=%~1DgXcg2mk?xX#fNO00031000^Q000001E2u_0{{R30RRC20H6W@ z1ONa40RR91NT34%1ONa40RR91NB{r;0FW_8?*IS>P)S5VRA>e5T1hCbUl{*BL&`j5 zC>fK;#t@2yg%HICB{mjpNF)+bwsve}M_F1Z7Rr~?!?ZSC^%GA2Q2j?5rfzzB8-F%XggqKb=)x3{-tAiLNFArNH%Ae&9E zhcYrU1_uX=ii(`jU=r5X*Jo#E4-O8FkB{%}?y$Q+gPj%{8k(G(oR*eWT3VWymnWU2 z`T6;-t}YnqB=f)f?Ck9P`ugH$<@57%W@e_bu`x0-QVkA}ffy`c4i&dx|T_R_$>fOMZ|Rt`}R$RDjxXS!`z82ntlzP?shS8KLGzzDGrPVR$J zbJrxludc7JaU=@B=^TP^s36;*TBkrob{tcr2JSS~Dh2{7_<1wsoXpJ3q>~*Rz@!x@ zbt)9meggpGy*W2GN7IGPEk$5n57d!rz%Wt~!WREX| zBIqWe2oB_lB)!-SJ3BkXDBE~@duwiPmaxiq@No$s$rHKMi-dx~LO7=~VnR%eY?3zy z5il~#-QC@rn;X6#?V+I|%CsX2LhykbSNQI{ek+=Fj8jzj0RU>VWFp| zC-Fu^M6|ZHBIG9vdwP0kRM3DZ#sWxsb5o?Zq#j|oKr0*a^77i;+$8l)O-)KH$X_NW zCmAIi5f>MyL`nSsKwtoj`n5EWx-(h0L)2swYA0Q$HvCQ#25tt zx=R7jf-Z0GFl?a5O(_R_fzU}|=zBlq7g ztYdP2e}DhqZpHtjqoawwqoYHS&T#;N(&go4TU(oBxBM4ikP7YFtfZubq~LCqSH<=6 z>o6%Pi5oGj2^a(k@C0&2=Pc@h#EC1U4DLkEX-F~gfb?i z0tQ!u;JUgxiVS*tdmXKi`5GP`X7m#i6Eee&U4{k05bJ8%g1{HqB*TiVNt__Jw6svN zS6*K3Xobv|k!g#DL^C}-{r&x&=51kN0sGC@*O!nYK&h{b~PdBR{y-j zgvkDd5Q^WKWGFKICj&ebtVw>qF%Sq2R6fV>qF5V@d~Cr4LWRn>L@H2M56(%t0~izp z83K&81Y&hQrQ3B`_UC?6^CL0Td06Gl-`^iqx_|vgV&oLWT>Nt` zn>`JGA;hpJW&)?Pfrt)y0772M9n~8K7BGU{n8#(EmMF0!H$~o!ngTsRDOm^tkbzkH zyNMDA{XfK1mTW^U$gO_tEHKp?vOHjU!193Q0m}oH2h@4sH^k$gR;a5LSpWb407*qo IM6N<$f|z+4egFUf literal 0 HcmV?d00001 diff --git a/Telegram/Resources/icons/menu/drugs.png b/Telegram/Resources/icons/menu/drugs.png new file mode 100644 index 0000000000000000000000000000000000000000..8b689d54e1b09f59529aa24d4192a477142543f1 GIT binary patch literal 556 zcmeAS@N?(olHy`uVBq!ia0vp^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+Z*W{g;*?RP;;KL`leQ^iQ7ql%gf81o!;sXIg{ntY}Of7 zr(tEoof;n>KR!NIshPw$GBToD+bm}r5Zc__Y@Tu@X<(z)OifK)TwI8&o}ZtS$)uVx z49MfMWNB&1pr)PDv5^IlNMwC|{r&x2Fw*I?*3j<+wFPBrFnz(V%=Lfrsj5?k>_;iM zxw#QeySuvv^VAmV9h&q71~u)}!NGyRI97&%fdTp+QC?YD(OIP4p+oS=Rn@84%UL5~ zixqo~dMOF!>go!-kB^V(>FN5(zrWa(Fs4^&o^_VsRo3HSLk(}RGCVx|`1r`GySqC& zM(ZpmE^LSaKb4h;lirUQwAytX)4x`$Rj@g3rL5S{t8hz{+{1u7DI2nOTQ1k{?d`Fa zgOgkw02_eGS{NmRxg=p#8yXst!jj2kf?82CRawbAYEZ4A++ zD~YE8&mf5;A8hQaeW_G}0nX<#d!i!BsZ^?~tBWy-fG~f0dh%hUZVBBJo8zOOs+(}} zBe1w>z@p295Did+-2Ag$Y(S+C|L3D0I&(7#HQPouV31FFufU173ojUjsvD@v5Wt<% zVNk|-*9oVEg$11&wMD8Xnr&nw@VtD56JW#>F>bwgSei#(--*ZZ#1ah9t`BCnVA`?CUJ9r tf1l6iIY%05jqy+%dLZ;b=m8fV_yb)@4L`y!mLUKD002ovPDHLkV1f)d>RkW; literal 0 HcmV?d00001 diff --git a/Telegram/Resources/icons/menu/drugs@3x.png b/Telegram/Resources/icons/menu/drugs@3x.png new file mode 100644 index 0000000000000000000000000000000000000000..049dc0e75347d781c6800f35947c340f913437e5 GIT binary patch literal 1491 zcmY*Zc`(}v6#j)ui8Dwj7K@a|m2_LjrpA?Q5<)f7qPvbxt*c7glvNZ#S7}{!MctzA zI^rtYxR2JEA*fB$qLgWARS|V<{IffqH{bi-@%{DQn-}k3kC%ifK>z@dBoeS>0TYfO zDkSi;$yzc30#V6$E1+gnWkrx+|8ypL+1UX|K`aV@;(UQ)M-l;)1ONcxLJ%M-rn9+>c-+? zU*6JvB1}QSP+$K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_7ZjDsUYg9qH-m zFh_HAbaX5%EXW4w>gr;fFvH{f`+IC3W{lI*Q^+(6a(;e(Wo0FV#Kgp&o*ve!(9gQM zI_%Zm-5s()2&ecOG6|MDJ3INP>YNM6LFi{^XWy`(xhImN}rxw*OR?d_pj4i681=i1xbqs(}Edg6wen3(AA@24@O zs9s)P(n|SqLqh|q1A2wz`cVip1)iMtLhEG!TLu4q1{1U*gzVQp<~ z@zJ>*+S%DTK0XGAwIh61MCv^}Jb;98BqAS$+aaK*r>8M1*CEsb*j!v(>_;|Eb+S=Nz>}Jd%d9e%5&dxaeIFj4j+w1G=0^8y3?G3K5LyU2@;OFN@5-=$# ziM^(#=I-v^)zw7`0f8~|%*;$`YARlX#q#p}*CUMQCqt$7>O?RZvinLMGq=>KV95pp=vpg}6ds zA0Hobs&T?03qh$h^ml`UgYX8Uu&|I?QHB^25`zCO!1USKSyWV%T$8ANOwUwXTPqhY z1%MB7e7=0X@CQyGiUOwl8s#1-`^)cF(Z)G)z!*5QzCtIb#=vm zpIALVT-n&z$j#0D{<$L3EMR}CyLb+RG&VMljEuyt;YP!4ifb4jMsSM(s0396R1x?G aBk&6-##Xb}@56Wi0000WF^; literal 0 HcmV?d00001 diff --git a/Telegram/Resources/icons/menu/fake@3x.png b/Telegram/Resources/icons/menu/fake@3x.png new file mode 100644 index 0000000000000000000000000000000000000000..50ba1415d1e11c44b480e5ac233c75c11f9d4311 GIT binary patch literal 2064 zcmV+r2=DiaP)Px#L}ge>W=%~1DgXcg2mk?xX#fNO00031000^Q000001E2u_0{{R30RRC20H6W@ z1ONa40RR91NT34%1ONa40RR91NB{r;0FW_8?*IS?dPzhe5npbF5O%TV8QDZk& zj9p(M*szx*qF7K6dxa#HCs9!m5yS#{5W7znM6hGS*d-Dof>G>X#foC@U8B+H_x)gX zT+ZIp;<>qeeCIx#J7;(1KRdH+X7`jT75+jGgdPYz5PBf=KCxvSqJcy{c5H^7if9Z{NPzF*}sUInJ@YMvXpx{AkDQqkQYutuh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t|GUVU)!fTD)-K!r{Y* zGcr4O?%cnBf3gyeavwf?XyIJDcCCrY-3mL6;yioytjQ2e$;y>0r8TLksV1l%>@yV! z{7fEILf_(r?CfkgxVD7zimhYEj-oLuE6Wb;Z_BxM5j9*aMTFxnhAHkmZFE6=fxi|k zSP(I7TfKUix>^H-Mjiu5iSK3?x6I zzIpYmf{Sn8^1cL^8|=_V<{AFl5LO ziJ>4k3z4dlAoM^4^#cbE3`8qiIU&5bjIIj=)*lF;B}fZ6bs8~Zgg<$Md-CMT5^96I zZ{NP?F7ZYKeig7na?B>S(QoDvqMfXzoE2!tjvWF8LEvIJsIrJe_m#VXqeqYG4cfhX zH(#Cj(#r7Th(-tD+a^L&Um(FV(*lgqn?(*bVZsFZ(^XkYN=jZ{o-PZ$WXTf!QqC15 ziVWDWV#NvxXH`Sl$1#r#)l|%#8(-1M$+;LteoeW_AL9~IlIPE#ODh#Y&_F`P_dLy- zHRJoa9zA*x*Yeqvg^gE2=cuGxfp~?}KN3yiW3$~3C3IcHBq)$31qnjbzkU05HUI}> zR231-f5Rl*J@np;88f({lrTceR~s literal 0 HcmV?d00001 diff --git a/Telegram/Resources/icons/menu/personal.png b/Telegram/Resources/icons/menu/personal.png new file mode 100644 index 0000000000000000000000000000000000000000..a06200b21a1b27c8f30858e8570e1677be38bf80 GIT binary patch literal 599 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaM1SIoCSFHz9jKx9jP7LeL$-D$|Tv8)E(|mmy zw18|52FCVG1{RPKAeI7R1_tH@j10^`nh_+nfC(-uv49!D1}S`GTDlgf?4YNMV~B;| z+YsCJjDZ4QMIR}v2nnhWlOPv-@i2Epq%e_WEm8_SUG~caI54^|l>NQhegI^wR6E9o!27PdxwpwrqFZ z{`W;YdDxndKaSK9yPG%t3-`?utEHlwPL>bf&oX4#b)Wn-`)u0YxaF5` z@WnC91{!YuXWeMy(f9aIoxSewU6Qha8^1NXygTdv0_b W&7&C+Ci|CxBGuE?&t;ucLK6V%iSx(+ literal 0 HcmV?d00001 diff --git a/Telegram/Resources/icons/menu/personal@2x.png b/Telegram/Resources/icons/menu/personal@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..351a04cdaa6da34ec992e1661dbb82b489e6c5dd GIT binary patch literal 1068 zcmV+{1k?M8P)Px#L}ge>W=%~1DgXcg2mk?xX#fNO00031000^Q000001E2u_0{{R30RRC20H6W@ z1ONa40RR91FrWhf1ONa40RR91FaQ7m0NXcg3;+NFmPtfGR9Fe^Slui8Q5a_?3du`r zl3W<_)@m-0|3FH_9b2ij{R=`-PdB&&9X%Jm+~n&$G`t&v{u^mew=|GzK&VGzJnF$WD+Fh0@Z}zP>(-#Zp#Q zmYuC;ndql1y}!SQ!{NQXy~V}FySqDOBNc6bfB)_6El_^E0T$q*(8|AiYHDh9bd-Gj ze*fv|>D$|z2trb?)9LE#>#M7)$$olzdTeY=%D1z#^Y!%=#O&D8 z2n3SyJ3Ksu!`0PQQBjeU!xxPJ3vh%$pwzClwY4xs8yXr)ZJn+Kz$psCaTq#IHknMM z+1%XZhDg-w^=7k~nJL<&R5I{n96q7K!a{<(zP{#gb8>P(cy47FuJm`GC4U} zTwFXiH`mhAGCMoFyu3^sU4DMP&1S2ps89q!241gsV`D>cRHzg&G%+y %OpsN`H% zS4Y3HtE-DNV2d=OZ!8we&CP}J4=_|yQv;ymQ83?;rJTGV8N9rp6_5^EMG(eCapcNq2d_KKGC;NW0)YjI9iQw|!#6Tc`0_3s8 zvPwcJ${uI?!ooscULLN)cDo(dE8O~6!*v_S2)2XD%1WFh;sm}i!ZC!MkjUun?iQiq zG71~4CtOlRHk>|vh8h|gfQ5qccsv{^6Y+{bAG>x{RTWdF-QlYYKa{YHM&rfB#oF2$ z;^CB5IfJkv&Ck!n3(o<`JOECXES%8s*RQY&nPt``9|`{MGw5GE2t%B(*d m6jr;Y(iqSf&=~kH82Ae(b~yfRE%NsO0000HzM87rIb9N%U+l8EWh zj^m@qe59hOMa&Y@A!&(3q%-G_bFS;W*LA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fl;!a!tOX!8@{45SaS9x}cDdtuu`R z?It!ui}mv5OLLQv;o%VeTx{L-;n7iWJMM~CR8Y`<)RVd39|pwY)%m|joFT%YWb9o& zKQ|FdKWb{~hLTUean>d?3)mh8S%f+*D;VmqL{(RCoIe8|tx7R*B0RaIp7_7KF2d3*1dM-y8=$+&Fthug^OFptUUZotT zT5UZZ6y=?$hAYpqML^Q;x3mb@3TfbXgS<03+$?_v!&=z=TqL?lrksv%JDv*Gw|aLG z6OzK(5S^DeoThmxtEl&ZfyDLuYLsMN+5j-)$q&!pn5vG;ffv2|vYMKt5jO&hGvBio zXC)d(+fBJ7M1vpFOP272sRn(T@`pXF*^zB^6}y+9 zYO{Q$y=DIM4`1h1El;m{*Z6wh`q#V8f4_6TINQYjW3KQ8J9|wLuBl$C{l}9HB<8(l z+83kOeRR>qjGp7kGlQg5g*x-L-_9{ppM3Ib)l|{<4(qS8Hy=#eIKyixTXUmE#QN(u zbHdiFdfu_IW6$ZQyY9aaTOF!$rT9pMf!8Gdm*;cLnEQ?^m+Zcq=GN+@DAXCU`f7YX z!-Qv_D>Ycex>*gyPI6rE?tOCq@=FoE_Trr~=PGRSHs92m+7-4sc5N8Xy0FzRORPK< zqT?9Mk6QM+DPJwxx#w=)^2?ex-j)@+vouUm5@9k((vdjmWn*4sHFx{%wQ=jczr1(% zm;sasT6pokq^7RvEFZPaH*+lP^PhbFX(!L9u#}_qLFE6Yr@}LRmfg*p?zjB=?^+$P z*I%nZP77*rYVfg`Xpxh4Gi$5W+;cx`>}2>p|E#f)`Q)=}LQ(eLy8ExcDkT@_r%x1W zKYZ}Xo3h{b7E^_QZg8#J8RK4~;|J#@A&h&9x9Jq7hrY%#L z8W~ofco69w`H}C3(apMR)n>EzZnhV_%K3+JYS_y&ZcVEmf@0m%)z4*}Q$iB}xaa;z literal 0 HcmV?d00001 diff --git a/Telegram/Resources/icons/menu/porn@2x.png b/Telegram/Resources/icons/menu/porn@2x.png new file mode 100644 index 0000000000000000000000000000000000000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VO3LFoN95yIjY7Z-~T=W7Q+8qU#z>FWdRKnN)I>jzP>)br<^(N5J({?-&mBOP%zK>Ly?DtZ4tO2#I`B_A@C$WC&QSL72{r%#002ovPDHLkV1n};B6R=& literal 0 HcmV?d00001 diff --git a/Telegram/Resources/icons/menu/porn@3x.png b/Telegram/Resources/icons/menu/porn@3x.png new file mode 100644 index 0000000000000000000000000000000000000000..cbf82e2ccf71ab2f0cf8d17bbcdbda375939ed08 GIT binary patch literal 1850 zcmZWqX*iqP7XCtvZH!ejAw@W7C{;=gF`g0)O4Jy$o|<|PQ&DqJF{{>m3`Yr#d5mkO zRjTMwLkXIohMp>_s1wh<&%HnHk9V)N-~Ikrd++r=3x5Y?1Ys9q2LJ$KVytgLkH+U< zWuUKfgezS10Q%j+NDrtR7ule1^xZKg9%g2M96e_RK#AS}_*_DV5FG%(SONkV=@E3! zl`#DG)VPH4fBCsEUCD440GP{7^mVPgn6~rHjPLqz4O?Ej&|Iss5t|gEyJg2F8K>tp zFX!bRuRt`#p`q%X? z(Imem^8V+)>TMgPVKAk=I2TY+aq-y~NH z_HJi|fV>81o8r28(lRnrnFQWTLg|0^YyPy?2>Z59v}?^(u=7~t-koptv*t}VO(|eI z+oMgm4yP@)|1MLJ)P=fs?b^MT>gwvDp&^IPVD-?-OZ`(%b>d*~(j4Y&DAk*$o-{=w zDFq$UE9vXgGfx3n*dQP&M$%e}osCUZnwWNEL1CdNG(fyg0)SM2wZsi4p)eS1#XT%6 zY<1|#Bs7H>%j_1%_brpn$-<(nxjkUjP+2jC^f;9#)~yzrPhvjU`tS#`ySrPi%HgG( zyh$QvY~cEX*^;-Dljxi&MT~N8Ia1!k^C%{hgY*=yuAP!5SRr@y zDlS_yHz&tuuE}J->$BH4G}D9a`*9}nPmRpKP|Ym*Po?a;LeNW-&A? zslmvFNF=W0Z6Aym-W(LYFukx)us+J=9vtZ$^^hbABd$6XeeE*<3F-T+18-c4Lou97z3fpA7X+8SB zg;CxWz?P5kaNg^fBtQJbo@Ew_KtF%>Y%N1Uo-P)&5Revl1*>aPnTs$`j9y+;VwhFF zEj~0ntcrBkQLcCF=80YioxaGIAVIxMRdLGb4NgV0jPW#ARK$-~UetGXR8>>6lOn*0 z%!0@<;yZ7$=vSDGI^W=aEDNVw;c|w{;r_k>ge?^<$S~n*B|wdIM*F~WWTk?CeDii7 zW3nd-)OiH~2*RPEcTa#XplEPcuRctzm^2 zSm^Udv9b)gF7IM|e29(hRQ+l)`D5urdVijrMAWQtSIj_N*9!z!3b;5PfW*3Q=H}%c z{yYtrMbM1oZn`HF6e$K&zOImNfwvsBS@60ssE>l@NtRWpjlhn`(;qW6Hd0-d9*#1F zC{a<-jwmDVC6)OId&-?I?y}0tArtu-BSIPxLt1(BT+QP6suP(ja^}U|40n(F8yRhZ z?}8H~^21Sk0rAL%Tksy$Oj@AJC*QnCb95cgD-)+ZeF>Z zyDAaTYxS`wD#~T3x1hbf zbz~w(Xf&g!qzX9u;y_owdk7~#KfiYP!Pr5v<#;D8hz zATebEkH>e1A2vKOl^rv$edl*DTR+%7iE=)lTP6l5{W?A8n129)8Ct;r literal 0 HcmV?d00001 diff --git a/Telegram/Resources/icons/menu/violence.png b/Telegram/Resources/icons/menu/violence.png new file mode 100644 index 0000000000000000000000000000000000000000..39ee442eef19d9f0227e370513af4ac5be12a79b GIT binary patch literal 695 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaM1SIoCSFHz9jKx9jP7LeL$-D$|Tv8)E(|mmy zw18|52FCVG1{RPKAeI7R1_tH@j10^`nh_+nfC(-uv49!D1}S`GTDq2jfl1NR#WBP} z@NKa7ip)fjd()e3*gwf=EM2l>&Wu?cCmWQGvJ@*TuV3iXV`HRxW{QYrn-ZImfpBZ1 z(4-|Ea(7GDRd36lzq|DPk9)Q^|3|%!e*OPi)ct;i|NGB#PB{4_$L#j|?{CX~FMpr^ zFGlbBJ!9iu1D$DUz4|9te?u!5un{>dIHPVP}_ zzddvkU~6WyWooUkdH1!d@x=PTGe4jId$28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~sn&C}D<6Ot1X6X<;);>pa+lnsQsqU7XcGGK3SuTIApD8ZVXoZQ~tCK>i_Yilzy zG7`wkGeu8^8GN_ELsnK+%sdV5?(UG(d3kxRuCDUfmeevlJPdoZ5vU8mD&auiMp?zh z#i6CE3+QBQX=zDuL9-MXK*u0J$Q}Vp%c(@!GmSw(L6izZLqm*61C~-qZ2?QmDGyLc zNC>p!Opg1MzzhMxkqu`q0ZYp%50HzC3$(AStROl9GX&`L^c0Ouz|wNc14Ku}{r!Eh z4FV*4ykLk22z>(*IIR5^KxpHDf{ylE0C7&SxTXOmI-MA+mK5Gaky6CZ&kx8buRT0G zA|oSl`tkPmhT)~9B`wW=Z+S{e3hjQ_sd0c5^sI%2g>T_ literal 0 HcmV?d00001 diff --git a/Telegram/Resources/icons/menu/violence@3x.png b/Telegram/Resources/icons/menu/violence@3x.png new file mode 100644 index 0000000000000000000000000000000000000000..4d6513944d4dbef5550367319769abde271cb505 GIT binary patch literal 1946 zcmV;L2W9w)P)Px#L}ge>W=%~1DgXcg2mk?xX#fNO00031000^Q000001E2u_0{{R30RRC20H6W@ z1ONa40RR91NT34%1ONa40RR91NB{r;0FW_8?*IS?1W80eRA>e5T3bj}T@W_Y%CZd8 zZb}#Rp_^t@2#S{sOMdf$mVrjC4<9~Es3L)Kb8{_Ba2avdu3ej! zmR4I^J32Zl(c;hG;NbS{+m9bV{^iRTHrmwGB*V!9(9GEo5{&vAsrUBn+sMdBChx_I z7a9K7uV2p2&K95qCjvR!`}gljdMVJ-(vqE>jg6W$YZlEuc<>-m#>U1HekK92voUdp zhlj6Uzn+qk;^yXNR91I)cT(*9`SV6;%z;$tY`wj`g@uI(;`8UvR}|~Tix*6{=g*%j z5>GJ!Ih#1LH8(e(Jb7~4wr#w#DT;F8!Ufv2MT-`R>FvbBDo5dLd-m+XK@ScNo-=2T z(OGb|`uh5snwo3Zt|2NIr4b{$y1Iw}9*clUkCOsCJw4&*#DY27>C>k>Iy%UZQUE#> z6cng*HezlRC@Lx<{>zsyH%g-oi33nqSI3w>d-e=r8o^iWY{)iQSy@`0O(52$O`CrF z_`zi8?(P;)Y8X0u_AHr70HByR!xyjy!!g}>rp*De*F0N@841j0y8!?=IiS#W}+|(KQ>?um2lW# zEtK9<=xi(q<>cg0nle}ykI=KBq2a`d6YJKkQ;=J67$q5708ASj8#6OAH*VahI7>aj zym|AGA&{NP1*H1G4{zSQi4z6SRL@y~5=n!tglMins%04U>wyCYDl03$efuWWgkcaT z%F43 zqo%Fk7ejr>YxU{Vr=+ALgA7h(T4!e`KX=;U)YMcGE+Zp@nOWtkhy*m30RsaA2;6)e zLJh%&kdalgof5+Oy5KuVG(Jw07+ZB&Cq#+MYUR;@x{tgfy$NO6IIfpV-&#%sIGK`cRR zw6ps=OR!`78ADYO5)$&ye?O!B!L3`j9z1wpvI24wwJC;P2H~4seZe#3m{L>#0jd_c zA|1PmIFy)}D92|qcx{R;S+ayK^xnODC$}*Fl1{1>QW>@gZU5D)S6{t)CC6lvcx{TI zr=az4T}7|~z$->Ws65d%LLcNYb6342gdBiO%Ax|IqTpr^$A-x6-@lJ*3=}bPJZBz{ z{_pG8uT0{H4<8ByqO4%%R`+<>L&D*8 zFu?>M8H9(2$Hc@01OzZ7zImWg%LTAYXuwznj7z1RJ9k1>l*K!C>^O7gOj}zU8{+>$ zPs`PZmki&i@p5Aiaihj#czA{{o_M(xVH6*9Db4G^!#Ij}?%auvj#lJmSp;}BL9a-7 zeb61_>yo{D_wv^`Gb{SUcXR6H*t~i3zJ2@f2`g^V5Fv2$j?WI&PuD4R3+NWmEudRK gw}5Ve|E&f71^=nFLmQD}!~g&Q07*qoM6N<$f-Ss@{Qv*} literal 0 HcmV?d00001 diff --git a/Telegram/SourceFiles/info/info.style b/Telegram/SourceFiles/info/info.style index 301d5b384..21df80975 100644 --- a/Telegram/SourceFiles/info/info.style +++ b/Telegram/SourceFiles/info/info.style @@ -954,3 +954,9 @@ shortInfoCover: ShortInfoCover { thickness: 2px; } } + +reportReasonTopSkip: 8px; +reportReasonButton: SettingsButton(infoProfileButton) { + style: boxTextStyle; + padding: margins(62px, 7px, 8px, 7px); +} diff --git a/Telegram/SourceFiles/ui/boxes/report_box.cpp b/Telegram/SourceFiles/ui/boxes/report_box.cpp index a03f1314c..ddd274a53 100644 --- a/Telegram/SourceFiles/ui/boxes/report_box.cpp +++ b/Telegram/SourceFiles/ui/boxes/report_box.cpp @@ -9,12 +9,16 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #include "lang/lang_keys.h" #include "ui/layers/generic_box.h" +#include "ui/wrap/vertical_layout.h" #include "ui/widgets/buttons.h" #include "ui/widgets/input_fields.h" #include "ui/toast/toast.h" +#include "info/profile/info_profile_icon.h" #include "styles/style_layers.h" #include "styles/style_boxes.h" #include "styles/style_profile.h" +#include "styles/style_info.h" +#include "Styles/style_menu_icons.h" namespace Ui { namespace { @@ -39,27 +43,62 @@ void ReportReasonBox( } Unexpected("'source' in ReportReasonBox."); }()); - const auto add = [&](Reason reason, tr::phrase<> text) { + auto margin = style::margins{ 0, st::reportReasonTopSkip, 0, 0 }; + const auto add = [&]( + Reason reason, + tr::phrase<> text, + const style::icon &icon) { + const auto &st = st::reportReasonButton; const auto layout = box->verticalLayout(); const auto button = layout->add( - object_ptr(layout, text())); + object_ptr(layout.get(), text(), st), + margin); + margin = {}; button->setClickedCallback([=] { done(reason); }); + const auto height = st.padding.top() + + st.height + + st.padding.bottom(); + object_ptr( + button, + icon, + QPoint{ + st::infoSharedMediaButtonIconPosition.x(), + (height - icon.height()) / 2, + }); }; - add(Reason::Spam, tr::lng_report_reason_spam); + add(Reason::Spam, tr::lng_report_reason_spam, st::menuIconDelete); if (source != Source::Message) { - add(Reason::Fake, tr::lng_report_reason_fake); + add(Reason::Fake, tr::lng_report_reason_fake, st::menuIconFake); } - add(Reason::Violence, tr::lng_report_reason_violence); - add(Reason::ChildAbuse, tr::lng_report_reason_child_abuse); - add(Reason::Pornography, tr::lng_report_reason_pornography); - add(Reason::Copyright, tr::lng_report_reason_copyright); + add( + Reason::Violence, + tr::lng_report_reason_violence, + st::menuIconViolence); + add( + Reason::ChildAbuse, + tr::lng_report_reason_child_abuse, + st::menuIconBlock); + add( + Reason::Pornography, + tr::lng_report_reason_pornography, + st::menuIconPorn); + add( + Reason::Copyright, + tr::lng_report_reason_copyright, + st::menuIconCopyright); if (source == Source::Message) { - add(Reason::IllegalDrugs, tr::lng_report_reason_illegal_drugs); - add(Reason::PersonalDetails, tr::lng_report_reason_personal_details); + add( + Reason::IllegalDrugs, + tr::lng_report_reason_illegal_drugs, + st::menuIconDrugs); + add( + Reason::PersonalDetails, + tr::lng_report_reason_personal_details, + st::menuIconPersonal); } - add(Reason::Other, tr::lng_report_reason_other); + add(Reason::Other, tr::lng_report_reason_other, st::menuIconReport); box->addButton(tr::lng_cancel(), [=] { box->closeBox(); }); } diff --git a/Telegram/SourceFiles/ui/menu_icons.style b/Telegram/SourceFiles/ui/menu_icons.style index 017f5c015..473e2568b 100644 --- a/Telegram/SourceFiles/ui/menu_icons.style +++ b/Telegram/SourceFiles/ui/menu_icons.style @@ -87,6 +87,12 @@ menuIconImportTheme: icon {{ "menu/import_theme", menuIconColor }}; menuIconExportTheme: icon {{ "menu/export_theme", menuIconColor }}; menuIconRestore: icon {{ "menu/restore", menuIconColor }}; menuIconSettings: icon {{ "menu/settings", menuIconColor }}; +menuIconCopyright: icon {{ "menu/copyright", menuIconColor }}; +menuIconDrugs: icon {{ "menu/drugs", menuIconColor }}; +menuIconFake: icon {{ "menu/fake", menuIconColor }}; +menuIconPersonal: icon {{ "menu/personal", menuIconColor }}; +menuIconPorn: icon {{ "menu/porn", menuIconColor }}; +menuIconViolence: icon {{ "menu/violence", menuIconColor }}; mediaMenuIconStickers: icon {{ "menu/stickers", mediaviewMenuFg }}; mediaMenuIconCancel: icon {{ "menu/cancel", mediaviewMenuFg }};