openframeworks/openFrameworks — pull request #2154 by LeoColomb (2013-06-27 15:30:46+00:00)
Title: Window customization on Win32

Linked with #2143
I've tried to add the ability to change window "chrome" on Win32 in Glut part.

```cpp
void ofAppGlutWindow::setChromeWindowWin32(bool titleBar = true, bool borderFrame = true)
```

What do you think about this?

### Examples
* **Default**

![capture](https://f.cloud.github.com/assets/846943/716706/f57f40e6-df3b-11e2-82d6-9aaa9c51efcf.png)

* **Without title bar**

```cpp
int main(int argc, char *argv[]) {
ofAppGlutWindow window;
window.setChromeWindowWin32(false);
ofSetupOpenGL(&window, 1024, 610, OF_WINDOW);
testApp * app = new testApp;
ofRunApp(app);
}
```
![capture2](https://f.cloud.github.com/assets/846943/716715/08876880-df3c-11e2-94ad-5a2c89a783dc.png)

* **No border**

```cpp
window.setChromeWindowWin32(false, false);
```
![capture3](https://f.cloud.github.com/assets/846943/716737/5fc27504-df3c-11e2-919d-4eca9fdfbe60.png)

* **Bonus**

Borders+Title bar but only close button on window menu.
```cpp
window.setChromeWindowWin32();
```
![capture4](https://f.cloud.github.com/assets/846943/716810/0653816e-df3e-11e2-985e-88237a447dcc.png)