-
Notifications
You must be signed in to change notification settings - Fork 13.9k
[llvm-rc] add support for MENUEX #67464
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
101 MENUEX | ||
BEGIN | ||
POPUP "File", 40182 | ||
BEGIN | ||
MENUITEM "Load", 40011 | ||
MENUITEM "", 0, 0x00000800L | ||
|
||
POPUP "Savestate Slot", 40187 | ||
BEGIN | ||
MENUITEM "&1", 40099 | ||
MENUITEM "&2", 40100 | ||
END | ||
END | ||
END |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
; RUN: llvm-rc -no-preprocess /FO %t -- %p/Inputs/menuex.rc | ||
; RUN: llvm-readobj %t | FileCheck %s | ||
|
||
CHECK: Resource type (int): MENU (ID 4) | ||
CHECK-NEXT: Resource name (int): 101 | ||
CHECK-NEXT: Data version: 0 | ||
CHECK-NEXT: Memory flags: 0x1030 | ||
CHECK-NEXT: Language ID: 1033 | ||
CHECK-NEXT: Version (major): 0 | ||
CHECK-NEXT: Version (minor): 0 | ||
CHECK-NEXT: Characteristics: 0 | ||
CHECK-NEXT: Data size: 164 | ||
CHECK-NEXT: Data: ( | ||
CHECK-NEXT: 0000: 01000400 00000000 00000000 00000000 |................| | ||
CHECK-NEXT: 0010: F69C0000 81004600 69006C00 65000000 |......F.i.l.e...| | ||
CHECK-NEXT: 0020: 00000000 00000000 00000000 4B9C0000 |............K...| | ||
CHECK-NEXT: 0030: 00004C00 6F006100 64000000 00080000 |..L.o.a.d.......| | ||
CHECK-NEXT: 0040: 00000000 00000000 00000000 00000000 |................| | ||
CHECK-NEXT: 0050: 00000000 FB9C0000 81005300 61007600 |..........S.a.v.| | ||
CHECK-NEXT: 0060: 65007300 74006100 74006500 20005300 |e.s.t.a.t.e. .S.| | ||
CHECK-NEXT: 0070: 6C006F00 74000000 00000000 00000000 |l.o.t...........| | ||
CHECK-NEXT: 0080: 00000000 A39C0000 00002600 31000000 |..........&.1...| | ||
CHECK-NEXT: 0090: 00000000 00000000 A49C0000 80002600 |..............&.| | ||
CHECK-NEXT: 00A0: 32000000 |2...| | ||
CHECK-NEXT: ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.