From 7163397f0cc124073c63056a854fa8da06b40c80 Mon Sep 17 00:00:00 2001 From: Marta Sokolska Date: Sun, 31 Dec 2023 13:49:43 +0100 Subject: [PATCH] Minimum viable version --- application.fam | 5 +- images/github_icon.png | Bin 0 -> 1588 bytes images/major10.png | Bin 0 -> 775 bytes images/major_0.png | Bin 0 -> 1737 bytes images/major_1.png | Bin 0 -> 1816 bytes images/major_10.png | Bin 0 -> 1797 bytes images/major_11.png | Bin 0 -> 1787 bytes images/major_12.png | Bin 0 -> 1737 bytes images/major_13.png | Bin 0 -> 1756 bytes images/major_14.png | Bin 0 -> 1759 bytes images/major_15.png | Bin 0 -> 1806 bytes images/major_16.png | Bin 0 -> 1783 bytes images/major_17.png | Bin 0 -> 1850 bytes images/major_18.png | Bin 0 -> 1786 bytes images/major_19.png | Bin 0 -> 1830 bytes images/major_2.png | Bin 0 -> 1784 bytes images/major_20.png | Bin 0 -> 1772 bytes images/major_21.png | Bin 0 -> 1817 bytes images/major_3.png | Bin 0 -> 1797 bytes images/major_4.png | Bin 0 -> 1762 bytes images/major_5.png | Bin 0 -> 1754 bytes images/major_6.png | Bin 0 -> 1778 bytes images/major_7.png | Bin 0 -> 1763 bytes images/major_8.png | Bin 0 -> 1777 bytes images/major_9.png | Bin 0 -> 1738 bytes images/major_placeholder.png | Bin 271 -> 0 bytes images/tarot_back.png | Bin 0 -> 1774 bytes tarot.c | 145 ++++++++++++++++++++++++----------- tarot.png | Bin 0 -> 1564 bytes 29 files changed, 104 insertions(+), 46 deletions(-) create mode 100644 images/github_icon.png create mode 100644 images/major10.png create mode 100644 images/major_0.png create mode 100644 images/major_1.png create mode 100644 images/major_10.png create mode 100644 images/major_11.png create mode 100644 images/major_12.png create mode 100644 images/major_13.png create mode 100644 images/major_14.png create mode 100644 images/major_15.png create mode 100644 images/major_16.png create mode 100644 images/major_17.png create mode 100644 images/major_18.png create mode 100644 images/major_19.png create mode 100644 images/major_2.png create mode 100644 images/major_20.png create mode 100644 images/major_21.png create mode 100644 images/major_3.png create mode 100644 images/major_4.png create mode 100644 images/major_5.png create mode 100644 images/major_6.png create mode 100644 images/major_7.png create mode 100644 images/major_8.png create mode 100644 images/major_9.png delete mode 100644 images/major_placeholder.png create mode 100644 images/tarot_back.png create mode 100644 tarot.png diff --git a/application.fam b/application.fam index da9fc4e..5d59a71 100644 --- a/application.fam +++ b/application.fam @@ -5,9 +5,8 @@ App( entry_point="tarot_app", stack_size=2 * 1024, fap_category="Games", - # Optional values - # fap_version=(1, 0), # (major, minor) - # fap_icon="tarot.png", # 10x10 1-bit PNG + fap_version=(1, 0), # (major, minor) + fap_icon="tarot.png", # 10x10 1-bit PNG fap_description="Tarot card reader", fap_author="pionaiki", fap_weburl="https://github.com/pionaiki/flipper-tarot", diff --git a/images/github_icon.png b/images/github_icon.png new file mode 100644 index 0000000000000000000000000000000000000000..317d04d6b2625772024e5375929284528b10a56d GIT binary patch literal 1588 zcmeAS@N?(olHy`uVBq!ia0vp@Ak4uAB#T}@sbOGXEX{Ow4#;+Pch1krFA6S5Oip#l zEH21NtPC(_V9=OYI$^K(;Q*1N{;Pv7SatBp${2MzU%A9pR+ynJ;%X4Wx;l7P9cONh zie^xuaJc3V`G|v&1sgg-3JMDZT-XKg&au+mkx_APddMxMd&i&twU|@9Gv} zCXJWVCi)y%vh~WYC)LgE^MY5UZCbHNhwIChUU0gG3PcWO~X<$55q(*qA`T8_+0~3&tVqgWc85q16 zrQz%#Mh%3T_DlvAsG2As4FWAd%m}BM7BIn8@Gf9Rut7@Kv@#q8Qk(@Ik;M!QBEBHZ zIOSBYJ_7@DNoGhyNrbPDRdRl=USdjqQmS4>ZUIOagH44MkeQoWlBiITo0C^;Rbi_H zR$&EXgM{^!6u?SKvTclI^QNG*{US7BqtRdaB%;CL(nm&1XUEI9ux#QnV^uh%1O*iw^gdpO-W5lEX^rV zvP;h_$tX>V&rHtGv(bkrL^S{+ifXQnJ{Bj~fIMy$8I)R_pHm77dOJg7BO7pVpok(O z0iq)Us}5vQbR7X1`6cMU^3c4@5<8dyXu?Rk zkRr&+v8bdxzbHEd92qDfiBlESBuJ&Hw8obt8RqPi*^K6}UjR!%*y&lgopOBfhz^YxJ3(9<;N*xYX#w zEmn3`&RL(U`<|cN{-b}<-lEz)c^iH;B@23m3GXjguX@9DWwUUn#8Rntr%!5Z`_;K? Sr+xMVWob`WKbLh*2~7YIxDDq3 literal 0 HcmV?d00001 diff --git a/images/major10.png b/images/major10.png new file mode 100644 index 0000000000000000000000000000000000000000..8cb0adf85d85038eaef52bd2ab8e6aa00b40141e GIT binary patch literal 775 zcmV+i1Ni)jP)U>h*?d$b`aT5T$j!+ zmv){4Q-A$k)t||l8vWnYL5&#};E{=yZHo!sB_1(oDdMW&yvxUe(=MMoo|R;r_?B4G z3TlS9Ni3&3^n3@Gie;^}gV^4m)mN9r9O_ZbVG|}8icnF31O?%L{L_vm;#3HD6?Va!XbBie+=k*;rwF^@ErnnmGiG7&g~k7pMfj= z2Nx-7yi*22%K!iX32;bRa{vGoO#lECO#zh3jV}NI0XRuSK~zW$&6QgY!Y~X38`S$> z8M>7Qtzx@!P(kF!i67&28o_uTYmBkoy$=Db586rmBxhIAikfbdrPm_p%1cpx`_7fTx_%4KMwbu2?|l;D?hDHO zEmt4`Jf?m2C<0uC-hea3vg{SBz>1}C6|fwHPuBgO?>Q-)1OckTE5+0YI53oD4IE4! zb%139+=J}BfrE)x_Wfs(b)Jj7$sF@DdFOA70`qvBDN=I;WHDz@)4CSF3RD5OvH^}N zR5}=tHz1EXa%2PCgBh5(H^4XB6z(ceHW#|z^F1$x&x&;h=6ivzCJ1l`tFTh#v8uuQ zo%=Y|-Wyjr_>~)!6THLz54^hnYRa!F->WZOspFgYk?dXKPpkds&$V9davF|l;QUhl&JB1ipK2VJo0;FFax>U6$xiL0zILtDhvAcS>w@T@w{ z+!__lphDqr%^&g+2O|qMbc7TX76`bo3*Mb$rMV-c;@-g9HKAD^QUUWuo!8!d~x15+Q<}RFk z_4cg_76~bayjMP^A?~jhetTAQ;5Vni45qgC8k-ZJ9a1c>uIG7C{qRpR&j(qivZ4nJ zi1>mq}FfdWk9dNvV1jxdk9y3^o;3KxS@gNuokUZcbjY zRfVk*ScMgk4HDK@QUEI{$+lIB@C{IK&M!(;Fw-;8Gf=YQQczH^DN0GR3UYCSY6tRc zl`=|73as??%gf94%8m8%i_-NCEiEne4UF`SjC6r2bc-wVN)jt{^NN)rhQQ2mNi9w; z$}A|!%+FH*nVXoDUs__Tqy(}E4j}GKNru}~P+F7&wk0K5KQ$*cH#M)MSl>|3P#>GV zlFT%O3-gMh!2t{yeUJ=Ln*mmBo&_bzCcuz#tpK_Q>OY`Elfm{Dm!#+;DbP1EFtE@y zFw!-$)Q9^I=zN=$WUG?QlAKg!!;dQcGLWP(E0Dkm{7-BzhWHzhSK zu{5Vd$u2iBE59h-z(yaU2vsvg6xB={eJs}7fIMv#8I)R_pHm77b~{63BO7o~pok(O z0HPxTs}5vQbR7X1`6cMU^3c4@5<8dyXu?Rk zkRr#*v8bdxzbHEd91-wP#Hj*m3M534(kCSGgF_#f`t7)E^x-+lj!V?>_;q0B`seB5 z7~;YEcFIG(76qQ>r;mQ`-<0kv^;$!i`QPLxhs?IE-|eV#d!Lu)={H-G#RCq`KO1-9 zL%vmLgM3U|;jH7W^WMc|v%ag=EnKnQ?r8F}z>7bBb-viUIC@93(lzA?eXfcPfgNVG z-~9!>A4a(>kdzk#!G?O>`SY)+rp?DSYNG=aPalcL$cs`ENC4?tZw=q~Q1Q z#@^a4pCmyBk&6oyI#R`10m_Q?YrE9oj>rz95g(? zn@L3R_|v1mSHyX*XK*QTH8}SsV#13_qRYy(x4+u6+@sj&cG)~p8_R0ZeMxcep3N_L cQFQPx^F`Sr*CGjlB2YQw>FVdQ&MBb@0LE}xX#fBK literal 0 HcmV?d00001 diff --git a/images/major_1.png b/images/major_1.png new file mode 100644 index 0000000000000000000000000000000000000000..3080b446d413dce290fcad1bdfef1674f5f38af0 GIT binary patch literal 1816 zcmeAS@N?(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ExJ`8l5EX;j{lbDAC>g*i(RwwCNI6N^x~9v zVBPO?Q}^tu<38^;oqzxPTA@epxKI7n4Od{aSyuZ^gDIxab3ALv?IAi6=O z#sAvhdG9SX=dduYI;4H{3cH2DlvG|BAGy+oROUO)Z}v7ecZPran?A90UiY4pGM|kr zpXYZoeXf|J8C1-YVwfIqd6(FJt`No@n;84FLaZbvm@D*K6{P^RO3v6}e!%>;$UCh7 zGx1&bKilfJp6@DUdsf}JPK~30ef5T*ryExt{5|)##npS#;g&z9N>35qbNC{sZ}9wYZwd@U1_n=8KbLh*2~7Y5Gj@Rh literal 0 HcmV?d00001 diff --git a/images/major_11.png b/images/major_11.png new file mode 100644 index 0000000000000000000000000000000000000000..2736101a3ca9091820d8011b730d413ce76260f6 GIT binary patch literal 1787 zcmeAS@N?(olHy`uVBq!ia0vp^;y|px!3HFMhCbfPz`$6V>FgYk?dXKPpkds&$V9davF|l;QUhl&JB1ipK2VJo0;FFax>U6$xiL0zILtDhvAcS>w@T@w{ z+!__lphDqr%^&g+2O|qMbc7TX76`bo3*Mb$rMV-c;@-g9HKAD^QUUWuo!8!d~x15+Q<}RFk z_4cg_76~bayjMP^A?~jhetTAQ;5Vni45qgC8k-ZJ9a1c>uIG7C{qRpR&j(qivZ4nJ zi1>mq}FfdWk9dNvV1jxdk9y3^o;3KxS@gNuokUZcbjY zRfVk*ScMgk4HDK@QUEI{$+lIB@C{IK&M!(;Fw-;8Gf=YQQczH^DN0GR3UYCSY6tRc zl`=|73as??%gf94%8m8%i_-NCEiEne4UF`SjC6r2bc-wVN)jt{^NN)rhQQ2mNi9w; z$}A|!%+FH*nVXoDUs__Tqy(}E4j}GKNru}~P+F7&wk0K5KQ$*cH#M)MSl>|3P#>GV zlFT%O3-gMh!2t{yeUJ=Ln*mmBo&_bzCcuz#tpK_Q>OY`Elfm{Dm!#+;DbP1EFtE@y zFw!-$)Q9^I=zN=$WUG?QlAKg!!;dQcGLWP(E0Dkm{7-BzhWHzhSK zu{5Vd$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aLToS#z)3U@n0W1yKBqKFuP z=!n3o16dSZM?gk?Nj@+|6=f!S=9Q!t6%+we7uZIaeYjPin}x7EG%vHn4rTzFFp@5$ z*s*dfDk;w|$_@d?1R@x5DuEgU2~wmK3Q7Lp;0LCEJ1!f2cwVyOx>&fg37Eb9c)B=- zc<^4G7RYy4fyepumEZA|hdrh#xxCqudg++I7Zd;SrI&B*?!R_xV|B?JMy(&aZ?d!O zmzf%y8u)hmhl_FHh0CqE+mqxLgsjVo|5|e(eEGW*a~neb^n44s9({g($p`C#dtbB6 z4;OErQCED|CcUmt^~c@nxTf=7tG`Wo@PD<8{;Dk3nw8(?x$pm(8kRe$ph8}&Rs3msX#HmnX6CV7t>%) zSZZ+kIQImt`Jsj9JWkl8%U%4pHDaZjLsRwjOJWWp4ecq0TUBotsMb5p%=*ivvySyU Y^OgUdelbQ*DnaFpr>mdKI;Vst01qc%djJ3c literal 0 HcmV?d00001 diff --git a/images/major_13.png b/images/major_13.png new file mode 100644 index 0000000000000000000000000000000000000000..f68f8a4582e3ab9c956ee5b3931342bf841f37a8 GIT binary patch literal 1756 zcmeAS@N?(olHy`uVBq!ia0vp^;y|px!3HFMhCbfPz`$6V>FgYk?dXKPpkds&$V9davF|l;QUhl&JB1ipK2VJo0;FFax>U6$xiL0zILtDhvAcS>w@T@w{ z+!__lphDqr%^&g+2O|qMbc7TX76`bo3*Mb$rMV-c;@-g9HKAD^QUUWuo!8!d~x15+Q<}RFk z_4cg_76~bayjMP^A?~jhetTAQ;5Vni45qgC8k-ZJ9a1c>uIG7C{qRpR&j(qivZ4nJ zi1>mq}FfdWk9dNvV1jxdk9y3^o;3KxS@gNuokUZcbjY zRfVk*ScMgk4HDK@QUEI{$+lIB@C{IK&M!(;Fw-;8Gf=YQQczH^DN0GR3UYCSY6tRc zl`=|73as??%gf94%8m8%i_-NCEiEne4UF`SjC6r2bc-wVN)jt{^NN)rhQQ2mNi9w; z$}A|!%+FH*nVXoDUs__Tqy(}E4j}GKNru}~P+F7&wk0K5KQ$*cH#M)MSl>|3P#>GV zlFT%O3-gMh!2t{yeUJ=Ln*mmBo&_bzCcuz#tpK_Q>OY`Elfm{Dm!#+;DbP1EFtE@y zFw!-$)Q9^I=zN=$WUG?QlAKg!!;dQcGLWP(E0Dkm{7-BzhWHzhSK zu{5Vd$u2iBE59h-(AY*Fq6$?vL=@Ff8+|PH+kkv+6&aLToS#z)3U@n0V*WQFI*v8Tlpoz!X)Kne3TYl3G+y1Wa9E8)5e0R)KC7!t&6(%o0180cgTV zx{zYW%CV@VJijPA1RN8HV8p2eY78Vuky0om`GbQWnEvg!Z1mxI$&M>X_`NAG@A7-P zIEHxeo}F@#uf>4F<@T|P5C7}0UCuk+vTPgAg4cQ1yfs^oH(dL(%Kx0D?cb0bCec63 zZ*n$uyH4%fGu6=N$Hl17g6+n_d`E*CR&M?iKldl&_Eq&oX??ED`M0m#S$gB;|D}6Q z@=27%i$2(zcQxY1!(Hn#@0XX|`BQXo)?(uqXV%Bage6Fw-gF_&$~S#7XW-P$4~&cM z^~(C3dOqd%y!(fbe_J4HcQ*g4>(uWGY2JZh4TmBRz1SXS*ZSS_%(p44<+mP4k-5>G zAEH;?In_37RZNqO#yL}iPoYl*4Vb<3!on-%YpyOU2sB%#p%|?9Vkc>2^e}(teIwx4%r8?n7gY3ky85}Sb4q9e0CUG_Bme*a literal 0 HcmV?d00001 diff --git a/images/major_14.png b/images/major_14.png new file mode 100644 index 0000000000000000000000000000000000000000..709b1c8b7f30998fd56ae288b750c8e9da052012 GIT binary patch literal 1759 zcmeAS@N?(olHy`uVBq!ia0vp^;y|px!3HFMhCbfPz`$6V>FgYk?dXKPpkds&$V9davF|l;QUhl&JB1ipK2VJo0;FFax>U6$xiL0zILtDhvAcS>w@T@w{ z+!__lphDqr%^&g+2O|qMbc7TX76`bo3*Mb$rMV-c;@-g9HKAD^QUUWuo!8!d~x15+Q<}RFk z_4cg_76~bayjMP^A?~jhetTAQ;5Vni45qgC8k-ZJ9a1c>uIG7C{qRpR&j(qivZ4nJ zi1>mq}FfdWk9dNvV1jxdk9y3^o;3KxS@gNuokUZcbjY zRfVk*ScMgk4HDK@QUEI{$+lIB@C{IK&M!(;Fw-;8Gf=YQQczH^DN0GR3UYCSY6tRc zl`=|73as??%gf94%8m8%i_-NCEiEne4UF`SjC6r2bc-wVN)jt{^NN)rhQQ2mNi9w; z$}A|!%+FH*nVXoDUs__Tqy(}E4j}GKNru}~P+F7&wk0K5KQ$*cH#M)MSl>|3P#>GV zlFT%O3-gMh!2t{yeUJ=Ln*mmBo&_bzCcuz#tpK_Q>OY`Elfm{Dm!#+;DbP1EFtE@y zFw!-$)Q9^I=zN=$WUG?QlAKg!!;dQcGLWP(E0Dkm{7-BzhWHzhSK zu{5Vd$u2iBE59h-(8NX`q6$?vL=@Ff8+|PH+kkv+6&aLToS#z)3U@n0V*WQFI*v8Tlpoz!X)Kne3TYl3G+y1Wa9E8)5e0R)KC7!t&6(%o0180cgTV zx{zYW%CV@VJijPA1RN8HV8p2eY78Vuky0om`GbQWnEvg!Z1mxI$&M@Mp3^2^-WBq6 zaSZX`-8!|G>#zb(%j*}v_kX%pEYqS~FQ%JwQDVP!@Xcf2E00NBfA{=g+=8b4vuh82 zP+$DXCA3FEvqtW1;fHT2nlgQw33m;{JLTT~Y>5uHK5m}y^y8CNVP6xbZD)0@5IJ`H zbA0dq%i^nUhq+FBFm=W{{e!#TF7V(CU$CuBL4R67>&hAIsq0!62Q+GV%s3{Lcd$h% z{WI57n^tBA1#<rW-tCtD3a!b^j3p;u95fN%=E{Bl%<^Kn&D<}p$(P>y#h-fr?MbV5 y!8_QuGD)N>X~sCN{=C@Mp8Nfm(yg*9*uS&a%2v9WmdV9}N*_;GKbLh*2~7ZpW@8or literal 0 HcmV?d00001 diff --git a/images/major_15.png b/images/major_15.png new file mode 100644 index 0000000000000000000000000000000000000000..55121998e28e37b20c1b3081c389c225d4e33fa6 GIT binary patch literal 1806 zcmeAS@N?(olHy`uVBq!ia0vp^;y|px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UE@9C{8--Tce%1IGnk6Zh=WcP88Ri>W aU*s1@P6{(-n$`#^l{{VjT-G@yGywqR{(7$f literal 0 HcmV?d00001 diff --git a/images/major_17.png b/images/major_17.png new file mode 100644 index 0000000000000000000000000000000000000000..3c65884d27b892d17cca73c97be3389d64bb2ae4 GIT binary patch literal 1850 zcmeAS@N?(olHy`uVBq!ia0vp^;y|px!3HFMhCbfPz`$6V>FgYk?dXKPpkds&$V9davF|l;QUhl&JB1ipK2VJo0;FFax>U6$xiL0zILtDhvAcS>w@T@w{ z+!__lphDqr%^&g+2O|qMbc7TX76`bo3*Mb$rMV-c;@-g9HKAD^QUUWuo!8!d~x15+Q<}RFk z_4cg_76~bayjMP^A?~jhetTAQ;5Vni45qgC8k-ZJ9a1c>uIG7C{qRpR&j(qivZ4nJ zi1>mq}FfdWk9dNvV1jxdk9y3^o;3KxS@gNuokUZcbjY zRfVk*ScMgk4HDK@QUEI{$+lIB@C{IK&M!(;Fw-;8Gf=YQQczH^DN0GR3UYCSY6tRc zl`=|73as??%gf94%8m8%i_-NCEiEne4UF`SjC6r2bc-wVN)jt{^NN)rhQQ2mNi9w; z$}A|!%+FH*nVXoDUs__Tqy(}E4j}GKNru}~P+F7&wk0K5KQ$*cH#M)MSl>|3P#>GV zlFT%O3-gMh!2t{yeUJ=Ln*mmBo&_bzCcuz#tpK_Q>OY`Elfm{Dm!#+;DbP1EFtE@y zFw!-$)Q9^I=zN=$WUG?QlAKg!!;dQcGLWP(E0Dkm{7-BzhWHzhSK zu{5Vd$u2iBE59h-(A-8Jq6$?vL=@Ff8+|PH+kkv+6&aLToS#z)3U@n0V*WQFI*v8Tlpoz!X)Kne3TYl3G+y1Wa9E8)5e0R)KC7!t&6(%o0180cgTV zx{zYW%CV@VJijPA1RN8HV8p2eY78Vuky0om`GbQWnEvg!Z1mxI$&Sm2b3d>cV9fP& zaSZX`-8$`J9ljn^|NYE zeh7DeYPNjiqb(mw*INFy-=6ib=nTWor2o?sDr-+BLu=huDxD|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cscjnOuho~^DT3(nf4^x9x!FBR{L_x5iw{->2<+D6+{)ni-OSTH3YMsVCZ2#Op zuy}3!-~4*%(oRWfwfb-mhOj%1mv{?ARjnO^WRnEr7=!lA+SQ`GP~pZaW&Rb-4_{xl zkBRG0Vv1d2*}8GwM!xSX+*%W!XFVdQ&MBb@0A?d-oB#j- literal 0 HcmV?d00001 diff --git a/images/major_19.png b/images/major_19.png new file mode 100644 index 0000000000000000000000000000000000000000..d65765cd55d021a623a12ddef20cb98da6ef566e GIT binary patch literal 1830 zcmeAS@N?(olHy`uVBq!ia0vp^;y|px!3HFMhCbfPz`$6V>FgYk?dXKPpkds&$V9davF|l;QUhl&JB1ipK2VJo0;FFax>U6$xiL0zILtDhvAcS>w@T@w{ z+!__lphDqr%^&g+2O|qMbc7TX76`bo3*Mb$rMV-c;@-g9HKAD^QUUWuo!8!d~x15+Q<}RFk z_4cg_76~bayjMP^A?~jhetTAQ;5Vni45qgC8k-ZJ9a1c>uIG7C{qRpR&j(qivZ4nJ zi1>mq}FfdWk9dNvV1jxdk9y3^o;3KxS@gNuokUZcbjY zRfVk*ScMgk4HDK@QUEI{$+lIB@C{IK&M!(;Fw-;8Gf=YQQczH^DN0GR3UYCSY6tRc zl`=|73as??%gf94%8m8%i_-NCEiEne4UF`SjC6r2bc-wVN)jt{^NN)rhQQ2mNi9w; z$}A|!%+FH*nVXoDUs__Tqy(}E4j}GKNru}~P+F7&wk0K5KQ$*cH#M)MSl>|3P#>GV zlFT%O3-gMh!2t{yeUJ=Ln*mmBo&_bzCcuz#tpK_Q>OY`Elfm{Dm!#+;DbP1EFtE@y zFw!-$)Q9^I=zN=$WUG?QlAKg!!;dQcGLWP(E0Dkm{7-BzhWHzhSK zu{5Vd$u2iBE59h-(9%X9q6$?vL=@Ff8+|PH+kkv+6&aLToS#z)3U@n0V*WQFI*v8Tlpoz!X)Kne3TYl3G+y1Wa9E8)5e0R)KC7!t&6(%o0180cgTV zx{zYW%CV@VJijPA1RN8HV8p2eY78Vuky0om`GbQWnEvg!Z1mxI$&Sl^(i0V6-i`Eh zaSZX`-8=1J9smEr;@8D?tk&& zn6>}+H?0!otQ+GCB>eb3am};xon<~@S6FVWcav%_tH`CyuMRssCDLSV)J$S`AOD%uwCeT%yChsFE1dBrQM zOa|4vTfg!iWwXAzHR}zZRH<0fnw|eY^QMO1>XZ+*wU+naxURLcN@qqHE62iq!^nL8 zE4&6yi`Qj4z4+)R7Gs?jbZJMs5?}G!2b_~knk=n(c4e`)7Zgn}fA%Q3eqlYs;xod2 T0jklU(viW_)z4*}Q$iB}Lym#7 literal 0 HcmV?d00001 diff --git a/images/major_2.png b/images/major_2.png new file mode 100644 index 0000000000000000000000000000000000000000..dbab1dcb41e74229f04297bf77aa1f6292760033 GIT binary patch literal 1784 zcmeAS@N?(olHy`uVBq!ia0vp^;y|px!3HFMhCbfPz`$6V>FgYk?dXKPpkds&$V9davF|l;QUhl&JB1ipK2VJo0;FFax>U6$xiL0zILtDhvAcS>w@T@w{ z+!__lphDqr%^&g+2O|qMbc7TX76`bo3*Mb$rMV-c;@-g9HKAD^QUUWuo!8!d~x15+Q<}RFk z_4cg_76~bayjMP^A?~jhetTAQ;5Vni45qgC8k-ZJ9a1c>uIG7C{qRpR&j(qivZ4nJ zi1>mq}FfdWk9dNvV1jxdk9y3^o;3KxS@gNuokUZcbjY zRfVk*ScMgk4HDK@QUEI{$+lIB@C{IK&M!(;Fw-;8Gf=YQQczH^DN0GR3UYCSY6tRc zl`=|73as??%gf94%8m8%i_-NCEiEne4UF`SjC6r2bc-wVN)jt{^NN)rhQQ2mNi9w; z$}A|!%+FH*nVXoDUs__Tqy(}E4j}GKNru}~P+F7&wk0K5KQ$*cH#M)MSl>|3P#>GV zlFT%O3-gMh!2t{yeUJ=Ln*mmBo&_bzCcuz#tpK_Q>OY`Elfm{Dm!#+;DbP1EFtE@y zFw!-$)Q9^I=zN=$WUG?QlAKg!!;dQcGLWP(E0Dkm{7-BzhWHzhSK zu{5Vd$u2iBE59h-$VMNc2vsvg6xB={eJs}7fIMv#8I)R_pHm77b~{63pqUt=hzNk_ zh`_1?SrlDIKt_H^J}^NQWhQ&(m82FG6af<#*hZLrxK*H=g|Iv{FSEoBW&oNnk}jmk zv2rXbDbFv;4gp65JQQ)NfSLjcQKa+#{&Xt0K=jw)-W3N{ zh3{MCyFHcPM(DBO&*yiS5gDe!f zVoeQiMm*ms;-`H3vG1qK*%IGNIoC4;&EZXR;QStb>^Rp0JBRJ6a}IHIX1`jLdoc6V zg43GmONekT-G@yGywo?zj?s` literal 0 HcmV?d00001 diff --git a/images/major_20.png b/images/major_20.png new file mode 100644 index 0000000000000000000000000000000000000000..dc51ec6b510f4704625089b3a55a1db1abeddfb7 GIT binary patch literal 1772 zcmeAS@N?(olHy`uVBq!ia0vp^;y|px!3HFMhCbfPz`$6V>FgYk?dXKPpkds&$V9davF|l;QUhl&JB1ipK2VJo0;FFax>U6$xiL0zILtDhvAcS>w@T@w{ z+!__lphDqr%^&g+2O|qMbc7TX76`bo3*Mb$rMV-c;@-g9HKAD^QUUWuo!8!d~x15+Q<}RFk z_4cg_76~bayjMP^A?~jhetTAQ;5Vni45qgC8k-ZJ9a1c>uIG7C{qRpR&j(qivZ4nJ zi1>mq}FfdWk9dNvV1jxdk9y3^o;3KxS@gNuokUZcbjY zRfVk*ScMgk4HDK@QUEI{$+lIB@C{IK&M!(;Fw-;8Gf=YQQczH^DN0GR3UYCSY6tRc zl`=|73as??%gf94%8m8%i_-NCEiEne4UF`SjC6r2bc-wVN)jt{^NN)rhQQ2mNi9w; z$}A|!%+FH*nVXoDUs__Tqy(}E4j}GKNru}~P+F7&wk0K5KQ$*cH#M)MSl>|3P#>GV zlFT%O3-gMh!2t{yeUJ=Ln*mmBo&_bzCcuz#tpK_Q>OY`Elfm{Dm!#+;DbP1EFtE@y zFw!-$)Q9^I=zN=$WUG?QlAKg!!;dQcGLWP(E0Dkm{7-BzhWHzhSK zu{5Vd$u2iBE59h-$iPM)q6$?vL=@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cuz#tpK_Q>OY`Elfm{Dm!#+;DbP1EFtE@y zFw!-$)Q9^I=zN=$WUG?QlAKg!!;dQcGLWP(E0Dkm{7-BzhWHzhSK zu{5Vd$u2iBE59h-$k0X~q6$?vL=@Ff8+|PH+kkv+6&aLToS#z)3U@n0V*WQFI*v8Tlpoz!X)Kne3TYl3G+y1Wa9E8)5e0R)KC7!t&6(%o0180cgTV zx{zYW%CV@VJijPA1RN8HV8p2eY78Vuky0om`GbQWnEvg!Z1mxI$&RZ~r(+^8@A`PU zIEHxeZk@s{)MUWpa`555@G!BOGiEAJmCM{NtL@fb*xdKNviGrt&EB*(3aftjZ)WHH z^D3}%(c%chT_2uae8yR^sbbxNC%X%Lc>>xh*n*DkzxR`Az19C&^I0DF)wk}958rXX zcIMm4=oNEimvOU8C5Fy>c0@?efi1M}PvB&sb?;_uEnjgi>R!v=sL1`7zsqE>m2Cc& z(HVE&S5GiFp(CCB$GyF$%nS54g{t^0lVjcVSFX8uPzPQZF`(PcQ zAon-R+=6MB@X7Fv%d;Qc3pJ3`E)MJd_iVrGfj3o~*aF25CYeswUO1KW`l+byuN7{) zXU}13v)DTS;)BkOEy^}b3r;6h>CXJ%mv<@U-->dDneKP^d)F=xUL{%*2r9QcUHx3v IIVCg!06SlTQ2+n{ literal 0 HcmV?d00001 diff --git a/images/major_3.png b/images/major_3.png new file mode 100644 index 0000000000000000000000000000000000000000..acbe0391f21e71e02cbe3f9713a85e9ba748ae4f GIT binary patch literal 1797 zcmeAS@N?(olHy`uVBq!ia0vp^;y|px!3HFMhCbfPz`$6V>FgYk?dXKPpkds&$V9davF|l;QUhl&JB1ipK2VJo0;FFax>U6$xiL0zILtDhvAcS>w@T@w{ z+!__lphDqr%^&g+2O|qMbc7TX76`bo3*Mb$rMV-c;@-g9HKAD^QUUWuo!8!d~x15+Q<}RFk z_4cg_76~bayjMP^A?~jhetTAQ;5Vni45qgC8k-ZJ9a1c>uIG7C{qRpR&j(qivZ4nJ zi1>mq}FfdWk9dNvV1jxdk9y3^o;3KxS@gNuokUZcbjY zRfVk*ScMgk4HDK@QUEI{$+lIB@C{IK&M!(;Fw-;8Gf=YQQczH^DN0GR3UYCSY6tRc zl`=|73as??%gf94%8m8%i_-NCEiEne4UF`SjC6r2bc-wVN)jt{^NN)rhQQ2mNi9w; z$}A|!%+FH*nVXoDUs__Tqy(}E4j}GKNru}~P+F7&wk0K5KQ$*cH#M)MSl>|3P#>GV zlFT%O3-gMh!2t{yeUJ=Ln*mmBo&_bzCcuz#tpK_Q>OY`Elfm{Dm!#+;DbP1EFtE@y zFw!-$)Q9^I=zN=$WUG?QlAKg!!;dQcGLWP(E0Dkm{7-BzhWHzhSK zu{5Vd$u2iBE59h-*hU|s2vsvg6xB={eJs}7fIMv#8I)R_pHm77b~{63BO7o~pok(O z0HPxTs}5vQbR7X1`6cMU^3c4@5<8dyXu?Rk zkRr#*v8bdxzbHEd91-wP#Hj*m3M534(kCSGgF_#f`t7)E^x-+lj;k+!4=}qkT6wxS zhIsHEoz~5D$biQ+{O14vo2uB^^DZCRx+^j9Non!4ZNfR{zh|w@4PS3wCLH=__08FA zb!P%@Ms7*p8~nl8BXqxL-Rqh1AF`tNKPzYa_iJm-?&g);PlaP@Pm0utcGXFp`?AT# zL903@Lx(Bop8oDr$Lk)IeByaw`JFML( z2~hje#xv{X72^X_UFI}~d~Xf2d};fxPxVmD3x}VpDs8`cP5zhPDeMuk)@yZ*xh2E= nj+j*Y%yQAqx}h6x?%ARLVc{MJn}sR;pfbwS)z4*}Q$iB}+8TR$ literal 0 HcmV?d00001 diff --git a/images/major_4.png b/images/major_4.png new file mode 100644 index 0000000000000000000000000000000000000000..86618621fa0e688d24a7b866723a0fea009fb889 GIT binary patch literal 1762 zcmeAS@N?(olHy`uVBq!ia0vp^;y|px!3HFMhCbfPz`$6V>FgYk?dXKPpkds&$V9davF|l;QUhl&JB1ipK2VJo0;FFax>U6$xiL0zILtDhvAcS>w@T@w{ z+!__lphDqr%^&g+2O|qMbc7TX76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@-g9HKAD^QUUWuo!8!d~x15+Q<}RFk z_4cg_76~bayjMP^A?~jhetTAQ;5Vni45qgC8k-ZJ9a1c>uIG7C{qRpR&j(qivZ4nJ zi1>mq}FfdWk9dNvV1jxdk9y3^o;3KxS@gNuokUZcbjY zRfVk*ScMgk4HDK@QUEI{$+lIB@C{IK&M!(;Fw-;8Gf=YQQczH^DN0GR3UYCSY6tRc zl`=|73as??%gf94%8m8%i_-NCEiEne4UF`SjC6r2bc-wVN)jt{^NN)rhQQ2mNi9w; z$}A|!%+FH*nVXoDUs__Tqy(}E4j}GKNru}~P+F7&wk0K5KQ$*cH#M)MSl>|3P#>GV zlFT%O3-gMh!2t{yeUJ=Ln*mmBo&_bzCcuz#tpK_Q>OY`Elfm{Dm!#+;DbP1EFtE@y zFw!-$)Q9^I=zN=$WUG?QlAKg!!;dQcGLWP(E0Dkm{7-BzhWHzhSK zu{5Vd$u2iBE59h-)J7ko2vsvg6xB={eJs}7fIMv#8I)R_pHm77b~{63BO7o~pok(O z0HPxTs}5vQbR7X1`6cMU^3c4@5<8dyXu?Rk zkRr#*v8bdxzbHEd91-wP#Hj*m3M534(kCSGgF_#f`t7)E^x-+ljw{*8_W>~H@_V{C zhIsI9ofOD-Sb@j+^p)T7m8&Nz?bPF2nDmF?V5MQ>x4mxJZ*SP@yC)CziG`C`H`6zqlYG#nJnyBBP4SVVMzOcV{8HLwo;&TTJ0Q8} z(GBZfvAtW5s>=wr*?>I4n(K-G0qXQnR__)){_pEDLxVb=vNh)D(p`Em5 u%;d!l$L`i~zEjYvJ9M`1_+_RC{}>qGMY-B0to#oucsyPGT-G@yGywn~yI{fq literal 0 HcmV?d00001 diff --git a/images/major_6.png b/images/major_6.png new file mode 100644 index 0000000000000000000000000000000000000000..6223bf62d466ab5fa2d127a02787c715d8882336 GIT binary patch literal 1778 zcmeAS@N?(olHy`uVBq!ia0vp^;y|px!3HFMhCbfPz`$6V>FgYk?dXKPpkds&$V9davF|l;QUhl&JB1ipK2VJo0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0HwR5Vqd6L1o>Of5{bF1n2CY)homO--G|upRnnN z7I*#qwURHWVyRI``Ob7h&dd5zR6J*% zaLB<9&BM8_SKmi}unzqn_Vj9D!1l#gGq!3(>^=CGVWG`*i+A6}sz4=>r>mdKI;Vst E0Jf)QNdN!< literal 0 HcmV?d00001 diff --git a/images/major_8.png b/images/major_8.png new file mode 100644 index 0000000000000000000000000000000000000000..34e6ec37fe94c11d59ab2f4df0b69b87a3ee12f9 GIT binary patch literal 1777 zcmeAS@N?(olHy`uVBq!ia0vp^;y|px!3HFMhCbfPz`$6V>FgYk?dXKPpkds&$V9davF|l;QUhl&JB1ipK2VJo0;FFax>U6$xiL0zILtDhvAcS>w@T@w{ z+!__lphDqr%^&g+2O|qMbc7TX76`bo3*Mb$rMV-c;@-g9HKAD^QUUWuo!8!d~x15+Q<}RFk z_4cg_76~bayjMP^A?~jhetTAQ;5Vni45qgC8k-ZJ9a1c>uIG7C{qRpR&j(qivZ4nJ zi1>mq}FfdWk9dNvV1jxdk9y3^o;3KxS@gNuokUZcbjY zRfVk*ScMgk4HDK@QUEI{$+lIB@C{IK&M!(;Fw-;8Gf=YQQczH^DN0GR3UYCSY6tRc zl`=|73as??%gf94%8m8%i_-NCEiEne4UF`SjC6r2bc-wVN)jt{^NN)rhQQ2mNi9w; z$}A|!%+FH*nVXoDUs__Tqy(}E4j}GKNru}~P+F7&wk0K5KQ$*cH#M)MSl>|3P#>GV zlFT%O3-gMh!2t{yeUJ=Ln*mmBo&_bzCcuz#tpK_Q>OY`Elfm{Dm!#+;DbP1EFtE@y zFw!-$)Q9^I=zN=$WUG?QlAKg!!;dQcGLWP(E0Dkm{7-BzhWHzhSK zu{5Vd$u2iBE59h-!bTsW2vsvg6xB={eJs}7fIMv#8I)R_pHm77b~{63BO7o~pok(O z0HPxTs}5vQbR7X1`6cMU^3c4@5<8dyXu?Rk zkRr#*v8bdxzbHEd91-wP#Hj*m3M534(kCSGgF_#f`t7)E^x-+lj%!hDvlKArs(HFN zhIsI9oy5)8Y{29E^2p!ydlDy1;KB7K@@#?gfrVlyWC-AXpo|v1gW4V3i`KFmB-MbHJ)+O5?4>~(jH|=E7 zRx7y|xlj3e9?ZLch_U19!M4zw{O>>BZ(UvS?M`d>+VC>n1BbSj&iSeA@OR70yoXvT zOYd9_pR4~tCt!8({#%^k_Bqe3!yS2g?q7K&ckn~3)^ZEsOVi&@wQFS#V0GDXdFqFW zEPOo`+~u5A2}kbfi5%O(ap>qL8Pl8P+lzQ-F)HVAt?P60W)rQ~9dK>F) Sx3>v_3nWihKbLh*2~7Zqqj2H? literal 0 HcmV?d00001 diff --git a/images/major_9.png b/images/major_9.png new file mode 100644 index 0000000000000000000000000000000000000000..4f9290c6328c908e5b6788c5fc497a66d2761e29 GIT binary patch literal 1738 zcmeAS@N?(olHy`uVBq!ia0vp^;y|px!3HFMhCbfPz`$6V>FgYk?dXKPpkds&$V9davF|l;QUhl&JB1ipK2VJo0;FFax>U6$xiL0zILtDhvAcS>w@T@w{ z+!__lphDqr%^&g+2O|qMbc7TX76`bo3*Mb$rMV-c;@-g9HKAD^QUUWuo!8!d~x15+Q<}RFk z_4cg_76~bayjMP^A?~jhetTAQ;5Vni45qgC8k-ZJ9a1c>uIG7C{qRpR&j(qivZ4nJ zi1>mq}FfdWk9dNvV1jxdk9y3^o;3KxS@gNuokUZcbjY zRfVk*ScMgk4HDK@QUEI{$+lIB@C{IK&M!(;Fw-;8Gf=YQQczH^DN0GR3UYCSY6tRc zl`=|73as??%gf94%8m8%i_-NCEiEne4UF`SjC6r2bc-wVN)jt{^NN)rhQQ2mNi9w; z$}A|!%+FH*nVXoDUs__Tqy(}E4j}GKNru}~P+F7&wk0K5KQ$*cH#M)MSl>|3P#>GV zlFT%O3-gMh!2t{yeUJ=Ln*mmBo&_bzCcuz#tpK_Q>OY`Elfm{Dm!#+;DbP1EFtE@y zFw!-$)Q9^I=zN=$WUG?QlAKg!!;dQcGLWP(E0Dkm{7-BzhWHzhSK zu{5Vd$u2iBE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F76o1$eqWk`qm*(~T(MRJJH09^` zC3W6!IpaEc`wK5PC!@0llgmVxW2cRX%-mX$^B+!I^j_0lSaF+wcie3UX&NLU|!yd zox5hfl#Y=-Ba$BV>74a>nKym&%kNnUYQH;a{eI5w-H(h`De9M;+u!QMW$SW0bp0-Y zbxdDGMUKXux2T(f@--+#~L;&^(&glz{-luuV>PI=t0sr9~Yfpw5i z$8}@A_?popup); popup_set_context(app->popup, app); popup_set_header(app->popup, "About", 64, 1, AlignCenter, AlignTop); - popup_set_text(app->popup, "\nCode: pionaiki\nArt: tihyltew\n\ngithub.com/pionaiki/fz-tarot", 64, 10, AlignCenter, AlignTop); + popup_set_icon(app->popup, 16, 64-13, &I_github_icon); + popup_set_text(app->popup, "\n\nCode: pionaiki\nArt: tihyltew\n\n /pionaiki/fz-tarot", 64, 0, AlignCenter, AlignTop); view_dispatcher_switch_to_view(app->view_dispatcher, AppView_Popup); } @@ -139,7 +140,7 @@ const int card_x = 23; const int card_y = 32; const int card_number = 22; -int card_selected = 1; // Cursor position 0-2 +int card_selected = 0; struct Card { const char name[20]; @@ -147,28 +148,28 @@ struct Card { }; const struct Card card[] = { - {"The Fool", &I_major_placeholder}, - {"The Magician", &I_major_placeholder}, - {"The High Priestess", &I_major_placeholder}, - {"The Empress", &I_major_placeholder}, - {"The Emperor", &I_major_placeholder}, - {"The Hierophant", &I_major_placeholder}, - {"The Lovers", &I_major_placeholder}, - {"The Chariot", &I_major_placeholder}, - {"Strength", &I_major_placeholder}, - {"The Hermit", &I_major_placeholder}, - {"Wheel of Fortune", &I_major_placeholder}, - {"Justice", &I_major_placeholder}, - {"The Hanged Man", &I_major_placeholder}, - {"Death", &I_major_placeholder}, - {"Temperance", &I_major_placeholder}, - {"The Devil", &I_major_placeholder}, - {"The Tower", &I_major_placeholder}, - {"The Star", &I_major_placeholder}, - {"The Moon", &I_major_placeholder}, - {"The Sun", &I_major_placeholder}, - {"Judgement", &I_major_placeholder}, - {"The World", &I_major_placeholder} + {"The Fool", &I_major_0}, + {"The Magician", &I_major_1}, + {"The High Priestess", &I_major_2}, + {"The Empress", &I_major_3}, + {"The Emperor", &I_major_4}, + {"The Hierophant", &I_major_5}, + {"The Lovers", &I_major_6}, + {"The Chariot", &I_major_7}, + {"Strength", &I_major_8}, + {"The Hermit", &I_major_9}, + {"Wheel of Fortune", &I_major_10}, + {"Justice", &I_major_11}, + {"The Hanged Man", &I_major_12}, + {"Death", &I_major_13}, + {"Temperance", &I_major_14}, + {"The Devil", &I_major_15}, + {"The Tower", &I_major_16}, + {"The Star", &I_major_17}, + {"The Moon", &I_major_18}, + {"The Sun", &I_major_19}, + {"Judgement", &I_major_20}, + {"The World", &I_major_21} }; static uint16_t unbiased_rand (uint16_t max) { @@ -180,34 +181,92 @@ static uint16_t unbiased_rand (uint16_t max) { return x % max; } -void tarot_app_scene_on_enter_game(void* context) { - FURI_LOG_T(TAG, "tarot_app_scene_on_enter_game"); +struct Spread { + int card[3]; + bool selected[3]; + bool rotation[3]; // 0 - up, 1 - down +}; + +struct Spread spread; + +void draw_tarot(void* context) { App* app = context; widget_reset(app->widget); - int one = unbiased_rand(card_number); - int two = unbiased_rand(card_number); - while (two == one) { - two = unbiased_rand(card_number); - }; - int three = unbiased_rand(card_number); - while (three == one || three == two) { - three = unbiased_rand(card_number); + // Set the cursor to the selected card + spread.selected[0] = 0; + spread.selected[1] = 0; + spread.selected[2] = 0; + spread.selected[card_selected] = 1; + + // Draw cards + widget_add_icon_element(app->widget, (128-card_x)/2 - 32, 10 - 2*spread.selected[0], card[spread.card[0]].icon); + widget_add_icon_element(app->widget, (128-card_x)/2, 10 - 2*spread.selected[1], card[spread.card[1]].icon); + widget_add_icon_element(app->widget, (128-card_x)/2 + 32, 10 - 2*spread.selected[2], card[spread.card[2]].icon); + + // Draw cursor + widget_add_icon_element(app->widget, (128-card_x)/2 - 34 + card_x/2 + card_selected*32, 41, &I_cursor); + + // Draw card name + widget_add_string_element(app->widget, 64, 60, AlignCenter, AlignBottom, FontPrimary, card[spread.card[card_selected]].name); +} + +static bool widget_input_callback(InputEvent* input_event, void* context) { + App* app = context; + bool consumed = false; + if(input_event->type == InputTypeShort) { + switch(input_event->key) { + case InputKeyRight: + card_selected++; + if (card_selected > 2) { + card_selected = 0; + } + consumed = true; + break; + case InputKeyLeft: + card_selected--; + if (card_selected < 0) { + card_selected = 2; + } + consumed = true; + break; + case InputKeyUp: + // UP + consumed = true; + break; + case InputKeyDown: + // DOWN + consumed = true; + break; + default: + consumed = false; + break; + } } + if(consumed) draw_tarot(app); + return consumed; +} - struct Card random_card[] = { - card[one], - card[two], - card[three] +void tarot_app_scene_on_enter_game(void* context) { + FURI_LOG_T(TAG, "tarot_app_scene_on_enter_game"); + App* app = context; + + // Set random spread + spread.card[0] = unbiased_rand(card_number); + spread.card[1] = unbiased_rand(card_number); + while (spread.card[1] == spread.card[0]) { + spread.card[1] = unbiased_rand(card_number); }; + spread.card[2] = unbiased_rand(card_number); + while (spread.card[2] == spread.card[0] || spread.card[2] == spread.card[1]) { + spread.card[2] = unbiased_rand(card_number); + } - widget_add_icon_element(app->widget, (128-card_x)/2 - 32, 10, random_card[0].icon); - widget_add_icon_element(app->widget, (128-card_x)/2, 10, random_card[1].icon); - widget_add_icon_element(app->widget, (128-card_x)/2 + 32, 10, random_card[2].icon); + draw_tarot(app); - widget_add_icon_element(app->widget, (128-card_x)/2 - 34 + card_x/2 + card_selected*32, 40, &I_cursor); + view_set_context(widget_get_view(app->widget), app); - widget_add_string_element(app->widget, 64, 60, AlignCenter, AlignBottom, FontPrimary, random_card[card_selected].name); + view_set_input_callback(widget_get_view(app->widget), widget_input_callback); view_dispatcher_switch_to_view(app->view_dispatcher, AppView_Widget); } diff --git a/tarot.png b/tarot.png new file mode 100644 index 0000000000000000000000000000000000000000..4326b87af584716a713b1851e32ac53652d6d7ac GIT binary patch literal 1564 zcmeAS@N?(olHy`uVBq!ia0vp^AT}2V8<6ZZI=`2Jfw45x**PHF+1)umC%-7TATc@B zC9}97C$TcXn1MlKV(Emv-iHH3j{2_-x?t78Co5yr>3ro9S6N|(wuq}i2q`FvqvqL5J`hvTaWJBnY|@vr@TGB@|V=#1QgbNaV#IWb$zT{!vb z?OPQr5>gC#uY62H++QvH_N?f@Z%%_5Ol|KqHYYwiq*z{E&-0@C;h$ul53)>UQ$Md) zKKE9tb$+AvUv_cLtUbYOj;Dd~P>~wpnda-upao=eFt9SRF)#yJj0{XbLW+SE%w}Nl zVw8rngBUdsYT7dySfFa6fHVlS05Kz+W?H}mSHZP_8NmiAwKHEZ4@hwqctjR6Fo^hq zFyoX{z4{Cc%te_Y5hW46K32*3xq68y`AMmI6}bft&@)i7<5EyiuqjGOvkG!?gK7uzY?U%f zN(!v>^~=l4^~#O)@{7{-4J|D#^$m>ljf`}GDs+o0^GXscbn}XpA%?)raY-#sF3Kz@ z$;{7F0GXSZlwVq6tE2?72o50bOi6~@Q&3uz1GXh4SwA%=H8(Y{q*&ij&rlzmzLLx| zgbVYEp}_$R7=4foP@4f(ZJq@s$tJ*%a;*Tm2kJkdLzBVw7MG;xBPq}~GBB{vH89dO zvebwB59oZGlw_-t%#xf`aKOR+0}esQoDx(~ka|!MV^%6U^|N1o2M1sX2bTFx!o v=XA-2`LpJU*ar(7xWZ@1C{J(H<`njxgN@xNA&9eO< literal 0 HcmV?d00001