Mercurial > hg > screen-ui
comparison src/melodyTriangle.h @ 38:330f2746fedd tip
Added keys help in a smaller font; changed loadness keyboard controls.
author | samer |
---|---|
date | Mon, 27 Feb 2012 20:09:10 +0000 |
parents | 260cc4f4d70a |
children |
comparison
equal
deleted
inserted
replaced
37:260cc4f4d70a | 38:330f2746fedd |
---|---|
51 void voiceKeypress(Voice *v, int key); | 51 void voiceKeypress(Voice *v, int key); |
52 void setKeyboardEnable(bool en); | 52 void setKeyboardEnable(bool en); |
53 bool clipToTriangle(int *cx, int *cy); | 53 bool clipToTriangle(int *cx, int *cy); |
54 void fitTriangleIn(int w, int h); | 54 void fitTriangleIn(int w, int h); |
55 void reset(); | 55 void reset(); |
56 string help_string(bool global); | |
56 | 57 |
57 // Immutable after construction and setup | 58 // Immutable after construction and setup |
58 ofxOscSender sender; | 59 ofxOscSender sender; |
59 ofxOscReceiver receiver; | 60 ofxOscReceiver receiver; |
60 int receivePort; // for sending /reply_to message | 61 int receivePort; // for sending /reply_to message |
70 bool constrained; | 71 bool constrained; |
71 bool enableKeys; | 72 bool enableKeys; |
72 bool allowExit; | 73 bool allowExit; |
73 bool snapTruePos; | 74 bool snapTruePos; |
74 bool randInit; | 75 bool randInit; |
75 int display_frames; | |
76 int ratio; | 76 int ratio; |
77 int tempoIndex; | 77 int tempoIndex; |
78 int display_frames; | |
78 string display_msg; | 79 string display_msg; |
79 ofTrueTypeFont display_font; | 80 ofTrueTypeFont *display_font; |
81 ofTrueTypeFont help_font; | |
82 ofTrueTypeFont main_font; | |
80 }; | 83 }; |