Commit Graph

60 Commits (master)
 

Author SHA1 Message Date
Peter Nelson f6ac33251c Fix ui:touch support 2013-02-23 09:21:18 +00:00
Peter Nelson a91526c672 Add support for ui:touch extension (not tested in a host) 2013-02-18 19:20:35 +00:00
Peter Nelson d2c38bb48a Configure blending at start of drawing. 2013-02-12 15:13:09 +00:00
Peter Nelson 34283bd754 Add externl UI to rdf. 2013-02-12 15:09:56 +00:00
Peter Nelson 4660fd587b Add support for old external UI extension. 2013-02-12 15:08:50 +00:00
Peter Nelson 595baa3a37 Match by plugin URI instead of UI URI. 2013-02-12 14:10:14 +00:00
Peter Nelson cd80d7701c Support scaled UI again. 2013-02-10 14:49:31 +00:00
Peter Nelson 7f92ee1565 Refactor LV2UI support:
Move all LV2UI initialisation to lv2pui class.
Register UIs via factory pattern.

Plugin UI code is now just widget initialisation, the rest is handled by PUI.
2013-02-09 20:27:18 +00:00
Peter Nelson 0fc08cf88f Initialise widgets and UI on construction. 2013-02-09 10:14:14 +00:00
Peter Nelson eb5be86a6e Use (de|con)structors 2013-02-09 10:02:48 +00:00
Peter Nelson 933e67c687 Delete buffers properly 2013-02-09 09:28:17 +00:00
Peter Nelson 9dfea26e0e Add small & large button widgets 2013-02-08 21:37:03 +00:00
Peter Nelson a72b7d37df Use automatic widget packing. 2013-02-08 15:52:32 +00:00
Peter Nelson de4987eee1 Automatic container resizing when packing widgets. 2013-02-08 15:51:26 +00:00
Peter Nelson 313f8a61ed Add source files for textures. 2013-02-08 15:12:36 +00:00
Peter Nelson 20bf4e85f5 Rewrite slider code to draw from a single packed texture.
Add new packed texture (drawn by yours-truely)
Remove old textures (borrowed from Calf)
2013-02-08 15:10:49 +00:00
Peter Nelson b9db91cfdf Make embedded font file during compilation instead of distributing it. 2013-02-08 11:12:34 +00:00
Peter Nelson c0860da3a6 Add COPYING files and copyright to each source file. 2013-02-08 10:48:23 +00:00
Peter Nelson 242f52b391 Clean up rdf and helper tool 2013-02-07 10:08:28 +00:00
Peter Nelson 527f2ec77e Remove ptap.ttl as it is now auto-created 2013-02-06 23:11:37 +00:00
Peter Nelson a460b65485 Add helper util to build rdf. 2013-02-06 23:10:53 +00:00
Peter Nelson d86d43eddd Configurable container background 2013-02-06 19:50:18 +00:00
Peter Nelson 57e181ba3f Add 'brushed metal' texture 2013-02-06 19:49:57 +00:00
Peter Nelson 857b4a40c5 Mark plugin as RT capable. 2013-02-06 19:41:50 +00:00
Peter Nelson fef145691e Use lv2 instead of lv2core 2013-02-06 19:40:38 +00:00
Peter Nelson 2a421ff619 Don't check for buffer wrap unless necessary this cycle. 2013-02-06 01:12:13 +00:00
Peter Nelson 14441af2c4 Performance optimisations
Use local arrays/variables to avoid multiple deferences.
Merge outputs with delays to allow compiler to optimise loops.
lv2bench shows nearly 5x cpu performance improvement.
2013-02-06 00:46:45 +00:00
Peter Nelson a0e5770e28 Allow very fine value adjustment. 2013-02-05 19:28:56 +00:00
Peter Nelson ceafbff5f4 Handle widget outline in base class. 2013-02-05 19:15:41 +00:00
Peter Nelson cac5f476d5 Add selective rendering of active/inactive knob texture. 2013-02-05 18:33:05 +00:00
Peter Nelson f97c3d1a71 Improve readibility by including a shadow on slider labels. 2013-02-05 18:31:01 +00:00
Peter Nelson c0ea6348bc Add new knob textures 2013-02-05 18:29:59 +00:00
Peter Nelson 7992dbc858 Declutter UI - remove word "Tap" 2013-02-04 18:42:03 +00:00
Peter Nelson 1932349dd3 Fix typos in ptap ttl 2013-02-04 18:38:21 +00:00
Peter Nelson dd2d07f227 Clean up container names 2013-02-04 08:27:53 +00:00
Peter Nelson 43ef44aa97 Use automatic widget placement 2013-02-04 08:21:10 +00:00
Peter Nelson d559b129fe Add HBox and VBox with automatic widget placement 2013-02-04 08:20:39 +00:00
Peter Nelson f9417010be Don't access container's children directly 2013-02-04 07:35:40 +00:00
Peter Nelson 2841c71f7f Add FTGL dependency and text all the things 2013-02-04 07:31:26 +00:00
Peter Nelson 35a44308d9 Pass PUi object as parameter of OnPaint instead of requiring to be during widget creation. 2013-02-03 20:11:09 +00:00
Peter Nelson 464856b95a Reduce contrast of output taps. Allow scaled UI. 2013-02-03 19:58:13 +00:00
Peter Nelson 8740ac4fbf Remove old background 2013-02-03 19:56:17 +00:00
Peter Nelson ebcf58aa91 Replace large background with two computed textures. Object size is reduced and UI can be scaled properly. Add optional frame to container. 2013-02-03 19:54:40 +00:00
Peter Nelson 94b6ed53b6 Handle some key presses. Support scaled UI. 2013-02-03 19:53:55 +00:00
Peter Nelson ec2f1ee970 Typo 2013-02-03 13:58:55 +00:00
Peter Nelson ed6842bf22 Split UI from plugin 2013-02-03 13:49:18 +00:00
Peter Nelson 2687087805 Add clean to project scope 2013-02-03 13:41:51 +00:00
Peter Nelson bfa16b996b Tidy up UI 2013-02-03 13:40:41 +00:00
Peter Nelson 971d432963 Add container background texture 2013-02-03 13:40:18 +00:00
Peter Nelson 3009f08a76 Add slider colour modifier and active-highlight 2013-02-03 13:39:34 +00:00