merged docvwmdi sample into docview one to avoid having 2 almost identical samples; and modernized and cleaned up the code in the process

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-10-03 15:16:01 +00:00
parent 73eca6fd4b
commit 2d1df0fc58
39 changed files with 1229 additions and 9299 deletions

49
samples/docview/chart.xpm Normal file
View File

@@ -0,0 +1,49 @@
/* XPM */
static char *chart[] = {
/* columns rows colors chars-per-pixel */
"32 32 11 1",
" c black",
". c red",
"X c #00BF00",
"o c green",
"O c yellow",
"+ c blue",
"@ c #00BFBF",
"# c #808080",
"$ c #C0C0C0",
"% c gray100",
"& c None",
/* pixels */
"&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&",
"&& &&&&&&",
"&& ###################### &&&&&&",
"&& &&&&&&",
"&& %%%%%%%%%%%%%%%%%%%%%% &&&&&&",
"&& %%%%%%%.....%%%%%%%%%% &&&&&&",
"&& %%%%%%.......%%%%%%%%% &&&&&&",
"&& %%%%%........+%%%%%%%% &&&&&&",
"&& %%%%........+++%%%%%%% &&&&&&",
"&& %%%%.......++++%%%%%%% &&&&&&",
"&& %%%.......++++++%%%%%% &&&&&&",
"&& %%%.... ",
"&& %%%.... #################### ",
"&& %%%%... ",
"&& %%%%... %%%%%%%%%%%%%%%%%%%% ",
"&& %%%%%.. %%#%%++%%%%%%%%%%%%% ",
"&& %%%%%%. %%#%%++%%$$%%%%%%%%% ",
"&& %%%%%%% %%#%%++%%$$%%%%%%%%% ",
"&& %%%%%%% %%#oo++%%$$%%%% %%% ",
"&& %%%%%%% %%#oo++%%$$%%%% %%% ",
"&& %%#oo++%%$$%%%% %%% ",
"&&&&&&&&&& %%#oo++OO$$%%XX %%% ",
"&&&&&&&&&& %%#oo++OO$$%%XX %%% ",
"&&&&&&&&&& %%#oo++OO$$@@XX %%% ",
"&&&&&&&&&& %%#oo++OO$$@@XX %%% ",
"&&&&&&&&&& %%#oo++OO$$@@XX %%% ",
"&&&&&&&&&& %%#oo++OO$$@@XX %%% ",
"&&&&&&&&&& %%#################% ",
"&&&&&&&&&& %%%%%%%%%%%%%%%%%%%% ",
"&&&&&&&&&& %%%%%%%%%%%%%%%%%%%% ",
"&&&&&&&&&& ",
"&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&"
};