Proposals:Landscape Manager plug-in

From Stellarium Wiki
Revision as of 14:18, 4 July 2010 by Daggerstab (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
DRAFT - TO BE EXPANDED

A plug-in that allows manipulating Stellarium landscapes from within Stellarium itself.

For a start, it should allow installing landscapes from zip files that have been downloaded to the desktop or somewhere else.

  • Un-compress archives (DONE)
  • Recognise landscape format (partially DONE), show message if invalid
  • Present an option to copy to user or main data folder
    • User friendly interface explaining the difference
    • Warning if the operation requires administrator rights
  • [Later] Detect 0.9-series landscape description format and suggest updating it to 0.10-series format (replace \n with <br/>, etc)

It should also offer the operation of removing installed landscapes. (DONE)

  • Recognise the original ones and prevent their deletion? (DONE)

Later: creating landscapes (not the images, only the configuration file + folder package):

  • Choose landscape type
  • Browse for images
  • Edit landscape name and description
  • Easy landscape orientation (Stellarium's current landscape engine allows reloading landscapes on-the-run)
  • Easy creation of "custom horizon" landscapes if this landscape type gets implemented

Contents

Required skills

  • text file manipulation
  • GUI design (please separate the GUI from the code that does the work - for example, please don't include the code for moving files in the class that provides the window)

Blueprints

Implementations

Add/Remove Landscapes plug-in

User:Daggerstab has written a simple plug-in implementing the two basic management features: installing a landscape from an archive and removing installed landscapes. The code is available here: http://stellarium.svn.sourceforge.net/viewvc/stellarium/trunk/extmodules/AddRemoveLandscapes/

Personal tools
Namespaces
Variants
Actions
in this wiki
other languages
Toolbox