LIEF: Library to Instrument Executable Formats Version 0.16.0
Loading...
Searching...
No Matches
LIEF::PE::ResourceDialogItem Class Reference

This class represents an item in the ResourceDialog. More...

#include <ResourceDialogItem.hpp>

Inheritance diagram for LIEF::PE::ResourceDialogItem:
Collaboration diagram for LIEF::PE::ResourceDialogItem:

Public Member Functions

 ResourceDialogItem ()
 
 ResourceDialogItem (const details::pe_dialog_item_template_ext &header)
 
 ResourceDialogItem (const details::pe_dialog_item_template &header)
 
 ResourceDialogItem (const ResourceDialogItem &)
 
ResourceDialogItemoperator= (const ResourceDialogItem &)
 
 ~ResourceDialogItem () override
 
bool is_extended () const
 True if the control is an extended one
 
uint32_t extended_style () const
 The extended styles for a window.
 
std::set< EXTENDED_WINDOW_STYLESextended_style_list () const
 List of PE::EXTENDED_WINDOW_STYLES associated with the ResourceDialogItem::extended_style value.
 
bool has_extended_style (EXTENDED_WINDOW_STYLES style) const
 Check if the DialogItem has the given PE::EXTENDED_WINDOW_STYLES.
 
uint32_t style () const
 The style of the control.
 
std::set< WINDOW_STYLESstyle_list () const
 
bool has_style (WINDOW_STYLES style) const
 
int16_t x () const
 The x-coordinate, in dialog box units, of the upper-left corner of the control. This coordinate is always relative to the upper-left corner of the dialog box's client area.
 
int16_t y () const
 The y-coordinate, in dialog box units, of the upper-left corner of the control. This coordinate is always relative to the upper-left corner of the dialog box's client area.
 
int16_t cx () const
 The width, in dialog box units, of the control.
 
int16_t cy () const
 The height, in dialog box units, of the control.
 
uint32_t id () const
 The control identifier.
 
uint32_t help_id () const
 The help context identifier for the control.
 
const std::u16string & title () const
 Initial text of the control.
 
void accept (Visitor &visitor) const override
 
- Public Member Functions inherited from LIEF::Object
 Object ()
 
 Object (const Object &other)
 
Objectoperator= (const Object &other)
 
template<class T >
output_t< T > as ()
 
template<class T >
output_const_t< T > as () const
 
virtual bool operator== (const Object &other) const
 
virtual bool operator!= (const Object &other) const
 
virtual ~Object ()
 

Additional Inherited Members

- Public Types inherited from LIEF::Object
template<class T >
using output_t = add_pointer_t<decay_t<T>>
 
template<class T >
using output_const_t = add_pointer_t<add_const_t<decay_t<T>>>
 

Detailed Description

This class represents an item in the ResourceDialog.

Constructor & Destructor Documentation

◆ ResourceDialogItem() [1/4]

LIEF::PE::ResourceDialogItem::ResourceDialogItem ( )

◆ ResourceDialogItem() [2/4]

LIEF::PE::ResourceDialogItem::ResourceDialogItem ( const details::pe_dialog_item_template_ext & header)

◆ ResourceDialogItem() [3/4]

LIEF::PE::ResourceDialogItem::ResourceDialogItem ( const details::pe_dialog_item_template & header)

◆ ResourceDialogItem() [4/4]

LIEF::PE::ResourceDialogItem::ResourceDialogItem ( const ResourceDialogItem & )

◆ ~ResourceDialogItem()

LIEF::PE::ResourceDialogItem::~ResourceDialogItem ( )
override

Member Function Documentation

◆ accept()

void LIEF::PE::ResourceDialogItem::accept ( Visitor & visitor) const
overridevirtual

Implements LIEF::Object.

◆ cx()

int16_t LIEF::PE::ResourceDialogItem::cx ( ) const

The width, in dialog box units, of the control.

◆ cy()

int16_t LIEF::PE::ResourceDialogItem::cy ( ) const

The height, in dialog box units, of the control.

◆ extended_style()

uint32_t LIEF::PE::ResourceDialogItem::extended_style ( ) const

The extended styles for a window.

◆ extended_style_list()

std::set< EXTENDED_WINDOW_STYLES > LIEF::PE::ResourceDialogItem::extended_style_list ( ) const

◆ has_extended_style()

bool LIEF::PE::ResourceDialogItem::has_extended_style ( EXTENDED_WINDOW_STYLES style) const

Check if the DialogItem has the given PE::EXTENDED_WINDOW_STYLES.

◆ has_style()

bool LIEF::PE::ResourceDialogItem::has_style ( WINDOW_STYLES style) const

◆ help_id()

uint32_t LIEF::PE::ResourceDialogItem::help_id ( ) const

The help context identifier for the control.

◆ id()

uint32_t LIEF::PE::ResourceDialogItem::id ( ) const

The control identifier.

◆ is_extended()

bool LIEF::PE::ResourceDialogItem::is_extended ( ) const

True if the control is an extended one

◆ operator=()

ResourceDialogItem & LIEF::PE::ResourceDialogItem::operator= ( const ResourceDialogItem & )

◆ style()

uint32_t LIEF::PE::ResourceDialogItem::style ( ) const

The style of the control.

◆ style_list()

std::set< WINDOW_STYLES > LIEF::PE::ResourceDialogItem::style_list ( ) const

◆ title()

const std::u16string & LIEF::PE::ResourceDialogItem::title ( ) const

Initial text of the control.

◆ x()

int16_t LIEF::PE::ResourceDialogItem::x ( ) const

The x-coordinate, in dialog box units, of the upper-left corner of the control. This coordinate is always relative to the upper-left corner of the dialog box's client area.

◆ y()

int16_t LIEF::PE::ResourceDialogItem::y ( ) const

The y-coordinate, in dialog box units, of the upper-left corner of the control. This coordinate is always relative to the upper-left corner of the dialog box's client area.


The documentation for this class was generated from the following file: