DIE Engine
Loading...
Searching...
No Matches
WdgTexSelector Class Reference

#include <wdgtexselector.h>

Inheritance diagram for WdgTexSelector:

Public Member Functions

 WdgTexSelector (QWidget *parent=nullptr)
void setScroll (int scroll)
int getScroll ()
void slice (const QString &path)
 Export every tile as a 3x3 mosaik PNG (for seamless painting).
void concat (const QString &path)
 Rebuild the strip from 3x3 mosaik PNGs (centre tile of each).

Protected Member Functions

void paintEvent (QPaintEvent *event) override
void mousePressEvent (QMouseEvent *event) override
void wheelEvent (QWheelEvent *event) override

Detailed Description

WALLER Map editor for the DIE engine (c) Fred's Lab 2024-2026 Frédéric Meslin / info@.nosp@m.fred.nosp@m.slab..nosp@m.net SPDX-License-Identifier: MIT If used commercially, contributions, donations are highly appreciated.

texture strip selector widget

Constructor & Destructor Documentation

◆ WdgTexSelector()

WdgTexSelector::WdgTexSelector ( QWidget * parent = nullptr)
explicit

WALLER Map editor for the DIE engine (c) Fred's Lab 2024-2026 Frédéric Meslin / info@.nosp@m.fred.nosp@m.slab..nosp@m.net SPDX-License-Identifier: MIT If used commercially, contributions, donations are highly appreciated.

texture strip selector widget

Member Function Documentation

◆ concat()

void WdgTexSelector::concat ( const QString & path)

Rebuild the strip from 3x3 mosaik PNGs (centre tile of each).

◆ getScroll()

int WdgTexSelector::getScroll ( )
inline

◆ mousePressEvent()

void WdgTexSelector::mousePressEvent ( QMouseEvent * event)
overrideprotected

◆ paintEvent()

void WdgTexSelector::paintEvent ( QPaintEvent * event)
overrideprotected

◆ setScroll()

void WdgTexSelector::setScroll ( int scroll)

◆ slice()

void WdgTexSelector::slice ( const QString & path)

Export every tile as a 3x3 mosaik PNG (for seamless painting).

◆ wheelEvent()

void WdgTexSelector::wheelEvent ( QWheelEvent * event)
overrideprotected

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