From: hermann <bru...@we...> - 2011-05-06 10:36:21
|
Am Freitag, den 06.05.2011, 05:42 +0100 schrieb pete: > finally got around to knocking out a wheel. it's basic but > serviceable. > it's larger than the old one which probably isn't a bad thing. > like the rest of the widget renders, it needs some more work but i'm > hoping i'll have more of a feel for what to do when all the basics are > in. > > i extended GxWheel in the end, mainly for compatibility with the old > skins. > supporting code is almost done and mostly functional but the backwards > compatibility isn't there yet. also, the numerical labels on the > distortion plugin are missing for reasons i haven't figured out yet. > (there's space allocated for them, their value entry spinner works but > there's nothing displayed) > > i also changed the knob-framecount style property name to just > framecount. makes more sense when used on multiple widgets. > > since it's usable i'll commit then fix it when i can. > > pete. Great, looks real cool now. :-)) To the value display, you just forget to add it to the expose call, add line 91 _gx_regler_display_value(regler, &value_rect); and it will shown. I notice also that the g_object_unref(wb) call is place in the wrong line, it's better placed outside the else {} after the } line 125. Anyhow, it looks real cool, now, we would properly change the well behaviour to "jumptomouse" means same behaviour like the knobs in linear mode. greats hermann |