QTfrontend/CocoaInitializer.h
author nemo
Sun, 20 Jun 2010 19:31:15 -0400
changeset 3524 8d0783d2a0ff
parent 2948 3f21a9dc93d0
child 5095 15dd764b728c
permissions -rw-r--r--
This reduces CheckLand ~5.5% on average over prior making the overall reduction ~77.4% instead of ~81.9%. It does skip centre pixel in odd w/h, but that really shouldn't matter much in this case. Can alter if any objects are noticeably off.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2261
57e99c908e7c a lot of stuff:
koda
parents:
diff changeset
     1
/*
57e99c908e7c a lot of stuff:
koda
parents:
diff changeset
     2
 * Copyright (C) 2008 Remko Troncon
57e99c908e7c a lot of stuff:
koda
parents:
diff changeset
     3
 */
57e99c908e7c a lot of stuff:
koda
parents:
diff changeset
     4
57e99c908e7c a lot of stuff:
koda
parents:
diff changeset
     5
#ifndef COCOAINITIALIZER_H
57e99c908e7c a lot of stuff:
koda
parents:
diff changeset
     6
#define COCOAINITIALIZER_H
57e99c908e7c a lot of stuff:
koda
parents:
diff changeset
     7
57e99c908e7c a lot of stuff:
koda
parents:
diff changeset
     8
class CocoaInitializer
57e99c908e7c a lot of stuff:
koda
parents:
diff changeset
     9
{
2948
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2400
diff changeset
    10
    public:
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2400
diff changeset
    11
        CocoaInitializer();
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2400
diff changeset
    12
        ~CocoaInitializer();
2377
f3fab2b09e0c And in frontend
nemo
parents: 2261
diff changeset
    13
2948
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2400
diff changeset
    14
    private:
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2400
diff changeset
    15
        class Private;
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2400
diff changeset
    16
        Private* d;
2400
2422ea85d100 added a utility that warns the user to install hedgewars when it's run from the diskimage
koda
parents: 2377
diff changeset
    17
                Private* c;
2261
57e99c908e7c a lot of stuff:
koda
parents:
diff changeset
    18
};
57e99c908e7c a lot of stuff:
koda
parents:
diff changeset
    19
57e99c908e7c a lot of stuff:
koda
parents:
diff changeset
    20
#endif