Commit Graph

73 Commits

Author SHA1 Message Date
1c3bbdf6cf Move the chart's web view to the UI definition
Fially! Thanks goes to tristan, KaL and ebassi on #gtk for the
guidance.
2014-10-06 22:13:36 +02:00
fa56eb950e Sanitize variable types
The many type casts were causing a real mess. The new approach seems
to have the same level of error proneness, while the compiler finally
reports warnings about wrong types.
2014-10-06 22:13:18 +02:00
f3f24dd74e Make AgWindow use the new AgHeaderBar 2014-10-06 01:33:37 +02:00
449775aa43 Add AgHeaderBar class
It extends GtkHeaderBar, adding Astrognome specific buttons.
2014-10-06 01:32:41 +02:00
1de65cb9e0 Move chart edit tab to a composite widget, AgChartEdit 2014-10-03 07:57:49 +02:00
4afb24882e Make the new house system changer work 2014-09-30 17:01:42 +02:00
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
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
76f249aaf2 Fix AgWindow’s selection mode cancel button 2014-09-26 23:52:11 +02:00
a8170b90fd Replace GdMainView with AgIconView in the main window 2014-09-26 22:22:10 +02:00
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
f4b87a7c09 Add Moon phase visualisation to the chart 2014-09-24 13:01:14 +02:00
c1703e0f4f Change aspect and antiscion classes to (aspect|antiscion)-p
This clears up possible naming clashes
2014-09-22 01:20:59 +02:00
efa94b350f Add comet Asbolus to the list of planets 2014-09-21 23:50:35 +02:00
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
3c5582d5e2 Fix CSS bug in chart-default.css
.aspect-sextile was missing a semicolon
2014-09-21 22:55:28 +02:00
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
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
8e60f5611c Refactor SVG save action/dialog to be a general image saving function 2014-09-17 11:25:40 +02:00
93ef0d2263 Rename action export to export-agc
This is to unambiguate action and function names
2014-09-17 11:25:40 +02:00
2328f12305 Add default display theme selection to the Preferences 2014-09-14 14:33:24 +02:00
c7f000ccc6 Clean up AgPreferences template 2014-09-14 14:33:24 +02:00
687bc2e1c7 Adding display theming possibility to the chart display 2014-09-13 01:13:26 +02:00
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
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
480a0ef223 Add icon for Chariklo 2014-09-06 10:19:19 +02:00
624c7358b3 Add icon for Nessus 2014-09-06 10:11:47 +02:00
0f1001de8d Add icon for Pholus 2014-09-06 10:02:47 +02:00
73763f04c8 Add house numbers to the default chart template
Fixes #54
2014-09-03 09:54:57 +02:00
6b8bceda5f Add point table to the UI definition 2014-09-02 15:30:41 +02:00
462ea99cc7 Unify accels for the view changer menu 2014-09-02 15:30:41 +02:00
de36a9fbe6 Merge pull request #70 from gergelypolonkai/city-chooser
Implement country/city chooser
2014-09-01 00:07:06 +02:00
5fec76d4a1 Modify default chart XSL so its size can be set dynamically 2014-08-31 22:37:33 +02:00
204baa0e04 Move planet symbols to xi:include files 2014-08-30 23:07:22 +02:00
b290dbc3f1 Add aspect type classes to CSS 2014-08-30 18:25:50 +02:00
5c9f88326b Add CSS class to different aspects 2014-08-29 12:46:58 +02:00
7d55580bce Move aspect styles to a CSS class 2014-08-29 12:26:01 +02:00
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
0c251bc445 Merge branch 'master' into city-chooser 2014-08-27 23:08:10 +02:00
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
0c327ddba6 Merge branch 'master' into city-chooser 2014-08-27 00:00:22 +02:00
09efcfeeb6 Fix retrograde mark location 2014-08-26 23:55:29 +02:00
12e3514ce2 Update chart-default.xsl to show retrograde mark 2014-08-26 19:16:36 +02:00
9c96e61308 Country selection is now saved, so city list can be filtered 2014-08-23 13:40:29 +02:00
1a8c778d31 Merge branch 'master' into city-chooser
Conflicts:
	src/ag-db.c
	src/ag-window.c
2014-08-21 00:00:41 +02:00
59ac56ba8f Add connection view changer buttons (aspects/antiscia) 2014-08-20 23:42:59 +02:00
6070dc9cc0 Add an empty toolbar to the chart tab 2014-08-20 23:36:29 +02:00
86414b37df Update UI to use country/city chooser 2014-08-19 00:40:26 +02:00
f44c5b8c86 Add selection mode button and selection toolbar 2014-08-11 01:01:04 +02:00
fee23777f6 Add Placidus import to the app menu 2014-08-10 14:31:38 +02:00