OEConfigureImageGridNumColumnsΒΆ

bool OEConfigureImageGridNumColumns(OESystem::OEInterface &itf,
                                    std::string name=OEImageGridParamName::NumColumns,
                                    std::string alias="-cols")

bool OEConfigureImageGridNumColumns(OESystem::OEInterface &itf,
                                    unsigned int defnumcols,
                                    std::string=OEImageGridParamName::NumColumns,
                                    std::string alias="-cols")

Adds a parameter to the given interface to allows the configuration of the number of grid columns.

itf
The interface being configured.
defnumcols
The default number of columns.
name
The name of the parameter.
alias
The alternative i.e. alias name of the parameter.

See also