diff options
| author | Martin Storsjo <martin@martin.st> | 2018-05-08 20:55:58 +0000 |
|---|---|---|
| committer | Martin Storsjo <martin@martin.st> | 2018-05-08 20:55:58 +0000 |
| commit | 818bd56809be068978762b2e9c104f7d86acd303 (patch) | |
| tree | c0faad58715fe6f6af1a0caa16920dfe84b8ef3b /llvm/tools/llvm-rc/ResourceScriptStmt.h | |
| parent | f9fa17b87309a6e9a13792102bf23f2b3f7a738d (diff) | |
| download | bcm5719-llvm-818bd56809be068978762b2e9c104f7d86acd303.tar.gz bcm5719-llvm-818bd56809be068978762b2e9c104f7d86acd303.zip | |
[llvm-rc] Add support for all missing dialog controls
Differential Revision: https://reviews.llvm.org/D46507
llvm-svn: 331808
Diffstat (limited to 'llvm/tools/llvm-rc/ResourceScriptStmt.h')
| -rw-r--r-- | llvm/tools/llvm-rc/ResourceScriptStmt.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/tools/llvm-rc/ResourceScriptStmt.h b/llvm/tools/llvm-rc/ResourceScriptStmt.h index 485b7cab1d2..82f7d11aeb4 100644 --- a/llvm/tools/llvm-rc/ResourceScriptStmt.h +++ b/llvm/tools/llvm-rc/ResourceScriptStmt.h @@ -542,6 +542,7 @@ public: IntOrString Title; uint32_t ID, X, Y, Width, Height; Optional<uint32_t> Style, ExtStyle, HelpID; + IntOrString Class; // Control classes as described in DLGITEMTEMPLATEEX documentation. // @@ -565,10 +566,10 @@ public: Control(StringRef CtlType, IntOrString CtlTitle, uint32_t CtlID, uint32_t PosX, uint32_t PosY, uint32_t ItemWidth, uint32_t ItemHeight, Optional<uint32_t> ItemStyle, Optional<uint32_t> ExtItemStyle, - Optional<uint32_t> CtlHelpID) + Optional<uint32_t> CtlHelpID, IntOrString CtlClass) : Type(CtlType), Title(CtlTitle), ID(CtlID), X(PosX), Y(PosY), Width(ItemWidth), Height(ItemHeight), Style(ItemStyle), - ExtStyle(ExtItemStyle), HelpID(CtlHelpID) {} + ExtStyle(ExtItemStyle), HelpID(CtlHelpID), Class(CtlClass) {} static const StringMap<CtlInfo> SupportedCtls; |

