[Kstars-devel] KDE/kdeedu/kstars/kstars/skycomponents
Akarsh Simha
akarshsimha at gmail.com
Sun Jul 20 23:24:02 CEST 2008
> There is code in skymapevents.cpp that I suspect needs to be updated
> to match these changes. The functions I am thinking of are
> incMagLimit() and decMagLimit(), which are tied to Alt+Mousewheel
> events. Actually, I don't see any dependence on zoom level in those
> functions, so I may be wrong that these changes should manifest there
> as well.
Yeah, as you noticed, there is no magnitude limit dependence. This is
because the Alt + Wheel adjusts only the Star Density, which is
independent of zoom level.
> Anyway, it seems a bit fragile to have similar code in different
> places. Maybe we need SDtoMagLim() and magLimtoSD() functions...
Yes. Agreed. Any suggestions for a place for these functions? Would
these fit in as static functions of StarComponent?
Regards
Akarsh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mail.kde.org/pipermail/kstars-devel/attachments/20080721/573ac4ce/attachment.pgp
More information about the Kstars-devel
mailing list