Add support for id ranges to XRC.
Allow to declare ranges of consecutive IDs in XRC by using the "id[n]" syntax. Show this functionality in the xrc sample and test it in the new unit test. Also show and test the "object reference" XRC functionality. Closes #11431. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
26
samples/xrc/rc/objrefdlg.xpm
Normal file
26
samples/xrc/rc/objrefdlg.xpm
Normal file
@@ -0,0 +1,26 @@
|
||||
/* XPM */
|
||||
static const char *const objrefdlg_xpm[] = {
|
||||
"16 16 7 1",
|
||||
" c None",
|
||||
". c #EBF70E",
|
||||
"+ c #000000",
|
||||
"@ c #808080",
|
||||
"# c #0000FF",
|
||||
"$ c #FFFFFF",
|
||||
"% c #F8A836",
|
||||
" . ",
|
||||
"+++.++++++++++++",
|
||||
"+.@.@.@@@@@@.@@+",
|
||||
"+@...#######.#@+",
|
||||
"...@....@@.@.@.+",
|
||||
"+@...$$$$$$...@+",
|
||||
"+.$.@.@@@%%%$%..",
|
||||
"+@$.@@@@@@@%%%@+",
|
||||
"+@$.$$$$$$%$%$%+",
|
||||
"+@$$$$$$$$$$%$@+",
|
||||
"+@$$$$@@@@$$$$@+",
|
||||
"+@$$$$@@@@$$$$@+",
|
||||
"+@$$$$$$$$$$$$@+",
|
||||
"+@@@@@@@@@@@@@@+",
|
||||
"++++++++++++++++",
|
||||
" "};
|
Reference in New Issue
Block a user