Mercurial > hg > screen-ui
diff src/main.cpp @ 23:460c05dd74d0
Various enhancements and code refactorings:
* added some compiler warnings.
* text display is centred and with settable TrueType font
* removed highlight member from Voice state - value is derived from other data
and passed to Voice::draw()
* Changed voice radius from member to defined constant
* default number of voices is now 4
* adjusted some colours and buffer zone width
* new keyboard commands: reset, quit.
* when keyboard disabled, keys are now passed to server via OSC
* added handlers for various new OSC messages:
- fullscreen, reset, quit, keyboard enable
- notify (voice state) : several sub-messages
* call reset and calibrate on window resize (fits triangle to window)
author | samer |
---|---|
date | Sat, 04 Feb 2012 23:14:38 +0000 |
parents | 3dff71c0e7fd |
children |
line wrap: on
line diff
--- a/src/main.cpp Thu Feb 02 18:17:24 2012 +0000 +++ b/src/main.cpp Sat Feb 04 23:14:38 2012 +0000 @@ -4,7 +4,7 @@ #define HOST "localhost" #define PORT 7770 -#define NUMVOICES 3 +#define NUMVOICES 4 #define RECEIVEPORT 7771 //========================================================================