mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-14 18:23:08 +00:00
This change looks dramatic, but it's just separating out the already-split namespaces into separate top-level folders. In theory, every single one could be built into their own Nuget package. `SabreTools.Serialization` still builds the normal Nuget package that is used by all other projects and includes all namespaces.
47 lines
2.0 KiB
C#
47 lines
2.0 KiB
C#
namespace SabreTools.Data.Models.PortableExecutable.Resource.Entries
|
|
{
|
|
/// <summary>
|
|
/// A dialog box is also one resource entry in the resource file. It consists of one
|
|
/// DLGTEMPLATE dialog box header structure plus one DLGITEMTEMPLATE structure for each
|
|
/// control in the dialog box. The DLGTEMPLATEEX and the DLGITEMTEMPLATEEX structures
|
|
/// describe the format of extended dialog box resources.
|
|
/// </summary>
|
|
/// <see href="https://learn.microsoft.com/en-us/windows/win32/menurc/resource-file-formats"/>
|
|
public sealed class DialogBoxResource : ResourceDataType
|
|
{
|
|
#region Dialog template
|
|
|
|
/// <summary>
|
|
/// Dialog box header structure
|
|
/// </summary>
|
|
public DialogTemplate? DialogTemplate { get; set; }
|
|
|
|
/// <summary>
|
|
/// Dialog box extended header structure
|
|
/// </summary>
|
|
public DialogTemplateExtended? ExtendedDialogTemplate { get; set; }
|
|
|
|
#endregion
|
|
|
|
#region Dialog item templates
|
|
|
|
/// <summary>
|
|
/// Following the DLGTEMPLATE header in a standard dialog box template are one or more
|
|
/// DLGITEMTEMPLATE structures that define the dimensions and style of the controls in the dialog
|
|
/// box. The cdit member specifies the number of DLGITEMTEMPLATE structures in the template.
|
|
/// These DLGITEMTEMPLATE structures must be aligned on DWORD boundaries.
|
|
/// </summary>
|
|
public DialogItemTemplate[]? DialogItemTemplates { get; set; }
|
|
|
|
/// <summary>
|
|
/// Following the DLGTEMPLATEEX header in an extended dialog box template is one or more
|
|
/// DLGITEMTEMPLATEEX structures that describe the controls of the dialog box. The cDlgItems
|
|
/// member of the DLGITEMTEMPLATEEX structure specifies the number of DLGITEMTEMPLATEEX
|
|
/// structures that follow in the template.
|
|
/// </summary>
|
|
public DialogItemTemplateExtended[]? ExtendedDialogItemTemplates { get; set; }
|
|
|
|
#endregion
|
|
}
|
|
}
|