elliotwoods / ofxCvGui

Panel based GUI library with DOM-like features for openFrameworks
http://www.kimchiandchips.com
32 stars 10 forks source link

Differentiate between (f)ullscreen and (m)aximise: #12

Closed fieldOfView closed 9 years ago

fieldOfView commented 9 years ago

Currently pressing "m" or "f" does almost the same thing. This patch changes that so "F"ullscreen acts on the window and "M"aximise acts on the panel. This way it is possible to have more than one pane in true fullscreen (yay for another 24 pixels at the top), and easily switch between maximised panels without changing the window fullscreen state.

fieldOfView commented 9 years ago

2nd commit changed all lineendings, 3rd commit fixes that, sorry.

elliotwoods commented 9 years ago

this looks clean enough! agree that m and f can do different things (m came later in the game, and it makes sense that f should change its action now that m exists) i presume you've tested it?