Gergely Polonkai
d2781a6eb2
Move menus to ag-header-bar.ui and into menu-model
...
For some reason it stopped working with 3.16 (I’m not sure if it was OK
in 3.14, though).
2015-06-06 00:20:32 +02:00
Gergely Polonkai
c5d27711b5
Move app menu to gtk/menus.ui
...
This way it gets automatically loaded, and the setup_menu() function can
be removed from AgApp.
2014-10-19 02:15:01 +02:00
Gergely Polonkai
7c01382e81
Refactor header bar mode changing
...
Fixes #101
2014-10-19 01:19:10 +02:00
Gergely Polonkai
a9ab84d8b1
Fix chart web view properties
...
It became a really narrow stripe in the previous update
2014-10-07 20:39:10 +02:00
Gergely Polonkai
85ee568c34
Add chart loading progress bar
2014-10-06 23:08:24 +02:00
Gergely Polonkai
7a34010926
Move selection toolbar into tab_list
...
It is not used anywhere else, there is no need to include it in the main
wrapping grid.
2014-10-06 22:41:58 +02:00
Gergely Polonkai
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
Gergely Polonkai
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
Gergely Polonkai
f3f24dd74e
Make AgWindow use the new AgHeaderBar
2014-10-06 01:33:37 +02:00
Gergely Polonkai
449775aa43
Add AgHeaderBar class
...
It extends GtkHeaderBar, adding Astrognome specific buttons.
2014-10-06 01:32:41 +02:00
Gergely Polonkai
1de65cb9e0
Move chart edit tab to a composite widget, AgChartEdit
2014-10-03 07:57:49 +02:00
Gergely Polonkai
4afb24882e
Make the new house system changer work
2014-09-30 17:01:42 +02:00
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
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