Commit Graph

70 Commits

Author SHA1 Message Date
Gergely Polonkai c0608379f1 Update the Edit tab UI
* Controls moved to more sane positions
* House system drop down moved to the chart toolbar
2014-09-30 17:01:42 +02:00
Gergely Polonkai 2fc2133418 Fix Aquarius symbol 2014-09-28 10:37:56 +02:00
Gergely Polonkai 84b622c622 Make chart/image/icon size parameters for the XSLT; the chart depends on them
Almost all sizes depend on $image_size or $icon_size now
2014-09-28 01:30:45 +02:00
Gergely Polonkai 76f249aaf2 Fix AgWindow’s selection mode cancel button 2014-09-26 23:52:11 +02:00
Gergely Polonkai a8170b90fd Replace GdMainView with AgIconView in the main window 2014-09-26 22:22:10 +02:00
Gergely Polonkai 023dbcb55f Make chart image size dynamic
It now depends on the maximum distance of icons from the chart
2014-09-24 21:46:43 +02:00
Gergely Polonkai f4b87a7c09 Add Moon phase visualisation to the chart 2014-09-24 13:01:14 +02:00
Gergely Polonkai c1703e0f4f Change aspect and antiscion classes to (aspect|antiscion)-p
This clears up possible naming clashes
2014-09-22 01:20:59 +02:00
Gergely Polonkai efa94b350f Add comet Asbolus to the list of planets 2014-09-21 23:50:35 +02:00
Gergely Polonkai 8a4eb378e9 Add a theme parameter to the SVG/image generating functions
This is needed for image generation to include display themes.
Fixes #82
2014-09-21 23:05:07 +02:00
Gergely Polonkai 3c5582d5e2 Fix CSS bug in chart-default.css
.aspect-sextile was missing a semicolon
2014-09-21 22:55:28 +02:00
Gergely Polonkai 7fe6a16401 Add a rendering parameter to ag_chart_create_svg()
Based upon this parameter a <rect> is included in the resulting SVG
document, providing a background color, and so is the chart CSS.
2014-09-17 11:25:40 +02:00
Gergely Polonkai e87adf8497 Fix chart XSL file
The resulting image didn’t comply with the SVG standard, as it accidentally
had some IDs prefixed with ‘#’
2014-09-17 11:25:40 +02:00
Gergely Polonkai 8e60f5611c Refactor SVG save action/dialog to be a general image saving function 2014-09-17 11:25:40 +02:00
Gergely Polonkai 93ef0d2263 Rename action export to export-agc
This is to unambiguate action and function names
2014-09-17 11:25:40 +02:00
Gergely Polonkai 2328f12305 Add default display theme selection to the Preferences 2014-09-14 14:33:24 +02:00
Gergely Polonkai c7f000ccc6 Clean up AgPreferences template 2014-09-14 14:33:24 +02:00
Gergely Polonkai 687bc2e1c7 Adding display theming possibility to the chart display 2014-09-13 01:13:26 +02:00
Gergely Polonkai 4ecef146c2 Update chart XSL
• Move planet group (<g>) creation to a template
• Add planet-X class to all aspect and antiscia lines so they can be hidden
  later one by one
• Move houses to their separate group
• Chart base is now a separate group, as it was intended
• Move from value_name to value_nick. It's shorter and makes using the
  substring function obsolete
• Antiscion lines got their own class
• Move away from visibility to display attribute. visibility in SVG can
  can be overridden, thus switching between aspects and antiscia cannot
  be done if the future display themes tamper with the lines’ visibility
  style
2014-09-13 01:05:08 +02:00
Gergely Polonkai 3445830a6d Minor bug fix for house system combo box
In case of a (theoretically impossible) negative value, the ID field
would have crashed the application
2014-09-13 01:04:57 +02:00
Gergely Polonkai 480a0ef223 Add icon for Chariklo 2014-09-06 10:19:19 +02:00
Gergely Polonkai 624c7358b3 Add icon for Nessus 2014-09-06 10:11:47 +02:00
Gergely Polonkai 0f1001de8d Add icon for Pholus 2014-09-06 10:02:47 +02:00
Gergely Polonkai 73763f04c8 Add house numbers to the default chart template
Fixes #54
2014-09-03 09:54:57 +02:00
Gergely Polonkai 6b8bceda5f Add point table to the UI definition 2014-09-02 15:30:41 +02:00
Gergely Polonkai 462ea99cc7 Unify accels for the view changer menu 2014-09-02 15:30:41 +02:00
Gergely Polonkai de36a9fbe6 Merge pull request #70 from gergelypolonkai/city-chooser
Implement country/city chooser
2014-09-01 00:07:06 +02:00
Gergely Polonkai 5fec76d4a1 Modify default chart XSL so its size can be set dynamically 2014-08-31 22:37:33 +02:00
Gergely Polonkai 204baa0e04 Move planet symbols to xi:include files 2014-08-30 23:07:22 +02:00
Gergely Polonkai b290dbc3f1 Add aspect type classes to CSS 2014-08-30 18:25:50 +02:00
Gergely Polonkai 5c9f88326b Add CSS class to different aspects 2014-08-29 12:46:58 +02:00
Gergely Polonkai 7d55580bce Move aspect styles to a CSS class 2014-08-29 12:26:01 +02:00
Gergely Polonkai b4db1998ad Move from emblem-system-symbolic to open-menu-symbolic
...and with this to GTK 3.14
2014-08-29 12:14:24 +02:00
Gergely Polonkai 0c251bc445 Merge branch 'master' into city-chooser 2014-08-27 23:08:10 +02:00
Gergely Polonkai 0a49ce6a30 Fix antiscia/aspect change buttons
The javascript code ran by Astrognome is changing the visibility
attribute instead of style attribute, but style has precedence.
2014-08-27 21:56:17 +02:00
Gergely Polonkai 0c327ddba6 Merge branch 'master' into city-chooser 2014-08-27 00:00:22 +02:00
Gergely Polonkai 09efcfeeb6 Fix retrograde mark location 2014-08-26 23:55:29 +02:00
Gergely Polonkai 12e3514ce2 Update chart-default.xsl to show retrograde mark 2014-08-26 19:16:36 +02:00
Gergely Polonkai 9c96e61308 Country selection is now saved, so city list can be filtered 2014-08-23 13:40:29 +02:00
Gergely Polonkai 1a8c778d31 Merge branch 'master' into city-chooser
Conflicts:
	src/ag-db.c
	src/ag-window.c
2014-08-21 00:00:41 +02:00
Gergely Polonkai 59ac56ba8f Add connection view changer buttons (aspects/antiscia) 2014-08-20 23:42:59 +02:00
Gergely Polonkai 6070dc9cc0 Add an empty toolbar to the chart tab 2014-08-20 23:36:29 +02:00
Gergely Polonkai 86414b37df Update UI to use country/city chooser 2014-08-19 00:40:26 +02:00
Gergely Polonkai f44c5b8c86 Add selection mode button and selection toolbar 2014-08-11 01:01:04 +02:00
Gergely Polonkai fee23777f6 Add Placidus import to the app menu 2014-08-10 14:31:38 +02:00
Gergely Polonkai a30d19d1bb Generalize chart loading functions
* ag_app_import_chart() became ag_app_import_file(), and has the potential
  to load any file type
* ag_app_import_cb() so it can open multiple file types
* ag_chart_load_from_file() is now called ag_chart_load_from_agc()
2014-08-10 14:31:38 +02:00
Gergely Polonkai 5e97af76ea Fix tab_edit widget’s name in .ui file 2014-08-06 00:04:34 +02:00
Gergely Polonkai c871246d58 Add refresh button to chart list 2014-08-02 21:55:17 +02:00
Gergely Polonkai 1c84845fa2 Add delete-event handler to AgWindow 2014-08-02 19:53:50 +02:00
Gergely Polonkai 377a2e1e8a Rename Open functionality to Import 2014-08-02 01:41:33 +02:00