bsnes-libretro/hiro/core/mouse-cursor.cpp
Tim Allen d87a0f633d Update to bsnes v107r4 beta release.
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.]
2019-07-07 19:44:09 +10:00

34 lines
764 B
C++

#if defined(Hiro_MouseCursor)
const string MouseCursor::Default = "";
const string MouseCursor::Hand = "{hand}";
const string MouseCursor::HorizontalResize = "{horizontal-resize}";
const string MouseCursor::VerticalResize = "{vertical-resize}";
MouseCursor::MouseCursor(const string& name) {
setName(name);
}
MouseCursor::operator bool() const {
return state.name;
}
auto MouseCursor::operator==(const MouseCursor& source) const -> bool {
return name() == source.name();
}
auto MouseCursor::operator!=(const MouseCursor& source) const -> bool {
return name() != source.name();
}
auto MouseCursor::name() const -> string {
return state.name;
}
auto MouseCursor::setName(const string& name) -> type& {
state.name = name;
return *this;
}
#endif