<div dir="ltr"><div><div><div><span class="im"><div>>>  This is because creating a separate project for kstars-lite would make 
it obsolete and out of date very soon with the main branch. <br></div></span>That is exactly the reason why I want to use #ifdef. It would be hard to maintain separate project.<br><br></div>Thank you!<br><br></div>Regards,<br></div>Artem<div class="gmail_extra"><br><div class="gmail_quote">2016-04-30 18:51 GMT+02:00 Artem Fedoskin <span dir="ltr"><<a href="mailto:afedoskin3@gmail.com" target="_blank">afedoskin3@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><span class=""><div>>>  This is because creating a separate project for kstars-lite would make 
it obsolete and out of date very soon with the main branch. <br></div></span>That is exactly the reason why I want to use #ifdef. It would be hard to maintain separate project.<br><br></div>Thank you!<br><br></div>Regards,<br></div>Artem<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2016-04-30 18:42 GMT+02:00 Jasem Mutlaq <span dir="ltr"><<a href="mailto:mutlaqja@ikarustech.com" target="_blank">mutlaqja@ikarustech.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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"><div><div>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></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><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></div></div>_______________________________________________<br>
Kstars-devel mailing list<br>
<a href="mailto:Kstars-devel@kde.org" target="_blank">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><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div>Best Regards,<br>Jasem Mutlaq<br></div><div><br></div></div></div>
</font></span></div>
<br>_______________________________________________<br>
Kstars-devel mailing list<br>
<a href="mailto:Kstars-devel@kde.org" target="_blank">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></div>
</div></div></blockquote></div><br></div></div>