Generated reference › API — ICoreEssentials/UI/Filters
kind: generated#api#icoreessentials-ui-filters

API — ICoreEssentials/UI/Filters

The public contract of 1 header(s) under src/ICoreEssentials/UI/Filters — 1 class/struct definition(s), 8 declaration(s). Each section shows the header's banner and its public (and protected-virtual) surface exactly as the file writes it.

HeaderDefinesDeclarationsBases
ICoreWidgetResizeFilter.hICoreWidgetResizeFilter8public ICoreNativeObject

ICoreWidgetResizeFilter.h#

src/ICoreEssentials/UI/Filters/ICoreWidgetResizeFilter.h

ICoreWidgetResizeFilter#

ICoreWidgetResizeFilter.h:37 · class · bases public ICoreNativeObject · pImpl · 8 declaration(s)

ICoreWidgetResizeFilter -- keeps one widget positioned relative to another as that other one resizes.

class ICoreWidgetResizeFilter : public ICoreNativeObject {
public:
    // Both may be null, and the filter then does nothing rather than crashing
    // -- one call site builds it from a window() that is not guaranteed to
    // resolve. Nothing is installed in that case.
    ICoreWidgetResizeFilter(ICoreNativeWidget* parent, ICoreNativeWidget* child);

    ~ICoreWidgetResizeFilter() override;

    void setXScale(double scale);
    void setYScale(double scale);

    void setXOffset(int offset);
    void setYOffset(int offset);

    // Apply the binding now, without waiting for a resize.
    void applyCurrentBinding() const;

    ICoreNativeHandle nativeObjectHandle() const override;

private:
    class Impl;                    // the two-line residue; state lives here
    std::unique_ptr<Impl> impl;
};