mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-08 14:26:30 +02: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.]
24 lines
568 B
C++
24 lines
568 B
C++
#if defined(Hiro_TextCursor)
|
|
struct TextCursor {
|
|
using type = TextCursor;
|
|
|
|
TextCursor(int offset = 0, int length = 0);
|
|
|
|
explicit operator bool() const;
|
|
auto operator==(const TextCursor& source) const -> bool;
|
|
auto operator!=(const TextCursor& source) const -> bool;
|
|
|
|
auto length() const -> int;
|
|
auto offset() const -> int;
|
|
auto setLength(int length = 0) -> type&;
|
|
auto setOffset(int offset = 0) -> type&;
|
|
auto setTextCursor(int offset = 0, int length = 0) -> type&;
|
|
|
|
//private:
|
|
struct State {
|
|
int offset;
|
|
int length;
|
|
} state;
|
|
};
|
|
#endif
|