Skip to content

Commit

Permalink
move the field
Browse files Browse the repository at this point in the history
  • Loading branch information
NQNStudios committed Feb 25, 2025
1 parent d913006 commit c02dd40
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/dialogxml/widgets/control.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ class cControl {
/// @throw xMissingAttr if a required attribute is missing
/// @throw xMissingElem if a required attribute is either missing or present in insufficient quantity
virtual void validatePostParse(ticpp::Element& who, std::string fname, const std::set<std::string>& attrs, const std::multiset<std::string>& nodes);
std::string name;
public:
/// Attach a keyboard shortcut to a control. Pressing the keyboard shortcut is equivalent to clicking the control.
/// @param key The desired keyboard shortcut.
Expand Down Expand Up @@ -450,6 +449,8 @@ class cControl {
cKey key;
/// Whether the control is the default control of its dialog.
bool isDefaultControl = false;
/// The control's id in its dialog/container
std::string name;

/// Draw a frame around the control.
/// @param amt How much to offset the frame from the control's bounding rect.
Expand Down

0 comments on commit c02dd40

Please sign in to comment.