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
This commit is contained in:
2014-09-27 22:18:34 +02:00
parent 99accd3d40
commit 84b622c622
3 changed files with 95 additions and 38 deletions

View File

@@ -26,6 +26,9 @@
#include "ag-db.h"
#include "ag-display-theme.h"
#define AG_CHART_DEFAULT_RING_SIZE 600
#define AG_CHART_DEFAULT_ICON_SIZE 30
G_BEGIN_DECLS
typedef enum {
@@ -63,7 +66,10 @@ struct _AgChartClass {
GsweMomentClass parent_class;
};
typedef void (*AgChartSaveImageFunc)(AgChart *, GFile *, AgDisplayTheme *, GError **);
typedef void (*AgChartSaveImageFunc)(AgChart *,
GFile *,
AgDisplayTheme *,
GError **);
GType ag_chart_get_type(void) G_GNUC_CONST;