From 9f8276c7d49df2d9a12ebc93e2802e487e4e7b92 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sun, 17 Sep 2000 19:20:16 +0000 Subject: [PATCH] added XML resources sample git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/configure.in | 1 + contrib/samples/Makefile.in | 2 +- contrib/samples/xml/rc/appicon.ico | Bin 0 -> 2238 bytes contrib/samples/xml/rc/appicon.xpm | 61 ++++ contrib/samples/xml/rc/fileopen.gif | Bin 0 -> 136 bytes contrib/samples/xml/rc/filesave.gif | Bin 0 -> 183 bytes contrib/samples/xml/rc/fuzzy.gif | Bin 0 -> 338 bytes contrib/samples/xml/rc/quotes.gif | Bin 0 -> 82 bytes contrib/samples/xml/rc/resource.xml | 476 ++++++++++++++++++++++++++++ contrib/samples/xml/rc/scanning.gif | Bin 0 -> 3418 bytes contrib/samples/xml/rc/update.gif | Bin 0 -> 99 bytes 11 files changed, 539 insertions(+), 1 deletion(-) create mode 100644 contrib/samples/xml/rc/appicon.ico create mode 100644 contrib/samples/xml/rc/appicon.xpm create mode 100644 contrib/samples/xml/rc/fileopen.gif create mode 100644 contrib/samples/xml/rc/filesave.gif create mode 100644 contrib/samples/xml/rc/fuzzy.gif create mode 100644 contrib/samples/xml/rc/quotes.gif create mode 100644 contrib/samples/xml/rc/resource.xml create mode 100644 contrib/samples/xml/rc/scanning.gif create mode 100644 contrib/samples/xml/rc/update.gif diff --git a/contrib/configure.in b/contrib/configure.in index 53c1dd0412..fccbbd25bf 100644 --- a/contrib/configure.in +++ b/contrib/configure.in @@ -56,6 +56,7 @@ AC_OUTPUT([ samples/gizmos/Makefile samples/gizmos/multicell/Makefile samples/gizmos/splittree/Makefile + samples/xml/Makefile utils/Makefile utils/wxrc/Makefile utils/wxrcedit/Makefile diff --git a/contrib/samples/Makefile.in b/contrib/samples/Makefile.in index f867c03d66..fd6917aabd 100644 --- a/contrib/samples/Makefile.in +++ b/contrib/samples/Makefile.in @@ -1,6 +1,6 @@ # $Id$ -CONTRIB_SAMPLES=mmedia ogl stc gizmos canvas +CONTRIB_SAMPLES=mmedia ogl stc gizmos canvas xml all: @for d in $(CONTRIB_SAMPLES); do (cd $$d && $(MAKE)); done diff --git a/contrib/samples/xml/rc/appicon.ico b/contrib/samples/xml/rc/appicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..6082b2fd0ad8699499e1fd873f9a0d49994d312c GIT binary patch literal 2238 zcmcgtO=uit7=C7E{}XrTXLlzthYeVk-YQy(vel+(D1sr~L!hPX$sBUgnl1zbIiv}5 z@Zd$8&>lR5HU$xdVi$LBlQa_*TJTchO`-?|Q)EG86C5%=-#4?_4G7+Rmv`p--sgSZ zzwg^!K;dU}6jHuO0Y$D(Q%9*|R0T8&iG{EJXH1PDw&K83Jve;F#$)gvdx%}9s@!vZ z_O-L{k9_!#ebm16@zu{hF%PxtHNGdv_pxzrgWL&niP3k0abl_u^{4`@pM%rsKy_U- zYYxtPDo_urXx=h#entUqa=#2*n*`q22ksmKHuvwfpJS~R;OnUXZ*B#+Q)|NZDyY`$ zSj26{pJjXn`3^Ae0;)X?Jle)=rw)bt&)K~?M?2%Gj3=fc8DK{_bVPcjXK;_8fHHu z@C~Y9!>rG#Zo=Q+MVavx5x;c=ZJ0GMKbRkP$5R}1TI5}yD_(l zYSiDf^BdagHp)C8k$((4Kb)h6`OtEJVV+;K{cv{$rl>2Dxjn!XvBGiS=?B2h5Vw*4 z#by%^Di!wgEBj&J;Q29Al}{np8Xg|3Zlm)f`+ZAT%G9CbelK0-mg&24Njb$O3y5r! z)fZ?lj-$*27w4yb-{Kcy7T~2#=pS$Y_N?6c6c6jhx6eDxeAY#GCI}> z+=nZiRh#9tP}Qe^wJm%%Bk`Ag*6f`5c}v5tACgJso44S81U@wyP_y;(nKU}$*; z2i2Q!7neEPP5Ph0JVtn(R^X^@_-LW*OhHk%P$K^Z`5nP$XH$&dW_(s8`?>$SjWbss zVO$Rf`t%tv!V6k`@-pjO!9{XzP&;`Z?>taao7{8W`S-bB#kx8xzY}!%Uqy?unWp)# zc?|{e2r!IP^n2CkX&45CM!==EJ64!EOCc;^>xS=fr=M zlr-rX=tVjRPLY8%EoX_LNQr4?CNmHhbdfX1DP`hjE?0~)NPd2hW`PUX&IpHy4$)pF zFU+GPg=tgg?IJB77#U+IE8B z)%?Iqg5FCH9xg2`FsW%~Tsp_KUV7OE`%&%QMEk0bx->bE~ AumAu6 literal 0 HcmV?d00001 diff --git a/contrib/samples/xml/rc/appicon.xpm b/contrib/samples/xml/rc/appicon.xpm new file mode 100644 index 0000000000..948961fe5c --- /dev/null +++ b/contrib/samples/xml/rc/appicon.xpm @@ -0,0 +1,61 @@ +/* XPM */ +static char* appicon_xpm[]={ +"32 32 26 1", +"s c #000000", +"u c #ff8000", +"m c #ffc0ff", +"q c #400000", +". c None", +"t c #004040", +"d c #303030", +"n c #ffdca8", +"e c #c0c0c0", +"x c #808000", +"o c #c00000", +"c c #585858", +"b c #a0a0a4", +"f c #c000c0", +"# c #000000", +"i c #808080", +"p c #ffa858", +"v c #ffff00", +"k c #800000", +"w c #c0c000", +"r c #004000", +"h c #404000", +"j c #ffc0c0", +"a c #ffffff", +"l c #c05800", +"g c #ff0000", +".....#####...........##.........", +"...##abbccd........##c#.........", +"###aaaebfgh########abi#.........", +"#cbaaaejggkiibeeaaaeeic#........", +"#ieaaaefggldggfjmnaaeei#........", +"#ibeaajggggcggggfmaaabi#b.......", +"#iieaajggggolgggggmaaeec#.......", +"#cieaajgggggdgggggpmaeec#.......", +"#cieaajgggggqgggggggaabi#.......", +"#dieaajpgggcc##cggggaaebc###....", +"#ribaamecccccs##cgggaebccth##...", +"#dieaa#qtdcch###tcs#iichd####...", +"##cbea##dccccs##qhhccccct#####..", +"##iiea##rhccch##tsdtcccdh#####..", +"##cbea###tccookk#hrdhccccs####..", +"##ciea###koogookkddtcccch###q#..", +"##tiea##qoggggokkqhqccccckokkk#.", +"##hbeb#qkoogggookkqkoklkoookkk#.", +"###icb#kkooggggokkdkogggggookk#.", +"###d..#kkoogggouukqkooggggookk#.", +"##....#kkkoguvvvwuhkogggggooko#.", +"##....##kolwvvvvvulcllggggulll#.", +"##....##kuuvvvvvuvudwuuuuuvuuu#.", +"......##uuuuvvvvvuuqivvvvvvuuu#.", +"......##uuuvvwwiqcllhuvvvvvuuu#.", +"......##uuuwl##xuphdivvvvvvvul#.", +"......##uuu##e.#vltcuvuvvvvux#..", +"......##ux#e....###uuww######...", +"......##i#......bbb####.........", +"......###.......................", +"......##........................", +"......##........................"}; diff --git a/contrib/samples/xml/rc/fileopen.gif b/contrib/samples/xml/rc/fileopen.gif new file mode 100644 index 0000000000000000000000000000000000000000..a93ef2aab72d5d09bab07ed51f9fcd127958d934 GIT binary patch literal 136 zcmZ?wbhEHb6kykZM=f&Eu6wY23Q2B7|f8y#<&Bsl$F66 E03QQ1qW}N^ literal 0 HcmV?d00001 diff --git a/contrib/samples/xml/rc/fuzzy.gif b/contrib/samples/xml/rc/fuzzy.gif new file mode 100644 index 0000000000000000000000000000000000000000..51683572a39198c19305042a72e62294d611d220 GIT binary patch literal 338 zcmZ?wbhEHb6kyLfLqbCI^z@RFl3ZL|%FD~oojcdn z)ph*%@gF~a%$hap%9Sg=zP{ex-VYx>3(&#s=sN;(_8%7Dg@xdj=h#vl&2sVqnWZFu&jjGYi9!CjkZuJS<*G zjSfr27TF(WY*Z-VZ%c97s9+$GR&v;}#zE=o4izKCAgzyCM~gg@K7~jI@;9(ZHMdGP zdCG*y%CX4F%PAG5cFM1A{dHXMh;1 literal 0 HcmV?d00001 diff --git a/contrib/samples/xml/rc/resource.xml b/contrib/samples/xml/rc/resource.xml new file mode 100644 index 0000000000..4deefe0e68 --- /dev/null +++ b/contrib/samples/xml/rc/resource.xml @@ -0,0 +1,476 @@ + + + + Catalog settings + + + wxVERTICAL + + + + + 1 + + + + + + + wxVERTICAL + + + + + + + + + + + + wxLEFT|wxTOP|wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL + 10 + + + + + 100,-1d + + + wxEXPAND|wxRIGHT|wxTOP + 10 + + + + + + + + wxLEFT|wxRIGHT|wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL + + + + + + wxEXPAND|wxRIGHT + 10 + + + + + + + + wxLEFT|wxRIGHT|wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL + + + + + + wxEXPAND|wxRIGHT + 10 + + + + + + + + wxLEFT|wxRIGHT|wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL + + + + + + + + wxEXPAND|wxRIGHT + 10 + + + + + + + + wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL + + + + + + iso8859-1 + iso8859-2 + iso8859-3 + iso8859-4 + iso8859-5 + iso8859-6 + iso8859-7 + iso8859-8 + iso8859-9 + iso8859-10 + iso8859-11 + iso8859-12 + iso8859-13 + iso8859-14 + iso8859-15 + koi8-r + windows-1250 + windows-1251 + windows-1252 + windows-1253 + windows-1254 + windows-1255 + windows-1256 + windows-1257 + + + + + wxEXPAND|wxRIGHT + 10 + + + + 2 + 10 + 5 + + + wxALIGN_RIGHT + + + + + + + + + + + + + + + wxVERTICAL + + + + + wxHORIZONTAL + + + + + + + + 10 + wxALIGN_CENTER_VERTICAL + + + + + + + + + + + wxEXPAND|wxLEFT|wxRIGHT|wxTOP + 10 + + + + + + + + wxEXPAND|wxLEFT|wxRIGHT|wxTOP + 10 + + + + + -1,80d + + + wxEXPAND|wxALL + + 10 + + + + + wxHORIZONTAL + + + + + + + + + + + + wxLEFT|wxRIGHT + 10 + + + + + + + + + + wxEXPAND|wxLEFT|wxRIGHT|wxBOTTOM + 10 + + + + + + + + + + + + + + + wxVERTICAL + + + + + + + + wxEXPAND|wxLEFT|wxRIGHT|wxTOP + 10 + + + + + -1,80d + + + wxEXPAND|wxALL + + 10 + + + + + wxHORIZONTAL + + + + + + + + + + + + wxLEFT|wxRIGHT + 10 + + + + + + + + + + wxEXPAND|wxLEFT|wxRIGHT|wxBOTTOM + 10 + + + + + + + + + + + + + + 10 + wxEXPAND|wxALL + + + + + + + + + + + + + + + + 10 + wxLEFT + + + + + wxALL|wxALIGN_RIGHT + 10 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Updating catalog + + + wxVERTICAL + + + + + + + + + scanning.gif + + + 25 + wxALL|wxALIGN_CENTER_VERTICAL + + + + + wxVERTICAL + + + + + + + + wxEXPAND|wxLEFT|wxRIGHT|wxTOP + 10 + + + -1,2d + + + + + 150,10d + + + + wxEXPAND|wxLEFT|wxRIGHT + 10 + + + -1,2d + + + + + + wxRIGHT|wxTOP|wxBOTTOM|wxALIGN_RIGHT + 10 + + + + + wxALIGN_CENTER_VERTICAL + + + + + + + + + + + + + fileopen.gif + Open catalog + + + filesave.gif + Save catalog + + + update.gif + Update catalog - synchronize it with sources + + + + quotes.gif + 1 + Display quotes around the string? + + + + fuzzy.gif + Toggled if selected string is fuzzy translation + 1 + + + + 2,2 + + diff --git a/contrib/samples/xml/rc/scanning.gif b/contrib/samples/xml/rc/scanning.gif new file mode 100644 index 0000000000000000000000000000000000000000..c1b1e15caf32f4de18a98b25f8c8aca6f0e8b9ef GIT binary patch literal 3418 zcmchZdr*?;9>*VE5HBf`w^3kSOLM8rOij%$LuHy}tvc#yy&P}VI_Nsu={Sxx4p>^U zMy{1vr)|{IbG)%=csXi?ifG;e^z2SE@$Jv}2MBO;M#X=!O=W8>)PxOMARH#avgFE4+8|KQ-@$jHd( z=;-6ekDokw5+QN0)*Qr^gCp0VT{*bT)i_sb1aFoD_MwTaZJ(#*i<=|A;(^jBUj}} zq0l^Eh!o0^Dw%Cshb>d+bXDlYlx<0sIbD}+EPUZqA+xWS>I_S9idkw3=NO|tDXl)? zdi_3za9@@%AWi6dT^xF)-@RDuTPO}-i6a;tN3V;I7K@YfdGV~Fgwv6nwr|$+Pb>B zJ9qBfy?d8YEzPcy7P5Hx6~g>lVZ|MBHebkS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NklWlf30hb1(|F|0Vs@qADfQ$0Ccpri3hZr??UCEUR>bHC_N`bw~pAz=B;4kZBcFcBnkUzu1TgsrX@@wxPn> z>mu1F%L+F3_KOCUG|@1m7w)=gy+ zvTzg-XVHLYMtvP3O3D~g*R)XiNDG;C%_Y7OQfu}>q3#>1)ah(X1QJS$228^I#@2{Z zQ3a>L55FL(-@Y;j7fLm7rix7M}7i5_3L+mg*qM^Ep(0pO8VK})9!wDco z1FF)UtGO>X8Ol5bzDL1Ck@m8~P+yY($^y$_br`Sry}9qwI)AFsKYd{6^WC6_o{4g3 zgNMHI$0(Ofi-nZZ2fPJk-WB)>J6UVNEBGP-zgbu&YCCwzC1vhrwe!Ef>d_?2{G$d2 GZ2b?O4sMzN literal 0 HcmV?d00001 diff --git a/contrib/samples/xml/rc/update.gif b/contrib/samples/xml/rc/update.gif new file mode 100644 index 0000000000000000000000000000000000000000..d6ef70a42195bbe2bfdfa65bc7b9337be8976817 GIT binary patch literal 99 zcmZ?wbhEHbDp73OS5JqZa8eLF|C`4!5RP~=N`@g literal 0 HcmV?d00001 -- 2.45.2