Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using SplashKitSDK;
using static SplashKitSDK.SplashKit;
using SplashKitSDK;

OpenWindow("Mouse Shown", 800, 600);

Expand Down
3 changes: 2 additions & 1 deletion public/usage-examples/input/mouse_shown-1-example.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#include "splashkit.h"
#include <string>

int main()
{
Expand All @@ -16,7 +17,7 @@ int main()
hide_mouse();

// mouse_shown returns true if the mouse cursor is currently visible
string status;
std::string status;
if (mouse_shown())
status = "Mouse is visible";
else
Expand Down
Loading