mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-04-02 10:42:14 -04:00
byuu says: - bsnes: added video filters from bsnes v082 - bsnes: added ZSNES snow effect option when games paused or unloaded (no, I'm not joking) - bsnes: added 7-zip support (LZMA 19.00 SDK) [Recent higan WIPs have also mentioned bsnes changes, although the higan code no longer includes the bsnes code. These changes include: - higan, bsnes: added EXLOROM, EXLOROM-RAM, EXHIROM mappings - higan, bsnes: focus the viewport after leaving fullscreen exclusive mode - bsnes: re-added mightymo's cheat code database - bsnes: improved make install rules for the game and cheat code databases - bsnes: delayed construction of hiro::Window objects to properly show bsnes window icons - Ed.]
33 lines
830 B
C++
33 lines
830 B
C++
#if defined(Hiro_Canvas)
|
|
|
|
namespace hiro {
|
|
|
|
struct pCanvas : pWidget {
|
|
Declare(Canvas, Widget)
|
|
|
|
auto minimumSize() const -> Size override;
|
|
auto setAlignment(Alignment) -> void;
|
|
auto setColor(Color color) -> void;
|
|
auto setDroppable(bool droppable) -> void override;
|
|
auto setFocusable(bool focusable) -> void override;
|
|
auto setGeometry(Geometry geometry) -> void override;
|
|
auto setGradient(Gradient gradient) -> void;
|
|
auto setIcon(const image& icon) -> void;
|
|
auto update() -> void;
|
|
|
|
auto doMouseLeave() -> void override;
|
|
auto doMouseMove(int x, int y) -> void override;
|
|
auto windowProc(HWND, UINT, WPARAM, LPARAM) -> maybe<LRESULT> override;
|
|
|
|
auto _paint() -> void;
|
|
auto _rasterize() -> void;
|
|
auto _redraw() -> void;
|
|
|
|
vector<uint32_t> pixels;
|
|
signed width = 0;
|
|
signed height = 0;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|