52 #ifndef __PCL_Button_h
53 #define __PCL_Button_h
57 #ifndef __PCL_BUILDING_PIXINSIGHT_APPLICATION
107 using check_state = CheckState::value_type;
149 int width, dum; GetIconSize( width, dum );
return width;
157 int dum, height; GetIconSize( dum, height );
return height;
170 SetIconSize( size, size );
177 GetIconSize( width, height ); width = PhysicalPixelsToLogical( width ); height = PhysicalPixelsToLogical( height );
184 int width, dum; GetIconSize( width, dum );
return PhysicalPixelsToLogical( width );
191 int dum, height; GetIconSize( dum, height );
return PhysicalPixelsToLogical( height );
198 SetIconSize( LogicalPixelsToPhysical( width ), LogicalPixelsToPhysical( height ) );
205 size = LogicalPixelsToPhysical( size );
206 SetIconSize( size, size );
402 EventHandlers() =
default;
403 EventHandlers(
const EventHandlers& ) =
default;
404 EventHandlers& operator =(
const EventHandlers& ) =
default;
418 friend class ButtonEventDispatcher;
Client-side interface to a PixInsight Bitmap object.
Client-side interface to a PixInsight Control object.