Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - KnIfER

Pages: [1]
1
Window / How to make the entire window draggable?
« on: March 24, 2018, 02:28:56 am »
Hi all :),I am using sfml on the platform windows,to mimic potplayer. 
with sfml and windows my application is blocked while resizing or moving,so I've decided to abandon the default title bar and the four borders:
sf::RenderWindowmy window(vmode, "Imgui-sfml widgets test", 0);

Now I have a lot of questions:
  I.How to make the entire window draggable?(solved)
 II.Is it possible to fake a title bar and four borders using imgui?
III.Once I've faked four borders,how do I change mouse cursor when it is hovering on one of the boders?

I think the first question is the simplest so I use that as my title.

Pages: [1]