mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-03 04:01:22 +08:00

binutils* rclex.c: Add OWNERDRAW keyword. * rcparse.y: Add OWNERDRAW token. (menuitem_flag) Add BITMAP and OWNERDRAW entries. * resrc.c (write_rc_menuitems): Add support for OWNERDRAW and BITMAP flags. * windres.c (extended_menuitems): Likewise. * testsuite/binutils-all/windres/menuitem_flags.rc: New test.
17 lines
469 B
Plaintext
17 lines
469 B
Plaintext
// parse-only
|
|
|
|
1 MENU
|
|
{
|
|
POPUP "&File"
|
|
{
|
|
MENUITEM "This is a test #1", 100, BITMAP
|
|
MENUITEM "This is a test #2", 101, OWNERDRAW
|
|
MENUITEM "This is a test #3", 102, CHECKED
|
|
MENUITEM "This is a test #4", 103, GRAYED
|
|
MENUITEM "This is a test #5", 104, HELP
|
|
MENUITEM "This is a test #6", 105, INACTIVE
|
|
MENUITEM "This is a test #7", 106, MENUBARBREAK
|
|
MENUITEM "This is a test #8", 107, MENUBREAK
|
|
}
|
|
}
|