~ubuntu-branches/debian/experimental/inkscape/experimental

« back to all changes in this revision

Viewing changes to src/sp-fedistantlight.h

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Viehmann
  • Date: 2008-09-09 23:29:02 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20080909232902-c50iujhk1w79u8e7
Tags: 0.46-2.1
* Non-maintainer upload.
* Add upstream patch fixing a crash in the open dialog
  in the zh_CN.utf8 locale. Closes: #487623.
  Thanks to Luca Bruno for the patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef SP_FEDISTANTLIGHT_H_SEEN
 
2
#define SP_FEDISTANTLIGHT_H_SEEN
 
3
 
 
4
/** \file
 
5
 * SVG <filter> implementation, see sp-filter.cpp.
 
6
 */
 
7
/*
 
8
 * Authors:
 
9
 *   Hugo Rodrigues <haa.rodrigues@gmail.com>
 
10
 *   Niko Kiirala <niko@kiirala.com>
 
11
 *   Jean-Rene Reinhard <jr@komite.net>
 
12
 *
 
13
 * Copyright (C) 2006,2007 Authors
 
14
 *
 
15
 * Released under GNU GPL, read the file 'COPYING' for more information
 
16
 */
 
17
 
 
18
#include "sp-object.h"
 
19
 
 
20
#define SP_TYPE_FEDISTANTLIGHT (sp_fedistantlight_get_type())
 
21
#define SP_FEDISTANTLIGHT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), SP_TYPE_FEDISTANTLIGHT, SPFeDistantLight))
 
22
#define SP_FEDISTANTLIGHT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), SP_TYPE_FEDISTANTLIGHT, SPFeDistantLightClass))
 
23
#define SP_IS_FEDISTANTLIGHT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), SP_TYPE_FEDISTANTLIGHT))
 
24
#define SP_IS_FEDISTANTLIGHT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), SP_TYPE_FEDISTANTLIGHT))
 
25
 
 
26
/* Distant light class */
 
27
 
 
28
 
 
29
class SPFeDistantLight;
 
30
class SPFeDistantLightClass;
 
31
 
 
32
struct SPFeDistantLight : public SPObject {
 
33
 
 
34
    /** azimuth attribute */
 
35
    gfloat azimuth;
 
36
    guint azimuth_set : 1;
 
37
    /** elevation attribute */
 
38
    gfloat elevation;
 
39
    guint elevation_set : 1;
 
40
};
 
41
 
 
42
struct SPFeDistantLightClass {
 
43
    SPObjectClass parent_class;
 
44
};
 
45
 
 
46
GType
 
47
sp_fedistantlight_get_type();
 
48
#endif /* !SP_FEDISTANTLIGHT_H_SEEN */
 
49
 
 
50
/*
 
51
  Local Variables:
 
52
  mode:c++
 
53
  c-file-style:"stroustrup"
 
54
  c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
 
55
  indent-tabs-mode:nil
 
56
  fill-column:99
 
57
  End:
 
58
*/
 
59
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :