~ubuntu-branches/ubuntu/karmic/photoprint/karmic

« back to all changes in this revision

Viewing changes to effects/ppeffect_temperature.h

  • Committer: Bazaar Package Importer
  • Author(s): Milan Zamazal
  • Date: 2007-05-01 16:32:13 UTC
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20070501163213-k0gaendx7grjlmk5
Tags: upstream-0.3.5
ImportĀ upstreamĀ versionĀ 0.3.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef PPEFFECT_TEMPERATURE_H
 
2
 
 
3
#include "ppeffect.h"
 
4
 
 
5
class CMSTransform;
 
6
 
 
7
class PPEffect_Temperature : public PPEffect
 
8
{
 
9
        public:
 
10
        PPEffect_Temperature(PPEffectHeader &header,enum PPEFFECT_STAGE stage);
 
11
        virtual ~PPEffect_Temperature();
 
12
        virtual ImageSource *Apply(ImageSource *source);
 
13
        virtual bool Dialog(GtkWindow *parent,GdkPixbuf *preview);
 
14
        void SetTempChange(int tempchange);
 
15
        virtual GdkPixbuf *GetIcon()
 
16
        {
 
17
                return(GetIcon_static());
 
18
        }
 
19
        static GdkPixbuf *GetIcon_static();
 
20
        protected:
 
21
        void MakeTransform(IS_TYPE type);
 
22
        int tempchange;
 
23
        CMSTransform *transform;
 
24
        static GdkPixbuf *icon;
 
25
};
 
26
 
 
27
#endif