<div dir="ltr">Hi Artem,<div><br></div><div>1. I think the #ifdef while would make the code uglier but it is the way to go. This is because creating a separate project for kstars-lite would make it obsolete and out of date very soon with the main branch. </div><div>2. The updatePlanets is to update all solar system bodies including computation of their current JNow coordinates and Equatorial to Horizontal conversion. This happens on a faster update cycle than regular 'update' which is called once every solar minute. I renamed the function and added some documentation so it becomes clearer.</div><div><br></div><div>Good luck and keep us posted with your progress!</div><div><br></div><div>Regards,</div><div>Jasem</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Apr 30, 2016 at 7:01 PM, Artem Fedoskin <span dir="ltr"><<a href="mailto:afedoskin3@gmail.com" target="_blank">afedoskin3@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span dir="ltr" style="text-align:left">Dear KStars team<br></span><div><div><span dir="ltr" style="text-align:left"><br>I'm currently investigating the way of integrating KStars Lite in KStars and have a bunch of questions:<br><br>1.I
 decided to write from scratch KStars class, as it is a subclass of 
KXmlGuiWindow, which won't be used in Lite version, SkyMap class and 
everything related to old SkyMap. However, I will just add new code and 
block the old one in such classes like KStarsData and derivatives of 
SkyComponent/SkyComposite with #ifdef KSTARS_LITE macros, like it is 
already done with INDI and OpenGL support. Is it ok?<br>2. What is the 
difference in, for example, SolarSystemSingleComponent between update() 
and updatePlanets() functions? The latter recomputes position of planet 
with new KSNumbers value, right?<br><br>I will start by creating new 
KStarsLite class, add all stuff related to loading QML files and then 
begin working with SkyMap. For now I will use my UI prototype, that I 
showed in proposal, but later I will change it with the new one, 
which will be probably based on Kirigami framework.</span></div></div></div>
<br>_______________________________________________<br>
Kstars-devel mailing list<br>
<a href="mailto:Kstars-devel@kde.org">Kstars-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kstars-devel" rel="noreferrer" target="_blank">https://mail.kde.org/mailman/listinfo/kstars-devel</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Best Regards,<br>Jasem Mutlaq<br></div><div><br></div></div></div>
</div>