Lines Matching refs:Ctl
984 Error ResourceFileWriter::writeSingleDialogControl(const Control &Ctl, in writeSingleDialogControl() argument
989 auto TypeInfo = Control::SupportedCtls.lookup(Ctl.Type); in writeSingleDialogControl()
991 CtlStyle |= Ctl.Style.getValueOr(RCInt(0)); in writeSingleDialogControl()
992 uint32_t CtlExtStyle = Ctl.ExtStyle.getValueOr(0); in writeSingleDialogControl()
1006 } Prefix{ulittle32_t(Ctl.HelpID.getValueOr(0)), ulittle32_t(CtlExtStyle), in writeSingleDialogControl()
1013 Ctl.X, "Dialog control x-coordinate", true)); in writeSingleDialogControl()
1015 Ctl.Y, "Dialog control y-coordinate", true)); in writeSingleDialogControl()
1017 checkSignedNumberFits<int16_t>(Ctl.Width, "Dialog control width", false)); in writeSingleDialogControl()
1019 Ctl.Height, "Dialog control height", false)); in writeSingleDialogControl()
1025 } Middle{ulittle16_t(Ctl.X), ulittle16_t(Ctl.Y), ulittle16_t(Ctl.Width), in writeSingleDialogControl()
1026 ulittle16_t(Ctl.Height)}; in writeSingleDialogControl()
1033 if (Ctl.ID != static_cast<uint32_t>(-1)) in writeSingleDialogControl()
1035 Ctl.ID, "Control ID in simple DIALOG resource")); in writeSingleDialogControl()
1036 writeInt<uint16_t>(Ctl.ID); in writeSingleDialogControl()
1038 writeInt<uint32_t>(Ctl.ID); in writeSingleDialogControl()
1042 RETURN_IF_ERROR(writeIntOrString(Ctl.Class)); in writeSingleDialogControl()
1045 RETURN_IF_ERROR(checkIntOrString(Ctl.Title, "Control reference ID")); in writeSingleDialogControl()
1046 RETURN_IF_ERROR(writeIntOrString(Ctl.Title)); in writeSingleDialogControl()
1154 auto handleCtlError = [&](Error &&Err, const Control &Ctl) -> Error { in writeDialogBody() argument
1157 return joinErrors(createError("Error in " + Twine(Ctl.Type) + in writeDialogBody()
1158 " control (ID " + Twine(Ctl.ID) + "):"), in writeDialogBody()
1162 for (auto &Ctl : Res->Controls) in writeDialogBody() local
1164 handleCtlError(writeSingleDialogControl(Ctl, Res->IsExtended), Ctl)); in writeDialogBody()