- Cinch 1 2 1 – Simple Mouse Driven Window Management System
- Cinch 1 2 1 – Simple Mouse Driven Window Management System
Box2D C++ tutorials - Setting up (Windows)
- Cinch 1.2.4 MacOS 10 Mb Cinch gives you simple, mouse or trackpad-driven window management by defining the left, right, and top edges of your screen as 'hot zones'. Drag a window until the cursor hits one of these zones then drop the window to have it cinch into place.
- Sep 07, 2020 Cinch gives you simple, mouse or trackpad-driven window management by defining the left, right, and top edges of your screen as ‘hot zones’. Drag a window until the cursor hits one of these zones then drop the window to have it cinch into place.
Movie2picture 3 03. Cinch 1.2.4 macOS 10.1 Mb Cinch gives you simple, mouse or trackpad-driven window management by defining the left, right, and top edges of your screen as 'hot zones'. Paste 2 1 0 – clipboard history manager. Umbrella duplicate file prevention tool 1 1 0. Drag a window until the cursor enters one of these zones then drop the window to have it cinch into place.
Building the testbed (Windows)
Let's look at the process of setting up the default 'testbed'which is part of the Box2d source code base. The testbed is a veryuseful tool which contains examples of various features which you caninteract with using the mouse, adjust parameters, pause and step thesimulation etc.
Here I am installing on WindowsXP, using the free IDE Code::Blocks andthe free c++ compiler MinGW.
The simplest way to build the Box2D library is to use the Code::Blocksproject filewhich is included in the source code download. You can get Code::Blocksand the MinGW compiler together in one easy to install package from here. The first timeyou use Code::Blocks you will need to confirm that you are using theGNU gcc compiler.
Download the Box2D source code archive from hereand unzip it. In the Contributions/Platforms/CodeBlocks folder, youwill find a file called Box2D.workspace which can be opened withCode::Blocks. Unfortunately in the download file, theproject files seem to be out of sync and the filepaths were notmatching with the folder structure of the rest of the source. I fixedthe project files so that the paths match, you can download them here. Please use these to replacethe .workspace and .cbp files in the Codeblocks folder.
Box2D v2.1.2 Code::blocks project files
* Update: Box2D v2.2.0 has been released.
The tutorials on this site are using v2.1.2 but I will put thev2.2.0 project files here for those who might be looking for them.
Box2D v2.2.0 Code::blocks project files
Open the Box2D.workspace file with Code::Blocks and select 'Build andrun' from the main menu. If everything works out you should see thetestbed window showing like this:
Cinch 1 2 1 – Simple Mouse Driven Window Management System
Select from the drop-down list in the top right to try out the teststhat are currently in the testbed. We will be adding our own items intothis list later on.Testbed features
Cinch 1 2 1 – Simple Mouse Driven Window Management System
Apart from the obvious features visible in the right hand controlpanel, the testbed also allows you to:
- Move the view around - arrow keys or drag with right mousebutton
- Zoom the view - z,x keys
- Grab objects in the scene - left mouse button
- Launch a bullet into the scene from a random location - spacebar
- Launch a bullet into the scene - drag left mouse button whileholding shift, then let go