41 if (!
pointer.inside || !chat.boxActive || chat.shaded)
47 if (chat.moving || chat.sizing || chat.scrolling ||
48 chat.fluffMoving || chat.fluffSizing || chat.fluffScrolling)
return;
49 const std::int64_t
left =
static_cast<std::int64_t
>(chat.windowX) + 5;
50 const std::int64_t
right =
static_cast<std::int64_t
>(chat.windowX) + chat.windowWidth - 20;
51 const std::int64_t
bottom =
static_cast<std::int64_t
>(chat.windowY) + chat.windowHeight - 4;
52 const auto top =
bottom - chat.fontHeight;
63 if (applied_ && current_ ==
kind)
return true;
std::atomic< float > left
std::atomic< float > right
bool sync(NativeCursorKind kind)
NativeCursorKind nativeCursorKind(const State &state, bool assetReady) noexcept
void setLeftDown(bool down) noexcept
bool assetVisible(const State &state) noexcept
void updatePosition(int x, int y, bool inside) noexcept
const State & stateReadOnly() noexcept
void setEnabled(bool enabled) noexcept
void updateChatCursor(const chat::State &chat) noexcept