aboutsummaryrefslogtreecommitdiff
path: root/binutils/testsuite/binutils-all/windres/edittext.rsd
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2003-06-28 02:37:43 +0000
committerDanny Smith <dannysmith@users.sourceforge.net>2003-06-28 02:37:43 +0000
commitb9ae04920ab4f0d0c10fad9dff55c4ca3e2d2251 (patch)
tree918a73ac0eae39204bb36020ad53b7c2a7d4b393 /binutils/testsuite/binutils-all/windres/edittext.rsd
parent0b2828595e905458c688820815152abdb9fc7c6d (diff)
downloadgdb-b9ae04920ab4f0d0c10fad9dff55c4ca3e2d2251.zip
gdb-b9ae04920ab4f0d0c10fad9dff55c4ca3e2d2251.tar.gz
gdb-b9ae04920ab4f0d0c10fad9dff55c4ca3e2d2251.tar.bz2
* rcparse.y (res_text_field): New res_id variable.
(res_null_text): New static const struct res_id object, with empty unicode name field. (control): Pop parsing of optresidc up one level. Set res_text_field to $2 except for controls which do not accept a text field. Set res_text_field to res_null_text for the special cases (viz. COMBOBOX, EDITTEXT, LISTBOX, SCROLLBAR). (control_params): Adjust to use res_text_field rather than optresidc. (COMBOBOX): Add comment about discrepency between documented vs. observed default style. * resrc.c (define_control): Make first param const. * windres.h (define_control): Adjust prototype. testsuite: * binutils-all/windres/checkbox.rc: New file. * binutils-all/windres/checkbox.rsd: New file. * binutils-all/windres/combobox.rc: New file. * binutils-all/windres/combobox.rsd: New file. * binutils-all/windres/edittext.rc: New file. * binutils-all/windres/edittext.rsd: New file. * binutils-all/windres/listbox.rc: New file. * binutils-all/windres/listbox.rsd: New file. * binutils-all/windres/scrollbar.rc: New file. * binutils-all/windres/scrollbar.rsd: New file.
Diffstat (limited to 'binutils/testsuite/binutils-all/windres/edittext.rsd')
-rw-r--r--binutils/testsuite/binutils-all/windres/edittext.rsd8
1 files changed, 8 insertions, 0 deletions
diff --git a/binutils/testsuite/binutils-all/windres/edittext.rsd b/binutils/testsuite/binutils-all/windres/edittext.rsd
new file mode 100644
index 0000000..7132b20
--- /dev/null
+++ b/binutils/testsuite/binutils-all/windres/edittext.rsd
@@ -0,0 +1,8 @@
+ 0000 00000000 20000000 ffff0000 ffff0000 .... ...........
+ 0010 00000000 00000000 00000000 00000000 ................
+ 0020 32000000 20000000 ffff0500 fffff501 2... ...........
+ 0030 00000000 30100904 00000000 00000000 ....0...........
+ 0040 00008880 00000000 01000000 0000a800 ................
+ 0050 89000000 00000000 00008150 00000000 ...........P....
+ 0060 1c003f00 89003400 e903ffff 81000000 ..?...4.........
+ 0070 00000000 ....