Compare commits
1272 Commits
css-variab
...
2.24.23
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
03014aa9c7 | ||
|
|
82310d48a8 | ||
|
|
95985a2181 | ||
|
|
7ff6e601c3 | ||
|
|
6d329406ae | ||
|
|
479bc6e550 | ||
|
|
e84bb08ded | ||
|
|
c5561f7e8c | ||
|
|
ba2dc98760 | ||
|
|
8e721922f1 | ||
|
|
b7c6954f6f | ||
|
|
a0a005def7 | ||
|
|
4a61ca28b1 | ||
|
|
090159cec9 | ||
|
|
c212cb8f32 | ||
|
|
2c01e7e78d | ||
|
|
b7ab0ed129 | ||
|
|
e048de9cab | ||
|
|
aa8704aa9f | ||
|
|
4f47aa6ef5 | ||
|
|
9559c707d5 | ||
|
|
3d0abd5cb0 | ||
|
|
e4c83bbfdb | ||
|
|
e2aabc016a | ||
|
|
c988a258cc | ||
|
|
e09719b12d | ||
|
|
280fc402be | ||
|
|
352257a9c1 | ||
|
|
fc201ba87c | ||
|
|
d4538cf96c | ||
|
|
b1813c9c79 | ||
|
|
71560f2b55 | ||
|
|
1b8d3b9210 | ||
|
|
88da0ce47f | ||
|
|
13ffc6c71d | ||
|
|
51f4e42591 | ||
|
|
c915afe98c | ||
|
|
b81e8de3ff | ||
|
|
4437ccb89f | ||
|
|
2eade26e68 | ||
|
|
956f5e3f6b | ||
|
|
541aa72f86 | ||
|
|
eb3d9dc3dd | ||
|
|
a2149a671a | ||
|
|
36e26c8a03 | ||
|
|
5af66c3f0d | ||
|
|
cc2d29771d | ||
|
|
8fa5cf0554 | ||
|
|
49fd2b2b46 | ||
|
|
80aabf4f1c | ||
|
|
91bcca6f39 | ||
|
|
4ecbef0791 | ||
|
|
d33c1cf412 | ||
|
|
280cf4ca94 | ||
|
|
12fe6a9a1a | ||
|
|
43ed68aa33 | ||
|
|
c064e18894 | ||
|
|
71b73e04d5 | ||
|
|
bbcde7e380 | ||
|
|
561d1c6358 | ||
|
|
c8d52c018b | ||
|
|
158fc5d9e0 | ||
|
|
54c020204f | ||
|
|
c884904686 | ||
|
|
602b44020a | ||
|
|
4c6cd0fa12 | ||
|
|
a057ed26dc | ||
|
|
4292fb433c | ||
|
|
e62709da2e | ||
|
|
c2919a6e91 | ||
|
|
99e3d072d6 | ||
|
|
0828a34333 | ||
|
|
162430fe5a | ||
|
|
59d49e1566 | ||
|
|
7b5e7a72fc | ||
|
|
1a4132a72e | ||
|
|
efa63c5970 | ||
|
|
c9aec6da02 | ||
|
|
3b82c12d3e | ||
|
|
9754c51349 | ||
|
|
8368de2bc3 | ||
|
|
28ac40f0f9 | ||
|
|
21c775a2c8 | ||
|
|
1e96603577 | ||
|
|
8fe6659eb6 | ||
|
|
9f16fc1b00 | ||
|
|
8b719abcbb | ||
|
|
0df60513cb | ||
|
|
330b9635b0 | ||
|
|
ba5ac33cdc | ||
|
|
692a0e5906 | ||
|
|
ea66a8a580 | ||
|
|
4f27256306 | ||
|
|
f1921f8c2f | ||
|
|
d7e3f6f9f8 | ||
|
|
3acacc0384 | ||
|
|
8f3a3403ff | ||
|
|
0909d7cee6 | ||
|
|
67438e0e49 | ||
|
|
a269c2f8d2 | ||
|
|
e6cf7a8d81 | ||
|
|
9582638a6b | ||
|
|
7674fc9683 | ||
|
|
011bb7ccdc | ||
|
|
e11b1943c7 | ||
|
|
1dee58ba87 | ||
|
|
ca7fe8417a | ||
|
|
852c2f06f0 | ||
|
|
aaa922bedb | ||
|
|
aa958f089d | ||
|
|
29ed8d781e | ||
|
|
9cfec7d3db | ||
|
|
f9f76a3a0f | ||
|
|
2b6db9fb31 | ||
|
|
bc604fe9f0 | ||
|
|
d09b75b9ed | ||
|
|
2368a31984 | ||
|
|
15f9422adf | ||
|
|
a37a8158bb | ||
|
|
82a5a0240c | ||
|
|
b994bcd4f2 | ||
|
|
979e8bd9ec | ||
|
|
e16591780d | ||
|
|
dc5c12b437 | ||
|
|
6dc11c26a8 | ||
|
|
b714446fd8 | ||
|
|
a72b31bac1 | ||
|
|
6fb7087758 | ||
|
|
c4b47464a2 | ||
|
|
b2a65ebfb6 | ||
|
|
461c1a547e | ||
|
|
3c993547a4 | ||
|
|
7a93355977 | ||
|
|
f907d16329 | ||
|
|
5d32c05578 | ||
|
|
776fc82bd5 | ||
|
|
3087e8b74e | ||
|
|
eb89bf1729 | ||
|
|
ed543bdccf | ||
|
|
b01f90b8d1 | ||
|
|
461c3835aa | ||
|
|
8eb2278f6a | ||
|
|
d9f87ff098 | ||
|
|
2cc67fc109 | ||
|
|
f8de7b1757 | ||
|
|
a05d51e7ab | ||
|
|
2f396a74f3 | ||
|
|
65cf6295f7 | ||
|
|
a070d75a2f | ||
|
|
c56f508993 | ||
|
|
67771adfd0 | ||
|
|
e99827cb19 | ||
|
|
c25c2f0a41 | ||
|
|
950084ae18 | ||
|
|
0004fe6cd4 | ||
|
|
81df0059cb | ||
|
|
747a514cfb | ||
|
|
670fcf2c41 | ||
|
|
27eea79537 | ||
|
|
ea3a1ecbd1 | ||
|
|
c7cae86568 | ||
|
|
97aaba8343 | ||
|
|
bfcaa4228c | ||
|
|
5de08612dc | ||
|
|
30a2f8edcc | ||
|
|
1cfd1f372a | ||
|
|
e6f629f2bb | ||
|
|
69bf331c98 | ||
|
|
0e79a04b66 | ||
|
|
2900fa9b62 | ||
|
|
1130a7c6f2 | ||
|
|
71505d982b | ||
|
|
e0cfc911fd | ||
|
|
5807a19031 | ||
|
|
96602b29e2 | ||
|
|
e14808fdd3 | ||
|
|
2ffaa468e5 | ||
|
|
84e1e80839 | ||
|
|
65ea14d421 | ||
|
|
5ada51d3c7 | ||
|
|
55642822fe | ||
|
|
87115e00a8 | ||
|
|
cfb09e5654 | ||
|
|
0c5877215b | ||
|
|
adf68f977c | ||
|
|
85825ebaf2 | ||
|
|
f9e2130765 | ||
|
|
bc3f1893aa | ||
|
|
f895cd44af | ||
|
|
3bfc67f1c1 | ||
|
|
184407309f | ||
|
|
30deba453a | ||
|
|
a8008b796f | ||
|
|
62f1d871b7 | ||
|
|
1f0f399469 | ||
|
|
44402df7dd | ||
|
|
f1c105b94f | ||
|
|
e3e055f855 | ||
|
|
d9f9925878 | ||
|
|
31ae1a0b5b | ||
|
|
e8535149e4 | ||
|
|
4a8df7a33c | ||
|
|
b7c30152d0 | ||
|
|
ad5a0dbb9d | ||
|
|
8e4742cb00 | ||
|
|
bad6675d74 | ||
|
|
a441107979 | ||
|
|
f2b74db5dc | ||
|
|
6056f1855b | ||
|
|
f52befa7e7 | ||
|
|
1eb0d98d73 | ||
|
|
c0102b3089 | ||
|
|
5637ef1f97 | ||
|
|
9644e910a8 | ||
|
|
d6533ffc44 | ||
|
|
b06d83f393 | ||
|
|
7860500bc6 | ||
|
|
a591a15382 | ||
|
|
ebb2977a54 | ||
|
|
2d57ddd6ef | ||
|
|
ffd949132a | ||
|
|
925147af70 | ||
|
|
f357151cc6 | ||
|
|
0596f5591f | ||
|
|
27f3fcf12c | ||
|
|
2a24ee0756 | ||
|
|
35a9322e45 | ||
|
|
979e5061a0 | ||
|
|
53f3e5ee94 | ||
|
|
b4a30877a9 | ||
|
|
1a2509a6ab | ||
|
|
e982461ad6 | ||
|
|
4d01c56d89 | ||
|
|
43e1354b71 | ||
|
|
47f0e3f1e1 | ||
|
|
0239ee50be | ||
|
|
5934ad2e22 | ||
|
|
376fc4d712 | ||
|
|
c5421263e4 | ||
|
|
de89546e30 | ||
|
|
bb867e9406 | ||
|
|
85bb1a161c | ||
|
|
0e42cf81f1 | ||
|
|
b9575dddfd | ||
|
|
92ea94af5f | ||
|
|
9b61330380 | ||
|
|
6389671336 | ||
|
|
81bb13510b | ||
|
|
b8a49d1e87 | ||
|
|
7336783e57 | ||
|
|
8f5ab02369 | ||
|
|
79b3326eaa | ||
|
|
c8aa94f7a8 | ||
|
|
1533e67ae4 | ||
|
|
b4ddf24234 | ||
|
|
15999ec5f3 | ||
|
|
1c401ea913 | ||
|
|
8b18b439af | ||
|
|
1070c5849e | ||
|
|
cc7abf6a1c | ||
|
|
88bfb0f59e | ||
|
|
af26ec6a73 | ||
|
|
3d5cd6e055 | ||
|
|
c0c3085128 | ||
|
|
48547aadef | ||
|
|
fa98721182 | ||
|
|
ebe50bbecb | ||
|
|
1d07ef714d | ||
|
|
c2274c8912 | ||
|
|
3047719340 | ||
|
|
a9fb816a3f | ||
|
|
9a0fcd0f41 | ||
|
|
2b67dc0e8d | ||
|
|
85f2a721cf | ||
|
|
da324fa2d5 | ||
|
|
2f706868ff | ||
|
|
860499ce90 | ||
|
|
0b59fbfb9d | ||
|
|
b32a9eb691 | ||
|
|
8750833e61 | ||
|
|
5b91e0d501 | ||
|
|
43c9a702c7 | ||
|
|
eb831590cd | ||
|
|
194d5544b4 | ||
|
|
71164e57b9 | ||
|
|
b738cf85d9 | ||
|
|
2b624f6f8f | ||
|
|
fb2cbb3cde | ||
|
|
63f6e92001 | ||
|
|
75103b62e5 | ||
|
|
7d2725e400 | ||
|
|
b7d59f73db | ||
|
|
0d1edac55b | ||
|
|
61dd746d51 | ||
|
|
399f31021c | ||
|
|
3100279bf1 | ||
|
|
0883b09086 | ||
|
|
85c9b5c76a | ||
|
|
698aba575c | ||
|
|
f91c525fe2 | ||
|
|
5f25687104 | ||
|
|
ac4f3be6a5 | ||
|
|
9a0e81380b | ||
|
|
51fb0419c2 | ||
|
|
339786f078 | ||
|
|
6eacdae613 | ||
|
|
2bedcd8863 | ||
|
|
4b1e2b08a7 | ||
|
|
3f6592f60f | ||
|
|
03b7195e64 | ||
|
|
dca75f3b93 | ||
|
|
0b24f16241 | ||
|
|
2ab1526467 | ||
|
|
8da54b8118 | ||
|
|
0b2fd066b9 | ||
|
|
bbe8ba8aff | ||
|
|
14488e69c4 | ||
|
|
bfb50d563f | ||
|
|
3319bcf033 | ||
|
|
2624136a99 | ||
|
|
66c99016d3 | ||
|
|
5f48cfe491 | ||
|
|
fc3cff11b5 | ||
|
|
fb87d9c901 | ||
|
|
a3cbaa5956 | ||
|
|
131f24a4f5 | ||
|
|
745a9fc6fe | ||
|
|
b96f423343 | ||
|
|
ab6007f052 | ||
|
|
308d195014 | ||
|
|
9adc078e25 | ||
|
|
165d2c0ca2 | ||
|
|
0488c28488 | ||
|
|
85099bf6a6 | ||
|
|
5123cfe5e6 | ||
|
|
03fae9086f | ||
|
|
92412d23b7 | ||
|
|
986072b361 | ||
|
|
1e731a3400 | ||
|
|
8170436e61 | ||
|
|
fcd01e9718 | ||
|
|
2a9bf2619a | ||
|
|
8f3f5fab27 | ||
|
|
e9b0f9e81a | ||
|
|
f8170ee873 | ||
|
|
400e53c568 | ||
|
|
4eae58ab43 | ||
|
|
7c9f317b64 | ||
|
|
81955757bc | ||
|
|
60d471b2d0 | ||
|
|
af309a50af | ||
|
|
7cfefd6e98 | ||
|
|
d9906a9ac4 | ||
|
|
980133d732 | ||
|
|
3df3cafdbb | ||
|
|
f7354da574 | ||
|
|
ba8c4bb049 | ||
|
|
4fc684943b | ||
|
|
26b749440b | ||
|
|
7c77f9a69a | ||
|
|
2e06f63743 | ||
|
|
4c35d987df | ||
|
|
5c3bb1839c | ||
|
|
0729cdc9a1 | ||
|
|
7546eeaa62 | ||
|
|
758fec0a2d | ||
|
|
4edbdeff64 | ||
|
|
1b58117bbf | ||
|
|
d8c2db3335 | ||
|
|
2ae574ab6d | ||
|
|
36f2f822f2 | ||
|
|
a9b127660b | ||
|
|
b2f91bcb8f | ||
|
|
013c9169f6 | ||
|
|
3b5c5710da | ||
|
|
a381e8ea62 | ||
|
|
d8cf87983e | ||
|
|
7e1e5451d4 | ||
|
|
e4cee92e22 | ||
|
|
5a03f4a6a5 | ||
|
|
b424735a39 | ||
|
|
0f22ef3f31 | ||
|
|
4a22e2ceab | ||
|
|
6a4a78d6a2 | ||
|
|
278325f611 | ||
|
|
7e8d3aa812 | ||
|
|
fadc82ad26 | ||
|
|
32b70a56d1 | ||
|
|
c3601481b7 | ||
|
|
fe67f04a16 | ||
|
|
6f4a6b4936 | ||
|
|
5123ad079e | ||
|
|
ff75900b53 | ||
|
|
6725dee3aa | ||
|
|
d0e5025694 | ||
|
|
cca1621e71 | ||
|
|
0f7c96b619 | ||
|
|
a37c466698 | ||
|
|
a8e820aa75 | ||
|
|
b7d734bb30 | ||
|
|
0a0fd5af99 | ||
|
|
985fff354d | ||
|
|
6cb04372f0 | ||
|
|
e943d7d8e1 | ||
|
|
3cd9920e14 | ||
|
|
f7438ce4e4 | ||
|
|
1a624ea818 | ||
|
|
718af6870f | ||
|
|
c88ccc632a | ||
|
|
49d017dcb9 | ||
|
|
8f6f64fe10 | ||
|
|
2cd09a6653 | ||
|
|
2090e37ffb | ||
|
|
26b97f63c9 | ||
|
|
e81b6971d8 | ||
|
|
afce8c7341 | ||
|
|
4b5b28b64f | ||
|
|
6d1b818560 | ||
|
|
47095f97d2 | ||
|
|
8588944cb9 | ||
|
|
ac00340d4c | ||
|
|
f44c6d66bf | ||
|
|
4f9e1dd414 | ||
|
|
8c9963f9c3 | ||
|
|
9c575532fd | ||
|
|
9da34d0ec5 | ||
|
|
0c0c741885 | ||
|
|
7b425eead7 | ||
|
|
d463030660 | ||
|
|
ccf12f7b40 | ||
|
|
79a92f99a9 | ||
|
|
cd7fa0385c | ||
|
|
5bd8485a3d | ||
|
|
c87114cb14 | ||
|
|
b0d108a5c4 | ||
|
|
2dfd498fd8 | ||
|
|
e2d3bdf68c | ||
|
|
c040b03c2e | ||
|
|
b85176789b | ||
|
|
97a0234370 | ||
|
|
900f39d595 | ||
|
|
628093a4e1 | ||
|
|
12507a7cc2 | ||
|
|
661cddb650 | ||
|
|
67c410d51b | ||
|
|
039f5fdfb5 | ||
|
|
bfe27c0aef | ||
|
|
c6cab74920 | ||
|
|
b34ff7b3ea | ||
|
|
a4288a88f4 | ||
|
|
71e187b315 | ||
|
|
7299d70760 | ||
|
|
6d7fe30698 | ||
|
|
3a1ad288a6 | ||
|
|
c34c302308 | ||
|
|
fb99ca1979 | ||
|
|
fff25d3a3a | ||
|
|
0d0412bcc9 | ||
|
|
b3314acd97 | ||
|
|
21e971b3cb | ||
|
|
aeae02d3e6 | ||
|
|
5a5d6d28c2 | ||
|
|
931a228ce0 | ||
|
|
f333c9dc23 | ||
|
|
c608ee0092 | ||
|
|
7ee5e4f2c6 | ||
|
|
fd01442c7e | ||
|
|
c79d34263b | ||
|
|
81c2166eb9 | ||
|
|
d08d4507c9 | ||
|
|
4e64f6012f | ||
|
|
94fc15ad95 | ||
|
|
10352d63af | ||
|
|
224a7e798a | ||
|
|
33154e1c7d | ||
|
|
25227a715e | ||
|
|
5da4473e27 | ||
|
|
a516d2359c | ||
|
|
7be2ea823d | ||
|
|
2666c0e71f | ||
|
|
9ea7ae84fa | ||
|
|
b057a311e7 | ||
|
|
1f6a921158 | ||
|
|
812678a70c | ||
|
|
659df720ca | ||
|
|
5e602ab0f2 | ||
|
|
d83c86d42e | ||
|
|
be1eea612c | ||
|
|
a350b667c1 | ||
|
|
2a2edc9564 | ||
|
|
87ad09a8ee | ||
|
|
9332c9f79f | ||
|
|
5aac419a38 | ||
|
|
45d61a5fd6 | ||
|
|
d2d6caf00a | ||
|
|
dafc1eda80 | ||
|
|
b50bb5b92a | ||
|
|
bd37724faf | ||
|
|
425c2e93a8 | ||
|
|
e0f3b18c37 | ||
|
|
1d94ae433a | ||
|
|
9a4405f376 | ||
|
|
92e632d525 | ||
|
|
200d038883 | ||
|
|
1e11448337 | ||
|
|
7667f9330b | ||
|
|
55e1b27c6f | ||
|
|
627af13e74 | ||
|
|
c07efad261 | ||
|
|
b229df22c1 | ||
|
|
6e31bc1128 | ||
|
|
37f9feebd2 | ||
|
|
79d16aab2b | ||
|
|
aa8f54b736 | ||
|
|
70cc1add13 | ||
|
|
22d84f6277 | ||
|
|
dfe7018284 | ||
|
|
388143d563 | ||
|
|
db9665ae08 | ||
|
|
ad82bc60ff | ||
|
|
f481458576 | ||
|
|
cb4b82e370 | ||
|
|
6c51b34597 | ||
|
|
89d217c90a | ||
|
|
dde74089f4 | ||
|
|
37230e5cc9 | ||
|
|
5afa001a8d | ||
|
|
a2a85a194c | ||
|
|
9edc6ca045 | ||
|
|
a90d9da9e9 | ||
|
|
468deb67d5 | ||
|
|
f0726904cb | ||
|
|
875e6f4bdb | ||
|
|
5c73ebf54c | ||
|
|
8f8da26c18 | ||
|
|
119df7415e | ||
|
|
1a3605a23f | ||
|
|
3822a334c5 | ||
|
|
f9e77d7320 | ||
|
|
d14d18e371 | ||
|
|
6b0ab20bc7 | ||
|
|
685a688470 | ||
|
|
d4b30f53d9 | ||
|
|
18e27a24a0 | ||
|
|
180774e948 | ||
|
|
fef779f3b1 | ||
|
|
cd82e5ceb6 | ||
|
|
673de40aed | ||
|
|
3449a4891a | ||
|
|
91b8043397 | ||
|
|
03b50bd9a9 | ||
|
|
dacdb343db | ||
|
|
e4ffea1173 | ||
|
|
dfdb51e324 | ||
|
|
b602220e2f | ||
|
|
ca74dc6a87 | ||
|
|
76c24a4a81 | ||
|
|
dd0ce5dd1e | ||
|
|
b9d00c42f8 | ||
|
|
0d02b8a681 | ||
|
|
d3e822882a | ||
|
|
1b605ee84b | ||
|
|
0661008ebe | ||
|
|
032a7e50d8 | ||
|
|
9858099f65 | ||
|
|
0bbee739d3 | ||
|
|
eec3cec225 | ||
|
|
a0280d7f36 | ||
|
|
a5b92540d0 | ||
|
|
9f83204d48 | ||
|
|
a068f575c8 | ||
|
|
5eda0da644 | ||
|
|
d7ac9cd71c | ||
|
|
d0aa7ffc61 | ||
|
|
5f41ce5e16 | ||
|
|
59f5aa7d72 | ||
|
|
6351e8e134 | ||
|
|
30e80efe3e | ||
|
|
ed9db7c3e5 | ||
|
|
1516be6f69 | ||
|
|
bfe0193eaf | ||
|
|
9d393c1d53 | ||
|
|
8d5d9e68ed | ||
|
|
149750773e | ||
|
|
88707e6912 | ||
|
|
da746d5169 | ||
|
|
254b9a4c54 | ||
|
|
78ce7a4925 | ||
|
|
47e7d253c9 | ||
|
|
2e9e163bbf | ||
|
|
7a227b5806 | ||
|
|
c4b2d3a144 | ||
|
|
19c145570a | ||
|
|
65c1419742 | ||
|
|
baf8bf967d | ||
|
|
2b7c3a2e66 | ||
|
|
c3a4f0f777 | ||
|
|
d69cbfd374 | ||
|
|
a06089a248 | ||
|
|
ac9e57127a | ||
|
|
b0d55a3061 | ||
|
|
7565bcd928 | ||
|
|
174ad13a2f | ||
|
|
c9c23b0728 | ||
|
|
7dec704421 | ||
|
|
7308b4f01b | ||
|
|
eb475e6056 | ||
|
|
ddd632dfc6 | ||
|
|
6e178a69fc | ||
|
|
7039a30400 | ||
|
|
054625ab04 | ||
|
|
89331e8e66 | ||
|
|
298c256c37 | ||
|
|
a87d84225b | ||
|
|
4ddf2c6512 | ||
|
|
9862894317 | ||
|
|
5af547bf83 | ||
|
|
cbe449dba4 | ||
|
|
3b3faee6d2 | ||
|
|
f3cd3c3dd0 | ||
|
|
70715c377e | ||
|
|
559cb5d8ab | ||
|
|
b18d4feaaf | ||
|
|
e229f2998b | ||
|
|
931faeab12 | ||
|
|
b6bf9112ad | ||
|
|
e158b9b13a | ||
|
|
b0d0bf7f7d | ||
|
|
20b794812f | ||
|
|
b2f9a53c00 | ||
|
|
661c0838b7 | ||
|
|
2baa2dc7f0 | ||
|
|
7ffc605ac2 | ||
|
|
ac093e25f6 | ||
|
|
af91746931 | ||
|
|
44b2e88aef | ||
|
|
c14e9ee768 | ||
|
|
b609bd1149 | ||
|
|
cb3f20ecbe | ||
|
|
3998dd9563 | ||
|
|
856a69936b | ||
|
|
5813ccc700 | ||
|
|
8a6bf12346 | ||
|
|
f7b7346f8d | ||
|
|
db55058178 | ||
|
|
6fcb389975 | ||
|
|
c26905747f | ||
|
|
fa007952ba | ||
|
|
de7b27159d | ||
|
|
9bc8ba7e5d | ||
|
|
48342ad2bd | ||
|
|
420f2fbddc | ||
|
|
45d05f52c2 | ||
|
|
0e47df0ee0 | ||
|
|
fa2d05ab4e | ||
|
|
e3185138ac | ||
|
|
8e51a22707 | ||
|
|
28f82afd0e | ||
|
|
64adba6e3e | ||
|
|
bd0f159b6c | ||
|
|
03bdae8dcc | ||
|
|
1d8bac64b2 | ||
|
|
47b2868a08 | ||
|
|
66f55661ad | ||
|
|
0b3710d762 | ||
|
|
e8a0f3cfb8 | ||
|
|
0b5a530ef1 | ||
|
|
bb8e1c67c6 | ||
|
|
840c9aa8d9 | ||
|
|
f80f4f5ce3 | ||
|
|
6dd57dfe65 | ||
|
|
7cda5b54fb | ||
|
|
b08b4cccc5 | ||
|
|
461d71f6aa | ||
|
|
a33dceee4b | ||
|
|
5cded4d5e2 | ||
|
|
9b2457a671 | ||
|
|
0455bcfda4 | ||
|
|
a5d35b95f0 | ||
|
|
c44fe0bc54 | ||
|
|
164149a8dc | ||
|
|
78a4b090e2 | ||
|
|
dfa1ea8245 | ||
|
|
f40a129e28 | ||
|
|
e48f5b4073 | ||
|
|
cc44561b61 | ||
|
|
ff780aa35e | ||
|
|
737941b333 | ||
|
|
e361e38e09 | ||
|
|
8253735ed1 | ||
|
|
caf389649a | ||
|
|
1435dcc1cb | ||
|
|
4ea1f5e15e | ||
|
|
a59f254fad | ||
|
|
af45513d78 | ||
|
|
5ad3a3b440 | ||
|
|
f54ad24ec2 | ||
|
|
832f1de519 | ||
|
|
9c1b0e4cc0 | ||
|
|
b9c9919fe2 | ||
|
|
e00c9fbc18 | ||
|
|
fda6444216 | ||
|
|
67d042f02b | ||
|
|
ed4605e597 | ||
|
|
2cf66d39e4 | ||
|
|
0c6d327a25 | ||
|
|
7de568a2ae | ||
|
|
3241efa11c | ||
|
|
472aeda2e0 | ||
|
|
6490a22aaf | ||
|
|
644f25c497 | ||
|
|
54a07580c0 | ||
|
|
87285bc8bf | ||
|
|
882db1cf5f | ||
|
|
79b4c34a8f | ||
|
|
fb2eb5f1aa | ||
|
|
9591369339 | ||
|
|
b225585844 | ||
|
|
6f776f0814 | ||
|
|
171bac4626 | ||
|
|
f9dd531bc9 | ||
|
|
c76b247da5 | ||
|
|
e369d70dd6 | ||
|
|
1e93d01d47 | ||
|
|
1e196b39b8 | ||
|
|
be8c0e4734 | ||
|
|
9fb03bb402 | ||
|
|
120915d6de | ||
|
|
e2361108f4 | ||
|
|
b447cd972e | ||
|
|
8bccb1ecf1 | ||
|
|
5383f20c7e | ||
|
|
3e9dc75768 | ||
|
|
8ad1c959ef | ||
|
|
dd05e41475 | ||
|
|
7b1c38b57c | ||
|
|
a88f8e4c57 | ||
|
|
bad6d00966 | ||
|
|
e65e208d40 | ||
|
|
6250c1dbe1 | ||
|
|
dd1de27061 | ||
|
|
08e4a60de1 | ||
|
|
2f8c78ddc5 | ||
|
|
0f8251da61 | ||
|
|
3bdd56c928 | ||
|
|
b2bd11618f | ||
|
|
55cf284749 | ||
|
|
53ff5679f7 | ||
|
|
c282958fb4 | ||
|
|
64f2460b7b | ||
|
|
fced380ec9 | ||
|
|
512d29e53a | ||
|
|
098e02c29d | ||
|
|
b2274ba08a | ||
|
|
6e2573fd76 | ||
|
|
36a1730bb8 | ||
|
|
b3c5232a9b | ||
|
|
d0f2b13309 | ||
|
|
07c00b9969 | ||
|
|
058ff14ac8 | ||
|
|
7f6b9ce7f5 | ||
|
|
3024081928 | ||
|
|
516a6d8495 | ||
|
|
f27b33b40e | ||
|
|
b91b0ebbd7 | ||
|
|
931d93d9a4 | ||
|
|
5101c0d469 | ||
|
|
b70f365c22 | ||
|
|
55b88f1779 | ||
|
|
b38249b35c | ||
|
|
02ae5c8cdf | ||
|
|
f0ff8dfd0f | ||
|
|
adfcc91be6 | ||
|
|
3770f98e7b | ||
|
|
49b7cef2c3 | ||
|
|
795e1b77e3 | ||
|
|
5f044d33ef | ||
|
|
9e91b6557a | ||
|
|
176218c5a0 | ||
|
|
174158bf9c | ||
|
|
2ab90f5d65 | ||
|
|
95f588dc78 | ||
|
|
10d541b8b6 | ||
|
|
70929bc7ba | ||
|
|
df08bc43ec | ||
|
|
f03eca7b1d | ||
|
|
513befc4f2 | ||
|
|
7f85787916 | ||
|
|
e01ae1ee12 | ||
|
|
675cbdc163 | ||
|
|
1fb94a8410 | ||
|
|
4773148f1a | ||
|
|
75a1102901 | ||
|
|
6400a3281b | ||
|
|
bfa741bace | ||
|
|
779f4e10be | ||
|
|
eb6cce1675 | ||
|
|
f9220cbd59 | ||
|
|
6e93a0ae28 | ||
|
|
e9393ed855 | ||
|
|
a0693b4c57 | ||
|
|
bf395263b2 | ||
|
|
1050485a13 | ||
|
|
8a9d458baf | ||
|
|
230e3a3a99 | ||
|
|
6a80d40154 | ||
|
|
6e6b82abb9 | ||
|
|
7825f01b2f | ||
|
|
78bb09c5a1 | ||
|
|
15eecb1645 | ||
|
|
dfd7e05123 | ||
|
|
b0a17e5a37 | ||
|
|
1d444d8def | ||
|
|
508f727665 | ||
|
|
7b5b230ead | ||
|
|
f62b56194b | ||
|
|
e6e9eef855 | ||
|
|
3258af741e | ||
|
|
51dcd09950 | ||
|
|
b94372f199 | ||
|
|
5e94e36f9a | ||
|
|
883835d17b | ||
|
|
3a90254369 | ||
|
|
0200763126 | ||
|
|
d14ecbeba9 | ||
|
|
d929bffd25 | ||
|
|
ea0170250a | ||
|
|
5045337162 | ||
|
|
d942045c10 | ||
|
|
009ea42112 | ||
|
|
f76c62929a | ||
|
|
b68d58c0b1 | ||
|
|
406c9c9c68 | ||
|
|
44e186658b | ||
|
|
2a646c1d21 | ||
|
|
6a2524324f | ||
|
|
caf38fc213 | ||
|
|
880c9d82ec | ||
|
|
9f08f69f4b | ||
|
|
5350edbb2c | ||
|
|
463e6843b9 | ||
|
|
09cf709fe9 | ||
|
|
b6f4b7dbce | ||
|
|
c9ea622fc6 | ||
|
|
fac5167404 | ||
|
|
d1f256ac30 | ||
|
|
2e5251b405 | ||
|
|
a2087c9095 | ||
|
|
c4bc22d77b | ||
|
|
ce6090b11e | ||
|
|
74ad2e1e7e | ||
|
|
f574305b17 | ||
|
|
71bec7e7ad | ||
|
|
b7cd904fe3 | ||
|
|
537a2534b9 | ||
|
|
6c95f0475f | ||
|
|
43bc74eae1 | ||
|
|
2119046a1c | ||
|
|
530cf56f24 | ||
|
|
990715e5db | ||
|
|
dd5cf4769a | ||
|
|
4272a6f1d8 | ||
|
|
fb4ae28444 | ||
|
|
6d9959b30c | ||
|
|
f6e92685a6 | ||
|
|
fe5c6f29fe | ||
|
|
62c2b4f529 | ||
|
|
2dd67663c8 | ||
|
|
1757426e86 | ||
|
|
d508b22228 | ||
|
|
efc03dd0ee | ||
|
|
4850fa57f9 | ||
|
|
d7cc714705 | ||
|
|
0ebde0bbe5 | ||
|
|
a3fa516c60 | ||
|
|
27970efd52 | ||
|
|
44b8334775 | ||
|
|
3a634939a8 | ||
|
|
7e0f13f678 | ||
|
|
2c6685355b | ||
|
|
42e2d014d0 | ||
|
|
285ab04c0c | ||
|
|
b9db80d62c | ||
|
|
2ba282165e | ||
|
|
7c44678f53 | ||
|
|
f9473472dd | ||
|
|
3cd5d1619c | ||
|
|
2363cccd24 | ||
|
|
4394a972dc | ||
|
|
7cf1133d45 | ||
|
|
81ec8c7a1b | ||
|
|
dddeee0cb2 | ||
|
|
80c096ed6e | ||
|
|
92235e2a58 | ||
|
|
9190497b4a | ||
|
|
a3c3031a0e | ||
|
|
ee14cc3160 | ||
|
|
ecc6577a37 | ||
|
|
e58f22a7ea | ||
|
|
88f54ea47d | ||
|
|
fa1b57ca97 | ||
|
|
be0beb758e | ||
|
|
1b05158db9 | ||
|
|
15df889204 | ||
|
|
eb77f20c52 | ||
|
|
750c81f43d | ||
|
|
ae84810db5 | ||
|
|
8ec4f184ab | ||
|
|
8e75ddeac6 | ||
|
|
373f2b8a0c | ||
|
|
19ef533618 | ||
|
|
bcdd895229 | ||
|
|
ba5ba3b022 | ||
|
|
ebc6238a0e | ||
|
|
b6a733c9d2 | ||
|
|
522a2f0214 | ||
|
|
7e9f7d7703 | ||
|
|
1294e41449 | ||
|
|
7ea18bc4ee | ||
|
|
4f6c63f0c9 | ||
|
|
bbd68748bc | ||
|
|
33fd9626eb | ||
|
|
2ee665300b | ||
|
|
c3c5575fc1 | ||
|
|
5077d9cce8 | ||
|
|
007595b639 | ||
|
|
727287b870 | ||
|
|
ae98e7dd7a | ||
|
|
6db486993d | ||
|
|
ca63fd71d7 | ||
|
|
2e2431f353 | ||
|
|
ef06c92610 | ||
|
|
1175e6b98c | ||
|
|
d72cfae56a | ||
|
|
027380d33e | ||
|
|
20d8fbd90f | ||
|
|
9f9170e3aa | ||
|
|
6f6650e6cf | ||
|
|
b288284122 | ||
|
|
7a1cf58934 | ||
|
|
d6e11a97e3 | ||
|
|
4bd9e3aecc | ||
|
|
88a521862a | ||
|
|
fc82963911 | ||
|
|
45ed34c78f | ||
|
|
190b3c372a | ||
|
|
49e18a29b2 | ||
|
|
7f2b4bb381 | ||
|
|
e14bf989eb | ||
|
|
076ae4f5ad | ||
|
|
d945a3cef4 | ||
|
|
a3268e29a1 | ||
|
|
75fca2449f | ||
|
|
30a52271e5 | ||
|
|
b7b9a01efb | ||
|
|
4509240d0e | ||
|
|
65f7b09b39 | ||
|
|
8e958f58c9 | ||
|
|
333d53b342 | ||
|
|
737f035959 | ||
|
|
2970d775ed | ||
|
|
5538315d38 | ||
|
|
ecb7734660 | ||
|
|
9de2f4b9cc | ||
|
|
68ba791720 | ||
|
|
4e9be0c9e9 | ||
|
|
000b2fa22b | ||
|
|
59d6e84459 | ||
|
|
f8d42326ea | ||
|
|
3c3aa2778b | ||
|
|
8637b3eb37 | ||
|
|
4226a6cfcd | ||
|
|
eea413fe9d | ||
|
|
6e4765b1e9 | ||
|
|
ce41d56f73 | ||
|
|
5c74a696d5 | ||
|
|
0499938cf8 | ||
|
|
39a9857c00 | ||
|
|
11b47eaa54 | ||
|
|
1402c861a9 | ||
|
|
e822af1d98 | ||
|
|
78d120e299 | ||
|
|
a5ee5feed0 | ||
|
|
65f10fb0f9 | ||
|
|
4e2ade8d6b | ||
|
|
c9c23ef031 | ||
|
|
d28a54e7f6 | ||
|
|
50cc4896ad | ||
|
|
8aa07505ae | ||
|
|
818ef9aaf6 | ||
|
|
77d28e3104 | ||
|
|
895b9ff43f | ||
|
|
af44019baf | ||
|
|
17269e6c1d | ||
|
|
707f1a9a84 | ||
|
|
91ce32602a | ||
|
|
c7e650ae5d | ||
|
|
a1e8ea6b7f | ||
|
|
770e308c42 | ||
|
|
5149e93f97 | ||
|
|
49abec1de8 | ||
|
|
095343ff8d | ||
|
|
012d605c23 | ||
|
|
9596c3fd24 | ||
|
|
7dc89847a7 | ||
|
|
e339d36a02 | ||
|
|
068515ad96 | ||
|
|
2e08524481 | ||
|
|
0e781823cb | ||
|
|
6d0ff4708c | ||
|
|
b53e822af7 | ||
|
|
1cd305e85f | ||
|
|
587a1de401 | ||
|
|
67684a05b6 | ||
|
|
1f905a1c17 | ||
|
|
36f931f292 | ||
|
|
d24a6727b8 | ||
|
|
02520a0781 | ||
|
|
a3689e670e | ||
|
|
1d5a6e790a | ||
|
|
315c23546d | ||
|
|
9f1cb0798b | ||
|
|
77b703c2fc | ||
|
|
370dfc16ca | ||
|
|
767235aabc | ||
|
|
3df3ff9a3a | ||
|
|
997d3aada6 | ||
|
|
00857133d4 | ||
|
|
0e183fe745 | ||
|
|
cedf52fb81 | ||
|
|
329b34b8cb | ||
|
|
9d2f8f5098 | ||
|
|
e8915ae422 | ||
|
|
a41107b616 | ||
|
|
8963e7cc46 | ||
|
|
70f65529a5 | ||
|
|
64bcdb78e0 | ||
|
|
2161fb5b8c | ||
|
|
a11e4a58c0 | ||
|
|
fd352a10ca | ||
|
|
1fed87720e | ||
|
|
28eebcf383 | ||
|
|
db2053ac1f | ||
|
|
85f8f64d78 | ||
|
|
0e1342b5e5 | ||
|
|
bff0d11c4d | ||
|
|
78bf0f3071 | ||
|
|
d80bc7868f | ||
|
|
244fc05cff | ||
|
|
d7a1973f9f | ||
|
|
a907d5e2cc | ||
|
|
8a2a736af4 | ||
|
|
41b637c338 | ||
|
|
84f565505f | ||
|
|
3d506df234 | ||
|
|
99c851c72d | ||
|
|
df120b78b3 | ||
|
|
18ac62d459 | ||
|
|
b50cdb4b5e | ||
|
|
4150ffbbe2 | ||
|
|
e75fad5fbd | ||
|
|
0d42dabf6c | ||
|
|
141b2ceff2 | ||
|
|
8dc19e4158 | ||
|
|
8e537f94ac | ||
|
|
2b9b125a88 | ||
|
|
970ae51e38 | ||
|
|
0ba97c7aae | ||
|
|
ddb905e99a | ||
|
|
f69034a079 | ||
|
|
53cf3d2edc | ||
|
|
88b7857bc8 | ||
|
|
9e1ae0e29a | ||
|
|
769c63c7ef | ||
|
|
3cbdc7ac89 | ||
|
|
e95f6da116 | ||
|
|
d5ff6b6c66 | ||
|
|
2e1f12642b | ||
|
|
c1292fe01d | ||
|
|
7ee63c07ee | ||
|
|
09080e3c76 | ||
|
|
bb3c91bfda | ||
|
|
fe401cdbb4 | ||
|
|
6740d24bb8 | ||
|
|
e570fe6730 | ||
|
|
f36bb4d91d | ||
|
|
32c4f471d5 | ||
|
|
28f51514f9 | ||
|
|
92055d8d32 | ||
|
|
568865ab1b | ||
|
|
0a61e919e2 | ||
|
|
fa509fcc78 | ||
|
|
996fd9dc5e | ||
|
|
b41972bd96 | ||
|
|
3c7bb5b746 | ||
|
|
23f7d3a0ea | ||
|
|
fd75ced492 | ||
|
|
01fea4032f | ||
|
|
e1c7ff8ee0 | ||
|
|
fafc457a01 | ||
|
|
7a68f42d2e | ||
|
|
ec332bbd42 | ||
|
|
dc2fea413b | ||
|
|
6c25cf872f | ||
|
|
05e2004eb6 | ||
|
|
186f858d86 | ||
|
|
13dba0a461 | ||
|
|
f1627fc8f5 | ||
|
|
8f42a13ce7 | ||
|
|
81321b7d55 | ||
|
|
838dfd50ac | ||
|
|
aa017fae64 | ||
|
|
c492c798fc | ||
|
|
0e99667286 | ||
|
|
5af7597e2e | ||
|
|
266fbce3a3 | ||
|
|
47836a3af1 | ||
|
|
1a30c3f272 | ||
|
|
72cd4207b7 | ||
|
|
9a71ad7ca9 | ||
|
|
1af84d33f7 | ||
|
|
3511fe4355 | ||
|
|
b27d39ee23 | ||
|
|
ef3ec85bac | ||
|
|
3b62411040 | ||
|
|
10ebcedf56 | ||
|
|
89743a6370 | ||
|
|
f1e0b23697 | ||
|
|
f2d6ab4062 | ||
|
|
91728b0890 | ||
|
|
130c42c4c9 | ||
|
|
3805dc3605 | ||
|
|
e339a9b0da | ||
|
|
6de36e580b | ||
|
|
b1cc8b9cd8 | ||
|
|
807c14741f | ||
|
|
b404a437c7 | ||
|
|
ce8a190b25 | ||
|
|
f23c956473 | ||
|
|
c47c91cd3a | ||
|
|
d89ac0ba69 | ||
|
|
bdbe090dc0 | ||
|
|
6af9817392 | ||
|
|
b89dcab5a5 | ||
|
|
e634f3fbe0 | ||
|
|
3770d914ec | ||
|
|
093a867e51 | ||
|
|
9f5f47f8be | ||
|
|
49f72c1fb4 | ||
|
|
42d07ad6ce | ||
|
|
75585d16de | ||
|
|
f1b158bacd | ||
|
|
674b196577 | ||
|
|
2417a819ef | ||
|
|
1607efc0b5 | ||
|
|
47f0af6092 | ||
|
|
cbf303d8c6 | ||
|
|
1adba9e908 | ||
|
|
63a276654d | ||
|
|
eb1ec05da3 | ||
|
|
c1c3670711 | ||
|
|
081eaf4484 | ||
|
|
85ed525682 | ||
|
|
82c89e9456 | ||
|
|
70094721aa | ||
|
|
6eebe91b7a | ||
|
|
90dd7e2990 | ||
|
|
f0fa511457 | ||
|
|
a9b778931c | ||
|
|
ace3ea4a89 | ||
|
|
95b7dca983 | ||
|
|
cb29d27707 | ||
|
|
946c1ca136 | ||
|
|
fa7ace866c | ||
|
|
7d6d1af7a1 | ||
|
|
022f88a6ac | ||
|
|
5c93288199 | ||
|
|
c0c4ab0946 | ||
|
|
a39c3b43b2 | ||
|
|
8ceef86cf8 | ||
|
|
200896e9b9 | ||
|
|
bba451147b | ||
|
|
ce504e2217 | ||
|
|
49943be22b | ||
|
|
6922490fa5 | ||
|
|
cbb01e6063 | ||
|
|
606180b746 | ||
|
|
8fc7a58504 | ||
|
|
a8e3ce6bb4 | ||
|
|
6138f23f5b | ||
|
|
d9250dfa1f | ||
|
|
a36bfa1424 | ||
|
|
75afa7d8d3 | ||
|
|
68f31098ad | ||
|
|
5b41e388c9 | ||
|
|
b5fdb45259 | ||
|
|
52c7ad6de3 | ||
|
|
05dad359e7 | ||
|
|
eade6b23be | ||
|
|
e494ec1d61 | ||
|
|
54e959ef96 | ||
|
|
1a00cb9df5 | ||
|
|
af7f95207e | ||
|
|
4acbc2fdb0 | ||
|
|
070afc587c | ||
|
|
3b50f22873 | ||
|
|
d3adde0116 | ||
|
|
88dbf5cabf | ||
|
|
1bd94d731b | ||
|
|
5ac10f45f1 | ||
|
|
f14fc8bc37 | ||
|
|
d780a23746 | ||
|
|
e6b02c883f | ||
|
|
429b728fe1 | ||
|
|
c3a9713775 | ||
|
|
e4ece66c9c | ||
|
|
c8262d39fa | ||
|
|
e16a965ef6 | ||
|
|
01e2fc5b5a | ||
|
|
22c61e0c8f | ||
|
|
d393cb377c | ||
|
|
8a6f6b5421 | ||
|
|
75e48d68bc | ||
|
|
6c0ff288b0 | ||
|
|
ae7cfc70c7 | ||
|
|
2788322135 | ||
|
|
7cfdf8fa32 | ||
|
|
4451536712 | ||
|
|
fcf0edb6c1 | ||
|
|
39f3d5e182 | ||
|
|
97015c226f | ||
|
|
fe22d4a402 | ||
|
|
6abc512298 | ||
|
|
5cededa0aa | ||
|
|
cb8c076321 | ||
|
|
3e16fd9967 | ||
|
|
84e9c08a40 | ||
|
|
e89187fc87 | ||
|
|
b0359fb944 | ||
|
|
cfb988ab38 | ||
|
|
c4b1bbf3e2 | ||
|
|
4acc2716cb | ||
|
|
6c7dc26935 | ||
|
|
863853ec5f | ||
|
|
fd20ac0751 | ||
|
|
15037df282 | ||
|
|
2aa560865e | ||
|
|
45a83fdbeb | ||
|
|
821dd33918 | ||
|
|
dde9cf2882 | ||
|
|
5616bdc3dc | ||
|
|
43091232a2 | ||
|
|
239cfddc97 | ||
|
|
ef2dc17256 | ||
|
|
60d1ac5539 | ||
|
|
c81abfae02 | ||
|
|
a184432baf | ||
|
|
8cd4c387f0 | ||
|
|
96986af5b4 | ||
|
|
02d8976176 | ||
|
|
c05ec8d783 | ||
|
|
42664a22cf | ||
|
|
7d61c9fff5 | ||
|
|
7df52ebdd4 | ||
|
|
f2f0ae89ae | ||
|
|
bec4cfc758 | ||
|
|
1fb1f6a7b1 | ||
|
|
0e7f5332d3 | ||
|
|
489657f305 | ||
|
|
fc35cd9bfe | ||
|
|
501098e946 | ||
|
|
bd873014ca |
18
INSTALL.in
18
INSTALL.in
@@ -3,21 +3,11 @@ Prerequisites
|
|||||||
|
|
||||||
GTK+ requires the following packages:
|
GTK+ requires the following packages:
|
||||||
|
|
||||||
- The GLib, Pango, ATK and cairo libraries, available at the same
|
- The GLib, Pango, GdkPixbuf, ATK and cairo libraries, available at the same
|
||||||
location as GTK+. GTK+ @GTK_VERSION@ requires at least GLib 2.23.6,
|
location as GTK+. GTK+ @GTK_VERSION@ requires at least GLib 2.28.0,
|
||||||
Pango 1.20, ATK 1.29.2 and cairo 1.6.0.
|
Pango 1.20, GdkPixbuf 2.21.0, ATK 1.29.2 and cairo 1.6.0.
|
||||||
|
|
||||||
- gobject-introspection 0.6.7 or newer.
|
- gobject-introspection 0.9.3 or newer.
|
||||||
|
|
||||||
- The TIFF, PNG, and JPEG image loading libraries. You most
|
|
||||||
likely have these installed on your system already. If not
|
|
||||||
these libraries are available from:
|
|
||||||
|
|
||||||
http://www.libtiff.org/
|
|
||||||
http://www.libpng.org/
|
|
||||||
http://www.ijg.org/
|
|
||||||
|
|
||||||
libtiff must be version 3.6.0 or higher.
|
|
||||||
|
|
||||||
Simple install procedure
|
Simple install procedure
|
||||||
========================
|
========================
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
## Makefile.am for GTK+
|
## Makefile.am for GTK+
|
||||||
include $(top_srcdir)/Makefile.decl
|
include $(top_srcdir)/Makefile.decl
|
||||||
|
|
||||||
SRC_SUBDIRS = gdk-pixbuf gdk gtk modules demos tests perf contrib
|
SRC_SUBDIRS = gdk gtk modules demos tests perf
|
||||||
SUBDIRS = po po-properties $(SRC_SUBDIRS) docs m4macros build
|
SUBDIRS = po po-properties $(SRC_SUBDIRS) docs m4macros build
|
||||||
|
|
||||||
# require automake 1.4
|
# require automake 1.4
|
||||||
@@ -160,7 +160,7 @@ gdk-$(GDKTARGET)-2.0-uninstalled.pc: gdk-2.0-uninstalled.pc
|
|||||||
cp gdk-2.0-uninstalled.pc gdk-$(GDKTARGET)-2.0-uninstalled.pc
|
cp gdk-2.0-uninstalled.pc gdk-$(GDKTARGET)-2.0-uninstalled.pc
|
||||||
|
|
||||||
pkgconfigdir = $(libdir)/pkgconfig
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
pkgconfig_DATA= gdk-pixbuf-2.0.pc gdk-$(GDKTARGET)-2.0.pc gtk+-$(GDKTARGET)-2.0.pc gail.pc
|
pkgconfig_DATA= gdk-$(GDKTARGET)-2.0.pc gtk+-$(GDKTARGET)-2.0.pc gail.pc
|
||||||
|
|
||||||
if OS_UNIX
|
if OS_UNIX
|
||||||
pkgconfig_DATA += gtk+-unix-print-2.0.pc
|
pkgconfig_DATA += gtk+-unix-print-2.0.pc
|
||||||
|
|||||||
@@ -30,13 +30,17 @@ XVFB_START = \
|
|||||||
# call as: $(XVFB_START) && someprogram
|
# call as: $(XVFB_START) && someprogram
|
||||||
|
|
||||||
# test: run all tests in cwd and subdirs
|
# test: run all tests in cwd and subdirs
|
||||||
test: ${TEST_PROGS}
|
test: test-cwd test-recurse
|
||||||
|
# test-cwd: run tests in cwd
|
||||||
|
test-cwd: ${TEST_PROGS}
|
||||||
@$(SKIP_GDKTARGET) || test -z "${TEST_PROGS}" || { \
|
@$(SKIP_GDKTARGET) || test -z "${TEST_PROGS}" || { \
|
||||||
$(XVFB_START) && { set -e; ${GTESTER} --verbose ${TEST_PROGS}; }; \
|
$(XVFB_START) && { set -e; $(TESTS_ENVIRONMENT) ${GTESTER} --verbose ${TEST_PROGS}; }; \
|
||||||
}
|
}
|
||||||
|
# test-recurse: run tests in subdirs
|
||||||
|
test-recurse:
|
||||||
@ for subdir in $(SUBDIRS) ; do \
|
@ for subdir in $(SUBDIRS) ; do \
|
||||||
test "$$subdir" = "." -o "$$subdir" = "po" -o "$$subdir" = "po-properties" || \
|
test "$$subdir" = "." -o "$$subdir" = "po" -o "$$subdir" = "po-properties" || \
|
||||||
( cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $? ; \
|
( cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) test ) || exit $? ; \
|
||||||
done
|
done
|
||||||
# test-report: run tests in subdirs and generate report
|
# test-report: run tests in subdirs and generate report
|
||||||
# perf-report: run tests in subdirs with -m perf and generate report
|
# perf-report: run tests in subdirs with -m perf and generate report
|
||||||
@@ -77,6 +81,6 @@ test-report perf-report full-report: ${TEST_PROGS}
|
|||||||
rm -rf "$$GTESTER_LOGDIR"/ ; \
|
rm -rf "$$GTESTER_LOGDIR"/ ; \
|
||||||
${GTESTER_REPORT} --version 2>/dev/null 1>&2 ; test "$$?" != 0 || ${GTESTER_REPORT} $@.xml >$@.html ; \
|
${GTESTER_REPORT} --version 2>/dev/null 1>&2 ; test "$$?" != 0 || ${GTESTER_REPORT} $@.xml >$@.html ; \
|
||||||
}
|
}
|
||||||
.PHONY: test test-report perf-report full-report
|
.PHONY: test test-cwd test-recurse test-report perf-report full-report
|
||||||
# run make test as part of make check
|
# run make test-cwd as part of make check
|
||||||
check-local: test
|
check-local: test-cwd
|
||||||
|
|||||||
979
NEWS
979
NEWS
@@ -1,3 +1,982 @@
|
|||||||
|
Overview of Changes from GTK+ 2.24.22 to 2.24.23
|
||||||
|
================================================
|
||||||
|
|
||||||
|
* Bug fixes:
|
||||||
|
634146 Calls to g_win32_get_package_installation_directory_of_module()...
|
||||||
|
651224 null pointer dereferenced due to multiple bugs in gtkclipboard-...
|
||||||
|
665507 Pixmap via cairo DIB breaks gdk_gc_set_stipple() use
|
||||||
|
671538 memory and gdi leaks on windows xp
|
||||||
|
701751 GtkProgressBar causes warnings
|
||||||
|
704937 IME input method does not handle dead keys
|
||||||
|
705367 kqueue file monitor consumes file descriptors
|
||||||
|
708119 Wrong gdk_pixmap_new() parameters in documentation
|
||||||
|
708783 printing crashes gtk based apps (firefox, chromium, gimp, ...)
|
||||||
|
710936 GtkFileChooser: Incorrect Japanese message for an error dialog...
|
||||||
|
711110 GDK_HINT_MAX_SIZE ignored on Win32
|
||||||
|
711298 "Edit Scheduled Transaction" window way too modal
|
||||||
|
711552 Crash when processing list of GdkWindows
|
||||||
|
712536 Themes with specified gap_file, gap_start_file or gap_end_file...
|
||||||
|
722496 GtkFileChooser: fix documentation
|
||||||
|
|
||||||
|
|
||||||
|
Overview of Changes from GTK+ 2.24.21 to 2.24.22
|
||||||
|
================================================
|
||||||
|
|
||||||
|
* Look in /usr/share/gtk-2.0 for the default gtkrc file
|
||||||
|
|
||||||
|
* Support building with automake 1.14
|
||||||
|
|
||||||
|
* Translation updates:
|
||||||
|
Hungarian
|
||||||
|
|
||||||
|
|
||||||
|
Overview of Changes from GTK+ 2.24.20 to 2.24.21
|
||||||
|
================================================
|
||||||
|
|
||||||
|
* OS X: Various input handling fixes
|
||||||
|
- Avoid a crash on first key press
|
||||||
|
- Fall back from native input method to GtkIMContextSimple
|
||||||
|
- Avoid beeping when using native input method
|
||||||
|
- Reset preedit state when needed
|
||||||
|
|
||||||
|
* Look for gtkrc in /usr/share/gtk-2.0, in addition to to system config
|
||||||
|
dirs
|
||||||
|
|
||||||
|
* Bug fixes:
|
||||||
|
513812 Optimize gdk_cairo_set_source_pixbuf() alpha multiplication...
|
||||||
|
536767 gtksignal.h includes gtk.h
|
||||||
|
692548 Quartz: Cursor doesn't reset when the mouse leaves a toplev...
|
||||||
|
695636 _gdk_windowing_create_cairo_surface() may return already fi...
|
||||||
|
698758 Wrong limit for "Native Windows wider or taller than 65535 ...
|
||||||
|
699236 Assert triggered during gdk_pixmap_new() if some failure ha...
|
||||||
|
699673 [3.2/3.4/3.6/3.8] uuid conflicting on Windows
|
||||||
|
701332 Patch for minor glitch in NSTextInput
|
||||||
|
701571 1ad25dfb causes NSApp to not notice NSWindow destruction
|
||||||
|
703789 gtk.immodules still referenced after switch to immodules.cache
|
||||||
|
705181 Annoying beep on arrow keys when using IME on MacOS
|
||||||
|
705182 Reset Cocoa IME state when immodule is reset
|
||||||
|
|
||||||
|
* Translation updates:
|
||||||
|
Thai
|
||||||
|
|
||||||
|
|
||||||
|
Overview of Changes from GTK+ 2.24.19 to 2.24.20
|
||||||
|
================================================
|
||||||
|
|
||||||
|
* Backport changes from GTK+ 3 to look for rc files in system
|
||||||
|
config dirs in addition to /etc/gtk-2.0 and ~/.gtkrc.
|
||||||
|
|
||||||
|
* Backport changes from GTK+ 3 to look for the immodules cache
|
||||||
|
file in libdir. gtk-query-immodules-2.0 gained an --update-cache
|
||||||
|
option to write the output to the correct location. Note that
|
||||||
|
this may require slight adjustment of distro packaging.
|
||||||
|
|
||||||
|
* Bug fixes:
|
||||||
|
560337 GtkFileChooser hour time missing for current date files
|
||||||
|
649390 CRLF text is copied to clipboard as CRCRLF on Windows
|
||||||
|
698183 quartz: Text input is too slow and some keys are broken...
|
||||||
|
702455 Add support for Avahi printers to gtk 2.24.x
|
||||||
|
|
||||||
|
* Translation updates:
|
||||||
|
Polish
|
||||||
|
|
||||||
|
|
||||||
|
Overview of Changes from GTK+ 2.24.18 to 2.24.19
|
||||||
|
================================================
|
||||||
|
|
||||||
|
* Bug fixes:
|
||||||
|
432386 GtkFileChooserDefault leaks memory if a shortcut...
|
||||||
|
575767 Crashes when XInput device disappears
|
||||||
|
694273 Patch to support NSTextInputClient in text widgets
|
||||||
|
698614 GObject: prevent installing properties after init
|
||||||
|
700578 Missing vertical grid lines when some columns hidden
|
||||||
|
|
||||||
|
* Translation updates:
|
||||||
|
German
|
||||||
|
|
||||||
|
|
||||||
|
Overview of Changes from GTK+ 2.24.17 to 2.24.18
|
||||||
|
================================================
|
||||||
|
|
||||||
|
* Bug fixes:
|
||||||
|
586367 In local_only mode, file chooser should return native paths...
|
||||||
|
674051 Scrolling zoom in view - incorrect image display
|
||||||
|
683072 Print dialog shows cryptic status message and displays garb...
|
||||||
|
683983 Gimp crashes on exporting JPEG files (probably related to E...
|
||||||
|
694711 write-after-free segfault in GailTreeView
|
||||||
|
695003 Entry's bg active state in pixmaps-engine is broken in 15 a...
|
||||||
|
695278 Avoid passing a NULL title to setTitle
|
||||||
|
695312 Initial 'text' set in the non-numeric-only GtkSpinButton au...
|
||||||
|
698563 Ensure correct error reporting when CreateDIBSection fails
|
||||||
|
|
||||||
|
* Translation updates:
|
||||||
|
Hungarian
|
||||||
|
Interlingua
|
||||||
|
|
||||||
|
|
||||||
|
Overview of Changes from GTK+ 2.24.16 to 2.24.17
|
||||||
|
================================================
|
||||||
|
|
||||||
|
* Bug fixes:
|
||||||
|
GtkFileChooserButton fixes:
|
||||||
|
- Don't emit file-set signal when the change is not the result
|
||||||
|
of a user action
|
||||||
|
- Don't ever use gtk_file_chooser_get_files
|
||||||
|
- Ensure internal consistency when clearing a model
|
||||||
|
690247 multiple context in a immodule can't be selected
|
||||||
|
692955 GtkIconCache fails to load non-builtin icons
|
||||||
|
694742 Fix possible memory leak when GlobalAlloc() fails
|
||||||
|
|
||||||
|
|
||||||
|
Overview of Changes from GTK+ 2.24.15 to 2.24.16
|
||||||
|
================================================
|
||||||
|
|
||||||
|
* Bug fixes:
|
||||||
|
694077 Make GtkItemFactory produce GtkSeparatorMenuItems
|
||||||
|
645065 GtkFileChooserButton doesn't handle closing its dialog correctly
|
||||||
|
Reliably stop spinning when a GtkSpinButton is hidden
|
||||||
|
|
||||||
|
Overview of Changes from GTK+ 2.24.14 to 2.24.15
|
||||||
|
================================================
|
||||||
|
|
||||||
|
* Bug fixes:
|
||||||
|
626499 GtkClipboard unnotified on change of OS X pasteboard owner
|
||||||
|
656565 Signalify (already existing) GtkMenuShell.insert()
|
||||||
|
664640 CUPS authentication does not work
|
||||||
|
669808 fullscreen/unscreen was broken for Quartz on OS X earli...
|
||||||
|
674556 File chooser dialog does not save its sizes
|
||||||
|
679883 When printing Custom paper sizes GTK Print Dialog does ...
|
||||||
|
683511 spinbutton: fix xthickness bug when resizing the text a...
|
||||||
|
689810 Include guard optimization
|
||||||
|
689982 Make GChecksum more fully introspectable
|
||||||
|
690788 Critical in gtknotebook dnd with rgba colormap
|
||||||
|
692099 autogen.sh doesn't recognize automake 1.13
|
||||||
|
692554 entry: never use GTK_STATE_ACTIVE to paint the background
|
||||||
|
692810 Fails to build with the gold linker due to missing refe...
|
||||||
|
Fix scrolling in insensitive modal dialogs
|
||||||
|
|
||||||
|
* Translation updates
|
||||||
|
Norwegian bokmål
|
||||||
|
|
||||||
|
|
||||||
|
Overview of Changes from GTK+ 2.24.13 to 2.24.14
|
||||||
|
================================================
|
||||||
|
|
||||||
|
* File chooser:
|
||||||
|
- Use the bookmarks file from the same XDG location
|
||||||
|
as GTK+ 3 if present
|
||||||
|
- Add a setting to specify the startup mode
|
||||||
|
|
||||||
|
* Bug fixes:
|
||||||
|
577806 gtk_file_chooser_add_shortcut_folder adds duplicates...
|
||||||
|
626499 GtkClipboard unnotified on change of OS X pasteboard...
|
||||||
|
644906 gtkimcontextime.c: NULL pointer reference
|
||||||
|
652204 Making GIMP crash with the Text Tool
|
||||||
|
663990 Tablet pressure is broken on MacOSX
|
||||||
|
668239 texts disappear when notebook switch page at zh_CN l...
|
||||||
|
672193 windows (including menus) shown multiple times don't...
|
||||||
|
681845 Cancel image export crashes or freezes gimp
|
||||||
|
682919 Crash in GTK+-3.x (3.0.x-3.5.12+) on Windows with CJK...
|
||||||
|
684419 crash when closing Document History window
|
||||||
|
685959 [Win32] Memory leak on every redraw of a widget
|
||||||
|
688710 [PATCH] Splash screens shouldn't stay on top of all a...
|
||||||
|
689235 Broken function declarations corrupt the stack on win...
|
||||||
|
Quartz: Use window background pattern
|
||||||
|
Quartz: Use the correct minimal line width
|
||||||
|
|
||||||
|
* Translation updates
|
||||||
|
German
|
||||||
|
|
||||||
|
|
||||||
|
Overview of Changes from GTK+ 2.24.12 to 2.24.13
|
||||||
|
================================================
|
||||||
|
|
||||||
|
* Implement a gtk-primary-button-warps-slider setting
|
||||||
|
that lets us adjust scale and scrollbar behaviour
|
||||||
|
according to platform.
|
||||||
|
|
||||||
|
* Bug fixes:
|
||||||
|
661973 Try harder to discriminate Shift-F10 and F10
|
||||||
|
675365 Always check if the global context id changed
|
||||||
|
674108 Hard crash due to wrong NSAutoreleasePool stacking
|
||||||
|
|
||||||
|
* Translation updates:
|
||||||
|
Polish
|
||||||
|
|
||||||
|
|
||||||
|
Overview of Changes from GTK+ 2.24.11 to 2.24.12
|
||||||
|
================================================
|
||||||
|
|
||||||
|
* Allow building with automake 1.12
|
||||||
|
|
||||||
|
* Bugs fixed:
|
||||||
|
616997 gtk_recent_manager_add_item() is slow
|
||||||
|
680346 gtk+-2.24.11 (commit 3f6592f6) breaks keyboard input...
|
||||||
|
680901 GTK+: The chinese translations of "even sheet" and ...
|
||||||
|
681784 colorspaces used in gtk+ and cairo quartz backends d...
|
||||||
|
683070 tooltip: add tooltip-radius and tooltip-alpha style ...
|
||||||
|
683279 range: add a primary-button-warps-slider style prope...
|
||||||
|
quartz: fix corruption during scrolling in some cases
|
||||||
|
|
||||||
|
* Translation updates:
|
||||||
|
Polish
|
||||||
|
Traditional Chinese
|
||||||
|
|
||||||
|
|
||||||
|
Overview of Changes from GTK+ 2.24.10 to 2.24.11
|
||||||
|
================================================
|
||||||
|
|
||||||
|
* X11:
|
||||||
|
- Use _NET_WM_STATE_HIDDEN for iconification when supported
|
||||||
|
|
||||||
|
* Win32:
|
||||||
|
- Don't drash when installed in a top-level directory
|
||||||
|
|
||||||
|
* Quartz:
|
||||||
|
- Make function keys work
|
||||||
|
- Fix the build on OS X 10.7
|
||||||
|
- Fix manual resizing of windows
|
||||||
|
- Handle some key events better (such as dead tilde)
|
||||||
|
|
||||||
|
* Bugs fixed:
|
||||||
|
603559 gtk should handle missing immodules better
|
||||||
|
640308 GtkStatusIcon never emits plug-removed on socket
|
||||||
|
643131 gtk_tray_icon_dispose
|
||||||
|
655065 Build failure on OS X 10.7 Lion
|
||||||
|
667155 Demos in gtk2 don't comply with gseal
|
||||||
|
670093 gdk_window_get_screen() not documented in new symbols
|
||||||
|
670400 First shortcut capture is broken
|
||||||
|
672125 gtk_enumerate_printers() doesn't call the destroy no...
|
||||||
|
674556 File chooser dialog does not save its sizes
|
||||||
|
675421 GtkFileChooser should set its role
|
||||||
|
675835 Unable to open Preferences > Folders after refreshin...
|
||||||
|
676362 _gdk_quartz_image_copy_to_image always returns black...
|
||||||
|
iconview: fix autoscroll
|
||||||
|
printing: fix the build with cups 1.6
|
||||||
|
|
||||||
|
* Translation updates
|
||||||
|
Romanian
|
||||||
|
|
||||||
|
|
||||||
|
Overview of Changes from GTK+ 2.24.9 to 2.24.10
|
||||||
|
===============================================
|
||||||
|
|
||||||
|
* Win32: make gdk_window_raise work again
|
||||||
|
|
||||||
|
* Quartz: implement gdk_window_restack
|
||||||
|
|
||||||
|
* Printing: fix a crash with custom option handling
|
||||||
|
that was introduced in 2.24.9
|
||||||
|
|
||||||
|
* Bugs fixed:
|
||||||
|
665955 Trimmed arrow points drawn for GtkArrow
|
||||||
|
667691 implement gdk_window_restack() for Quartz
|
||||||
|
|
||||||
|
|
||||||
|
Overview of Changes from GTK+ 2.24.8 to 2.24.9
|
||||||
|
==============================================
|
||||||
|
|
||||||
|
* Implement the editing-canceled property in GtkCellEditableEventBox
|
||||||
|
* Backport GtkScale fixes
|
||||||
|
|
||||||
|
* Several fixes in the MS-Windows theme
|
||||||
|
|
||||||
|
* quartz: fix a race condition when waking up the CGRunLoop
|
||||||
|
|
||||||
|
* Several build fixes:
|
||||||
|
- Add gmodule-2.0 dependency for gtk-query-immodules-2.0
|
||||||
|
- introspection: Fix srcdir != builddir builds
|
||||||
|
|
||||||
|
* Bug fixed:
|
||||||
|
663856 - Make option-foo accelerators use the right symbol
|
||||||
|
664238 - GTK apps crash when dragging something
|
||||||
|
665011 - Fix gtk-demo drawingarea example
|
||||||
|
665013 - Fix 16bit pixmaps
|
||||||
|
662814 - Don't print a g_warning() when GtkRecentManager can't find a file
|
||||||
|
620240 - Fix problems with DND on some X servers
|
||||||
|
629878 - Use the right icon-name for missing images
|
||||||
|
543520 - Set cups Custom print options correctly
|
||||||
|
639455 - Implement the editing-canceled property in GtkCellEditableEventBox
|
||||||
|
667458 - introspection: Fix srcdir != builddir builds
|
||||||
|
|
||||||
|
|
||||||
|
Overview of Changes from GTK+ 2.24.7 to 2.24.8
|
||||||
|
==============================================
|
||||||
|
|
||||||
|
* Win32 updates:
|
||||||
|
Major update of the win32 backend, it now works
|
||||||
|
at least as well as the old 2.16.x version that
|
||||||
|
a lot of windows applications was forced to use
|
||||||
|
|
||||||
|
Some particular highlights:
|
||||||
|
- Tablet support (wintab) works
|
||||||
|
- The MS-Windows theme works better, and is enabled
|
||||||
|
by default on Windows
|
||||||
|
- Pointer grabs on button press now works
|
||||||
|
- Initial Window positioning is improved and now
|
||||||
|
works very similarly to the X11 backend
|
||||||
|
- Scrolling a window with another window overlapping it
|
||||||
|
doesn't produce rendering artifacts on XP
|
||||||
|
- Configure event delivery after window move or resize
|
||||||
|
is much more robust, fixing a variety of rendering hangs
|
||||||
|
and misbehaviours
|
||||||
|
- Scrolling with synaptics touchpads work better
|
||||||
|
|
||||||
|
* OS X updates:
|
||||||
|
- Add Command-cursor keyboard navigation in text widgets
|
||||||
|
- Fix loss of motion events after using the menu bar
|
||||||
|
- Handle recursive CFRunLoops, fixing e.g. crashes
|
||||||
|
when dropping files from finder
|
||||||
|
- Set proper event->state values in all events
|
||||||
|
|
||||||
|
* Ensure that the MOD1 modifier always means ALT, as this
|
||||||
|
assumption is already used in many places in Gtk+
|
||||||
|
|
||||||
|
* Search engine backend updated to Tracker 0.12
|
||||||
|
|
||||||
|
* Bugs fixed:
|
||||||
|
84314 gdk_display_sync() and gdk_flush()
|
||||||
|
142874 use of SetWindowLong in gdkwindow-win32.c causes...
|
||||||
|
169811 configure_event and window-state-event are not...
|
||||||
|
171456 "Keep Above" option in Gimp broken on Win32
|
||||||
|
324254 Realizing a top-level window widget early positions...
|
||||||
|
516822 gtk_window_fullscreen does not resize correctly if...
|
||||||
|
537296 Maximizing a window larger than the screen makes...
|
||||||
|
542777 Scroll-Wheel doesn't scroll (Win)
|
||||||
|
552041 Windows' System Menu from taskbar is buggy
|
||||||
|
574935 win32: gtk_window_set_geometry_hints() has no effect...
|
||||||
|
604156 gtk_window_set_modal() freezes application completely
|
||||||
|
612359 Dialog positioning hints fail on Windows 7
|
||||||
|
631384 Images pasted from clipboard are shifted/wrapped
|
||||||
|
647460 typo in msw_style.c?
|
||||||
|
650300 Notebook tabs are incorrectly displayed with the...
|
||||||
|
658272 Port gtksearchenginetracker.c to tracker 0.11/0.12
|
||||||
|
659565 unbreak compilation on OpenBSD
|
||||||
|
661997 Gtk crashes when changing the TreeView model while ...
|
||||||
|
662633 Scheduled transaction editor crashes with gtk+-2.24.7
|
||||||
|
662670 Pressing "Enter" in print dialog box will not cause...
|
||||||
|
663138 iconview: layout items immediately when setting...
|
||||||
|
663182 NSImage throws an exception from _gtk_quartz_...
|
||||||
|
663543 Huge memory leak while using MS-Windows theme (gtk-demo)
|
||||||
|
663605 Fix event->state of many event types on quartz
|
||||||
|
|
||||||
|
Overview of Changes from GTK+ 2.24.6 to 2.24.7
|
||||||
|
==============================================
|
||||||
|
|
||||||
|
* Filechooser updates:
|
||||||
|
- Sort recent files by age
|
||||||
|
- Don't ellipsize filter names
|
||||||
|
|
||||||
|
* OS X updates:
|
||||||
|
- Disable mnemonics
|
||||||
|
- Map Alt/Option modifier to MOD1, Command to MOD2
|
||||||
|
- Make Option work as a modifier
|
||||||
|
- Allow <Primary> in accel strings
|
||||||
|
- Use platform-appropriate modifiers for extending
|
||||||
|
and modifying selections
|
||||||
|
- Use platform-appropriate button events for context
|
||||||
|
menus
|
||||||
|
- Fix keysym -> unicode and upper/lowercase mapping
|
||||||
|
|
||||||
|
* Bugs fixed:
|
||||||
|
514843 gtkfilechooser should be more robust to malformed...
|
||||||
|
616544 win32 drag and drop (DnD) broken for GTK+ 3
|
||||||
|
617583 Dead accents keys don't work in GTK+ applications on...
|
||||||
|
624270 crash in gtk_entry_completion_default_completion_func
|
||||||
|
628396 Option to "Forget Previous Running Applications"
|
||||||
|
630962 double click isn't catched
|
||||||
|
649979 Argument count TypeError from Gtk.TreeView.enable_mo...
|
||||||
|
653450 gtkfilechooser crashes when adding favorite
|
||||||
|
653847 `GDK_DISPLAY' should suggest `gdk_x11_get_default_...
|
||||||
|
655057 rendering issues with map plugin
|
||||||
|
656053 gtk_combo_box_text_remove isn't documented
|
||||||
|
657186 Recently-used list is not sorted by default
|
||||||
|
657770 Write to released memory in gtkdnd-quartz.c
|
||||||
|
658767 Drag and Drop NSEvent capture is racy
|
||||||
|
658772 Directory paths for resource directories are hard-coded
|
||||||
|
658841 Ensure native window in gdk_win32_drawable_get_handle()
|
||||||
|
658842 Fix win32 _gdk_windowing_window_at_pointer - port to gtk3
|
||||||
|
659907 gdk_quartz_draw_opaque_stippled_pattern crashes
|
||||||
|
|
||||||
|
* Translation updates
|
||||||
|
Belarusian
|
||||||
|
|
||||||
|
|
||||||
|
Overview of Changes from GTK+ 2.24.5 to 2.24.6
|
||||||
|
==============================================
|
||||||
|
|
||||||
|
* Filechooser updates:
|
||||||
|
- Remove the expander in Save mode
|
||||||
|
- Move the path bar up in Save mode
|
||||||
|
- Remember the last opened directory
|
||||||
|
- Start in recently-used mode when no folder is set
|
||||||
|
- Update recent-files when confirming in the file chooser
|
||||||
|
|
||||||
|
* Win32 build fixes
|
||||||
|
|
||||||
|
* OS X build fixes for Lion
|
||||||
|
|
||||||
|
* Bugs fixed:
|
||||||
|
508601 Copying from GTK+ applications causes crash
|
||||||
|
599664 The print dialog should not block while looking...
|
||||||
|
649588 crash when sending a notification...
|
||||||
|
652045 file open dialog refuses to open or complete non-local...
|
||||||
|
653191 uninitialized variable in completion_match_func
|
||||||
|
655074 Fix crash with undecorated windows on MacOS Lion
|
||||||
|
655087 CoreGraphics error "clip: empty path" creating new window...
|
||||||
|
655122 Crash when resizing window on MacOS Lion
|
||||||
|
655392 GtkColorButton does not close the cairo context
|
||||||
|
|
||||||
|
* Translation updates:
|
||||||
|
German
|
||||||
|
Indonesian
|
||||||
|
Polish
|
||||||
|
Spanish
|
||||||
|
|
||||||
|
|
||||||
|
Overview of Changes from GTK+ 2.24.3 to 2.24.5
|
||||||
|
==============================================
|
||||||
|
|
||||||
|
* Annotation fixes
|
||||||
|
|
||||||
|
* Update some deprecation notes and porting hints
|
||||||
|
|
||||||
|
* Bugs fixed:
|
||||||
|
576492 GtkBuilder does not respect G_PARAM_CONSTRUCT properties
|
||||||
|
637304 Name Contains Entry is not exposing accessibility
|
||||||
|
647908 gtkrc does not handle "shade()" in a locale safe manor
|
||||||
|
648931 Gdk clipboard doesn't work correctly
|
||||||
|
652102 Issues when redrawing multiple GdkWindows
|
||||||
|
652239 resurect Windows clipboard selection notification
|
||||||
|
652402 gtkdnd unbinds all key grabs
|
||||||
|
Ensure we always grab the lock in async callbacks
|
||||||
|
Use an existing mimetype for the GTK_FILE stock icon
|
||||||
|
Fix missing icons in the builtin icon theme
|
||||||
|
Fix the build without XSHM
|
||||||
|
Fix the build against recent GLib
|
||||||
|
|
||||||
|
* Translation updates:
|
||||||
|
Dutch
|
||||||
|
Norwegian bokmål
|
||||||
|
|
||||||
|
|
||||||
|
Overview of Changes from GTK+ 2.24.2 to 2.24.3
|
||||||
|
==============================================
|
||||||
|
|
||||||
|
* Add missing introspection annotations
|
||||||
|
|
||||||
|
* Fix GtkComboBoxEntry accessibility support
|
||||||
|
|
||||||
|
* Thread-safety fixes in file chooser and app chooser code
|
||||||
|
|
||||||
|
* Fix some deficiencies with the builtin icon theme
|
||||||
|
|
||||||
|
* Translation updates
|
||||||
|
Dutch
|
||||||
|
Norwegian bokmål
|
||||||
|
|
||||||
|
|
||||||
|
Overview of Changes from GTK+ 2.24.1 to 2.24.2
|
||||||
|
==============================================
|
||||||
|
|
||||||
|
* Bugs fixed:
|
||||||
|
642905 reference lists 2 links for "Index of new symbols...
|
||||||
|
643170 gtk_file_chooser_set_filename does not work...
|
||||||
|
643216 Extraneous emits of GdkScreen::monitors-changed
|
||||||
|
643416 Composited children of GtkScrolledWindow are drawn...
|
||||||
|
644353 Missing annotations in Gtk/Gdk Window and gtk_acce...
|
||||||
|
|
||||||
|
|
||||||
|
Overview of Changes from GTK+ 2.24.0 to 2.24.1
|
||||||
|
==============================================
|
||||||
|
|
||||||
|
* GTK+ now refuses to load modules that are linked against
|
||||||
|
the wrong GTK+ version, preventing GTK_PATH accidents.
|
||||||
|
|
||||||
|
* A number of memory leaks and segfaults involving accessibility
|
||||||
|
have been fixed.
|
||||||
|
|
||||||
|
* Bugs fixed:
|
||||||
|
599907 Gail implementation of atk_add_key_event_listener return...
|
||||||
|
626730 Check menu item does not set indeterminate state
|
||||||
|
633291 Handle Shift-keys in X11 gdk_test_simulate_key()
|
||||||
|
640487 crash on gtk_statusbar_remove_all()
|
||||||
|
640992 Missed Return Type in gtk/gtkrange.c: gtk_range_set_round_digits
|
||||||
|
642137 gtk+-2.24.0 requires Xcomposite.h
|
||||||
|
642642 Missed include in gtk/gtkmodules.c
|
||||||
|
642681 gtk_combo_box_text_get_active_text doesn't work as stated
|
||||||
|
642772 GTK does not correctly process input sent via SendInput...
|
||||||
|
|
||||||
|
* Translation updates:
|
||||||
|
Hungarian
|
||||||
|
Polish
|
||||||
|
|
||||||
|
|
||||||
|
Overview of Changes from GTK+ 2.23.90 to 2.24.0
|
||||||
|
===============================================
|
||||||
|
|
||||||
|
* GtkBuilder has gained support for
|
||||||
|
- items in GtkComboBoxText
|
||||||
|
- tags in GtkTextTagTable
|
||||||
|
- menus in GtkMenuToolButton
|
||||||
|
|
||||||
|
* The gtk-builder-convert script gained a
|
||||||
|
--target-version option
|
||||||
|
|
||||||
|
* Many introspection annotation fixes
|
||||||
|
|
||||||
|
* Bugs fixed:
|
||||||
|
351755 GTK_RANGE (range) -> round_digits should be exposed...
|
||||||
|
590459 Text is sometimes not pasted at the right location
|
||||||
|
639327 gtk-builder-convert needs to convert gtkcomboboxentry...
|
||||||
|
634677 assertion in finalize assuring that buffer is NULL...
|
||||||
|
|
||||||
|
* Updated translations:
|
||||||
|
British English
|
||||||
|
|
||||||
|
|
||||||
|
Overview of Changes from GTK+ 2.23.3 to 2.23.90
|
||||||
|
===============================================
|
||||||
|
|
||||||
|
* New deprecations:
|
||||||
|
- gdk_set_pointer_hooks(), gdk_display_set_pointer_hooks()
|
||||||
|
- gtk_range_get/set_update_policy()
|
||||||
|
- gtk_window_get/set_frame_dimensions() and
|
||||||
|
gtk_window_get/set_has_frame()
|
||||||
|
|
||||||
|
* The cups print backend can now send print jobs directly in PDF if
|
||||||
|
cups supports it
|
||||||
|
|
||||||
|
* Bugs fixed:
|
||||||
|
144324 Leaking dnd contexts with XDnD
|
||||||
|
165987 unsets DESKTOP_STARTUP_ID
|
||||||
|
560177 Applications should send print jobs to CUPS in PDF format...
|
||||||
|
562182 gtk_init() docs inaccurate
|
||||||
|
622125 Note that gtk_show_uri needs gvfs to spawn URLs
|
||||||
|
637691 Eating events breaks proxied DND
|
||||||
|
637958 print dialog doesn't fit on netbook screen size
|
||||||
|
637973 thunderbird crashes when copying text with gtk 2.23.3
|
||||||
|
|
||||||
|
|
||||||
|
Overview of Changes from GTK+ 2.23.2 to 2.23.3
|
||||||
|
==============================================
|
||||||
|
|
||||||
|
* New deprecations:
|
||||||
|
- GtkRuler (and subclasses)
|
||||||
|
- gtk_widget_reset_shapes
|
||||||
|
- gdk_set_sm_client_id
|
||||||
|
- Foreign window APIs
|
||||||
|
- gdk_spawn_*
|
||||||
|
- gdkx_visual_get
|
||||||
|
- gdk_net_wm_supports
|
||||||
|
- gdk_set_locale, gtk_set_locale
|
||||||
|
- Some GDK text conversion routines
|
||||||
|
- gdk_drag_context_new
|
||||||
|
- gdk_drag_find_window and gdk_drag_get_protocol
|
||||||
|
- gdk_xid_table functions
|
||||||
|
|
||||||
|
* Bug fixes:
|
||||||
|
629955 Deprecate / remove gtk_main and gtk_init_add / remove* API
|
||||||
|
634558 Selecting "Search" should focus text box for keyboard entry
|
||||||
|
634697 gdk: Add XSetting for "gtk-cursor-blink-timeout"
|
||||||
|
634882 Usage of deprecated GLib API (g_source_get_current_time)
|
||||||
|
635307 iconcache: Ensure we don't lose data on power loss
|
||||||
|
635588 Clicking URL to be opened freezes the application for seconds
|
||||||
|
636832 anoncvs.gnome.org does not exist
|
||||||
|
637069 Custom print settings set in custom-widget-apply are lost
|
||||||
|
637156 Optimize gtk_widget_shape_combine_region (widget, NULL, ...)
|
||||||
|
|
||||||
|
* Translation updates:
|
||||||
|
Czech
|
||||||
|
Norwegian bokmål
|
||||||
|
|
||||||
|
|
||||||
|
Overview of Changes from GTK+ 2.23.1 to 2.23.2
|
||||||
|
==============================================
|
||||||
|
|
||||||
|
* Fix a branch messup
|
||||||
|
* Readd the gtk_private_flags_get_type symbol
|
||||||
|
* Fix crashes on 64-bit
|
||||||
|
* Allow building with libtool 2.4
|
||||||
|
|
||||||
|
Overview of Changes from GTK+ 2.23.0 to 2.23.1
|
||||||
|
==============================================
|
||||||
|
|
||||||
|
* New deprecations:
|
||||||
|
- gtk_widget_hide_all
|
||||||
|
|
||||||
|
* New APIs added to aid migration to GTK+ 3:
|
||||||
|
- gtk_combo_box_new_with_model_and_entry
|
||||||
|
|
||||||
|
* Bugs fixed:
|
||||||
|
624025 gdk_draw_rectangle bogged down by ColorSync
|
||||||
|
632381 gtk_combo_box_text_new_with_entry() adds two...
|
||||||
|
632539 Do not install gtkprivate.h
|
||||||
|
633050 need gtk_combo_box_new_with_model_and_entry
|
||||||
|
634060 Support for GIcon pixbufs
|
||||||
|
|
||||||
|
|
||||||
|
Overview of Changes from GTK+ 2.22.0 to 2.23.0
|
||||||
|
==============================================
|
||||||
|
|
||||||
|
* New deprecations:
|
||||||
|
- gdk_cairo_set_source_pixmap
|
||||||
|
- Misc GdkDrawable APIs
|
||||||
|
- gtk_object_destroy
|
||||||
|
- gtk_init_add, gtk_remove_add, etc
|
||||||
|
- gtk_noteboook_set_window_creation_hook
|
||||||
|
- gtk_notebook_set/get_group
|
||||||
|
- gtk_link_button_set_uri_hook
|
||||||
|
- gtk_about_dialog_set_url/email_hook
|
||||||
|
- GtkComboBoxEntry
|
||||||
|
- combo box text convenience API
|
||||||
|
|
||||||
|
* New APIs added to aid migration to GTK+ 3:
|
||||||
|
- gdk_cairo_set_source_window
|
||||||
|
- GdkWindow API to supersede GdkDrawable API
|
||||||
|
- gtk_notebook_set/get_group_name
|
||||||
|
- GtkLinkButton::activate-link signal
|
||||||
|
- gtk_combo_box_new_with_entry
|
||||||
|
- GtkComboBoxText
|
||||||
|
|
||||||
|
* Bugs fixed:
|
||||||
|
423201i gtk_combo_box_entry_active_changed does not transform...
|
||||||
|
612396 Implement GtkComboBoxText subclass to supersede "text"...
|
||||||
|
613728 Rationalize GtkTreeView focus
|
||||||
|
629722 save_entry_get_info_cb() doesn't behave correctly
|
||||||
|
629955 Deprecate / remove gtk_main and gtk_init_add / remove* API
|
||||||
|
630521 Remove some remaining API warts from tab dnd api
|
||||||
|
631473 Fix GTK+3 documentation
|
||||||
|
631697 [2.24] build warnings which might crash 64-bit
|
||||||
|
632140 optionally take hotspot coordinates from the pixbuf...
|
||||||
|
|
||||||
|
|
||||||
|
Overview of Changes from GTK+ 2.21.8 to 2.22.0
|
||||||
|
==============================================
|
||||||
|
|
||||||
|
* Lower the gobject-introspection requirement to 0.9.3
|
||||||
|
|
||||||
|
* Bug fixes
|
||||||
|
629748 Fails to build without XComposite
|
||||||
|
|
||||||
|
* Translation updates
|
||||||
|
Basque
|
||||||
|
Brazilian
|
||||||
|
Czech
|
||||||
|
Danish
|
||||||
|
Dutch
|
||||||
|
German
|
||||||
|
Greek
|
||||||
|
Gujarati
|
||||||
|
Indonesian
|
||||||
|
Japanese
|
||||||
|
Simplified Chinese
|
||||||
|
Uighur
|
||||||
|
|
||||||
|
|
||||||
|
Overview of Changes from GTK+ 2.21.7 to 2.21.8
|
||||||
|
==============================================
|
||||||
|
|
||||||
|
* Deprecations:
|
||||||
|
- Various style properties have been deprecated:
|
||||||
|
GtkEntry::state-hint
|
||||||
|
GtkTreeView::row-ending-details
|
||||||
|
GtkRange::trough-side-details
|
||||||
|
GtkRange::stepper-position-details
|
||||||
|
GtkRange::activate-slider
|
||||||
|
- The GtkIconView::orientation property has been deprecated
|
||||||
|
and renamed to item-orientation
|
||||||
|
- Separator-related API in GtkDialog
|
||||||
|
- API related to blinking status icons
|
||||||
|
- The keysym names have been renamed from GDK_... to GDK_KEY_...
|
||||||
|
- The GtkItem class
|
||||||
|
- The gdk_display variable and the GDK_DISPLAY macro
|
||||||
|
|
||||||
|
* GTK+ now uses standard icon names for stock icons, where applicable
|
||||||
|
|
||||||
|
* Win32:
|
||||||
|
- Fixes to the MS Windows theme engine
|
||||||
|
|
||||||
|
* Directfb:
|
||||||
|
- Many fixes
|
||||||
|
|
||||||
|
* Bugs fixed:
|
||||||
|
414712 gtk_container_set_focus_child leaks widget
|
||||||
|
601731 Drag and Drop from Workspace to Activities Overview
|
||||||
|
628049 Native windows don't work very well
|
||||||
|
628110 gtranslator inserts unwanted line breaks
|
||||||
|
628291 Drawing artifacts when used with a cairo 1.9.*
|
||||||
|
628308 docs referencing non existing icons
|
||||||
|
628656 _gdk_windowing_get_startup_notify_id memory leak
|
||||||
|
628932 key typing causes core dump in VNC environment
|
||||||
|
629093 [patch] prefix GDK key names
|
||||||
|
629277 Hanging because do_syntheszie_crossing_event...
|
||||||
|
|
||||||
|
* Updated translations:
|
||||||
|
Arabic
|
||||||
|
Basque
|
||||||
|
British English
|
||||||
|
Estonian
|
||||||
|
French
|
||||||
|
Galician
|
||||||
|
German
|
||||||
|
Hebrew
|
||||||
|
Hungarian
|
||||||
|
Indonesian
|
||||||
|
Italian
|
||||||
|
Japanese
|
||||||
|
Kazakh
|
||||||
|
Korean
|
||||||
|
Norwegian bokmål
|
||||||
|
Polish
|
||||||
|
Portuguese
|
||||||
|
Slovian
|
||||||
|
Spanish
|
||||||
|
Swedish
|
||||||
|
Tradition Chinese
|
||||||
|
|
||||||
|
|
||||||
|
Overview of Changes from GTK+ 2.21.6 to 2.21.7
|
||||||
|
==============================================
|
||||||
|
|
||||||
|
* Deprecations:
|
||||||
|
- GtkWidget::draw-border has been deprecated
|
||||||
|
|
||||||
|
* The Windows backend has seen quite a bit of work
|
||||||
|
towards fixing CSW regressions.
|
||||||
|
|
||||||
|
* Bugs fixed:
|
||||||
|
528257 File selector and stock string problems
|
||||||
|
614006 File chooser crashes when creating a new folder...
|
||||||
|
616401 Noneffective gdk_keymap_map_virtual_modifiers...
|
||||||
|
626537 Toggle button does not set indeterminate state
|
||||||
|
627139 gtkfilechooserentry shows completion progress tool...
|
||||||
|
627843 set_active_iter: remove restriction on path length
|
||||||
|
628049 Native windows don't work very well
|
||||||
|
|
||||||
|
* Updated translations:
|
||||||
|
British English
|
||||||
|
French
|
||||||
|
Galician
|
||||||
|
Hebrew
|
||||||
|
Indonesian
|
||||||
|
Hungarian
|
||||||
|
Norwegian bokmål
|
||||||
|
Spanish
|
||||||
|
|
||||||
|
|
||||||
|
Overview of Changes from GTK+ 2.21.5 to 2.21.6
|
||||||
|
==============================================
|
||||||
|
|
||||||
|
* Most drawing done by GTK+ itself has been ported from
|
||||||
|
GDK drawing APIs to cairo
|
||||||
|
|
||||||
|
* GtkExpander gained a ::label-fill property to make the label
|
||||||
|
fill the entire horizontal space
|
||||||
|
|
||||||
|
* Deprecations:
|
||||||
|
- GtkNotebookPage
|
||||||
|
- The GtkRecenManager::limit property
|
||||||
|
- All GDK drawing functions, ie gdk_draw_*. Use cairo instead
|
||||||
|
- All GdkGC functions. Use cairo instead
|
||||||
|
- All of GdkImage. Use cairo instead
|
||||||
|
- All of GdkRGB. Use cairo instead
|
||||||
|
- gdk_{bit,pix}map_create_from_data
|
||||||
|
|
||||||
|
* New accessors:
|
||||||
|
- gdk_cursor_get_cursor_type
|
||||||
|
- gdk_device_get_n_axes
|
||||||
|
- gdk_display_is_closed
|
||||||
|
- gtk_notebook_get_tab_[hv]border
|
||||||
|
|
||||||
|
* New cairo-related APIs:
|
||||||
|
- gdk_window_create_similar_surface
|
||||||
|
- gdk_window_get_background_pattern
|
||||||
|
|
||||||
|
* Accessiblity:
|
||||||
|
- Make Gail work with custom treemodels
|
||||||
|
- Implement GailAdjustment::get_minimum_increment
|
||||||
|
|
||||||
|
* Bugs fixed:
|
||||||
|
599574 Crash in _cairo_surface_set_error
|
||||||
|
604391 ...assertion `ancestor != NULL' when switching between tab
|
||||||
|
618327 GtkNotebookPage should be deprecated
|
||||||
|
623603 meld built with pygtk-2.16.0 giving warnings
|
||||||
|
623865 gtkdnd: pointer grab may never finish (ungrab before grab)
|
||||||
|
624087 Missing accessor for GdkCursor.type
|
||||||
|
624221 Gtk-2.21 Missing accessor for GdkDevice.num_axis
|
||||||
|
624224 Missing accessor for GdkDisplay.closed
|
||||||
|
624333 Deprecate GtkRecentManager:limit
|
||||||
|
624687 switch-page bug when activated from menu
|
||||||
|
624779 GtkCalendar padding/margin/spacing/border/whatever is too hard...
|
||||||
|
625491 Generate GdkX11-2.0.typelib (backported from HEAD)
|
||||||
|
625650 Add annotations to gtk_tree_model_iter_next() and gtk_tree_sel...
|
||||||
|
|
||||||
|
* Translation updates:
|
||||||
|
Norwegian bokmål
|
||||||
|
|
||||||
|
|
||||||
|
Overview of Changes from GTK+ 2.21.4 to 2.21.5
|
||||||
|
==============================================
|
||||||
|
|
||||||
|
* Deprecations:
|
||||||
|
- Deprecate GdkRegion apis that have no cairo equivalent
|
||||||
|
- GtkWindow::allow-grow and ::allow-shrink properties
|
||||||
|
|
||||||
|
* New accessors:
|
||||||
|
- gdk_window_has_native
|
||||||
|
|
||||||
|
* Introspection: misc annotation fixes
|
||||||
|
|
||||||
|
|
||||||
|
Overview of Changes from GTK+ 2.21.3 to 2.21.4
|
||||||
|
==============================================
|
||||||
|
|
||||||
|
* Revert a change in GtkCalendar that broke the pygtk build
|
||||||
|
|
||||||
|
* Fix the building of input methods as modules
|
||||||
|
|
||||||
|
* Include gdk-pixbuf-2.0 in the .pc file requires
|
||||||
|
|
||||||
|
* Various OS X fixes
|
||||||
|
|
||||||
|
|
||||||
|
Overview of Changes from GTK+ 2.21.2 to 2.21.3
|
||||||
|
==============================================
|
||||||
|
|
||||||
|
* gdk-pixbuf has been moved into a separate module
|
||||||
|
|
||||||
|
* gtk_init warns if it detects GTK2.x and GTK3 being used
|
||||||
|
in the same process
|
||||||
|
|
||||||
|
* Misc new API:
|
||||||
|
gtk_accessible_set_widget
|
||||||
|
gtk_message_dialog_get_message_area
|
||||||
|
gtk_font_selection_dialog_get_font_selection
|
||||||
|
gtk_window_group_get_current_grab
|
||||||
|
gtk_table_get_size
|
||||||
|
gtk_button_get_event_window
|
||||||
|
gdk_device_manager_get_client_pointer
|
||||||
|
gdk_image_get_pixels
|
||||||
|
|
||||||
|
* Bugs fixed:
|
||||||
|
522756 gnome-appearance-properties crashed with SIGSEGV...
|
||||||
|
615666 GTK_OBJECT_FLAGS() should be deprecated
|
||||||
|
621136 GtkCalendar: Some functions always return TRUE
|
||||||
|
621250 Missing accessors for GtkRange has_stepper_X
|
||||||
|
621414 Can't select file on file browser popup after...
|
||||||
|
621683 gtk_menu_attach_to_widget() should emit...
|
||||||
|
621775 Space symbol missed in Resources chapter
|
||||||
|
622011 Don't handle "connecting-to-device" state reason
|
||||||
|
622371 Need gtk_accessible_set_widget
|
||||||
|
622581 GtkButton has no accessor for event_window
|
||||||
|
|
||||||
|
|
||||||
|
Overview of Changes from GTK+ 2.21.1 to 2.21.2
|
||||||
|
==============================================
|
||||||
|
|
||||||
|
* The newly added gdk_drag_context_get_action function has been
|
||||||
|
renamed to gdk_drag_context_get_selected_action to make the
|
||||||
|
name less confusing.
|
||||||
|
|
||||||
|
* Introspection annotations have been added in many places
|
||||||
|
|
||||||
|
* New accessors for sealed struct members:
|
||||||
|
gtk_viewport_get_view_window
|
||||||
|
gdk_drag_context_get_source_window
|
||||||
|
|
||||||
|
* Bug fixes:
|
||||||
|
608218 GtkOffscreenWindow causes bad window with GtkEntry
|
||||||
|
611709 Add gtk_statusbar_remove_all
|
||||||
|
596428 GtkAssistant: Support ending with a progress page
|
||||||
|
620511 Use g_source_set_name for all custom GSources in GTK+
|
||||||
|
608537 Make the file chooser's sort arrows consistent
|
||||||
|
620863
|
||||||
|
|
||||||
|
|
||||||
|
Overview of Changes from GTK+ 2.21.0 to 2.21.1
|
||||||
|
==============================================
|
||||||
|
|
||||||
|
* GDK has been sealed, with the addition of suitable accessors
|
||||||
|
|
||||||
|
* Bugs:
|
||||||
|
613132 GtkBoxChild should probably be deprecated
|
||||||
|
592580 GDK needs sealing
|
||||||
|
607628 DnD operation doesn't work when using offscreen.
|
||||||
|
565559 Incorrect leave-notify signals for treeview
|
||||||
|
618162 Description of GdkColor
|
||||||
|
614581 Gtk print dialog freezes on start up
|
||||||
|
533946 GtkHScale does not update correctly
|
||||||
|
618271 Add gtk_window_has_group()
|
||||||
|
618000 Sync paper size fallbacks with CLDR 1.8.1
|
||||||
|
551322 configure does not use -lm in jasper (JPEG2000) testing
|
||||||
|
619114 undefined reference to `XkbBell'
|
||||||
|
618093 typo in gtkprintoperation.c, "selecion" should be "selection"
|
||||||
|
|
||||||
|
* Updated translations:
|
||||||
|
Italian
|
||||||
|
|
||||||
|
|
||||||
|
Overview of Changes from GTK+ 2.20.0 to 2.21.0
|
||||||
|
==============================================
|
||||||
|
|
||||||
|
* Support tracker 0.8 and 0.9 in the filechooser search code
|
||||||
|
|
||||||
|
* New API:
|
||||||
|
- add API to convert coords between parent and child windows
|
||||||
|
- add gdk_window_get_effective_parent() and
|
||||||
|
gdk_window_get_effective_toplevel() which are offscreen aware
|
||||||
|
- add gtk_widget_send_focus_change
|
||||||
|
- add accessors for GtkTextView adjustments
|
||||||
|
- add API to reset the im context in GtkTextView and GtkEntry
|
||||||
|
|
||||||
|
* Bug fixes:
|
||||||
|
614513 Func to substitute GTK_WIDGET_SET_FLAGS (widget, GTK_HAS_GRAB)?
|
||||||
|
614510 Needed func for GTK_WIDGET_SET_FLAGS (widget, TOPLEVEL) ?
|
||||||
|
614515 Func to substitute GTK_WIDGET_SET_FLAGS (widget, GTK_HAS_DEFAULT)?
|
||||||
|
163251 GtkTextView derivatives need some way to set the need_im_reset flag.
|
||||||
|
69872 GTK_WIDGET_SET_FLAGS should be deprecated
|
||||||
|
615028 gdk/x11/gdkdnd-x11.c missing Xutil.h
|
||||||
|
615128 gdk monitor order does not seem to be correct
|
||||||
|
616565 Fix a typo in the offscreen windows docs
|
||||||
|
616118 please expand documentation for gdk_event_free()
|
||||||
|
615000 gtk_builder_value_from_string_type() returns FALSE without..
|
||||||
|
580889 table cells do not implement action interface
|
||||||
|
616053 GtkTextView lacks accessors for hadjustment and vadjustment
|
||||||
|
613988 Compile error on DirectFB backend due to missing of gdk_...
|
||||||
|
614894 Add heuristic for pre XRandR 1.3 drivers
|
||||||
|
560147 GtkBuilder docs should say what GErrors they throw
|
||||||
|
615999 Gail doesn't send state-changed events for ATK_STATE_ENABLED
|
||||||
|
613974 GtkToolItemGroup devides by 0 when allocating space for...
|
||||||
|
614540 configure wants gio-unix on all platform
|
||||||
|
557689 In 'select folder' action, filechooser doesn't work when...
|
||||||
|
615853 BadMatch when pressing keyboard volume keys while pointer...
|
||||||
|
613887 Misprint in the description of the function gtk_cell_view_...
|
||||||
|
615162 Fix tooltips on offscreen widgets
|
||||||
|
616851 assertion `GTK_IS_MISC (misc)' failed
|
||||||
|
607839 libpixbufloader-png.so not in library list
|
||||||
|
605186 Use G_DEFINE_INTERFACE macro
|
||||||
|
402349 FileChooser's default directory is not "active"
|
||||||
|
missing break statement in gtk_tool_item_group_set_property
|
||||||
|
missing default events in GtkToolItemGroup
|
||||||
|
fix a filechooser crash when removing files
|
||||||
|
|
||||||
|
* Translation updates:
|
||||||
|
Basque
|
||||||
|
Bengali India
|
||||||
|
Catalan
|
||||||
|
Catalan (Valencian)
|
||||||
|
Danish
|
||||||
|
Galician
|
||||||
|
Greek
|
||||||
|
Indonesian
|
||||||
|
Kannada
|
||||||
|
Kazakh
|
||||||
|
Latvian
|
||||||
|
Marathi
|
||||||
|
Thai
|
||||||
|
Ukrainian
|
||||||
|
|
||||||
Overview of Changes from GTK+ 2.19.7 to 2.20.0
|
Overview of Changes from GTK+ 2.19.7 to 2.20.0
|
||||||
==============================================
|
==============================================
|
||||||
|
|
||||||
|
|||||||
34
README.win32
34
README.win32
@@ -7,9 +7,18 @@ Building GTK+ on Win32
|
|||||||
======================
|
======================
|
||||||
|
|
||||||
First you obviously need developer packages for the compile-time
|
First you obviously need developer packages for the compile-time
|
||||||
dependencies: Pango, atk, glib, gettext-runtime, libiconv, libpng,
|
dependencies: GDK-Pixbuf, Pango, atk, glib, gettext-runtime, libiconv
|
||||||
zlib, libtiff at least. See
|
at least. See
|
||||||
http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies .
|
http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies.
|
||||||
|
|
||||||
|
For people compiling GTK+ on Visual C++ 2005 or later, it is recommended
|
||||||
|
that you build GDK-Pixbuf, Pango, atk, glib with the same compiler to avoid
|
||||||
|
crashes and errors caused by the usage of different CRTS. VS 2008
|
||||||
|
project files and/or VS Makefiles are either already available in these
|
||||||
|
packages or will be available in the next stable release. Unfortunately
|
||||||
|
compiling with Microsoft's compilers (version 2003 or earlier) is not
|
||||||
|
supported as compiling GLib requires features from the newer compilers
|
||||||
|
and/or the newer Platform SDKs at this time of writing.
|
||||||
|
|
||||||
After installing the dependencies, there are two ways to build GTK+
|
After installing the dependencies, there are two ways to build GTK+
|
||||||
for win32.
|
for win32.
|
||||||
@@ -103,8 +112,8 @@ PATH="/devel/target/$HEX/bin:$PATH" gdk-pixbuf-query-loaders >/devel/target/$HEX
|
|||||||
|
|
||||||
grep -v -E 'Automatically generated|Created by|LoaderDir =' <$TARGET/etc/gtk-2.0/gdk-pixbuf.loaders >$TARGET/etc/gtk-2.0/gdk-pixbuf.loaders.temp &&
|
grep -v -E 'Automatically generated|Created by|LoaderDir =' <$TARGET/etc/gtk-2.0/gdk-pixbuf.loaders >$TARGET/etc/gtk-2.0/gdk-pixbuf.loaders.temp &&
|
||||||
mv $TARGET/etc/gtk-2.0/gdk-pixbuf.loaders.temp $TARGET/etc/gtk-2.0/gdk-pixbuf.loaders &&
|
mv $TARGET/etc/gtk-2.0/gdk-pixbuf.loaders.temp $TARGET/etc/gtk-2.0/gdk-pixbuf.loaders &&
|
||||||
grep -v -E 'Automatically generated|Created by|ModulesPath =' <$TARGET/etc/gtk-2.0/gtk.immodules >$TARGET/etc/gtk-2.0/gtk.immodules.temp &&
|
grep -v -E 'Automatically generated|Created by|ModulesPath =' <$TARGET/lib/gtk-2.0/2.10.0/immodules.cache >$TARGET/lib/gtk-2.0/2.10.0/immodules.temp &&
|
||||||
mv $TARGET/etc/gtk-2.0/gtk.immodules.temp $TARGET/etc/gtk-2.0/gtk.immodules &&
|
mv $TARGET/lib/gtk-2.0/2.10.0/immodules.temp $TARGET/lib/gtk-2.0/2.10.0/immodules.cache &&
|
||||||
|
|
||||||
./gtk-zip.sh &&
|
./gtk-zip.sh &&
|
||||||
|
|
||||||
@@ -147,11 +156,23 @@ Use the Microsoft compiler, cl and Make, nmake. Say nmake -f
|
|||||||
makefile.msc in gdk and gtk. Be prepared to manually edit various
|
makefile.msc in gdk and gtk. Be prepared to manually edit various
|
||||||
makefile.msc files, and the makefile snippets in build/win32.
|
makefile.msc files, and the makefile snippets in build/win32.
|
||||||
|
|
||||||
|
There are also VS 2008/2010 solution and project files to build GTK+, which
|
||||||
|
are maintained by Chun-wei Fan. They should build GTK+ out of the box,
|
||||||
|
provided that the afore-mentioned dependencies are installed. They will
|
||||||
|
build GDK with the Win32 backend, GTK+ itself and the gtk-demo program.
|
||||||
|
(The GAIL and GAIL-util sources are not built by this method yet)
|
||||||
|
|
||||||
|
Please refer to the following GNOME Live! page for a more detailed ouline
|
||||||
|
on the process of building the GTK+ stack and its dependencies with Visual
|
||||||
|
C++:
|
||||||
|
|
||||||
|
https://live.gnome.org/GTK%2B/Win32/MSVCCompilationOfGTKStack
|
||||||
|
|
||||||
Alternative 1 also generates Microsoft import libraries (.lib), if you
|
Alternative 1 also generates Microsoft import libraries (.lib), if you
|
||||||
have lib.exe available. It might also work for cross-compilation from
|
have lib.exe available. It might also work for cross-compilation from
|
||||||
Unix.
|
Unix.
|
||||||
|
|
||||||
I use method 1 myself. Hans Breuer has been taking care of the MSVC
|
I (Tor) use method 1 myself. Hans Breuer has been taking care of the MSVC
|
||||||
makefiles. At times, we disagree a bit about various issues, and for
|
makefiles. At times, we disagree a bit about various issues, and for
|
||||||
instance the makefile.msc files might not produce identically named
|
instance the makefile.msc files might not produce identically named
|
||||||
DLLs and import libraries as the "autoconfiscated" makefiles and
|
DLLs and import libraries as the "autoconfiscated" makefiles and
|
||||||
@@ -182,3 +203,4 @@ sources. Unfortunately it seems that only Wacom tablets come with
|
|||||||
support for the Wintab API nowadays.
|
support for the Wintab API nowadays.
|
||||||
|
|
||||||
--Tor Lillqvist <tml@iki.fi>, <tml@novell.com>
|
--Tor Lillqvist <tml@iki.fi>, <tml@novell.com>
|
||||||
|
--Updated by Fan, Chun-wei <fanc999@yahoo.com.tw>
|
||||||
|
|||||||
28
autogen.sh
28
autogen.sh
@@ -19,7 +19,7 @@ if libtoolize --version < /dev/null > /dev/null 2>&1 ; then
|
|||||||
sed -e 's/^\(.*\)([^)]*)\(.*\)$/\1\2/g' \
|
sed -e 's/^\(.*\)([^)]*)\(.*\)$/\1\2/g' \
|
||||||
-e 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
|
-e 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
|
||||||
case $libtool_version in
|
case $libtool_version in
|
||||||
1.4*|1.5*|2.2*)
|
1.4*|1.5*|2.2*|2.4*)
|
||||||
have_libtool=true
|
have_libtool=true
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
@@ -48,7 +48,16 @@ fi
|
|||||||
DIE=1
|
DIE=1
|
||||||
}
|
}
|
||||||
|
|
||||||
if automake-1.11 --version < /dev/null > /dev/null 2>&1 ; then
|
if automake-1.14 --version < /dev/null > /dev/null 2>&1 ; then
|
||||||
|
AUTOMAKE=automake-1.14
|
||||||
|
ACLOCAL=aclocal-1.14
|
||||||
|
else if automake-1.13 --version < /dev/null > /dev/null 2>&1 ; then
|
||||||
|
AUTOMAKE=automake-1.13
|
||||||
|
ACLOCAL=aclocal-1.13
|
||||||
|
else if automake-1.12 --version < /dev/null > /dev/null 2>&1 ; then
|
||||||
|
AUTOMAKE=automake-1.12
|
||||||
|
ACLOCAL=aclocal-1.12
|
||||||
|
else if automake-1.11 --version < /dev/null > /dev/null 2>&1 ; then
|
||||||
AUTOMAKE=automake-1.11
|
AUTOMAKE=automake-1.11
|
||||||
ACLOCAL=aclocal-1.11
|
ACLOCAL=aclocal-1.11
|
||||||
else if automake-1.10 --version < /dev/null > /dev/null 2>&1 ; then
|
else if automake-1.10 --version < /dev/null > /dev/null 2>&1 ; then
|
||||||
@@ -59,13 +68,17 @@ else if automake-1.7 --version < /dev/null > /dev/null 2>&1 ; then
|
|||||||
ACLOCAL=aclocal-1.7
|
ACLOCAL=aclocal-1.7
|
||||||
else
|
else
|
||||||
echo
|
echo
|
||||||
echo "You must have automake 1.7.x, 1,10.x or 1.11.x installed to compile $PROJECT."
|
echo "You must have automake 1.7.x, 1,10.x, 1.11.x, 1.12.x, 1.13.x or 1.14.x"
|
||||||
|
echo "installed to compile $PROJECT."
|
||||||
echo "Install the appropriate package for your distribution,"
|
echo "Install the appropriate package for your distribution,"
|
||||||
echo "or get the source tarball at http://ftp.gnu.org/gnu/automake/"
|
echo "or get the source tarball at http://ftp.gnu.org/gnu/automake/"
|
||||||
DIE=1
|
DIE=1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
if test "$DIE" -eq 1; then
|
if test "$DIE" -eq 1; then
|
||||||
exit 1
|
exit 1
|
||||||
@@ -76,7 +89,12 @@ test $TEST_TYPE $FILE || {
|
|||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
if test -z "$AUTOGEN_SUBDIR_MODE"; then
|
# NOCONFIGURE is used by gnome-common; support both
|
||||||
|
if ! test -z "$AUTOGEN_SUBDIR_MODE"; then
|
||||||
|
NOCONFIGURE=1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test -z "$NOCONFIGURE"; then
|
||||||
if test -z "$*"; then
|
if test -z "$*"; then
|
||||||
echo "I am going to run ./configure with no arguments - if you wish "
|
echo "I am going to run ./configure with no arguments - if you wish "
|
||||||
echo "to pass any to it, please specify them on the $0 command line."
|
echo "to pass any to it, please specify them on the $0 command line."
|
||||||
@@ -120,7 +138,7 @@ $AUTOMAKE --add-missing || exit $?
|
|||||||
autoconf || exit $?
|
autoconf || exit $?
|
||||||
cd $ORIGDIR || exit $?
|
cd $ORIGDIR || exit $?
|
||||||
|
|
||||||
if test -z "$AUTOGEN_SUBDIR_MODE"; then
|
if test -z "$NOCONFIGURE"; then
|
||||||
$srcdir/configure --enable-maintainer-mode $AUTOGEN_CONFIGURE_ARGS "$@" || exit $?
|
$srcdir/configure --enable-maintainer-mode $AUTOGEN_CONFIGURE_ARGS "$@" || exit $?
|
||||||
|
|
||||||
echo
|
echo
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
include $(top_srcdir)/Makefile.decl
|
include $(top_srcdir)/Makefile.decl
|
||||||
|
|
||||||
SUBDIRS = \
|
SUBDIRS = \
|
||||||
vs9
|
vs9 \
|
||||||
|
vs10
|
||||||
|
|||||||
23
build/win32/vs10/Makefile.am
Normal file
23
build/win32/vs10/Makefile.am
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
include $(top_srcdir)/Makefile.decl
|
||||||
|
|
||||||
|
EXTRA_DIST += \
|
||||||
|
README.txt \
|
||||||
|
gtk+.sln \
|
||||||
|
gtk+.props \
|
||||||
|
gdk-win32.vcxproj \
|
||||||
|
gdk-win32.vcxproj.filters \
|
||||||
|
gdk.vcxproj \
|
||||||
|
gdk.vcxprojin \
|
||||||
|
gdk.vcxproj.filters \
|
||||||
|
gdk.vcxproj.filtersin \
|
||||||
|
gtk.vcxproj \
|
||||||
|
gtk.vcxprojin \
|
||||||
|
gtk.vcxproj.filters \
|
||||||
|
gtk.vcxproj.filtersin \
|
||||||
|
gtk-demo.vcxproj \
|
||||||
|
gtk-demo.vcxproj.filters \
|
||||||
|
gailutil.vcxproj \
|
||||||
|
gailutil.vcxproj.filters \
|
||||||
|
libwimp.vcxproj \
|
||||||
|
libwimp.vcxproj.filters \
|
||||||
|
install.vcxproj
|
||||||
74
build/win32/vs10/README.txt
Normal file
74
build/win32/vs10/README.txt
Normal file
@@ -0,0 +1,74 @@
|
|||||||
|
Please do not compile this package (GTK+) in paths that contain
|
||||||
|
spaces in them-as strange problems may occur during compilation or during
|
||||||
|
the use of the library.
|
||||||
|
|
||||||
|
A more detailed outline for instructions on building the GTK+ with Visual
|
||||||
|
C++ can be found in the following GNOME Live! page:
|
||||||
|
|
||||||
|
https://live.gnome.org/GTK%2B/Win32/MSVCCompilationOfGTKStack
|
||||||
|
|
||||||
|
This VS10 solution and the projects it includes are intented to be used
|
||||||
|
in a GTK+ source tree unpacked from a tarball. In a git checkout you
|
||||||
|
first need to use some Unix-like environment or manual work to expand
|
||||||
|
the files needed, like config.h.win32.in into config.h.win32 and the
|
||||||
|
.vcxprojin and .vcxproj.fintersin files here into corresponding actual
|
||||||
|
.vcxproj and .vcxproj.filters files.
|
||||||
|
|
||||||
|
You will need the parts from below in the GTK+ stack: GDK-Pixbuf, Pango,
|
||||||
|
ATK and GLib. External dependencies are at least Cairo, zlib, libpng,
|
||||||
|
gettext-runtime; and optional dependencies are fontconfig*, freetype*
|
||||||
|
and expat*. See the build/win32/vs10/README.txt file in glib for
|
||||||
|
details where to unpack them.
|
||||||
|
|
||||||
|
It is recommended that one builds the dependencies with VS10 as far as
|
||||||
|
possible, especially those from and using the GTK+ stack (i.e. GLib,
|
||||||
|
ATK, Pango, GDK-Pixbuf), so that crashes caused by mixing calls
|
||||||
|
to different CRTs can be kept at a minimum. zlib, libpng, and Cairo
|
||||||
|
do contain support for compiling under VS10 using VS
|
||||||
|
project files and/or makefiles at this time of writing, For the
|
||||||
|
GTK+ stack, VS10 project files are either available under
|
||||||
|
$(srcroot)/build/vs10 in the case of GLib (stable/unstable), ATK
|
||||||
|
(unstable) and GDK-Pixbuf (unstable), and should be in the next
|
||||||
|
unstable version of Pango. There is no known official VS10 build
|
||||||
|
support for fontconfig (along with freetype and expat) and
|
||||||
|
gettext-runtime, so please use the binaries from:
|
||||||
|
|
||||||
|
ftp://ftp.gnome.org/pub/GNOME/binaries/win32/dependencies/ (32 bit)
|
||||||
|
ftp://ftp.gnome.org/pub/GNOME/binaries/win64/dependencies/ (64 bit)
|
||||||
|
|
||||||
|
The recommended build order for these dependencies:
|
||||||
|
(first unzip any dependent binaries downloaded from the ftp.gnome.org
|
||||||
|
as described in the README.txt file in the build/win32/vs10 folder)
|
||||||
|
-zlib
|
||||||
|
-libpng
|
||||||
|
-(optional for GDK-Pixbuf) IJG JPEG
|
||||||
|
-(optional for GDK-Pixbuf) requires zlib and IJG JPEG)libtiff
|
||||||
|
-(optional for GDK-Pixbuf) jasper [jpeg-2000 library])
|
||||||
|
-(optional for GLib) PCRE (version 8.12 or later, use of CMake to
|
||||||
|
build PCRE is recommended-see build/win32/vs10/README.txt of GLib)
|
||||||
|
-Cairo
|
||||||
|
-GLib
|
||||||
|
-ATK
|
||||||
|
-Pango
|
||||||
|
-GDK-Pixbuf
|
||||||
|
(note the last 3 dependencies are not interdependent, so the last 3
|
||||||
|
dependencies can be built in any order)
|
||||||
|
|
||||||
|
The "install" project will copy build results and headers into their
|
||||||
|
appropriate location under <root>\vs10\<PlatformName>. For instance,
|
||||||
|
built DLLs go into <root>\vs10\<PlatformName>\bin, built LIBs into
|
||||||
|
<root>\vs10\<PlatformName>\lib and GTK+ headers into
|
||||||
|
<root>\vs10\<PlatformName>\include\gtk-2.0. This is then from where
|
||||||
|
project files higher in the stack are supposed to look for them, not
|
||||||
|
from a specific GLib source tree.
|
||||||
|
|
||||||
|
*About the dependencies marked with *: These dependencies are not
|
||||||
|
compulsory components for building and running GTK+ itself, but note
|
||||||
|
that they are needed for people running and building GIMP.
|
||||||
|
They are referred to by components in Cairo and Pango mainly-so decide
|
||||||
|
whether you will need FontConfig/FreeType support prior to building
|
||||||
|
Cairo and Pango, which are hard requirements for building and running
|
||||||
|
GTK+.
|
||||||
|
|
||||||
|
--Tor Lillqvist <tml@iki.fi>
|
||||||
|
--Updated by Fan, Chun-wei <fanc999@yahoo.com.tw>
|
||||||
185
build/win32/vs10/gailutil.vcxproj
Normal file
185
build/win32/vs10/gailutil.vcxproj
Normal file
@@ -0,0 +1,185 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{B3B6558A-01C8-4C72-9BDE-84ABB1AE67DF}</ProjectGuid>
|
||||||
|
<RootNamespace>gailutil</RootNamespace>
|
||||||
|
<Keyword>Win32Proj</Keyword>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<PlatformToolset>v100</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
<PlatformToolset>v100</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
<PlatformToolset>v100</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
<PlatformToolset>v100</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="gtk+.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="gtk+.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="gtk+.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="gtk+.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</LinkIncremental>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<AdditionalIncludeDirectories>..\..\..\gdk;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<MinimalRebuild>true</MinimalRebuild>
|
||||||
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||||
|
<PrecompiledHeader>
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalDependencies>pango-1.0.lib;atk-1.0.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<OutputFile>$(OutDir)$(GtkDllPrefix)$(ProjectName)$(GtkDllSuffix).dll</OutputFile>
|
||||||
|
<ModuleDefinitionFile>..\..\..\modules\other\gail\libgail-util\gailutil.def</ModuleDefinitionFile>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<ImportLibrary>$(TargetDir)$(ProjectName)-$(GtkApiVersion).lib</ImportLibrary>
|
||||||
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<AdditionalIncludeDirectories>..\..\..\gdk;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<PrecompiledHeader>
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalDependencies>pango-1.0.lib;atk-1.0.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<OutputFile>$(OutDir)$(GtkDllPrefix)$(ProjectName)$(GtkDllSuffix).dll</OutputFile>
|
||||||
|
<ModuleDefinitionFile>..\..\..\modules\other\gail\libgail-util\gailutil.def</ModuleDefinitionFile>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<ImportLibrary>$(TargetDir)$(ProjectName)-$(GtkApiVersion).lib</ImportLibrary>
|
||||||
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<AdditionalIncludeDirectories>..\..\..\gdk;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<MinimalRebuild>true</MinimalRebuild>
|
||||||
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||||
|
<PrecompiledHeader>
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalDependencies>pango-1.0.lib;atk-1.0.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<OutputFile>$(OutDir)$(GtkDllPrefix)$(ProjectName)$(GtkDllSuffix).dll</OutputFile>
|
||||||
|
<ModuleDefinitionFile>..\..\..\modules\other\gail\libgail-util\gailutil.def</ModuleDefinitionFile>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<ImportLibrary>$(TargetDir)$(ProjectName)-$(GtkApiVersion).lib</ImportLibrary>
|
||||||
|
<TargetMachine>MachineX64</TargetMachine>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<AdditionalIncludeDirectories>..\..\..\gdk;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||||
|
<PrecompiledHeader>
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalDependencies>pango-1.0.lib;atk-1.0.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<OutputFile>$(OutDir)$(GtkDllPrefix)$(ProjectName)$(GtkDllSuffix).dll</OutputFile>
|
||||||
|
<ModuleDefinitionFile>..\..\..\modules\other\gail\libgail-util\gailutil.def</ModuleDefinitionFile>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<ImportLibrary>$(TargetDir)$(ProjectName)-$(GtkApiVersion).lib</ImportLibrary>
|
||||||
|
<TargetMachine>MachineX64</TargetMachine>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\..\..\modules\other\gail\libgail-util\gailmisc.c" />
|
||||||
|
<ClCompile Include="..\..\..\modules\other\gail\libgail-util\gailtextutil.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="gdk.vcxproj">
|
||||||
|
<Project>{fc5aadb5-95cd-4bf0-ba8b-0c16fe7073f7}</Project>
|
||||||
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="gtk.vcxproj">
|
||||||
|
<Project>{fc5aadb5-95cd-4bf0-ba8b-0c16fe7073f5}</Project>
|
||||||
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
25
build/win32/vs10/gailutil.vcxproj.filters
Normal file
25
build/win32/vs10/gailutil.vcxproj.filters
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup>
|
||||||
|
<Filter Include="Sources">
|
||||||
|
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
||||||
|
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Headers">
|
||||||
|
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
|
||||||
|
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Resource Files">
|
||||||
|
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
|
||||||
|
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav</Extensions>
|
||||||
|
</Filter>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\..\..\modules\other\gail\libgail-util\gailmisc.c">
|
||||||
|
<Filter>Sources</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\modules\other\gail\libgail-util\gailtextutil.c">
|
||||||
|
<Filter>Sources</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
144
build/win32/vs10/gdk-win32.vcxproj
Normal file
144
build/win32/vs10/gdk-win32.vcxproj
Normal file
@@ -0,0 +1,144 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FA}</ProjectGuid>
|
||||||
|
<RootNamespace>gdkwin32</RootNamespace>
|
||||||
|
<Keyword>Win32Proj</Keyword>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="gtk+.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="gtk+.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="gtk+.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="gtk+.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<AdditionalIncludeDirectories>..\..\..\gdk-pixbuf;..\..\..\gdk;..\..\..\gdk\win32;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;G_ENABLE_DEBUG;$(GdkDefines);INSIDE_GDK_WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<MinimalRebuild>true</MinimalRebuild>
|
||||||
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||||
|
<PrecompiledHeader>
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||||
|
</ClCompile>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<AdditionalIncludeDirectories>..\..\..\gdk-pixbuf;..\..\..\gdk;..\..\..\gdk\win32;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>$(GdkDefines);INSIDE_GDK_WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||||
|
<PrecompiledHeader>
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||||
|
</ClCompile>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<AdditionalIncludeDirectories>..\..\..\gdk-pixbuf;..\..\..\gdk;..\..\..\gdk\win32;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;G_ENABLE_DEBUG;$(GdkDefines);INSIDE_GDK_WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<MinimalRebuild>true</MinimalRebuild>
|
||||||
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||||
|
<PrecompiledHeader>
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||||
|
</ClCompile>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<AdditionalIncludeDirectories>..\..\..\gdk-pixbuf;..\..\..\gdk;..\..\..\gdk\win32;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>$(GdkDefines);INSIDE_GDK_WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||||
|
<PrecompiledHeader>
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||||
|
</ClCompile>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\..\..\gdk\win32\gdkapplaunchcontext-win32.c" />
|
||||||
|
<ClCompile Include="..\..\..\gdk\win32\gdkcolor-win32.c" />
|
||||||
|
<ClCompile Include="..\..\..\gdk\win32\gdkcursor-win32.c" />
|
||||||
|
<ClCompile Include="..\..\..\gdk\win32\gdkdisplay-win32.c" />
|
||||||
|
<ClCompile Include="..\..\..\gdk\win32\gdkdnd-win32.c" />
|
||||||
|
<ClCompile Include="..\..\..\gdk\win32\gdkdrawable-win32.c" />
|
||||||
|
<ClCompile Include="..\..\..\gdk\win32\gdkevents-win32.c" />
|
||||||
|
<ClCompile Include="..\..\..\gdk\win32\gdkfont-win32.c" />
|
||||||
|
<ClCompile Include="..\..\..\gdk\win32\gdkgc-win32.c" />
|
||||||
|
<ClCompile Include="..\..\..\gdk\win32\gdkgeometry-win32.c" />
|
||||||
|
<ClCompile Include="..\..\..\gdk\win32\gdkglobals-win32.c" />
|
||||||
|
<ClCompile Include="..\..\..\gdk\win32\gdkim-win32.c" />
|
||||||
|
<ClCompile Include="..\..\..\gdk\win32\gdkimage-win32.c" />
|
||||||
|
<ClCompile Include="..\..\..\gdk\win32\gdkinput-win32.c" />
|
||||||
|
<ClCompile Include="..\..\..\gdk\win32\gdkinput.c" />
|
||||||
|
<ClCompile Include="..\..\..\gdk\win32\gdkkeys-win32.c" />
|
||||||
|
<ClCompile Include="..\..\..\gdk\win32\gdkmain-win32.c" />
|
||||||
|
<ClCompile Include="..\..\..\gdk\win32\gdkpixmap-win32.c" />
|
||||||
|
<ClCompile Include="..\..\..\gdk\win32\gdkproperty-win32.c" />
|
||||||
|
<ClCompile Include="..\..\..\gdk\win32\gdkscreen-win32.c" />
|
||||||
|
<ClCompile Include="..\..\..\gdk\win32\gdkselection-win32.c" />
|
||||||
|
<ClCompile Include="..\..\..\gdk\win32\gdkspawn-win32.c" />
|
||||||
|
<ClCompile Include="..\..\..\gdk\win32\gdktestutils-win32.c" />
|
||||||
|
<ClCompile Include="..\..\..\gdk\win32\gdkvisual-win32.c" />
|
||||||
|
<ClCompile Include="..\..\..\gdk\win32\gdkwin32id.c" />
|
||||||
|
<ClCompile Include="..\..\..\gdk\win32\gdkwindow-win32.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
97
build/win32/vs10/gdk-win32.vcxproj.filters
Normal file
97
build/win32/vs10/gdk-win32.vcxproj.filters
Normal file
@@ -0,0 +1,97 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup>
|
||||||
|
<Filter Include="Header Files">
|
||||||
|
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
|
||||||
|
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Resource Files">
|
||||||
|
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
|
||||||
|
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx</Extensions>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Source Files">
|
||||||
|
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
||||||
|
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
||||||
|
</Filter>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\..\..\gdk\win32\gdkapplaunchcontext-win32.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\gdk\win32\gdkcolor-win32.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\gdk\win32\gdkcursor-win32.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\gdk\win32\gdkdisplay-win32.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\gdk\win32\gdkdnd-win32.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\gdk\win32\gdkdrawable-win32.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\gdk\win32\gdkevents-win32.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\gdk\win32\gdkfont-win32.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\gdk\win32\gdkgc-win32.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\gdk\win32\gdkgeometry-win32.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\gdk\win32\gdkglobals-win32.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\gdk\win32\gdkim-win32.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\gdk\win32\gdkimage-win32.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\gdk\win32\gdkinput-win32.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\gdk\win32\gdkinput.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\gdk\win32\gdkkeys-win32.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\gdk\win32\gdkmain-win32.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\gdk\win32\gdkpixmap-win32.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\gdk\win32\gdkproperty-win32.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\gdk\win32\gdkscreen-win32.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\gdk\win32\gdkselection-win32.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\gdk\win32\gdkspawn-win32.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\gdk\win32\gdktestutils-win32.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\gdk\win32\gdkvisual-win32.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\gdk\win32\gdkwin32id.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\gdk\win32\gdkwindow-win32.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
30
build/win32/vs10/gdk.vcxproj.filtersin
Normal file
30
build/win32/vs10/gdk.vcxproj.filtersin
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup>
|
||||||
|
<Filter Include="Header Files">
|
||||||
|
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
|
||||||
|
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Resource Files">
|
||||||
|
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
|
||||||
|
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx</Extensions>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Source Files">
|
||||||
|
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
||||||
|
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
||||||
|
</Filter>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ResourceCompile Include="..\..\..\gdk\win32\rc\gdk.rc">
|
||||||
|
<Filter>Resource Files</Filter>
|
||||||
|
</ResourceCompile>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
#include "libgdk.vs10.sourcefiles.filters"
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<CustomBuild Include="..\..\..\gdk\gdk.symbols">
|
||||||
|
<Filter>Resource Files</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
190
build/win32/vs10/gdk.vcxprojin
Normal file
190
build/win32/vs10/gdk.vcxprojin
Normal file
@@ -0,0 +1,190 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F7}</ProjectGuid>
|
||||||
|
<RootNamespace>gdk</RootNamespace>
|
||||||
|
<Keyword>Win32Proj</Keyword>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="gtk+.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="gtk+.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="gtk+.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="gtk+.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</LinkIncremental>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</LinkIncremental>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<AdditionalIncludeDirectories>..\..\..\gdk;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;G_ENABLE_DEBUG;$(GdkDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<MinimalRebuild>true</MinimalRebuild>
|
||||||
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||||
|
<PrecompiledHeader>
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalDependencies>imm32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<OutputFile>$(OutDir)$(GtkDllPrefix)$(ProjectName)-win32$(GtkDllSuffix).dll</OutputFile>
|
||||||
|
<ModuleDefinitionFile>$(IntDir)gdk.def</ModuleDefinitionFile>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<ImportLibrary>$(TargetDir)$(ProjectName)-win32-$(GtkApiVersion).lib</ImportLibrary>
|
||||||
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<AdditionalIncludeDirectories>..\..\..\gdk;..\..\..\gdk\win32;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>$(GdkDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||||
|
<PrecompiledHeader>
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalDependencies>imm32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<OutputFile>$(OutDir)$(GtkDllPrefix)$(ProjectName)-win32$(GtkDllSuffix).dll</OutputFile>
|
||||||
|
<ModuleDefinitionFile>$(IntDir)gdk.def</ModuleDefinitionFile>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<ImportLibrary>$(TargetDir)$(ProjectName)-win32-$(GtkApiVersion).lib</ImportLibrary>
|
||||||
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<AdditionalIncludeDirectories>..\..\..\gdk;..\..\..\gdk\win32;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;G_ENABLE_DEBUG;$(GdkDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<MinimalRebuild>true</MinimalRebuild>
|
||||||
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||||
|
<PrecompiledHeader>
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalDependencies>imm32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<OutputFile>$(OutDir)$(GtkDllPrefix)$(ProjectName)-win32$(GtkDllSuffix).dll</OutputFile>
|
||||||
|
<ModuleDefinitionFile>$(IntDir)gdk.def</ModuleDefinitionFile>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<ImportLibrary>$(TargetDir)$(ProjectName)-win32-$(GtkApiVersion).lib</ImportLibrary>
|
||||||
|
<TargetMachine>MachineX64</TargetMachine>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<AdditionalIncludeDirectories>..\..\..\gdk;..\..\..\gdk\win32;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>$(GdkDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||||
|
<PrecompiledHeader>
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalDependencies>imm32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<OutputFile>$(OutDir)$(GtkDllPrefix)$(ProjectName)-win32$(GtkDllSuffix).dll</OutputFile>
|
||||||
|
<ModuleDefinitionFile>$(IntDir)gdk.def</ModuleDefinitionFile>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<ImportLibrary>$(TargetDir)$(ProjectName)-win32-$(GtkApiVersion).lib</ImportLibrary>
|
||||||
|
<TargetMachine>MachineX64</TargetMachine>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<CustomBuild Include="..\..\..\gdk\gdk.symbols">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating gdk.def</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(GtkGenerateGdkDef)</Command>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)gdk.def;%(Outputs)</Outputs>
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Generating gdk.def</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(GtkGenerateGdkDef)</Command>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(IntDir)gdk.def;%(Outputs)</Outputs>
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Generating gdk.def</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(GtkGenerateGdkDef)</Command>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)gdk.def;%(Outputs)</Outputs>
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Generating gdk.def</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(GtkGenerateGdkDef)</Command>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(IntDir)gdk.def;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ResourceCompile Include="..\..\..\gdk\win32\rc\gdk.rc" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
#include "libgdk.vs10.sourcefiles"
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="gdk-win32.vcxproj">
|
||||||
|
<Project>{fc5aadb5-95cd-4bf0-ba8b-0c16fe7073fa}</Project>
|
||||||
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
691
build/win32/vs10/gtk+.props
Normal file
691
build/win32/vs10/gtk+.props
Normal file
@@ -0,0 +1,691 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Label="UserMacros">
|
||||||
|
<GlibEtcInstallRoot>..\..\..\..\vs10\$(Platform)</GlibEtcInstallRoot>
|
||||||
|
<CopyDir>$(GlibEtcInstallRoot)</CopyDir>
|
||||||
|
<DefDir>$(SolutionDir)$(Configuration)\$(Platform)\obj\$(ProjectName)</DefDir>
|
||||||
|
<GtkApiVersion>2.0</GtkApiVersion>
|
||||||
|
<GtkBinaryVersion>2.10.0</GtkBinaryVersion>
|
||||||
|
<GtkDummyPrefix>\"/dummy\"</GtkDummyPrefix>
|
||||||
|
<GtkHost>i686-pc-vs10</GtkHost>
|
||||||
|
<GdkDefines>GDK_COMPILATION;G_LOG_DOMAIN="Gdk"</GdkDefines>
|
||||||
|
<GtkIncludedImmodulesDefines>INCLUDE_IM_am_et;INCLUDE_IM_cedilla;INCLUDE_IM_cyrillic_translit;INCLUDE_IM_ime;INCLUDE_IM_inuktitut;INCLUDE_IM_ipa;INCLUDE_IM_multipress;INCLUDE_IM_thai;INCLUDE_IM_ti_er;INCLUDE_IM_ti_et;INCLUDE_IM_viqr</GtkIncludedImmodulesDefines>
|
||||||
|
<GtkDefines>GTK_COMPILATION;G_LOG_DOMAIN="Gtk";GTK_HOST="$(GtkHost)";GTK_PRINT_BACKENDS="file";GTK_PRINT_PREVIEW_COMMAND="undefined-gtk-print-preview-command";$(GtkIncludedImmodulesDefines);GTK_LIBDIR="$(GtkDummyPrefix)/lib";GTK_DATADIR="$(GtkDummyPrefix)/share";GTK_DATA_PREFIX="$(GtkDummyPrefix)";GTK_SYSCONFDIR="$(GtkDummyPrefix)/etc";MULTIPRESS_CONFDIR="$(GtkDummyPrefix)/etc/gtk-$(GtkApiVersion)";MULTIPRESS_LOCALEDIR="$(GtkDummyPrefix)/share/locale";GTK_VERSION="$(GtkVersion)/etc";GTK_BINARY_VERSION="$(GtkBinaryVersion)/etc"</GtkDefines>
|
||||||
|
<GtkDoInstall>
|
||||||
|
echo on
|
||||||
|
|
||||||
|
mkdir $(CopyDir)\bin
|
||||||
|
|
||||||
|
copy $(Configuration)\$(Platform)\bin\*-vs10.dll $(CopyDir)\bin
|
||||||
|
|
||||||
|
copy $(Configuration)\$(Platform)\bin\*.exe $(CopyDir)\bin
|
||||||
|
|
||||||
|
|
||||||
|
mkdir $(CopyDir)\lib
|
||||||
|
|
||||||
|
copy $(Configuration)\$(Platform)\bin\*-$(GtkApiVersion).lib $(CopyDir)\lib
|
||||||
|
|
||||||
|
|
||||||
|
mkdir $(CopyDir)\include\gtk-$(GtkApiVersion)\gdk
|
||||||
|
|
||||||
|
copy ..\..\..\gdk\gdk.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gdk
|
||||||
|
|
||||||
|
copy ..\..\..\gdk\gdkapplaunchcontext.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gdk
|
||||||
|
|
||||||
|
copy ..\..\..\gdk\gdkcairo.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gdk
|
||||||
|
|
||||||
|
copy ..\..\..\gdk\gdkcolor.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gdk
|
||||||
|
|
||||||
|
copy ..\..\..\gdk\gdkcursor.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gdk
|
||||||
|
|
||||||
|
copy ..\..\..\gdk\gdkdisplay.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gdk
|
||||||
|
|
||||||
|
copy ..\..\..\gdk\gdkdisplaymanager.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gdk
|
||||||
|
|
||||||
|
copy ..\..\..\gdk\gdkdnd.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gdk
|
||||||
|
|
||||||
|
copy ..\..\..\gdk\gdkdrawable.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gdk
|
||||||
|
|
||||||
|
copy ..\..\..\gdk\gdkenumtypes.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gdk
|
||||||
|
|
||||||
|
copy ..\..\..\gdk\gdkevents.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gdk
|
||||||
|
|
||||||
|
copy ..\..\..\gdk\gdkfont.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gdk
|
||||||
|
|
||||||
|
copy ..\..\..\gdk\gdkgc.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gdk
|
||||||
|
|
||||||
|
copy ..\..\..\gdk\gdki18n.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gdk
|
||||||
|
|
||||||
|
copy ..\..\..\gdk\gdkimage.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gdk
|
||||||
|
|
||||||
|
copy ..\..\..\gdk\gdkinput.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gdk
|
||||||
|
|
||||||
|
copy ..\..\..\gdk\gdkkeys.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gdk
|
||||||
|
|
||||||
|
copy ..\..\..\gdk\gdkkeysyms.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gdk
|
||||||
|
|
||||||
|
copy ..\..\..\gdk\gdkkeysyms-compat.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gdk
|
||||||
|
|
||||||
|
copy ..\..\..\gdk\gdkpango.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gdk
|
||||||
|
|
||||||
|
copy ..\..\..\gdk\gdkpixbuf.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gdk
|
||||||
|
|
||||||
|
copy ..\..\..\gdk\gdkpixmap.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gdk
|
||||||
|
|
||||||
|
copy ..\..\..\gdk\gdkprivate.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gdk
|
||||||
|
|
||||||
|
copy ..\..\..\gdk\gdkproperty.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gdk
|
||||||
|
|
||||||
|
copy ..\..\..\gdk\gdkregion.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gdk
|
||||||
|
|
||||||
|
copy ..\..\..\gdk\gdkrgb.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gdk
|
||||||
|
|
||||||
|
copy ..\..\..\gdk\gdkscreen.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gdk
|
||||||
|
|
||||||
|
copy ..\..\..\gdk\gdkselection.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gdk
|
||||||
|
|
||||||
|
copy ..\..\..\gdk\gdkspawn.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gdk
|
||||||
|
|
||||||
|
copy ..\..\..\gdk\gdktestutils.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gdk
|
||||||
|
|
||||||
|
copy ..\..\..\gdk\gdktypes.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gdk
|
||||||
|
|
||||||
|
copy ..\..\..\gdk\gdkvisual.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gdk
|
||||||
|
|
||||||
|
copy ..\..\..\gdk\win32\gdkwin32.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gdk
|
||||||
|
|
||||||
|
copy ..\..\..\gdk\gdkwindow.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gdk
|
||||||
|
|
||||||
|
|
||||||
|
mkdir $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtk.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkaboutdialog.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkaccelgroup.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkaccellabel.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkaccelmap.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkaccessible.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkaction.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkactiongroup.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkactivatable.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkadjustment.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkalignment.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkarrow.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkaspectframe.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkassistant.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkbbox.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkbin.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkbindings.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkbox.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkbuildable.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkbuilder.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkbutton.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkcalendar.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkcelleditable.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkcelllayout.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkcellrenderer.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkcellrendereraccel.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkcellrenderercombo.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkcellrendererpixbuf.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkcellrendererprogress.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkcellrendererspin.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkcellrendererspinner.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkcellrenderertext.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkcellrenderertoggle.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkcellview.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkcheckbutton.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkcheckmenuitem.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkclipboard.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkclist.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkcolorbutton.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkcolorsel.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkcolorseldialog.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkcombo.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkcombobox.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkcomboboxentry.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkcomboboxtext.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkcontainer.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkctree.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkcurve.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkdebug.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkdialog.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkdnd.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkdrawingarea.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkeditable.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkentry.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkentrybuffer.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkentrycompletion.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkenums.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkeventbox.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkexpander.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkfilechooser.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkfilechooserbutton.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkfilechooserdialog.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkfilechooserwidget.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkfilefilter.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkfilesel.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkfixed.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkfontbutton.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkfontsel.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkframe.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkgamma.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkgc.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkhandlebox.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkhbbox.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkhbox.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkhpaned.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkhruler.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkhscale.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkhscrollbar.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkhseparator.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkhsv.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkiconfactory.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkicontheme.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkiconview.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkimage.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkimagemenuitem.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkimcontext.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkimcontextsimple.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkimmodule.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkimmulticontext.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkinfobar.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkinputdialog.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkinvisible.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkitem.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkitemfactory.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtklabel.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtklayout.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtklinkbutton.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtklist.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtklistitem.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkliststore.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkmain.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkmarshal.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkmenu.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkmenubar.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkmenuitem.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkmenushell.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkmenutoolbutton.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkmessagedialog.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkmisc.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkmodules.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkmountoperation.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtknotebook.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkobject.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkoffscreenwindow.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkoldeditable.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkoptionmenu.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkorientable.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkpagesetup.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkpaned.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkpapersize.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkpixmap.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkplug.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkpreview.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkprintcontext.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkprintoperation.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkprintoperationpreview.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkprintsettings.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkprogress.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkprogressbar.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkradioaction.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkradiobutton.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkradiomenuitem.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkradiotoolbutton.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkrange.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkrc.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkrecentaction.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkrecentchooser.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkrecentchooserdialog.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkrecentchoosermenu.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkrecentchooserwidget.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkrecentfilter.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkrecentmanager.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkruler.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkscale.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkscalebutton.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkscrollbar.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkscrolledwindow.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkselection.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkseparator.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkseparatormenuitem.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkseparatortoolitem.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtksettings.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkshow.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtksignal.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtksizegroup.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtksocket.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkspinbutton.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkspinner.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkstatusbar.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkstatusicon.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkstock.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkstyle.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtktable.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtktearoffmenuitem.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtktestutils.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtktext.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtktextbuffer.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtktextbufferrichtext.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtktextchild.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtktextdisplay.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtktextiter.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtktextlayout.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtktextmark.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtktexttag.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtktexttagtable.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtktextview.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtktipsquery.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtktoggleaction.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtktogglebutton.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtktoggletoolbutton.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtktoolbar.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtktoolbutton.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtktoolitem.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtktoolitemgroup.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtktoolpalette.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtktoolshell.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtktooltip.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtktooltips.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtktree.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtktreednd.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtktreeitem.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtktreemodel.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtktreemodelfilter.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtktreemodelsort.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtktreeselection.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtktreesortable.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtktreestore.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtktreeview.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtktreeviewcolumn.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtktypebuiltins.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtktypeutils.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkuimanager.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkvbbox.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkvbox.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkversion.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkviewport.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkvolumebutton.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkvpaned.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkvruler.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkvscale.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkvscrollbar.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkvseparator.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkwidget.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkwindow.h $(CopyDir)\include\gtk-$(GtkApiVersion)\gtk
|
||||||
|
|
||||||
|
|
||||||
|
mkdir $(CopyDir)\lib\gtk-$(GtkApiVersion)\include
|
||||||
|
|
||||||
|
copy ..\..\..\gdk\gdkconfig.h $(CopyDir)\lib\gtk-$(GtkApiVersion)\include
|
||||||
|
|
||||||
|
|
||||||
|
mkdir $(CopyDir)\include\gail-1.0\libgail-util
|
||||||
|
|
||||||
|
copy ..\..\..\modules\other\gail\libgail-util\gailmisc.h $(CopyDir)\include\gail-1.0\libgail-util
|
||||||
|
|
||||||
|
copy ..\..\..\modules\other\gail\libgail-util\gailtextutil.h $(CopyDir)\include\gail-1.0\libgail-util
|
||||||
|
|
||||||
|
copy ..\..\..\modules\other\gail\libgail-util\gail-util.h $(CopyDir)\include\gail-1.0\libgail-util
|
||||||
|
|
||||||
|
|
||||||
|
copy $(Configuration)\$(Platform)\bin\*-$(GtkApiVersion).lib $(CopyDir)\lib
|
||||||
|
|
||||||
|
mkdir $(CopyDir)\lib\gtk-$(GtkApiVersion)\$(GtkHost)\engines
|
||||||
|
|
||||||
|
copy $(Configuration)\$(Platform)\bin\libwimp.dll $(CopyDir)\lib\gtk-$(GtkApiVersion)\$(GtkHost)\engines
|
||||||
|
|
||||||
|
|
||||||
|
mkdir $(CopyDir)\share\gtk-$(GtkApiVersion)\demo
|
||||||
|
|
||||||
|
copy ..\..\..\demos\gtk-demo\*.png $(CopyDir)\share\gtk-$(GtkApiVersion)\demo
|
||||||
|
|
||||||
|
copy ..\..\..\demos\gtk-demo\*.gif $(CopyDir)\share\gtk-$(GtkApiVersion)\demo
|
||||||
|
|
||||||
|
copy ..\..\..\demos\gtk-demo\*.ui $(CopyDir)\share\gtk-$(GtkApiVersion)\demo
|
||||||
|
|
||||||
|
copy ..\..\..\demos\gtk-demo\*.jpg $(CopyDir)\share\gtk-$(GtkApiVersion)\demo
|
||||||
|
|
||||||
|
copy ..\..\..\demos\gtk-demo\*.c $(CopyDir)\share\gtk-$(GtkApiVersion)\demo
|
||||||
|
|
||||||
|
copy ..\..\..\demos\gtk-demo\*.h $(CopyDir)\share\gtk-$(GtkApiVersion)\demo
|
||||||
|
|
||||||
|
mkdir $(CopyDir)\share\themes\Default\gtk-2.0-key
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkrc.key.default $(CopyDir)\share\themes\Default\gtk-2.0-key\gtkrc
|
||||||
|
|
||||||
|
|
||||||
|
mkdir $(CopyDir)\share\themes\Emacs\gtk-2.0-key
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkrc.key.emacs $(CopyDir)\share\themes\Emacs\gtk-2.0-key\gtkrc
|
||||||
|
|
||||||
|
|
||||||
|
mkdir $(CopyDir)\share\themes\MS-Windows\gtk-2.0
|
||||||
|
|
||||||
|
copy ..\..\..\modules\engines\ms-windows\Theme\gtk-2.0\gtkrc $(CopyDir)\share\themes\MS-Windows\gtk-2.0
|
||||||
|
|
||||||
|
|
||||||
|
mkdir $(CopyDir)\share\themes\Raleigh\gtk-2.0
|
||||||
|
|
||||||
|
copy ..\..\..\gtk\gtkrc.default $(CopyDir)\share\themes\Raleigh\gtk-2.0\gtkrc
|
||||||
|
|
||||||
|
</GtkDoInstall>
|
||||||
|
<GtkGenerateGdkDef>echo EXPORTS >"$(DefDir)\gdk.def" && cl /EP -DGDK_WINDOWING_WIN32 -DALL_FILES -DG_GNUC_CONST= ..\..\..\gdk\gdk.symbols >>"$(DefDir)\gdk.def"</GtkGenerateGdkDef>
|
||||||
|
<GtkGenerateGtkDefW64>echo EXPORTS >"$(DefDir)\gtk.def" && cl /EP -DINCLUDE_VARIABLES -DG_OS_WIN32 -D_WIN64 -DALL_FILES -DG_GNUC_MALLOC= -DG_GNUC_CONST= -DG_GNUC_NULL_TERMINATED= -DG_GNUC_PRINTF=;G_GNUC_PRINTF ..\..\..\gtk\gtk.symbols >>"$(DefDir)\gtk.def"</GtkGenerateGtkDefW64>
|
||||||
|
<GtkGenerateGtkDef>echo EXPORTS >"$(DefDir)\gtk.def" && cl /EP -DINCLUDE_VARIABLES -DG_OS_WIN32 -DALL_FILES -DG_GNUC_MALLOC= -DG_GNUC_CONST= -DG_GNUC_NULL_TERMINATED= -DG_GNUC_PRINTF=;G_GNUC_PRINTF ..\..\..\gtk\gtk.symbols >>"$(DefDir)\gtk.def"</GtkGenerateGtkDef>
|
||||||
|
<GtkLibtoolCompatibleDllPrefix>lib</GtkLibtoolCompatibleDllPrefix>
|
||||||
|
<GtkLibtoolCompatibleDllSuffix>-$(GtkApiVersion)-0</GtkLibtoolCompatibleDllSuffix>
|
||||||
|
<GtkSeparateVS10DllPrefix />
|
||||||
|
<GtkSeparateVS10DllSuffix>-2-vs10</GtkSeparateVS10DllSuffix>
|
||||||
|
<GtkDllPrefix>$(GtkSeparateVS10DllPrefix)</GtkDllPrefix>
|
||||||
|
<GtkDllSuffix>$(GtkSeparateVS10DllSuffix)</GtkDllSuffix>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<_PropertySheetDisplayName>gtk+props</_PropertySheetDisplayName>
|
||||||
|
<OutDir>$(SolutionDir)$(Configuration)\$(PlatformName)\bin\</OutDir>
|
||||||
|
<IntDir>$(SolutionDir)$(Configuration)\$(PlatformName)\obj\$(ProjectName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup>
|
||||||
|
<ClCompile>
|
||||||
|
<AdditionalIncludeDirectories>..\..\..;$(GlibEtcInstallRoot)\lib\glib-2.0\include;$(GlibEtcInstallRoot)\include\glib-2.0;$(GlibEtcInstallRoot)\include;$(GlibEtcInstallRoot)\include\cairo;$(GlibEtcInstallRoot)\include\atk-1.0;$(GlibEtcInstallRoot)\include\pango-1.0;$(GlibEtcInstallRoot)\include\gdk-pixbuf-2.0;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>HAVE_CONFIG_H;G_DISABLE_SINGLE_INCLUDES;ATK_DISABLE_SINGLE_INCLUDES;GDK_PIXBUF_DISABLE_SINGLE_INCLUDES;GTK_DISABLE_SINGLE_INCLUDES;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<ForcedIncludeFiles>msvc_recommended_pragmas.h;%(ForcedIncludeFiles)</ForcedIncludeFiles>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalDependencies>pangocairo-1.0.lib;cairo.lib;pango-1.0.lib;gdk_pixbuf-2.0.lib;gio-2.0.lib;gmodule-2.0.lib;gobject-2.0.lib;glib-2.0.lib;intl.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>$(GlibEtcInstallRoot)\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||||
|
</Link>
|
||||||
|
<PreBuildEvent>
|
||||||
|
<Command>
|
||||||
|
if exist ..\..\..\config.h goto DONE_CONFIG_H
|
||||||
|
|
||||||
|
copy ..\..\..\config.h.win32 ..\..\..\config.h
|
||||||
|
|
||||||
|
:DONE_CONFIG_H
|
||||||
|
|
||||||
|
|
||||||
|
if exist ..\..\..\gdk\gdkconfig.h goto DONE_GDKCONFIG_H
|
||||||
|
|
||||||
|
copy ..\..\..\gdk\gdkconfig.h.win32 ..\..\..\gdk\gdkconfig.h
|
||||||
|
|
||||||
|
:DONE_GDKCONFIG_H
|
||||||
|
|
||||||
|
</Command>
|
||||||
|
</PreBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<BuildMacro Include="GlibEtcInstallRoot">
|
||||||
|
<Value>$(GlibEtcInstallRoot)</Value>
|
||||||
|
</BuildMacro>
|
||||||
|
<BuildMacro Include="CopyDir">
|
||||||
|
<Value>$(CopyDir)</Value>
|
||||||
|
</BuildMacro>
|
||||||
|
<BuildMacro Include="DefDir">
|
||||||
|
<Value>$(DefDir)</Value>
|
||||||
|
</BuildMacro>
|
||||||
|
<BuildMacro Include="GtkApiVersion">
|
||||||
|
<Value>$(GtkApiVersion)</Value>
|
||||||
|
</BuildMacro>
|
||||||
|
<BuildMacro Include="GtkBinaryVersion">
|
||||||
|
<Value>$(GtkBinaryVersion)</Value>
|
||||||
|
</BuildMacro>
|
||||||
|
<BuildMacro Include="GtkDummyPrefix">
|
||||||
|
<Value>$(GtkDummyPrefix)</Value>
|
||||||
|
</BuildMacro>
|
||||||
|
<BuildMacro Include="GdkDefines">
|
||||||
|
<Value>$(GdkDefines)</Value>
|
||||||
|
</BuildMacro>
|
||||||
|
<BuildMacro Include="GtkHost">
|
||||||
|
<Value>$(GtkHost)</Value>
|
||||||
|
</BuildMacro>
|
||||||
|
<BuildMacro Include="GtkIncludedImmodulesDefines">
|
||||||
|
<Value>$(GtkIncludedImmodulesDefines)</Value>
|
||||||
|
</BuildMacro>
|
||||||
|
<BuildMacro Include="GtkDefines">
|
||||||
|
<Value>$(GtkDefines)</Value>
|
||||||
|
</BuildMacro>
|
||||||
|
<BuildMacro Include="GtkDoInstall">
|
||||||
|
<Value>$(GtkDoInstall)</Value>
|
||||||
|
</BuildMacro>
|
||||||
|
<BuildMacro Include="GtkGenerateGdkDef">
|
||||||
|
<Value>$(GtkGenerateGdkDef)</Value>
|
||||||
|
</BuildMacro>
|
||||||
|
<BuildMacro Include="GtkGenerateGtkDefW64">
|
||||||
|
<Value>$(GtkGenerateGtkDefW64)</Value>
|
||||||
|
</BuildMacro>
|
||||||
|
<BuildMacro Include="GtkGenerateGtkDef">
|
||||||
|
<Value>$(GtkGenerateGtkDef)</Value>
|
||||||
|
</BuildMacro>
|
||||||
|
<BuildMacro Include="GtkLibtoolCompatibleDllPrefix">
|
||||||
|
<Value>$(GtkLibtoolCompatibleDllPrefix)</Value>
|
||||||
|
</BuildMacro>
|
||||||
|
<BuildMacro Include="GtkLibtoolCompatibleDllSuffix">
|
||||||
|
<Value>$(GtkLibtoolCompatibleDllSuffix)</Value>
|
||||||
|
</BuildMacro>
|
||||||
|
<BuildMacro Include="GtkSeparateVS10DllPrefix">
|
||||||
|
<Value>$(GtkSeparateVS10DllPrefix)</Value>
|
||||||
|
</BuildMacro>
|
||||||
|
<BuildMacro Include="GtkSeparateVS10DllSuffix">
|
||||||
|
<Value>$(GtkSeparateVS10DllSuffix)</Value>
|
||||||
|
</BuildMacro>
|
||||||
|
<BuildMacro Include="GtkDllPrefix">
|
||||||
|
<Value>$(GtkDllPrefix)</Value>
|
||||||
|
</BuildMacro>
|
||||||
|
<BuildMacro Include="GtkDllSuffix">
|
||||||
|
<Value>$(GtkDllSuffix)</Value>
|
||||||
|
</BuildMacro>
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
85
build/win32/vs10/gtk+.sln
Normal file
85
build/win32/vs10/gtk+.sln
Normal file
@@ -0,0 +1,85 @@
|
|||||||
|
Microsoft Visual Studio Solution File, Format Version 11.00
|
||||||
|
# Visual Studio 2010
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gdk-win32", "gdk-win32.vcxproj", "{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FA}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gdk", "gdk.vcxproj", "{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F7}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gtk", "gtk.vcxproj", "{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F5}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gtk-demo", "gtk-demo.vcxproj", "{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FC}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gailutil", "gailutil.vcxproj", "{B3B6558A-01C8-4C72-9BDE-84ABB1AE67DF}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libwimp", "libwimp.vcxproj", "{7660FB4E-2AE6-483E-8813-0974CBE6F97F}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "install", "install.vcxproj", "{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FB}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Win32 = Debug|Win32
|
||||||
|
Debug|x64 = Debug|x64
|
||||||
|
Release|Win32 = Release|Win32
|
||||||
|
Release|x64 = Release|x64
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FA}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FA}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FA}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FA}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FA}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FA}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FA}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FA}.Release|x64.Build.0 = Release|x64
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F7}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F7}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F7}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F7}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F7}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F7}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F7}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F7}.Release|x64.Build.0 = Release|x64
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F5}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F5}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F5}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F5}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F5}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F5}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F5}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F5}.Release|x64.Build.0 = Release|x64
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FC}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FC}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FC}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FC}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FC}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FC}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FC}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FC}.Release|x64.Build.0 = Release|x64
|
||||||
|
{B3B6558A-01C8-4C72-9BDE-84ABB1AE67DF}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{B3B6558A-01C8-4C72-9BDE-84ABB1AE67DF}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{B3B6558A-01C8-4C72-9BDE-84ABB1AE67DF}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{B3B6558A-01C8-4C72-9BDE-84ABB1AE67DF}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{B3B6558A-01C8-4C72-9BDE-84ABB1AE67DF}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{B3B6558A-01C8-4C72-9BDE-84ABB1AE67DF}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{B3B6558A-01C8-4C72-9BDE-84ABB1AE67DF}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{B3B6558A-01C8-4C72-9BDE-84ABB1AE67DF}.Release|x64.Build.0 = Release|x64
|
||||||
|
{7660FB4E-2AE6-483E-8813-0974CBE6F97F}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{7660FB4E-2AE6-483E-8813-0974CBE6F97F}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{7660FB4E-2AE6-483E-8813-0974CBE6F97F}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{7660FB4E-2AE6-483E-8813-0974CBE6F97F}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{7660FB4E-2AE6-483E-8813-0974CBE6F97F}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{7660FB4E-2AE6-483E-8813-0974CBE6F97F}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{7660FB4E-2AE6-483E-8813-0974CBE6F97F}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{7660FB4E-2AE6-483E-8813-0974CBE6F97F}.Release|x64.Build.0 = Release|x64
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FB}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FB}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FB}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FB}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FB}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FB}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FB}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FB}.Release|x64.Build.0 = Release|x64
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
||||||
219
build/win32/vs10/gtk-demo.vcxproj
Normal file
219
build/win32/vs10/gtk-demo.vcxproj
Normal file
@@ -0,0 +1,219 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FC}</ProjectGuid>
|
||||||
|
<RootNamespace>gtkdemo</RootNamespace>
|
||||||
|
<Keyword>Win32Proj</Keyword>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="gtk+.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="gtk+.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="gtk+.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="gtk+.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<AdditionalIncludeDirectories>..\..\..\gdk-pixbuf;..\..\..\gdk;..\..\..\gtk;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;G_ENABLE_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<MinimalRebuild>true</MinimalRebuild>
|
||||||
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||||
|
<PrecompiledHeader>
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||||
|
<CompileAs>CompileAsC</CompileAs>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalDependencies>cairo.lib;pango-1.0.lib;pangocairo-1.0.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>
|
||||||
|
</DataExecutionPrevention>
|
||||||
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<AdditionalIncludeDirectories>..\..\..\gdk-pixbuf;..\..\..\gdk;..\..\..\gtk;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;G_ENABLE_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<MinimalRebuild>true</MinimalRebuild>
|
||||||
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||||
|
<PrecompiledHeader>
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||||
|
<CompileAs>CompileAsC</CompileAs>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalDependencies>cairo.lib;pango-1.0.lib;pangocairo-1.0.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>
|
||||||
|
</DataExecutionPrevention>
|
||||||
|
<TargetMachine>MachineX64</TargetMachine>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<AdditionalIncludeDirectories>..\..\..\gdk-pixbuf;..\..\..\gdk;..\..\..\gtk;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||||
|
<PrecompiledHeader>
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||||
|
<CompileAs>CompileAsC</CompileAs>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalDependencies>cairo.lib;pango-1.0.lib;pangocairo-1.0.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>
|
||||||
|
</DataExecutionPrevention>
|
||||||
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<AdditionalIncludeDirectories>..\..\..\gdk-pixbuf;..\..\..\gdk;..\..\..\gtk;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||||
|
<PrecompiledHeader>
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||||
|
<CompileAs>CompileAsC</CompileAs>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalDependencies>cairo.lib;pango-1.0.lib;pangocairo-1.0.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>
|
||||||
|
</DataExecutionPrevention>
|
||||||
|
<TargetMachine>MachineX64</TargetMachine>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\appwindow.c" />
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\assistant.c" />
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\builder.c" />
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\button_box.c" />
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\changedisplay.c" />
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\clipboard.c" />
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\colorsel.c" />
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\combobox.c" />
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\dialog.c" />
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\drawingarea.c" />
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\editable_cells.c" />
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\entry_buffer.c" />
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\entry_completion.c" />
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\expander.c" />
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\hypertext.c" />
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\iconview.c" />
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\iconview_edit.c" />
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\images.c" />
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\infobar.c" />
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\links.c" />
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\list_store.c" />
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\main.c" />
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\menus.c" />
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\offscreen_window.c" />
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\offscreen_window2.c" />
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\panes.c" />
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\pickers.c" />
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\pixbufs.c" />
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\printing.c" />
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\rotated_text.c" />
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\search_entry.c" />
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\sizegroup.c" />
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\spinner.c" />
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\stock_browser.c" />
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\textscroll.c" />
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\textview.c" />
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\toolpalette.c" />
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\tree_store.c" />
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\ui_manager.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="gdk.vcxproj">
|
||||||
|
<Project>{fc5aadb5-95cd-4bf0-ba8b-0c16fe7073f7}</Project>
|
||||||
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="gtk.vcxproj">
|
||||||
|
<Project>{fc5aadb5-95cd-4bf0-ba8b-0c16fe7073f5}</Project>
|
||||||
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
132
build/win32/vs10/gtk-demo.vcxproj.filters
Normal file
132
build/win32/vs10/gtk-demo.vcxproj.filters
Normal file
@@ -0,0 +1,132 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup>
|
||||||
|
<Filter Include="Source Files">
|
||||||
|
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
||||||
|
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Header Files">
|
||||||
|
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
|
||||||
|
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
|
||||||
|
</Filter>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\appwindow.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\assistant.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\builder.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\button_box.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\changedisplay.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\clipboard.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\colorsel.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\combobox.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\dialog.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\drawingarea.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\editable_cells.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\entry_buffer.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\entry_completion.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\expander.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\hypertext.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\iconview.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\iconview_edit.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\images.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\infobar.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\links.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\list_store.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\main.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\menus.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\offscreen_window.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\offscreen_window2.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\panes.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\pickers.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\pixbufs.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\printing.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\rotated_text.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\search_entry.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\sizegroup.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\spinner.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\stock_browser.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\textscroll.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\textview.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\toolpalette.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\tree_store.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\demos\gtk-demo\ui_manager.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
43
build/win32/vs10/gtk.vcxproj.filtersin
Normal file
43
build/win32/vs10/gtk.vcxproj.filtersin
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup>
|
||||||
|
<Filter Include="Header Files">
|
||||||
|
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
|
||||||
|
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Resource Files">
|
||||||
|
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
|
||||||
|
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx</Extensions>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Source Files">
|
||||||
|
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
||||||
|
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
||||||
|
</Filter>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ResourceCompile Include="..\..\..\gtk\gtk-win32.rc"><Filter>Resource Files</Filter></ResourceCompile>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
#include "libgtk.vs10.sourcefiles.filters"
|
||||||
|
<ClCompile Include="..\..\..\modules\input\gtkimcontextime.c"><Filter>Source Files</Filter></ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\modules\input\gtkimcontextmultipress.c"><Filter>Source Files</Filter></ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\modules\input\gtkimcontextthai.c"><Filter>Source Files</Filter></ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\modules\input\imam-et.c"><Filter>Source Files</Filter></ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\modules\input\imcedilla.c"><Filter>Source Files</Filter></ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\modules\input\imcyrillic-translit.c"><Filter>Source Files</Filter></ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\modules\input\imime.c"><Filter>Source Files</Filter></ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\modules\input\iminuktitut.c"><Filter>Source Files</Filter></ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\modules\input\imipa.c"><Filter>Source Files</Filter></ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\modules\input\immultipress.c"><Filter>Source Files</Filter></ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\modules\input\imthai.c"><Filter>Source Files</Filter></ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\modules\input\imti-er.c"><Filter>Source Files</Filter></ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\modules\input\imti-et.c"><Filter>Source Files</Filter></ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\modules\input\imviqr.c"><Filter>Source Files</Filter></ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\modules\input\thai-charprop.c"><Filter>Source Files</Filter></ClCompile>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<CustomBuild Include="..\..\..\gdk\gtk.symbols">
|
||||||
|
<Filter>Resource Files</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
206
build/win32/vs10/gtk.vcxprojin
Normal file
206
build/win32/vs10/gtk.vcxprojin
Normal file
@@ -0,0 +1,206 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F5}</ProjectGuid>
|
||||||
|
<RootNamespace>gtk</RootNamespace>
|
||||||
|
<Keyword>Win32Proj</Keyword>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="gtk+.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="gtk+.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="gtk+.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="gtk+.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</LinkIncremental>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</LinkIncremental>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<AdditionalIncludeDirectories>..\..\..\gdk;..\..\..\gtk;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;G_ENABLE_DEBUG;$(GtkDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<MinimalRebuild>true</MinimalRebuild>
|
||||||
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||||
|
<PrecompiledHeader>
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalDependencies>atk-1.0.lib;pangowin32-1.0.lib;imm32.lib;winspool.lib;comctl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<OutputFile>$(OutDir)$(GtkDllPrefix)$(ProjectName)-win32$(GtkDllSuffix).dll</OutputFile>
|
||||||
|
<ModuleDefinitionFile>$(IntDir)gtk.def</ModuleDefinitionFile>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<ImportLibrary>$(TargetDir)$(ProjectName)-win32-$(GtkApiVersion).lib</ImportLibrary>
|
||||||
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<AdditionalIncludeDirectories>..\..\..\gdk;..\..\..\gdk\win32;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>$(GtkDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||||
|
<PrecompiledHeader>
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalDependencies>atk-1.0.lib;pangowin32-1.0.lib;imm32.lib;winspool.lib;comctl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<OutputFile>$(OutDir)$(GtkDllPrefix)$(ProjectName)-win32$(GtkDllSuffix).dll</OutputFile>
|
||||||
|
<ModuleDefinitionFile>$(IntDir)gtk.def</ModuleDefinitionFile>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<ImportLibrary>$(TargetDir)$(ProjectName)-win32-$(GtkApiVersion).lib</ImportLibrary>
|
||||||
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<AdditionalIncludeDirectories>..\..\..\gdk;..\..\..\gdk\win32;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;G_ENABLE_DEBUG;$(GtkDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<MinimalRebuild>true</MinimalRebuild>
|
||||||
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||||
|
<PrecompiledHeader>
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalDependencies>atk-1.0.lib;pangowin32-1.0.lib;imm32.lib;winspool.lib;comctl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<OutputFile>$(OutDir)$(GtkDllPrefix)$(ProjectName)-win32$(GtkDllSuffix).dll</OutputFile>
|
||||||
|
<ModuleDefinitionFile>$(IntDir)gtk.def</ModuleDefinitionFile>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<ImportLibrary>$(TargetDir)$(ProjectName)-win32-$(GtkApiVersion).lib</ImportLibrary>
|
||||||
|
<TargetMachine>MachineX64</TargetMachine>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<AdditionalIncludeDirectories>..\..\..\gdk;..\..\..\gdk\win32;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>$(GtkDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||||
|
<PrecompiledHeader>
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalDependencies>atk-1.0.lib;pangowin32-1.0.lib;imm32.lib;winspool.lib;comctl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<OutputFile>$(OutDir)$(GtkDllPrefix)$(ProjectName)-win32$(GtkDllSuffix).dll</OutputFile>
|
||||||
|
<ModuleDefinitionFile>$(IntDir)gtk.def</ModuleDefinitionFile>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<ImportLibrary>$(TargetDir)$(ProjectName)-win32-$(GtkApiVersion).lib</ImportLibrary>
|
||||||
|
<TargetMachine>MachineX64</TargetMachine>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<CustomBuild Include="..\..\..\gdk\gtk.symbols">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating gtk.def</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(GtkGenerateGtkDef)</Command>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)gtk.def;%(Outputs)</Outputs>
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Generating gtk.def</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(GtkGenerateGtkDefW64)</Command>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(IntDir)gtk.def;%(Outputs)</Outputs>
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Generating gtk.def</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(GtkGenerateGtkDef)</Command>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)gtk.def;%(Outputs)</Outputs>
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Generating gtk.def</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(GtkGenerateGtkDefW64)</Command>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(IntDir)gtk.def;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ResourceCompile Include="..\..\..\gtk\gtk-win32.rc" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
#include "libgtk.vs10.sourcefiles"
|
||||||
|
<ClCompile Include="..\..\..\modules\input\gtkimcontextime.c" />
|
||||||
|
<ClCompile Include="..\..\..\modules\input\gtkimcontextmultipress.c" />
|
||||||
|
<ClCompile Include="..\..\..\modules\input\gtkimcontextthai.c" />
|
||||||
|
<ClCompile Include="..\..\..\modules\input\imam-et.c" />
|
||||||
|
<ClCompile Include="..\..\..\modules\input\imcedilla.c" />
|
||||||
|
<ClCompile Include="..\..\..\modules\input\imcyrillic-translit.c" />
|
||||||
|
<ClCompile Include="..\..\..\modules\input\imime.c" />
|
||||||
|
<ClCompile Include="..\..\..\modules\input\iminuktitut.c" />
|
||||||
|
<ClCompile Include="..\..\..\modules\input\imipa.c" />
|
||||||
|
<ClCompile Include="..\..\..\modules\input\immultipress.c" />
|
||||||
|
<ClCompile Include="..\..\..\modules\input\imthai.c" />
|
||||||
|
<ClCompile Include="..\..\..\modules\input\imti-er.c" />
|
||||||
|
<ClCompile Include="..\..\..\modules\input\imti-et.c" />
|
||||||
|
<ClCompile Include="..\..\..\modules\input\imviqr.c" />
|
||||||
|
<ClCompile Include="..\..\..\modules\input\thai-charprop.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="gdk.vcxproj">
|
||||||
|
<Project>{fc5aadb5-95cd-4bf0-ba8b-0c16fe7073f7}</Project>
|
||||||
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
121
build/win32/vs10/install.vcxproj
Normal file
121
build/win32/vs10/install.vcxproj
Normal file
@@ -0,0 +1,121 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FB}</ProjectGuid>
|
||||||
|
<RootNamespace>install</RootNamespace>
|
||||||
|
<Keyword>Win32Proj</Keyword>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Utility</ConfigurationType>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Utility</ConfigurationType>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Utility</ConfigurationType>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Utility</ConfigurationType>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="gtk+.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="gtk+.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="gtk+.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="gtk+.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(GlibEtcInstallRoot)\</OutDir>
|
||||||
|
<ExtensionsToDeleteOnClean Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(GlibEtcInstallRoot)\</OutDir>
|
||||||
|
<ExtensionsToDeleteOnClean Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(GlibEtcInstallRoot)\</OutDir>
|
||||||
|
<ExtensionsToDeleteOnClean Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(GlibEtcInstallRoot)\</OutDir>
|
||||||
|
<ExtensionsToDeleteOnClean Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<PreBuildEvent>
|
||||||
|
<Command>$(GtkDoInstall)</Command>
|
||||||
|
</PreBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<PreBuildEvent>
|
||||||
|
<Command>$(GtkDoInstall)</Command>
|
||||||
|
</PreBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<PreBuildEvent>
|
||||||
|
<Command>$(GtkDoInstall)</Command>
|
||||||
|
</PreBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<PreBuildEvent>
|
||||||
|
<Command>$(GtkDoInstall)</Command>
|
||||||
|
</PreBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="libwimp.vcxproj">
|
||||||
|
<Project>{7660fb4e-2ae6-483e-8813-0974cbe6f97f}</Project>
|
||||||
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="gailutil.vcxproj">
|
||||||
|
<Project>{b3b6558a-01c8-4c72-9bde-84abb1ae67df}</Project>
|
||||||
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="gdk.vcxproj">
|
||||||
|
<Project>{fc5aadb5-95cd-4bf0-ba8b-0c16fe7073f7}</Project>
|
||||||
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="gtk-demo.vcxproj">
|
||||||
|
<Project>{fc5aadb5-95cd-4bf0-ba8b-0c16fe7073fc}</Project>
|
||||||
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="gtk.vcxproj">
|
||||||
|
<Project>{fc5aadb5-95cd-4bf0-ba8b-0c16fe7073f5}</Project>
|
||||||
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
170
build/win32/vs10/libwimp.vcxproj
Normal file
170
build/win32/vs10/libwimp.vcxproj
Normal file
@@ -0,0 +1,170 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{7660FB4E-2AE6-483E-8813-0974CBE6F97F}</ProjectGuid>
|
||||||
|
<RootNamespace>libwimp</RootNamespace>
|
||||||
|
<Keyword>Win32Proj</Keyword>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="gtk+.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="gtk+.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="gtk+.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="gtk+.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</LinkIncremental>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<AdditionalIncludeDirectories>..\..\..\gdk;..\..\..\gdk\win32;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;G_ENABLE_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<MinimalRebuild>true</MinimalRebuild>
|
||||||
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||||
|
<PrecompiledHeader>
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalDependencies>pangowin32-1.0.lib;pango-1.0.lib;cairo.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<AdditionalIncludeDirectories>..\..\..\gdk;..\..\..\gdk\win32;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<PrecompiledHeader>
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalDependencies>pangowin32-1.0.lib;pango-1.0.lib;cairo.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<AdditionalIncludeDirectories>..\..\..\gdk;..\..\..\gdk\win32;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;G_ENABLE_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<MinimalRebuild>true</MinimalRebuild>
|
||||||
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||||
|
<PrecompiledHeader>
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalDependencies>pangowin32-1.0.lib;pango-1.0.lib;cairo.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<TargetMachine>MachineX64</TargetMachine>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<AdditionalIncludeDirectories>..\..\..\gdk;..\..\..\gdk\win32;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||||
|
<PrecompiledHeader>
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalDependencies>pangowin32-1.0.lib;pango-1.0.lib;cairo.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<TargetMachine>MachineX64</TargetMachine>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\..\..\modules\engines\ms-windows\msw_rc_style.c" />
|
||||||
|
<ClCompile Include="..\..\..\modules\engines\ms-windows\msw_style.c" />
|
||||||
|
<ClCompile Include="..\..\..\modules\engines\ms-windows\msw_theme_main.c" />
|
||||||
|
<ClCompile Include="..\..\..\modules\engines\ms-windows\xp_theme.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="gdk.vcxproj">
|
||||||
|
<Project>{fc5aadb5-95cd-4bf0-ba8b-0c16fe7073f7}</Project>
|
||||||
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="gtk.vcxproj">
|
||||||
|
<Project>{fc5aadb5-95cd-4bf0-ba8b-0c16fe7073f5}</Project>
|
||||||
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
31
build/win32/vs10/libwimp.vcxproj.filters
Normal file
31
build/win32/vs10/libwimp.vcxproj.filters
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup>
|
||||||
|
<Filter Include="Sources">
|
||||||
|
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
||||||
|
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Headers">
|
||||||
|
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
|
||||||
|
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Resource Files">
|
||||||
|
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
|
||||||
|
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav</Extensions>
|
||||||
|
</Filter>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\..\..\modules\engines\ms-windows\msw_rc_style.c">
|
||||||
|
<Filter>Sources</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\modules\engines\ms-windows\msw_style.c">
|
||||||
|
<Filter>Sources</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\modules\engines\ms-windows\msw_theme_main.c">
|
||||||
|
<Filter>Sources</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\modules\engines\ms-windows\xp_theme.c">
|
||||||
|
<Filter>Sources</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
@@ -1,16 +1,15 @@
|
|||||||
include $(top_srcdir)/Makefile.decl
|
include $(top_srcdir)/Makefile.decl
|
||||||
|
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST += \
|
||||||
README.txt \
|
README.txt \
|
||||||
gtk+.sln \
|
gtk+.sln \
|
||||||
gtk+.vsprops \
|
gtk+.vsprops \
|
||||||
gdk-pixbuf.vcproj \
|
|
||||||
gdk-pixbuf-csource.vcproj \
|
|
||||||
gdk-pixbuf-query-loaders.vcproj \
|
|
||||||
gdk-win32.vcproj \
|
gdk-win32.vcproj \
|
||||||
gdk.vcproj \
|
gdk.vcproj \
|
||||||
gdk.vcprojin \
|
gdk.vcprojin \
|
||||||
gtk.vcproj \
|
gtk.vcproj \
|
||||||
gtk.vcprojin \
|
gtk.vcprojin \
|
||||||
gtk-demo.vcproj \
|
gtk-demo.vcproj \
|
||||||
|
gailutil.vcproj \
|
||||||
|
libwimp.vcproj \
|
||||||
install.vcproj
|
install.vcproj
|
||||||
|
|||||||
@@ -1,4 +1,11 @@
|
|||||||
Note that all this is rather experimental.
|
Please do not compile this package (GTK+) in paths that contain
|
||||||
|
spaces in them-as strange problems may occur during compilation or during
|
||||||
|
the use of the library.
|
||||||
|
|
||||||
|
A more detailed outline for instructions on building the GTK+ with Visual
|
||||||
|
C++ can be found in the following GNOME Live! page:
|
||||||
|
|
||||||
|
https://live.gnome.org/GTK%2B/Win32/MSVCCompilationOfGTKStack
|
||||||
|
|
||||||
This VS9 solution and the projects it includes are intented to be used
|
This VS9 solution and the projects it includes are intented to be used
|
||||||
in a GTK+ source tree unpacked from a tarball. In a git checkout you
|
in a GTK+ source tree unpacked from a tarball. In a git checkout you
|
||||||
@@ -6,10 +13,45 @@ first need to use some Unix-like environment or manual work to expand
|
|||||||
the files needed, like config.h.win32.in into config.h.win32 and the
|
the files needed, like config.h.win32.in into config.h.win32 and the
|
||||||
.vcprojin files here into corresponding actual .vcproj files.
|
.vcprojin files here into corresponding actual .vcproj files.
|
||||||
|
|
||||||
You will need the parts from below in the GTK+ stack: pango, atk and
|
You will need the parts from below in the GTK+ stack: GDK-Pixbuf, Pango,
|
||||||
glib. External dependencies are at least zlib, libpng, proxy-libintl,
|
ATK and GLib. External dependencies are at least Cairo, zlib, libpng,
|
||||||
fontconfig, freetype, expat. See the corresponding README.txt file in
|
gettext-runtime; and optional dependencies are fontconfig*, freetype*
|
||||||
glib for details where to unpack them.
|
and expat*. See the build/win32/vs10/README.txt file in glib for
|
||||||
|
details where to unpack them.
|
||||||
|
|
||||||
|
It is recommended that one builds the dependencies with VS9 as far as
|
||||||
|
possible, especially those from and using the GTK+ stack (i.e. GLib,
|
||||||
|
ATK, Pango, GDK-Pixbuf), so that crashes caused by mixing calls
|
||||||
|
to different CRTs can be kept at a minimum. zlib, libpng, and Cairo
|
||||||
|
do contain support for compiling under VS9 using VS
|
||||||
|
project files and/or makefiles at this time of writing, For the
|
||||||
|
GTK+ stack, VS9 project files are either available under
|
||||||
|
$(srcroot)/build/vs9 in the case of GLib (stable/unstable), ATK
|
||||||
|
(unstable) and GDK-Pixbuf (unstable), and should be in the next
|
||||||
|
unstable version of Pango. There is no known official VS9 build
|
||||||
|
support for fontconfig (along with freetype and expat) and
|
||||||
|
gettext-runtime, so please use the binaries from:
|
||||||
|
|
||||||
|
ftp://ftp.gnome.org/pub/GNOME/binaries/win32/dependencies/ (32 bit)
|
||||||
|
ftp://ftp.gnome.org/pub/GNOME/binaries/win64/dependencies/ (64 bit)
|
||||||
|
|
||||||
|
The recommended build order for these dependencies:
|
||||||
|
(first unzip any dependent binaries downloaded from the ftp.gnome.org
|
||||||
|
as described in the README.txt file in the build/win32/vs9 folder)
|
||||||
|
-zlib
|
||||||
|
-libpng
|
||||||
|
-(optional for GDK-Pixbuf) IJG JPEG
|
||||||
|
-(optional for GDK-Pixbuf) requires zlib and IJG JPEG)libtiff
|
||||||
|
-(optional for GDK-Pixbuf) jasper [jpeg-2000 library])
|
||||||
|
-(optional for GLib) PCRE (version 8.12 or later, use of CMake to
|
||||||
|
build PCRE is recommended-see build/win32/vs9/README.txt of GLib)
|
||||||
|
-Cairo
|
||||||
|
-GLib
|
||||||
|
-ATK
|
||||||
|
-Pango
|
||||||
|
-GDK-Pixbuf
|
||||||
|
(note the last 3 dependencies are not interdependent, so the last 3
|
||||||
|
dependencies can be built in any order)
|
||||||
|
|
||||||
The "install" project will copy build results and headers into their
|
The "install" project will copy build results and headers into their
|
||||||
appropriate location under <root>\vs9\<PlatformName>. For instance,
|
appropriate location under <root>\vs9\<PlatformName>. For instance,
|
||||||
@@ -19,4 +61,12 @@ built DLLs go into <root>\vs9\<PlatformName>\bin, built LIBs into
|
|||||||
project files higher in the stack are supposed to look for them, not
|
project files higher in the stack are supposed to look for them, not
|
||||||
from a specific GLib source tree.
|
from a specific GLib source tree.
|
||||||
|
|
||||||
|
*About the dependencies marked with *: These dependencies are not
|
||||||
|
compulsory components for building and running GTK+ itself, but note
|
||||||
|
that they are needed for people running and building GIMP.
|
||||||
|
They are referred to by components in Cairo and Pango mainly-so decide
|
||||||
|
whether you will need FontConfig/FreeType support prior to building
|
||||||
|
Cairo and Pango, which are hard requirements for building and running
|
||||||
|
GTK+.
|
||||||
--Tor Lillqvist <tml@iki.fi>
|
--Tor Lillqvist <tml@iki.fi>
|
||||||
|
--Updated by Fan, Chun-wei <fanc999@yahoo.com.tw>
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252"?>
|
<?xml version="1.0" encoding="Windows-1252"?>
|
||||||
<VisualStudioProject
|
<VisualStudioProject
|
||||||
ProjectType="Visual C++"
|
ProjectType="Visual C++"
|
||||||
Version="9,00"
|
Version="9.00"
|
||||||
Name="gdk-pixbuf-csource"
|
Name="gailutil"
|
||||||
ProjectGUID="{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F8}"
|
ProjectGUID="{B3B6558A-01C8-4C72-9BDE-84ABB1AE67DF}"
|
||||||
RootNamespace="gdkpixbufcsource"
|
RootNamespace="gailutil"
|
||||||
Keyword="Win32Proj"
|
Keyword="Win32Proj"
|
||||||
TargetFrameworkVersion="131072"
|
TargetFrameworkVersion="196613"
|
||||||
>
|
>
|
||||||
<Platforms>
|
<Platforms>
|
||||||
<Platform
|
<Platform
|
||||||
@@ -21,7 +21,7 @@
|
|||||||
<Configurations>
|
<Configurations>
|
||||||
<Configuration
|
<Configuration
|
||||||
Name="Debug|Win32"
|
Name="Debug|Win32"
|
||||||
ConfigurationType="1"
|
ConfigurationType="2"
|
||||||
InheritedPropertySheets=".\gtk+.vsprops"
|
InheritedPropertySheets=".\gtk+.vsprops"
|
||||||
CharacterSet="2"
|
CharacterSet="2"
|
||||||
>
|
>
|
||||||
@@ -31,29 +31,67 @@
|
|||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="0"
|
Optimization="0"
|
||||||
PreprocessorDefinitions="_CRT_NONSTDC_NO_WARNINGS;_CRT_SECURE_NO_WARNINGS"
|
AdditionalIncludeDirectories="..\..\..\gdk"
|
||||||
|
PreprocessorDefinitions="_DEBUG"
|
||||||
MinimalRebuild="true"
|
MinimalRebuild="true"
|
||||||
BasicRuntimeChecks="3"
|
BasicRuntimeChecks="3"
|
||||||
RuntimeLibrary="2"
|
RuntimeLibrary="3"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
WarningLevel="3"
|
WarningLevel="3"
|
||||||
DebugInformationFormat="4"
|
DebugInformationFormat="4"
|
||||||
CompileAs="1"
|
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
|
AdditionalDependencies="pango-1.0.lib atk-1.0.lib"
|
||||||
|
OutputFile="$(OutDir)\$(GtkDllPrefix)$(ProjectName)$(GtkDllSuffix).dll"
|
||||||
LinkIncremental="2"
|
LinkIncremental="2"
|
||||||
|
ModuleDefinitionFile="..\..\..\modules\other\gail\libgail-util\gailutil.def"
|
||||||
GenerateDebugInformation="true"
|
GenerateDebugInformation="true"
|
||||||
SubSystem="1"
|
SubSystem="2"
|
||||||
RandomizedBaseAddress="1"
|
ImportLibrary="$(TargetDir)$(ProjectName)-$(GtkApiVersion).lib"
|
||||||
DataExecutionPrevention="0"
|
TargetMachine="1"
|
||||||
|
/>
|
||||||
|
</Configuration>
|
||||||
|
<Configuration
|
||||||
|
Name="Release|Win32"
|
||||||
|
ConfigurationType="2"
|
||||||
|
InheritedPropertySheets=".\gtk+.vsprops"
|
||||||
|
CharacterSet="2"
|
||||||
|
WholeProgramOptimization="1"
|
||||||
|
>
|
||||||
|
<Tool
|
||||||
|
Name="VCPreBuildEventTool"
|
||||||
|
/>
|
||||||
|
<Tool
|
||||||
|
Name="VCCLCompilerTool"
|
||||||
|
Optimization="2"
|
||||||
|
AdditionalIncludeDirectories="..\..\..\gdk"
|
||||||
|
EnableIntrinsicFunctions="true"
|
||||||
|
PreprocessorDefinitions=""
|
||||||
|
RuntimeLibrary="2"
|
||||||
|
EnableFunctionLevelLinking="true"
|
||||||
|
UsePrecompiledHeader="0"
|
||||||
|
WarningLevel="3"
|
||||||
|
DebugInformationFormat="3"
|
||||||
|
/>
|
||||||
|
<Tool
|
||||||
|
Name="VCLinkerTool"
|
||||||
|
AdditionalDependencies="pango-1.0.lib atk-1.0.lib"
|
||||||
|
OutputFile="$(OutDir)\$(GtkDllPrefix)$(ProjectName)$(GtkDllSuffix).dll"
|
||||||
|
LinkIncremental="1"
|
||||||
|
ModuleDefinitionFile="..\..\..\modules\other\gail\libgail-util\gailutil.def"
|
||||||
|
GenerateDebugInformation="true"
|
||||||
|
SubSystem="2"
|
||||||
|
OptimizeReferences="2"
|
||||||
|
EnableCOMDATFolding="2"
|
||||||
|
ImportLibrary="$(TargetDir)$(ProjectName)-$(GtkApiVersion).lib"
|
||||||
TargetMachine="1"
|
TargetMachine="1"
|
||||||
/>
|
/>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
<Configuration
|
<Configuration
|
||||||
Name="Debug|x64"
|
Name="Debug|x64"
|
||||||
ConfigurationType="1"
|
|
||||||
InheritedPropertySheets=".\gtk+.vsprops"
|
InheritedPropertySheets=".\gtk+.vsprops"
|
||||||
|
ConfigurationType="2"
|
||||||
CharacterSet="2"
|
CharacterSet="2"
|
||||||
>
|
>
|
||||||
<Tool
|
<Tool
|
||||||
@@ -62,84 +100,56 @@
|
|||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="0"
|
Optimization="0"
|
||||||
PreprocessorDefinitions="_CRT_NONSTDC_NO_WARNINGS;_CRT_SECURE_NO_WARNINGS"
|
AdditionalIncludeDirectories="..\..\..\gdk"
|
||||||
|
PreprocessorDefinitions="_DEBUG"
|
||||||
MinimalRebuild="true"
|
MinimalRebuild="true"
|
||||||
BasicRuntimeChecks="3"
|
BasicRuntimeChecks="3"
|
||||||
RuntimeLibrary="3"
|
RuntimeLibrary="3"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
WarningLevel="3"
|
WarningLevel="3"
|
||||||
DebugInformationFormat="3"
|
DebugInformationFormat="3"
|
||||||
CompileAs="1"
|
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
|
AdditionalDependencies="pango-1.0.lib atk-1.0.lib"
|
||||||
|
OutputFile="$(OutDir)\$(GtkDllPrefix)$(ProjectName)$(GtkDllSuffix).dll"
|
||||||
LinkIncremental="2"
|
LinkIncremental="2"
|
||||||
|
ModuleDefinitionFile="..\..\..\modules\other\gail\libgail-util\gailutil.def"
|
||||||
GenerateDebugInformation="true"
|
GenerateDebugInformation="true"
|
||||||
SubSystem="2"
|
SubSystem="2"
|
||||||
RandomizedBaseAddress="1"
|
ImportLibrary="$(TargetDir)$(ProjectName)-$(GtkApiVersion).lib"
|
||||||
DataExecutionPrevention="0"
|
|
||||||
TargetMachine="17"
|
TargetMachine="17"
|
||||||
/>
|
/>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
<Configuration
|
|
||||||
Name="Release|Win32"
|
|
||||||
ConfigurationType="1"
|
|
||||||
InheritedPropertySheets=".\gtk+.vsprops"
|
|
||||||
CharacterSet="2"
|
|
||||||
WholeProgramOptimization="1"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCPreBuildEventTool"
|
|
||||||
/>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
PreprocessorDefinitions="_CRT_NONSTDC_NO_WARNINGS;_CRT_SECURE_NO_WARNINGS"
|
|
||||||
RuntimeLibrary="2"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
WarningLevel="3"
|
|
||||||
DebugInformationFormat="3"
|
|
||||||
CompileAs="1"
|
|
||||||
/>
|
|
||||||
<Tool
|
|
||||||
Name="VCLinkerTool"
|
|
||||||
LinkIncremental="1"
|
|
||||||
GenerateDebugInformation="true"
|
|
||||||
SubSystem="2"
|
|
||||||
OptimizeReferences="2"
|
|
||||||
EnableCOMDATFolding="2"
|
|
||||||
RandomizedBaseAddress="1"
|
|
||||||
DataExecutionPrevention="0"
|
|
||||||
TargetMachine="1"
|
|
||||||
/>
|
|
||||||
</Configuration>
|
|
||||||
<Configuration
|
<Configuration
|
||||||
Name="Release|x64"
|
Name="Release|x64"
|
||||||
ConfigurationType="1"
|
|
||||||
InheritedPropertySheets=".\gtk+.vsprops"
|
InheritedPropertySheets=".\gtk+.vsprops"
|
||||||
|
ConfigurationType="2"
|
||||||
CharacterSet="2"
|
CharacterSet="2"
|
||||||
WholeProgramOptimization="1"
|
|
||||||
>
|
>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPreBuildEventTool"
|
Name="VCPreBuildEventTool"
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
PreprocessorDefinitions="_CRT_NONSTDC_NO_WARNINGS;_CRT_SECURE_NO_WARNINGS"
|
AdditionalIncludeDirectories="..\..\..\gdk"
|
||||||
|
PreprocessorDefinitions=""
|
||||||
RuntimeLibrary="2"
|
RuntimeLibrary="2"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
WarningLevel="3"
|
WarningLevel="3"
|
||||||
DebugInformationFormat="3"
|
DebugInformationFormat="3"
|
||||||
CompileAs="1"
|
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
LinkIncremental="1"
|
AdditionalDependencies="pango-1.0.lib atk-1.0.lib"
|
||||||
|
OutputFile="$(OutDir)\$(GtkDllPrefix)$(ProjectName)$(GtkDllSuffix).dll"
|
||||||
|
LinkIncremental="2"
|
||||||
|
ModuleDefinitionFile="..\..\..\modules\other\gail\libgail-util\gailutil.def"
|
||||||
GenerateDebugInformation="true"
|
GenerateDebugInformation="true"
|
||||||
SubSystem="2"
|
SubSystem="2"
|
||||||
OptimizeReferences="2"
|
OptimizeReferences="2"
|
||||||
EnableCOMDATFolding="2"
|
EnableCOMDATFolding="2"
|
||||||
RandomizedBaseAddress="1"
|
ImportLibrary="$(TargetDir)$(ProjectName)-$(GtkApiVersion).lib"
|
||||||
DataExecutionPrevention="0"
|
|
||||||
TargetMachine="17"
|
TargetMachine="17"
|
||||||
/>
|
/>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
@@ -148,18 +158,25 @@
|
|||||||
</References>
|
</References>
|
||||||
<Files>
|
<Files>
|
||||||
<Filter
|
<Filter
|
||||||
Name="Source Files"
|
Name="Sources"
|
||||||
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
|
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
|
||||||
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
|
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
|
||||||
>
|
>
|
||||||
<File RelativePath="..\..\..\gdk-pixbuf\gdk-pixbuf-csource.c" />
|
<File RelativePath="..\..\..\modules\other\gail\libgail-util\gailmisc.c" />
|
||||||
|
<File RelativePath="..\..\..\modules\other\gail\libgail-util\gailtextutil.c" />
|
||||||
</Filter>
|
</Filter>
|
||||||
<Filter
|
<Filter
|
||||||
Name="Header Files"
|
Name="Headers"
|
||||||
Filter="h;hpp;hxx;hm;inl;inc;xsd"
|
Filter="h;hpp;hxx;hm;inl;inc;xsd"
|
||||||
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
|
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
|
||||||
>
|
>
|
||||||
</Filter>
|
</Filter>
|
||||||
|
<Filter
|
||||||
|
Name="Resource Files"
|
||||||
|
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
|
||||||
|
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
|
||||||
|
>
|
||||||
|
</Filter>
|
||||||
</Files>
|
</Files>
|
||||||
<Globals>
|
<Globals>
|
||||||
</Globals>
|
</Globals>
|
||||||
@@ -1,258 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<VisualStudioProject
|
|
||||||
ProjectType="Visual C++"
|
|
||||||
Version="9.00"
|
|
||||||
Name="gdk_pixbuf"
|
|
||||||
ProjectGUID="{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F6}"
|
|
||||||
RootNamespace="gdk_pixbuf"
|
|
||||||
Keyword="Win32Proj"
|
|
||||||
TargetFrameworkVersion="0"
|
|
||||||
>
|
|
||||||
<Platforms>
|
|
||||||
<Platform
|
|
||||||
Name="Win32"
|
|
||||||
/>
|
|
||||||
<Platform
|
|
||||||
Name="x64"
|
|
||||||
/>
|
|
||||||
</Platforms>
|
|
||||||
<ToolFiles>
|
|
||||||
</ToolFiles>
|
|
||||||
<Configurations>
|
|
||||||
<Configuration
|
|
||||||
Name="Debug|Win32"
|
|
||||||
InheritedPropertySheets=".\gtk+.vsprops"
|
|
||||||
ConfigurationType="2"
|
|
||||||
CharacterSet="2"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCPreBuildEventTool"
|
|
||||||
/>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
Optimization="0"
|
|
||||||
PreprocessorDefinitions="_DEBUG;$(GdkPixbufDefines)"
|
|
||||||
MinimalRebuild="true"
|
|
||||||
BasicRuntimeChecks="3"
|
|
||||||
RuntimeLibrary="2"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
WarningLevel="3"
|
|
||||||
DebugInformationFormat="4"
|
|
||||||
/>
|
|
||||||
<Tool
|
|
||||||
Name="VCLinkerTool"
|
|
||||||
AdditionalDependencies="libpng.lib"
|
|
||||||
OutputFile="$(OutDir)\$(GtkDllPrefix)$(ProjectName)$(GtkDllSuffix).dll"
|
|
||||||
LinkIncremental="2"
|
|
||||||
ModuleDefinitionFile="$(IntDir)\gdk-pixbuf.def"
|
|
||||||
GenerateDebugInformation="true"
|
|
||||||
SubSystem="2"
|
|
||||||
ImportLibrary="$(TargetDir)$(ProjectName)-$(GtkApiVersion).lib"
|
|
||||||
TargetMachine="1"
|
|
||||||
/>
|
|
||||||
</Configuration>
|
|
||||||
<Configuration
|
|
||||||
Name="Release|Win32"
|
|
||||||
InheritedPropertySheets=".\gtk+.vsprops"
|
|
||||||
ConfigurationType="2"
|
|
||||||
CharacterSet="2"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCPreBuildEventTool"
|
|
||||||
/>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
PreprocessorDefinitions="$(GdkPixbufDefines)"
|
|
||||||
RuntimeLibrary="2"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
WarningLevel="3"
|
|
||||||
DebugInformationFormat="3"
|
|
||||||
/>
|
|
||||||
<Tool
|
|
||||||
Name="VCManagedResourceCompilerTool"
|
|
||||||
/>
|
|
||||||
<Tool
|
|
||||||
Name="VCResourceCompilerTool"
|
|
||||||
/>
|
|
||||||
<Tool
|
|
||||||
Name="VCPreLinkEventTool"
|
|
||||||
/>
|
|
||||||
<Tool
|
|
||||||
Name="VCLinkerTool"
|
|
||||||
AdditionalDependencies="libpng.lib"
|
|
||||||
OutputFile="$(OutDir)\$(GtkDllPrefix)$(ProjectName)$(GtkDllSuffix).dll"
|
|
||||||
LinkIncremental="2"
|
|
||||||
ModuleDefinitionFile="$(IntDir)\gdk-pixbuf.def"
|
|
||||||
GenerateDebugInformation="true"
|
|
||||||
SubSystem="2"
|
|
||||||
OptimizeReferences="2"
|
|
||||||
EnableCOMDATFolding="2"
|
|
||||||
ImportLibrary="$(TargetDir)$(ProjectName)-$(GtkApiVersion).lib"
|
|
||||||
TargetMachine="1"
|
|
||||||
/>
|
|
||||||
</Configuration>
|
|
||||||
<Configuration
|
|
||||||
Name="Debug|x64"
|
|
||||||
InheritedPropertySheets=".\gtk+.vsprops"
|
|
||||||
ConfigurationType="2"
|
|
||||||
CharacterSet="2"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCPreBuildEventTool"
|
|
||||||
/>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
Optimization="0"
|
|
||||||
PreprocessorDefinitions="_DEBUG;$(GdkPixbufDefines)"
|
|
||||||
MinimalRebuild="true"
|
|
||||||
BasicRuntimeChecks="3"
|
|
||||||
RuntimeLibrary="3"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
WarningLevel="3"
|
|
||||||
DebugInformationFormat="3"
|
|
||||||
/>
|
|
||||||
<Tool
|
|
||||||
Name="VCLinkerTool"
|
|
||||||
AdditionalDependencies="libpng.lib"
|
|
||||||
OutputFile="$(OutDir)\$(GtkDllPrefix)$(ProjectName)$(GtkDllSuffix).dll"
|
|
||||||
LinkIncremental="2"
|
|
||||||
ModuleDefinitionFile="$(IntDir)\gdk-pixbuf.def"
|
|
||||||
GenerateDebugInformation="true"
|
|
||||||
SubSystem="2"
|
|
||||||
ImportLibrary="$(TargetDir)$(ProjectName)-$(GtkApiVersion).lib"
|
|
||||||
TargetMachine="17"
|
|
||||||
/>
|
|
||||||
</Configuration>
|
|
||||||
<Configuration
|
|
||||||
Name="Release|x64"
|
|
||||||
InheritedPropertySheets=".\gtk+.vsprops"
|
|
||||||
ConfigurationType="2"
|
|
||||||
CharacterSet="2"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCPreBuildEventTool"
|
|
||||||
/>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
PreprocessorDefinitions="$(GdkPixbufDefines)"
|
|
||||||
RuntimeLibrary="2"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
WarningLevel="3"
|
|
||||||
DebugInformationFormat="3"
|
|
||||||
/>
|
|
||||||
<Tool
|
|
||||||
Name="VCLinkerTool"
|
|
||||||
AdditionalDependencies="libpng.lib"
|
|
||||||
OutputFile="$(OutDir)\$(GtkDllPrefix)$(ProjectName)$(GtkDllSuffix).dll"
|
|
||||||
LinkIncremental="2"
|
|
||||||
ModuleDefinitionFile="$(IntDir)\gdk-pixbuf.def"
|
|
||||||
GenerateDebugInformation="true"
|
|
||||||
SubSystem="2"
|
|
||||||
OptimizeReferences="2"
|
|
||||||
EnableCOMDATFolding="2"
|
|
||||||
ImportLibrary="$(TargetDir)$(ProjectName)-$(GtkApiVersion).lib"
|
|
||||||
TargetMachine="17"
|
|
||||||
/>
|
|
||||||
</Configuration>
|
|
||||||
</Configurations>
|
|
||||||
<References>
|
|
||||||
</References>
|
|
||||||
<Files>
|
|
||||||
<Filter
|
|
||||||
Name="Header Files"
|
|
||||||
Filter="h;hpp;hxx;hm;inl;inc;xsd"
|
|
||||||
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
|
|
||||||
>
|
|
||||||
</Filter>
|
|
||||||
<Filter
|
|
||||||
Name="Resource Files"
|
|
||||||
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx"
|
|
||||||
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
|
|
||||||
>
|
|
||||||
<File
|
|
||||||
RelativePath="..\..\..\gdk-pixbuf\gdk-pixbuf.symbols"
|
|
||||||
>
|
|
||||||
<FileConfiguration
|
|
||||||
Name="Debug|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCustomBuildTool"
|
|
||||||
Description="Generating gdk-pixbuf.def"
|
|
||||||
CommandLine="$(GtkGenerateGdkPixbufDef)"
|
|
||||||
Outputs="$(IntDir)\gdk-pixbuf.def"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration
|
|
||||||
Name="Debug|x64"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCustomBuildTool"
|
|
||||||
Description="Generating gdk-pixbuf.def"
|
|
||||||
CommandLine="$(GtkGenerateGdkPixbufDef)"
|
|
||||||
Outputs="$(IntDir)\gdk-pixbuf.def"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration
|
|
||||||
Name="Release|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCustomBuildTool"
|
|
||||||
Description="Generating gdk-pixbuf.def"
|
|
||||||
CommandLine="$(GtkGenerateGdkPixbufDef)"
|
|
||||||
Outputs="$(IntDir)\gdk-pixbuf.def"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration
|
|
||||||
Name="Release|x64"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCustomBuildTool"
|
|
||||||
Description="Generating gdk-pixbuf.def"
|
|
||||||
CommandLine="$(GtkGenerateGdkPixbufDef)"
|
|
||||||
Outputs="$(IntDir)\gdk-pixbuf.def"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
</File>
|
|
||||||
</Filter>
|
|
||||||
<Filter
|
|
||||||
Name="Source Files"
|
|
||||||
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
|
|
||||||
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
|
|
||||||
>
|
|
||||||
<File RelativePath="..\..\..\gdk-pixbuf\gdk-pixbuf.c" />
|
|
||||||
<File RelativePath="..\..\..\gdk-pixbuf\gdk-pixbuf-aliasdef.c" />
|
|
||||||
<File RelativePath="..\..\..\gdk-pixbuf\gdk-pixbuf-animation.c" />
|
|
||||||
<File RelativePath="..\..\..\gdk-pixbuf\gdk-pixbuf-data.c" />
|
|
||||||
<File RelativePath="..\..\..\gdk-pixbuf\gdk-pixbuf-enum-types.c" />
|
|
||||||
<File RelativePath="..\..\..\gdk-pixbuf\gdk-pixbuf-io.c" />
|
|
||||||
<File RelativePath="..\..\..\gdk-pixbuf\gdk-pixbuf-loader.c" />
|
|
||||||
<File RelativePath="..\..\..\gdk-pixbuf\gdk-pixbuf-scale.c" />
|
|
||||||
<File RelativePath="..\..\..\gdk-pixbuf\gdk-pixbuf-scaled-anim.c" />
|
|
||||||
<File RelativePath="..\..\..\gdk-pixbuf\gdk-pixbuf-simple-anim.c" />
|
|
||||||
<File RelativePath="..\..\..\gdk-pixbuf\gdk-pixbuf-util.c" />
|
|
||||||
<File RelativePath="..\..\..\gdk-pixbuf\gdk-pixdata.c" />
|
|
||||||
<File RelativePath="..\..\..\gdk-pixbuf\io-ani.c" />
|
|
||||||
<File RelativePath="..\..\..\gdk-pixbuf\io-ani-animation.c" />
|
|
||||||
<File RelativePath="..\..\..\gdk-pixbuf\io-gdip-utils.c" />
|
|
||||||
<File RelativePath="..\..\..\gdk-pixbuf\io-gdip-animation.c" />
|
|
||||||
<File RelativePath="..\..\..\gdk-pixbuf\io-gdip-bmp.c" />
|
|
||||||
<File RelativePath="..\..\..\gdk-pixbuf\io-gdip-emf.c" />
|
|
||||||
<File RelativePath="..\..\..\gdk-pixbuf\io-gdip-gif.c" />
|
|
||||||
<File RelativePath="..\..\..\gdk-pixbuf\io-gdip-ico.c" />
|
|
||||||
<File RelativePath="..\..\..\gdk-pixbuf\io-gdip-jpeg.c" />
|
|
||||||
<File RelativePath="..\..\..\gdk-pixbuf\io-gdip-tiff.c" />
|
|
||||||
<File RelativePath="..\..\..\gdk-pixbuf\io-gdip-wmf.c" />
|
|
||||||
<File RelativePath="..\..\..\gdk-pixbuf\io-gif-animation.c" />
|
|
||||||
<File RelativePath="..\..\..\gdk-pixbuf\io-icns.c" />
|
|
||||||
<File RelativePath="..\..\..\gdk-pixbuf\io-pcx.c" />
|
|
||||||
<File RelativePath="..\..\..\gdk-pixbuf\io-png.c" />
|
|
||||||
<File RelativePath="..\..\..\gdk-pixbuf\io-pnm.c" />
|
|
||||||
<File RelativePath="..\..\..\gdk-pixbuf\io-ras.c" />
|
|
||||||
<File RelativePath="..\..\..\gdk-pixbuf\io-tga.c" />
|
|
||||||
<File RelativePath="..\..\..\gdk-pixbuf\io-wbmp.c" />
|
|
||||||
<File RelativePath="..\..\..\gdk-pixbuf\io-xbm.c" />
|
|
||||||
<File RelativePath="..\..\..\gdk-pixbuf\io-xpm.c" />
|
|
||||||
<File RelativePath="..\..\..\gdk-pixbuf\pixops\pixops.c" />
|
|
||||||
</Filter>
|
|
||||||
</Files>
|
|
||||||
</VisualStudioProject>
|
|
||||||
@@ -32,10 +32,10 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="0"
|
Optimization="0"
|
||||||
AdditionalIncludeDirectories="..\..\..\gdk-pixbuf;..\..\..\gdk;..\..\..\gdk\win32"
|
AdditionalIncludeDirectories="..\..\..\gdk-pixbuf;..\..\..\gdk;..\..\..\gdk\win32"
|
||||||
PreprocessorDefinitions="_DEBUG;$(GdkDefines);INSIDE_GDK_WIN32"
|
PreprocessorDefinitions="_DEBUG;G_ENABLE_DEBUG;$(GdkDefines);INSIDE_GDK_WIN32"
|
||||||
MinimalRebuild="true"
|
MinimalRebuild="true"
|
||||||
BasicRuntimeChecks="3"
|
BasicRuntimeChecks="3"
|
||||||
RuntimeLibrary="2"
|
RuntimeLibrary="3"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
WarningLevel="3"
|
WarningLevel="3"
|
||||||
DebugInformationFormat="4"
|
DebugInformationFormat="4"
|
||||||
@@ -73,7 +73,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="0"
|
Optimization="0"
|
||||||
AdditionalIncludeDirectories="..\..\..\gdk-pixbuf;..\..\..\gdk;..\..\..\gdk\win32"
|
AdditionalIncludeDirectories="..\..\..\gdk-pixbuf;..\..\..\gdk;..\..\..\gdk\win32"
|
||||||
PreprocessorDefinitions="_DEBUG;$(GdkDefines);INSIDE_GDK_WIN32"
|
PreprocessorDefinitions="_DEBUG;G_ENABLE_DEBUG;$(GdkDefines);INSIDE_GDK_WIN32"
|
||||||
MinimalRebuild="true"
|
MinimalRebuild="true"
|
||||||
BasicRuntimeChecks="3"
|
BasicRuntimeChecks="3"
|
||||||
RuntimeLibrary="3"
|
RuntimeLibrary="3"
|
||||||
|
|||||||
@@ -31,11 +31,11 @@
|
|||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="0"
|
Optimization="0"
|
||||||
AdditionalIncludeDirectories="..\..\..\gdk-pixbuf;..\..\..\gdk"
|
AdditionalIncludeDirectories="..\..\..\gdk"
|
||||||
PreprocessorDefinitions="_DEBUG;$(GdkDefines)"
|
PreprocessorDefinitions="_DEBUG;G_ENABLE_DEBUG;$(GdkDefines)"
|
||||||
MinimalRebuild="true"
|
MinimalRebuild="true"
|
||||||
BasicRuntimeChecks="3"
|
BasicRuntimeChecks="3"
|
||||||
RuntimeLibrary="2"
|
RuntimeLibrary="3"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
WarningLevel="3"
|
WarningLevel="3"
|
||||||
DebugInformationFormat="4"
|
DebugInformationFormat="4"
|
||||||
@@ -63,7 +63,7 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
AdditionalIncludeDirectories="..\..\..\gdk-pixbuf;..\..\..\gdk;..\..\..\gdk\win32"
|
AdditionalIncludeDirectories="..\..\..\gdk;..\..\..\gdk\win32"
|
||||||
PreprocessorDefinitions="$(GdkDefines)"
|
PreprocessorDefinitions="$(GdkDefines)"
|
||||||
RuntimeLibrary="2"
|
RuntimeLibrary="2"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
@@ -72,7 +72,7 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
AdditionalDependencies="cairo.lib"
|
AdditionalDependencies="cairo.lib pango-1.0.lib pangocairo-1.0.lib imm32.lib"
|
||||||
OutputFile="$(OutDir)\$(GtkDllPrefix)$(ProjectName)-win32$(GtkDllSuffix).dll"
|
OutputFile="$(OutDir)\$(GtkDllPrefix)$(ProjectName)-win32$(GtkDllSuffix).dll"
|
||||||
LinkIncremental="2"
|
LinkIncremental="2"
|
||||||
ModuleDefinitionFile="$(IntDir)\gdk.def"
|
ModuleDefinitionFile="$(IntDir)\gdk.def"
|
||||||
@@ -96,8 +96,8 @@
|
|||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="0"
|
Optimization="0"
|
||||||
AdditionalIncludeDirectories="..\..\..\gdk-pixbuf;..\..\..\gdk;..\..\..\gdk\win32"
|
AdditionalIncludeDirectories="..\..\..\gdk;..\..\..\gdk\win32"
|
||||||
PreprocessorDefinitions="_DEBUG;$(GdkDefines)"
|
PreprocessorDefinitions="_DEBUG;G_ENABLE_DEBUG;$(GdkDefines)"
|
||||||
MinimalRebuild="true"
|
MinimalRebuild="true"
|
||||||
BasicRuntimeChecks="3"
|
BasicRuntimeChecks="3"
|
||||||
RuntimeLibrary="3"
|
RuntimeLibrary="3"
|
||||||
@@ -107,7 +107,7 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
AdditionalDependencies="cairo.lib"
|
AdditionalDependencies="cairo.lib pango-1.0.lib pangocairo-1.0.lib imm32.lib"
|
||||||
OutputFile="$(OutDir)\$(GtkDllPrefix)$(ProjectName)-win32$(GtkDllSuffix).dll"
|
OutputFile="$(OutDir)\$(GtkDllPrefix)$(ProjectName)-win32$(GtkDllSuffix).dll"
|
||||||
LinkIncremental="2"
|
LinkIncremental="2"
|
||||||
ModuleDefinitionFile="$(IntDir)\gdk.def"
|
ModuleDefinitionFile="$(IntDir)\gdk.def"
|
||||||
@@ -128,7 +128,7 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
AdditionalIncludeDirectories="..\..\..\gdk-pixbuf;..\..\..\gdk;..\..\..\gdk\win32"
|
AdditionalIncludeDirectories="..\..\..\gdk;..\..\..\gdk\win32"
|
||||||
PreprocessorDefinitions="$(GdkDefines)"
|
PreprocessorDefinitions="$(GdkDefines)"
|
||||||
RuntimeLibrary="2"
|
RuntimeLibrary="2"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
@@ -137,7 +137,7 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
AdditionalDependencies="cairo.lib"
|
AdditionalDependencies="cairo.lib pango-1.0.lib pangocairo-1.0.lib imm32.lib"
|
||||||
OutputFile="$(OutDir)\$(GtkDllPrefix)$(ProjectName)-win32$(GtkDllSuffix).dll"
|
OutputFile="$(OutDir)\$(GtkDllPrefix)$(ProjectName)-win32$(GtkDllSuffix).dll"
|
||||||
LinkIncremental="2"
|
LinkIncremental="2"
|
||||||
ModuleDefinitionFile="$(IntDir)\gdk.def"
|
ModuleDefinitionFile="$(IntDir)\gdk.def"
|
||||||
@@ -208,6 +208,7 @@
|
|||||||
/>
|
/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
|
<File RelativePath="..\..\..\gdk\win32\rc\gdk.rc" />
|
||||||
</Filter>
|
</Filter>
|
||||||
<Filter
|
<Filter
|
||||||
Name="Source Files"
|
Name="Source Files"
|
||||||
|
|||||||
@@ -1,46 +1,42 @@
|
|||||||
Microsoft Visual Studio Solution File, Format Version 10.00
|
Microsoft Visual Studio Solution File, Format Version 10.00
|
||||||
# Visual Studio 2008
|
# Visual Studio 2008
|
||||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gdk-pixbuf", "gdk-pixbuf.vcproj", "{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F6}"
|
|
||||||
EndProject
|
|
||||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gdk-pixbuf-csource", "gdk-pixbuf-csource.vcproj", "{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F8}"
|
|
||||||
ProjectSection(ProjectDependencies) = postProject
|
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F6} = {FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F6}
|
|
||||||
EndProjectSection
|
|
||||||
EndProject
|
|
||||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gdk-pixbuf-query-loaders", "gdk-pixbuf-query-loaders.vcproj", "{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F9}"
|
|
||||||
ProjectSection(ProjectDependencies) = postProject
|
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F6} = {FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F6}
|
|
||||||
EndProjectSection
|
|
||||||
EndProject
|
|
||||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gdk-win32", "gdk-win32.vcproj", "{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FA}"
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gdk-win32", "gdk-win32.vcproj", "{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FA}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gdk", "gdk.vcproj", "{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F7}"
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gdk", "gdk.vcproj", "{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F7}"
|
||||||
ProjectSection(ProjectDependencies) = postProject
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F6} = {FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F6}
|
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FA} = {FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FA}
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FA} = {FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FA}
|
||||||
EndProjectSection
|
EndProjectSection
|
||||||
EndProject
|
EndProject
|
||||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gtk", "gtk.vcproj", "{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F5}"
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gtk", "gtk.vcproj", "{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F5}"
|
||||||
ProjectSection(ProjectDependencies) = postProject
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F6} = {FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F6}
|
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F7} = {FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F7}
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F7} = {FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F7}
|
||||||
EndProjectSection
|
EndProjectSection
|
||||||
EndProject
|
EndProject
|
||||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gtk-demo", "gtk-demo.vcproj", "{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FC}"
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gtk-demo", "gtk-demo.vcproj", "{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FC}"
|
||||||
ProjectSection(ProjectDependencies) = postProject
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F6} = {FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F6}
|
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F7} = {FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F7}
|
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F5} = {FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F5}
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F5} = {FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F5}
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F7} = {FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F7}
|
||||||
EndProjectSection
|
EndProjectSection
|
||||||
EndProject
|
EndProject
|
||||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "install", "install.vcproj", "{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FB}"
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "install", "install.vcproj", "{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FB}"
|
||||||
ProjectSection(ProjectDependencies) = postProject
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F6} = {FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F6}
|
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F8} = {FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F8}
|
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F9} = {FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F9}
|
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F7} = {FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F7}
|
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F5} = {FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F5}
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F5} = {FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F5}
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F7} = {FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F7}
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FC} = {FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FC}
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FC} = {FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FC}
|
||||||
|
{B3B6558A-01C8-4C72-9BDE-84ABB1AE67DF} = {B3B6558A-01C8-4C72-9BDE-84ABB1AE67DF}
|
||||||
|
{7660FB4E-2AE6-483E-8813-0974CBE6F97F} = {7660FB4E-2AE6-483E-8813-0974CBE6F97F}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gailutil", "gailutil.vcproj", "{B3B6558A-01C8-4C72-9BDE-84ABB1AE67DF}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F5} = {FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F5}
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F7} = {FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F7}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libwimp", "libwimp.vcproj", "{7660FB4E-2AE6-483E-8813-0974CBE6F97F}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F5} = {FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F5}
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F7} = {FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F7}
|
||||||
EndProjectSection
|
EndProjectSection
|
||||||
EndProject
|
EndProject
|
||||||
Global
|
Global
|
||||||
@@ -51,38 +47,6 @@ Global
|
|||||||
Release|x64 = Release|x64
|
Release|x64 = Release|x64
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F6}.Debug|Win32.ActiveCfg = Debug|Win32
|
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F6}.Debug|Win32.Build.0 = Debug|Win32
|
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F6}.Debug|x64.ActiveCfg = Debug|x64
|
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F6}.Debug|x64.Build.0 = Debug|x64
|
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F6}.Release|Win32.ActiveCfg = Release|Win32
|
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F6}.Release|Win32.Build.0 = Release|Win32
|
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F6}.Release|x64.ActiveCfg = Release|x64
|
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F6}.Release|x64.Build.0 = Release|x64
|
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F8}.Debug|Win32.ActiveCfg = Debug|Win32
|
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F8}.Debug|Win32.Build.0 = Debug|Win32
|
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F8}.Debug|x64.ActiveCfg = Debug|x64
|
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F8}.Debug|x64.Build.0 = Debug|x64
|
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F8}.Release|Win32.ActiveCfg = Release|Win32
|
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F8}.Release|Win32.Build.0 = Release|Win32
|
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F8}.Release|x64.ActiveCfg = Release|x64
|
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F8}.Release|x64.Build.0 = Release|x64
|
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F9}.Debug|Win32.ActiveCfg = Debug|Win32
|
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F9}.Debug|Win32.Build.0 = Debug|Win32
|
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F9}.Debug|x64.ActiveCfg = Debug|x64
|
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F9}.Debug|x64.Build.0 = Debug|x64
|
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F9}.Release|Win32.ActiveCfg = Release|Win32
|
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F9}.Release|Win32.Build.0 = Release|Win32
|
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F9}.Release|x64.ActiveCfg = Release|x64
|
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F9}.Release|x64.Build.0 = Release|x64
|
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F7}.Debug|Win32.ActiveCfg = Debug|Win32
|
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F7}.Debug|Win32.Build.0 = Debug|Win32
|
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F7}.Debug|x64.ActiveCfg = Debug|x64
|
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F7}.Debug|x64.Build.0 = Debug|x64
|
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F7}.Release|Win32.ActiveCfg = Release|Win32
|
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F7}.Release|Win32.Build.0 = Release|Win32
|
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F7}.Release|x64.ActiveCfg = Release|x64
|
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F7}.Release|x64.Build.0 = Release|x64
|
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FA}.Debug|Win32.ActiveCfg = Debug|Win32
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FA}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FA}.Debug|Win32.Build.0 = Debug|Win32
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FA}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FA}.Debug|x64.ActiveCfg = Debug|x64
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FA}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
@@ -91,6 +55,14 @@ Global
|
|||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FA}.Release|Win32.Build.0 = Release|Win32
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FA}.Release|Win32.Build.0 = Release|Win32
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FA}.Release|x64.ActiveCfg = Release|x64
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FA}.Release|x64.ActiveCfg = Release|x64
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FA}.Release|x64.Build.0 = Release|x64
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FA}.Release|x64.Build.0 = Release|x64
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F7}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F7}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F7}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F7}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F7}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F7}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F7}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F7}.Release|x64.Build.0 = Release|x64
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F5}.Debug|Win32.ActiveCfg = Debug|Win32
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F5}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F5}.Debug|Win32.Build.0 = Debug|Win32
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F5}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F5}.Debug|x64.ActiveCfg = Debug|x64
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F5}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
@@ -99,14 +71,6 @@ Global
|
|||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F5}.Release|Win32.Build.0 = Release|Win32
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F5}.Release|Win32.Build.0 = Release|Win32
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F5}.Release|x64.ActiveCfg = Release|x64
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F5}.Release|x64.ActiveCfg = Release|x64
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F5}.Release|x64.Build.0 = Release|x64
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F5}.Release|x64.Build.0 = Release|x64
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FB}.Debug|Win32.ActiveCfg = Debug|Win32
|
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FB}.Debug|Win32.Build.0 = Debug|Win32
|
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FB}.Debug|x64.ActiveCfg = Debug|x64
|
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FB}.Debug|x64.Build.0 = Debug|x64
|
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FB}.Release|Win32.ActiveCfg = Release|Win32
|
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FB}.Release|Win32.Build.0 = Release|Win32
|
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FB}.Release|x64.ActiveCfg = Release|x64
|
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FB}.Release|x64.Build.0 = Release|x64
|
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FC}.Debug|Win32.ActiveCfg = Debug|Win32
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FC}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FC}.Debug|Win32.Build.0 = Debug|Win32
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FC}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FC}.Debug|x64.ActiveCfg = Debug|x64
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FC}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
@@ -115,6 +79,30 @@ Global
|
|||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FC}.Release|Win32.Build.0 = Release|Win32
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FC}.Release|Win32.Build.0 = Release|Win32
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FC}.Release|x64.ActiveCfg = Release|x64
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FC}.Release|x64.ActiveCfg = Release|x64
|
||||||
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FC}.Release|x64.Build.0 = Release|x64
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FC}.Release|x64.Build.0 = Release|x64
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FB}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FB}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FB}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FB}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FB}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FB}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FB}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FB}.Release|x64.Build.0 = Release|x64
|
||||||
|
{B3B6558A-01C8-4C72-9BDE-84ABB1AE67DF}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{B3B6558A-01C8-4C72-9BDE-84ABB1AE67DF}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{B3B6558A-01C8-4C72-9BDE-84ABB1AE67DF}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{B3B6558A-01C8-4C72-9BDE-84ABB1AE67DF}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{B3B6558A-01C8-4C72-9BDE-84ABB1AE67DF}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{B3B6558A-01C8-4C72-9BDE-84ABB1AE67DF}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{B3B6558A-01C8-4C72-9BDE-84ABB1AE67DF}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{B3B6558A-01C8-4C72-9BDE-84ABB1AE67DF}.Release|x64.Build.0 = Release|x64
|
||||||
|
{7660FB4E-2AE6-483E-8813-0974CBE6F97F}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{7660FB4E-2AE6-483E-8813-0974CBE6F97F}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{7660FB4E-2AE6-483E-8813-0974CBE6F97F}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{7660FB4E-2AE6-483E-8813-0974CBE6F97F}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{7660FB4E-2AE6-483E-8813-0974CBE6F97F}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{7660FB4E-2AE6-483E-8813-0974CBE6F97F}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{7660FB4E-2AE6-483E-8813-0974CBE6F97F}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{7660FB4E-2AE6-483E-8813-0974CBE6F97F}.Release|x64.Build.0 = Release|x64
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
HideSolutionNode = FALSE
|
HideSolutionNode = FALSE
|
||||||
|
|||||||
@@ -4,17 +4,17 @@
|
|||||||
Version="8.00"
|
Version="8.00"
|
||||||
Name="gtk+props"
|
Name="gtk+props"
|
||||||
OutputDirectory="$(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin"
|
OutputDirectory="$(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin"
|
||||||
IntermediateDirectory="$(SolutionDir)$(ConfigurationName)\$(PlatformName)\obj"
|
IntermediateDirectory="$(SolutionDir)$(ConfigurationName)\$(PlatformName)\obj\$(ProjectName)"
|
||||||
>
|
>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
AdditionalIncludeDirectories="..\..\..;$(GlibEtcInstallRoot)\lib\glib-2.0\include;$(GlibEtcInstallRoot)\include\glib-2.0;$(GlibEtcInstallRoot)\include;$(GlibEtcInstallRoot)\include\cairo;$(GlibEtcInstallRoot)\include\atk-1.0;$(GlibEtcInstallRoot)\include\pango-1.0"
|
AdditionalIncludeDirectories="..\..\..;$(GlibEtcInstallRoot)\lib\glib-2.0\include;$(GlibEtcInstallRoot)\include\glib-2.0;$(GlibEtcInstallRoot)\include;$(GlibEtcInstallRoot)\include\cairo;$(GlibEtcInstallRoot)\include\atk-1.0;$(GlibEtcInstallRoot)\include\pango-1.0;$(GlibEtcInstallRoot)\include\gdk-pixbuf-2.0"
|
||||||
PreprocessorDefinitions="HAVE_CONFIG_H;G_DISABLE_DEPRECATED;G_DISABLE_SINGLE_INCLUDES;ATK_DISABLE_SINGLE_INCLUDES;GDK_PIXBUF_DISABLE_SINGLE_INCLUDES;GTK_DISABLE_SINGLE_INCLUDES"
|
PreprocessorDefinitions="HAVE_CONFIG_H;G_DISABLE_SINGLE_INCLUDES;ATK_DISABLE_SINGLE_INCLUDES;GDK_PIXBUF_DISABLE_SINGLE_INCLUDES;GTK_DISABLE_SINGLE_INCLUDES"
|
||||||
ForcedIncludeFiles="msvc_recommended_pragmas.h"
|
ForcedIncludeFiles="msvc_recommended_pragmas.h"
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
AdditionalDependencies="gio-2.0.lib gmodule-2.0.lib gobject-2.0.lib glib-2.0.lib intl.lib"
|
AdditionalDependencies="gdk_pixbuf-2.0.lib gio-2.0.lib gmodule-2.0.lib gobject-2.0.lib glib-2.0.lib intl.lib"
|
||||||
AdditionalLibraryDirectories="$(GlibEtcInstallRoot)\lib"
|
AdditionalLibraryDirectories="$(GlibEtcInstallRoot)\lib"
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
@@ -41,58 +41,33 @@ copy ..\..\..\gdk\gdkconfig.h.win32 ..\..\..\gdk\gdkconfig.h

|
|||||||
Name="GtkDummyPrefix"
|
Name="GtkDummyPrefix"
|
||||||
Value="/dummy"
|
Value="/dummy"
|
||||||
/>
|
/>
|
||||||
<UserMacro
|
|
||||||
Name="GtkPrefixDefine"
|
|
||||||
Value="GTK_PREFIX=\"$(GtkDummyPrefix)\""
|
|
||||||
/>
|
|
||||||
<UserMacro
|
|
||||||
Name="GdkPixbufIncludedLoaderDefines"
|
|
||||||
Value="INCLUDE_ani;INCLUDE_icns;INCLUDE_pcx;INCLUDE_ras;INCLUDE_tga;INCLUDE_png;INCLUDE_pnm;INCLUDE_wbmp;INCLUDE_xbm;INCLUDE_xpm;INCLUDE_gdiplus"
|
|
||||||
/>
|
|
||||||
<UserMacro
|
|
||||||
Name="GdkPixbufDefines"
|
|
||||||
Value="GDK_PIXBUF_COMPILATION;GDK_PIXBUF_ENABLE_BACKEND;$(GtkPrefixDefine);$(GdkPixbufIncludedLoaderDefines)"
|
|
||||||
/>
|
|
||||||
<UserMacro
|
|
||||||
Name="GdkPixbufLibdirDefine"
|
|
||||||
Value="PIXBUF_LIBDIR=\"$(GtkDummyPrefix)/lib/gtk-$(GtkApiVersion)/$(GtkBinaryVersion)/loaders\""
|
|
||||||
/>
|
|
||||||
<UserMacro
|
<UserMacro
|
||||||
Name="GdkDefines"
|
Name="GdkDefines"
|
||||||
Value="GDK_COMPILATION;G_LOG_DOMAIN=\"Gdk\""
|
Value="GDK_COMPILATION;G_LOG_DOMAIN=\"Gdk\""
|
||||||
/>
|
/>
|
||||||
|
<UserMacro
|
||||||
|
Name="GtkHost"
|
||||||
|
Value="i686-pc-vs9"
|
||||||
|
/>
|
||||||
<UserMacro
|
<UserMacro
|
||||||
Name="GtkIncludedImmodulesDefines"
|
Name="GtkIncludedImmodulesDefines"
|
||||||
Value="INCLUDE_IM_am_et;INCLUDE_IM_cedilla;INCLUDE_IM_cyrillic_translit;INCLUDE_IM_ime;INCLUDE_IM_inuktitut;INCLUDE_IM_ipa;INCLUDE_IM_multipress;INCLUDE_IM_thai;INCLUDE_IM_ti_er;INCLUDE_IM_ti_et;INCLUDE_IM_viqr"
|
Value="INCLUDE_IM_am_et;INCLUDE_IM_cedilla;INCLUDE_IM_cyrillic_translit;INCLUDE_IM_ime;INCLUDE_IM_inuktitut;INCLUDE_IM_ipa;INCLUDE_IM_multipress;INCLUDE_IM_thai;INCLUDE_IM_ti_er;INCLUDE_IM_ti_et;INCLUDE_IM_viqr"
|
||||||
/>
|
/>
|
||||||
<UserMacro
|
<UserMacro
|
||||||
Name="GtkDefines"
|
Name="GtkDefines"
|
||||||
Value="GTK_COMPILATION;G_LOG_DOMAIN=\"Gtk\";GTK_HOST=\"i686-pc-vs9\";GTK_PRINT_BACKENDS=\"file\";GTK_PRINT_PREVIEW_COMMAND=\"undefined-gtk-print-preview-command\";$(GtkIncludedImmodulesDefines);GTK_LIBDIR=\"$(GtkDummyPrefix)/lib\";GTK_DATADIR=\"$(GtkDummyPrefix)/share\"GTK_DATA_PREFIX=\"$(GtkDummyPrefix)\";GTK_SYSCONFDIR=\"$(GtkDummyPrefix)/etc\";MULTIPRESS_CONFDIR=\"$(GtkDummyPrefix)/etc/gtk-$(GtkApiVersion)\";MULTIPRESS_LOCALEDIR=\"$(GtkDummyPrefix)/share/locale\";GTK_VERSION=\"$(GtkVersion)/etc\";GTK_BINARY_VERSION=\"$(GtkBinaryVersion)/etc\";GDK_DISABLE_DEPRECATED"
|
Value="GTK_COMPILATION;G_LOG_DOMAIN=\"Gtk\";GTK_HOST=\"$(GtkHost)\";GTK_PRINT_BACKENDS=\"file\";GTK_PRINT_PREVIEW_COMMAND=\"undefined-gtk-print-preview-command\";$(GtkIncludedImmodulesDefines);GTK_LIBDIR=\"$(GtkDummyPrefix)/lib\";GTK_SYSCONFDIR="$(GtkDummyPrefix)/etc";MULTIPRESS_CONFDIR=\"$(GtkDummyPrefix)/etc/gtk-$(GtkApiVersion)\";MULTIPRESS_LOCALEDIR=\"$(GtkDummyPrefix)/share/locale\";GTK_VERSION=\"$(GtkVersion)\";GTK_BINARY_VERSION=\"$(GtkBinaryVersion)\""
|
||||||
/>
|
/>
|
||||||
<UserMacro
|
<UserMacro
|
||||||
Name="GtkDoInstall"
|
Name="GtkDoInstall"
|
||||||
Value="
|
Value="
|
||||||
echo on

|
echo on

|
||||||
mkdir $(OutDir)\bin

|
mkdir $(OutDir)\bin

|
||||||
copy $(ConfigurationName)\$(PlatformName)\bin\*.dll $(OutDir)\bin

|
copy $(ConfigurationName)\$(PlatformName)\bin\*-vs9.dll $(OutDir)\bin

|
||||||
copy $(ConfigurationName)\$(PlatformName)\bin\*.exe $(OutDir)\bin

|
copy $(ConfigurationName)\$(PlatformName)\bin\*.exe $(OutDir)\bin

|
||||||
|
|
||||||
mkdir $(OutDir)\lib

|
mkdir $(OutDir)\lib

|
||||||
copy $(ConfigurationName)\$(PlatformName)\bin\*-$(GtkApiVersion).lib $(OutDir)\lib

|
copy $(ConfigurationName)\$(PlatformName)\bin\*-$(GtkApiVersion).lib $(OutDir)\lib

|
||||||
|
|
||||||
mkdir $(OutDir)\include\gtk-$(GtkApiVersion)\gdk-pixbuf

|
|
||||||
copy ..\..\..\gdk-pixbuf\gdk-pixbuf-animation.h $(OutDir)\include\gtk-$(GtkApiVersion)\gdk-pixbuf

|
|
||||||
copy ..\..\..\gdk-pixbuf\gdk-pixbuf-core.h $(OutDir)\include\gtk-$(GtkApiVersion)\gdk-pixbuf

|
|
||||||
copy ..\..\..\gdk-pixbuf\gdk-pixbuf-enum-types.h $(OutDir)\include\gtk-$(GtkApiVersion)\gdk-pixbuf

|
|
||||||
copy ..\..\..\gdk-pixbuf\gdk-pixbuf-features.h $(OutDir)\include\gtk-$(GtkApiVersion)\gdk-pixbuf

|
|
||||||
copy ..\..\..\gdk-pixbuf\gdk-pixbuf-io.h $(OutDir)\include\gtk-$(GtkApiVersion)\gdk-pixbuf

|
|
||||||
copy ..\..\..\gdk-pixbuf\gdk-pixbuf-loader.h $(OutDir)\include\gtk-$(GtkApiVersion)\gdk-pixbuf

|
|
||||||
copy ..\..\..\gdk-pixbuf\gdk-pixbuf-marshal.h $(OutDir)\include\gtk-$(GtkApiVersion)\gdk-pixbuf

|
|
||||||
copy ..\..\..\gdk-pixbuf\gdk-pixbuf-simple-anim.h $(OutDir)\include\gtk-$(GtkApiVersion)\gdk-pixbuf

|
|
||||||
copy ..\..\..\gdk-pixbuf\gdk-pixbuf-transform.h $(OutDir)\include\gtk-$(GtkApiVersion)\gdk-pixbuf

|
|
||||||
copy ..\..\..\gdk-pixbuf\gdk-pixbuf.h $(OutDir)\include\gtk-$(GtkApiVersion)\gdk-pixbuf

|
|
||||||
copy ..\..\..\gdk-pixbuf\gdk-pixdata.h $(OutDir)\include\gtk-$(GtkApiVersion)\gdk-pixbuf

|
|
||||||
|
|
||||||
mkdir $(OutDir)\include\gtk-$(GtkApiVersion)\gdk

|
mkdir $(OutDir)\include\gtk-$(GtkApiVersion)\gdk

|
||||||
copy ..\..\..\gdk\gdk.h $(OutDir)\include\gtk-$(GtkApiVersion)\gdk

|
copy ..\..\..\gdk\gdk.h $(OutDir)\include\gtk-$(GtkApiVersion)\gdk

|
||||||
copy ..\..\..\gdk\gdkapplaunchcontext.h $(OutDir)\include\gtk-$(GtkApiVersion)\gdk

|
copy ..\..\..\gdk\gdkapplaunchcontext.h $(OutDir)\include\gtk-$(GtkApiVersion)\gdk

|
||||||
@@ -112,6 +87,7 @@ copy ..\..\..\gdk\gdkimage.h $(OutDir)\include\gtk-$(GtkApiVersion)\gdk
&#x
|
|||||||
copy ..\..\..\gdk\gdkinput.h $(OutDir)\include\gtk-$(GtkApiVersion)\gdk

|
copy ..\..\..\gdk\gdkinput.h $(OutDir)\include\gtk-$(GtkApiVersion)\gdk

|
||||||
copy ..\..\..\gdk\gdkkeys.h $(OutDir)\include\gtk-$(GtkApiVersion)\gdk

|
copy ..\..\..\gdk\gdkkeys.h $(OutDir)\include\gtk-$(GtkApiVersion)\gdk

|
||||||
copy ..\..\..\gdk\gdkkeysyms.h $(OutDir)\include\gtk-$(GtkApiVersion)\gdk

|
copy ..\..\..\gdk\gdkkeysyms.h $(OutDir)\include\gtk-$(GtkApiVersion)\gdk

|
||||||
|
copy ..\..\..\gdk\gdkkeysyms-compat.h $(OutDir)\include\gtk-$(GtkApiVersion)\gdk

|
||||||
copy ..\..\..\gdk\gdkpango.h $(OutDir)\include\gtk-$(GtkApiVersion)\gdk

|
copy ..\..\..\gdk\gdkpango.h $(OutDir)\include\gtk-$(GtkApiVersion)\gdk

|
||||||
copy ..\..\..\gdk\gdkpixbuf.h $(OutDir)\include\gtk-$(GtkApiVersion)\gdk

|
copy ..\..\..\gdk\gdkpixbuf.h $(OutDir)\include\gtk-$(GtkApiVersion)\gdk

|
||||||
copy ..\..\..\gdk\gdkpixmap.h $(OutDir)\include\gtk-$(GtkApiVersion)\gdk

|
copy ..\..\..\gdk\gdkpixmap.h $(OutDir)\include\gtk-$(GtkApiVersion)\gdk

|
||||||
@@ -159,6 +135,7 @@ copy ..\..\..\gtk\gtkcellrenderercombo.h $(OutDir)\include\gtk-$(GtkApiVersion)\
|
|||||||
copy ..\..\..\gtk\gtkcellrendererpixbuf.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
copy ..\..\..\gtk\gtkcellrendererpixbuf.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
||||||
copy ..\..\..\gtk\gtkcellrendererprogress.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
copy ..\..\..\gtk\gtkcellrendererprogress.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
||||||
copy ..\..\..\gtk\gtkcellrendererspin.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
copy ..\..\..\gtk\gtkcellrendererspin.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
||||||
|
copy ..\..\..\gtk\gtkcellrendererspinner.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
||||||
copy ..\..\..\gtk\gtkcellrenderertext.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
copy ..\..\..\gtk\gtkcellrenderertext.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
||||||
copy ..\..\..\gtk\gtkcellrenderertoggle.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
copy ..\..\..\gtk\gtkcellrenderertoggle.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
||||||
copy ..\..\..\gtk\gtkcellview.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
copy ..\..\..\gtk\gtkcellview.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
||||||
@@ -172,6 +149,7 @@ copy ..\..\..\gtk\gtkcolorseldialog.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk
|
|||||||
copy ..\..\..\gtk\gtkcombo.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
copy ..\..\..\gtk\gtkcombo.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
||||||
copy ..\..\..\gtk\gtkcombobox.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
copy ..\..\..\gtk\gtkcombobox.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
||||||
copy ..\..\..\gtk\gtkcomboboxentry.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
copy ..\..\..\gtk\gtkcomboboxentry.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
||||||
|
copy ..\..\..\gtk\gtkcomboboxtext.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
||||||
copy ..\..\..\gtk\gtkcontainer.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
copy ..\..\..\gtk\gtkcontainer.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
||||||
copy ..\..\..\gtk\gtkctree.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
copy ..\..\..\gtk\gtkctree.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
||||||
copy ..\..\..\gtk\gtkcurve.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
copy ..\..\..\gtk\gtkcurve.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
||||||
@@ -240,6 +218,7 @@ copy ..\..\..\gtk\gtkmodules.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk
&
|
|||||||
copy ..\..\..\gtk\gtkmountoperation.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
copy ..\..\..\gtk\gtkmountoperation.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
||||||
copy ..\..\..\gtk\gtknotebook.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
copy ..\..\..\gtk\gtknotebook.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
||||||
copy ..\..\..\gtk\gtkobject.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
copy ..\..\..\gtk\gtkobject.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
||||||
|
copy ..\..\..\gtk\gtkoffscreenwindow.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
||||||
copy ..\..\..\gtk\gtkoldeditable.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
copy ..\..\..\gtk\gtkoldeditable.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
||||||
copy ..\..\..\gtk\gtkoptionmenu.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
copy ..\..\..\gtk\gtkoptionmenu.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
||||||
copy ..\..\..\gtk\gtkorientable.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
copy ..\..\..\gtk\gtkorientable.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
||||||
@@ -253,7 +232,6 @@ copy ..\..\..\gtk\gtkprintcontext.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk&#
|
|||||||
copy ..\..\..\gtk\gtkprintoperation.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
copy ..\..\..\gtk\gtkprintoperation.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
||||||
copy ..\..\..\gtk\gtkprintoperationpreview.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
copy ..\..\..\gtk\gtkprintoperationpreview.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
||||||
copy ..\..\..\gtk\gtkprintsettings.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
copy ..\..\..\gtk\gtkprintsettings.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
||||||
copy ..\..\..\gtk\gtkprivate.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
|
||||||
copy ..\..\..\gtk\gtkprogress.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
copy ..\..\..\gtk\gtkprogress.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
||||||
copy ..\..\..\gtk\gtkprogressbar.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
copy ..\..\..\gtk\gtkprogressbar.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
||||||
copy ..\..\..\gtk\gtkradioaction.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
copy ..\..\..\gtk\gtkradioaction.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
||||||
@@ -284,6 +262,7 @@ copy ..\..\..\gtk\gtksignal.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk
&#
|
|||||||
copy ..\..\..\gtk\gtksizegroup.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
copy ..\..\..\gtk\gtksizegroup.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
||||||
copy ..\..\..\gtk\gtksocket.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
copy ..\..\..\gtk\gtksocket.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
||||||
copy ..\..\..\gtk\gtkspinbutton.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
copy ..\..\..\gtk\gtkspinbutton.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
||||||
|
copy ..\..\..\gtk\gtkspinner.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
||||||
copy ..\..\..\gtk\gtkstatusbar.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
copy ..\..\..\gtk\gtkstatusbar.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
||||||
copy ..\..\..\gtk\gtkstatusicon.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
copy ..\..\..\gtk\gtkstatusicon.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
||||||
copy ..\..\..\gtk\gtkstock.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
copy ..\..\..\gtk\gtkstock.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
||||||
@@ -309,6 +288,8 @@ copy ..\..\..\gtk\gtktoggletoolbutton.h $(OutDir)\include\gtk-$(GtkApiVersion)\g
|
|||||||
copy ..\..\..\gtk\gtktoolbar.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
copy ..\..\..\gtk\gtktoolbar.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
||||||
copy ..\..\..\gtk\gtktoolbutton.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
copy ..\..\..\gtk\gtktoolbutton.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
||||||
copy ..\..\..\gtk\gtktoolitem.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
copy ..\..\..\gtk\gtktoolitem.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
||||||
|
copy ..\..\..\gtk\gtktoolitemgroup.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
||||||
|
copy ..\..\..\gtk\gtktoolpalette.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
||||||
copy ..\..\..\gtk\gtktoolshell.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
copy ..\..\..\gtk\gtktoolshell.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
||||||
copy ..\..\..\gtk\gtktooltip.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
copy ..\..\..\gtk\gtktooltip.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
||||||
copy ..\..\..\gtk\gtktooltips.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
copy ..\..\..\gtk\gtktooltips.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk

|
||||||
@@ -342,17 +323,45 @@ copy ..\..\..\gtk\gtkwindow.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk
&#
|
|||||||
mkdir $(OutDir)\lib\gtk-$(GtkApiVersion)\include

|
mkdir $(OutDir)\lib\gtk-$(GtkApiVersion)\include

|
||||||
copy ..\..\..\gdk\gdkconfig.h $(OutDir)\lib\gtk-$(GtkApiVersion)\include

|
copy ..\..\..\gdk\gdkconfig.h $(OutDir)\lib\gtk-$(GtkApiVersion)\include

|
||||||
|
|
||||||
|
mkdir $(OutDir)\include\gail-1.0\libgail-util

|
||||||
|
copy ..\..\..\modules\other\gail\libgail-util\gailmisc.h $(OutDir)\include\gail-1.0\libgail-util

|
||||||
|
copy ..\..\..\modules\other\gail\libgail-util\gailtextutil.h $(OutDir)\include\gail-1.0\libgail-util

|
||||||
|
copy ..\..\..\modules\other\gail\libgail-util\gail-util.h $(OutDir)\include\gail-1.0\libgail-util

|
||||||
|
|
||||||
copy $(ConfigurationName)\$(PlatformName)\bin\*-$(GtkApiVersion).lib $(OutDir)\lib

|
copy $(ConfigurationName)\$(PlatformName)\bin\*-$(GtkApiVersion).lib $(OutDir)\lib

|
||||||
|
|
||||||
|
mkdir $(Outdir)\lib\gtk-$(GtkApiVersion)\$(GtkHost)\engines

|
||||||
|
copy $(ConfigurationName)\$(PlatformName)\bin\libwimp.dll $(Outdir)\lib\gtk-$(GtkApiVersion)\$(GtkHost)\engines

|
||||||
|
|
||||||
|
mkdir $(OutDir)\share\gtk-$(GtkApiVersion)\demo

|
||||||
|
copy ..\..\..\demos\gtk-demo\*.png $(OutDir)\share\gtk-$(GtkApiVersion)\demo

|
||||||
|
copy ..\..\..\demos\gtk-demo\*.gif $(OutDir)\share\gtk-$(GtkApiVersion)\demo

|
||||||
|
copy ..\..\..\demos\gtk-demo\*.ui $(OutDir)\share\gtk-$(GtkApiVersion)\demo

|
||||||
|
copy ..\..\..\demos\gtk-demo\*.jpg $(OutDir)\share\gtk-$(GtkApiVersion)\demo

|
||||||
|
copy ..\..\..\demos\gtk-demo\*.c $(OutDir)\share\gtk-$(GtkApiVersion)\demo

|
||||||
|
copy ..\..\..\demos\gtk-demo\*.h $(OutDir)\share\gtk-$(GtkApiVersion)\demo

|
||||||
|
|
||||||
|
mkdir $(OutDir)\share\themes\Default\gtk-2.0-key

|
||||||
|
copy ..\..\..\gtk\gtkrc.key.default $(OutDir)\share\themes\Default\gtk-2.0-key\gtkrc

|
||||||
|
|
||||||
|
mkdir $(OutDir)\share\themes\Emacs\gtk-2.0-key

|
||||||
|
copy ..\..\..\gtk\gtkrc.key.emacs $(OutDir)\share\themes\Emacs\gtk-2.0-key\gtkrc

|
||||||
|
|
||||||
|
mkdir $(OutDir)\share\themes\MS-Windows\gtk-2.0

|
||||||
|
copy ..\..\..\modules\engines\ms-windows\Theme\gtk-2.0\gtkrc $(OutDir)\share\themes\MS-Windows\gtk-2.0

|
||||||
|
|
||||||
|
mkdir $(OutDir)\share\themes\Raleigh\gtk-2.0

|
||||||
|
copy ..\..\..\gtk\gtkrc.default $(OutDir)\share\themes\Raleigh\gtk-2.0\gtkrc

|
||||||
"
|
"
|
||||||
/>
|
/>
|
||||||
<UserMacro
|
|
||||||
Name="GtkGenerateGdkPixbufDef"
|
|
||||||
Value="echo EXPORTS >"$(IntDir)\gdk-pixbuf.def" && cl /EP -DG_OS_WIN32 -DINCLUDE_VARIABLES -DALL_FILES -DG_GNUC_CONST= -DG_GNUC_NULL_TERMINATED= ..\..\..\gdk-pixbuf\gdk-pixbuf.symbols >>"$(IntDir)\gdk-pixbuf.def""
|
|
||||||
/>
|
|
||||||
<UserMacro
|
<UserMacro
|
||||||
Name="GtkGenerateGdkDef"
|
Name="GtkGenerateGdkDef"
|
||||||
Value="echo EXPORTS >"$(IntDir)\gdk.def" && cl /EP -DGDK_WINDOWING_WIN32 -DALL_FILES -DG_GNUC_CONST= ..\..\..\gdk\gdk.symbols >>"$(IntDir)\gdk.def""
|
Value="echo EXPORTS >"$(IntDir)\gdk.def" && cl /EP -DGDK_WINDOWING_WIN32 -DALL_FILES -DG_GNUC_CONST= ..\..\..\gdk\gdk.symbols >>"$(IntDir)\gdk.def""
|
||||||
/>
|
/>
|
||||||
|
<UserMacro
|
||||||
|
Name="GtkGenerateGtkDefW64"
|
||||||
|
Value="echo EXPORTS >"$(IntDir)\gtk.def" && cl /EP -DINCLUDE_VARIABLES -DG_OS_WIN32 -D_WIN64 -DALL_FILES -DG_GNUC_MALLOC= -DG_GNUC_CONST= -DG_GNUC_NULL_TERMINATED= -DG_GNUC_PRINTF=;G_GNUC_PRINTF ..\..\..\gtk\gtk.symbols >>"$(IntDir)\gtk.def""
|
||||||
|
/>
|
||||||
<UserMacro
|
<UserMacro
|
||||||
Name="GtkGenerateGtkDef"
|
Name="GtkGenerateGtkDef"
|
||||||
Value="echo EXPORTS >"$(IntDir)\gtk.def" && cl /EP -DINCLUDE_VARIABLES -DG_OS_WIN32 -DALL_FILES -DG_GNUC_MALLOC= -DG_GNUC_CONST= -DG_GNUC_NULL_TERMINATED= -DG_GNUC_PRINTF=;G_GNUC_PRINTF ..\..\..\gtk\gtk.symbols >>"$(IntDir)\gtk.def""
|
Value="echo EXPORTS >"$(IntDir)\gtk.def" && cl /EP -DINCLUDE_VARIABLES -DG_OS_WIN32 -DALL_FILES -DG_GNUC_MALLOC= -DG_GNUC_CONST= -DG_GNUC_NULL_TERMINATED= -DG_GNUC_PRINTF=;G_GNUC_PRINTF ..\..\..\gtk\gtk.symbols >>"$(IntDir)\gtk.def""
|
||||||
@@ -377,14 +386,14 @@ copy $(ConfigurationName)\$(PlatformName)\bin\*-$(GtkApiVersion).lib $(OutDir)\l
|
|||||||
GtkLibtoolCompatibleDllSuffix if that is what you want -->
|
GtkLibtoolCompatibleDllSuffix if that is what you want -->
|
||||||
<UserMacro
|
<UserMacro
|
||||||
Name="GtkDllPrefix"
|
Name="GtkDllPrefix"
|
||||||
Value="$(GtkLibtoolCompatibleDllPrefix)"
|
Value="$(GtkSeparateVS9DllPrefix)"
|
||||||
/>
|
/>
|
||||||
<UserMacro
|
<UserMacro
|
||||||
Name="GtkDllSuffix"
|
Name="GtkDllSuffix"
|
||||||
Value="$(GtkLibtoolCompatibleDllSuffix)"
|
Value="$(GtkSeparateVS9DllSuffix)"
|
||||||
/>
|
/>
|
||||||
<UserMacro
|
<UserMacro
|
||||||
Name="GlibEtcInstallRoot"
|
Name="GlibEtcInstallRoot"
|
||||||
Value="..\..\..\..\..\vs9\$(PlatformName)"
|
Value="..\..\..\..\vs9\$(PlatformName)"
|
||||||
/>
|
/>
|
||||||
</VisualStudioPropertySheet>
|
</VisualStudioPropertySheet>
|
||||||
|
|||||||
@@ -32,10 +32,10 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="0"
|
Optimization="0"
|
||||||
AdditionalIncludeDirectories="..\..\..\gdk-pixbuf;..\..\..\gdk;..\..\..\gtk"
|
AdditionalIncludeDirectories="..\..\..\gdk-pixbuf;..\..\..\gdk;..\..\..\gtk"
|
||||||
PreprocessorDefinitions="_DEBUG;$(GtkPrefixDefine)"
|
PreprocessorDefinitions="_DEBUG;G_ENABLE_DEBUG"
|
||||||
MinimalRebuild="true"
|
MinimalRebuild="true"
|
||||||
BasicRuntimeChecks="3"
|
BasicRuntimeChecks="3"
|
||||||
RuntimeLibrary="2"
|
RuntimeLibrary="3"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
WarningLevel="3"
|
WarningLevel="3"
|
||||||
DebugInformationFormat="4"
|
DebugInformationFormat="4"
|
||||||
@@ -65,7 +65,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="0"
|
Optimization="0"
|
||||||
AdditionalIncludeDirectories="..\..\..\gdk-pixbuf;..\..\..\gdk;..\..\..\gtk"
|
AdditionalIncludeDirectories="..\..\..\gdk-pixbuf;..\..\..\gdk;..\..\..\gtk"
|
||||||
PreprocessorDefinitions="_DEBUG;$(GtkPrefixDefine)"
|
PreprocessorDefinitions="_DEBUG;G_ENABLE_DEBUG"
|
||||||
MinimalRebuild="true"
|
MinimalRebuild="true"
|
||||||
BasicRuntimeChecks="3"
|
BasicRuntimeChecks="3"
|
||||||
RuntimeLibrary="3"
|
RuntimeLibrary="3"
|
||||||
@@ -76,9 +76,10 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
|
AdditionalDependencies="cairo.lib pango-1.0.lib pangocairo-1.0.lib"
|
||||||
LinkIncremental="2"
|
LinkIncremental="2"
|
||||||
GenerateDebugInformation="true"
|
GenerateDebugInformation="true"
|
||||||
SubSystem="2"
|
SubSystem="1"
|
||||||
RandomizedBaseAddress="1"
|
RandomizedBaseAddress="1"
|
||||||
DataExecutionPrevention="0"
|
DataExecutionPrevention="0"
|
||||||
TargetMachine="17"
|
TargetMachine="17"
|
||||||
@@ -97,7 +98,7 @@
|
|||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
AdditionalIncludeDirectories="..\..\..\gdk-pixbuf;..\..\..\gdk;..\..\..\gtk"
|
AdditionalIncludeDirectories="..\..\..\gdk-pixbuf;..\..\..\gdk;..\..\..\gtk"
|
||||||
PreprocessorDefinitions="$(GtkPrefixDefine)"
|
PreprocessorDefinitions=""
|
||||||
RuntimeLibrary="2"
|
RuntimeLibrary="2"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
WarningLevel="3"
|
WarningLevel="3"
|
||||||
@@ -106,9 +107,10 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
|
AdditionalDependencies="cairo.lib pango-1.0.lib pangocairo-1.0.lib"
|
||||||
LinkIncremental="1"
|
LinkIncremental="1"
|
||||||
GenerateDebugInformation="true"
|
GenerateDebugInformation="true"
|
||||||
SubSystem="2"
|
SubSystem="1"
|
||||||
OptimizeReferences="2"
|
OptimizeReferences="2"
|
||||||
EnableCOMDATFolding="2"
|
EnableCOMDATFolding="2"
|
||||||
RandomizedBaseAddress="1"
|
RandomizedBaseAddress="1"
|
||||||
@@ -129,7 +131,7 @@
|
|||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
AdditionalIncludeDirectories="..\..\..\gdk-pixbuf;..\..\..\gdk;..\..\..\gtk"
|
AdditionalIncludeDirectories="..\..\..\gdk-pixbuf;..\..\..\gdk;..\..\..\gtk"
|
||||||
PreprocessorDefinitions="$(GtkPrefixDefine)"
|
PreprocessorDefinitions=""
|
||||||
RuntimeLibrary="2"
|
RuntimeLibrary="2"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
WarningLevel="3"
|
WarningLevel="3"
|
||||||
@@ -138,9 +140,10 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
|
AdditionalDependencies="cairo.lib pango-1.0.lib pangocairo-1.0.lib"
|
||||||
LinkIncremental="1"
|
LinkIncremental="1"
|
||||||
GenerateDebugInformation="true"
|
GenerateDebugInformation="true"
|
||||||
SubSystem="2"
|
SubSystem="1"
|
||||||
OptimizeReferences="2"
|
OptimizeReferences="2"
|
||||||
EnableCOMDATFolding="2"
|
EnableCOMDATFolding="2"
|
||||||
RandomizedBaseAddress="1"
|
RandomizedBaseAddress="1"
|
||||||
|
|||||||
@@ -31,11 +31,11 @@
|
|||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="0"
|
Optimization="0"
|
||||||
AdditionalIncludeDirectories="..\..\..\gdk-pixbuf;..\..\..\gdk;..\..\..\gtk"
|
AdditionalIncludeDirectories="..\..\..\gdk;..\..\..\gtk"
|
||||||
PreprocessorDefinitions="_DEBUG;$(GtkDefines)"
|
PreprocessorDefinitions="_DEBUG;G_ENABLE_DEBUG;$(GtkDefines)"
|
||||||
MinimalRebuild="true"
|
MinimalRebuild="true"
|
||||||
BasicRuntimeChecks="3"
|
BasicRuntimeChecks="3"
|
||||||
RuntimeLibrary="2"
|
RuntimeLibrary="3"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
WarningLevel="3"
|
WarningLevel="3"
|
||||||
DebugInformationFormat="4"
|
DebugInformationFormat="4"
|
||||||
@@ -63,7 +63,7 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
AdditionalIncludeDirectories="..\..\..\gdk-pixbuf;..\..\..\gdk;..\..\..\gdk\win32"
|
AdditionalIncludeDirectories="..\..\..\gdk;..\..\..\gdk\win32"
|
||||||
PreprocessorDefinitions="$(GtkDefines)"
|
PreprocessorDefinitions="$(GtkDefines)"
|
||||||
RuntimeLibrary="2"
|
RuntimeLibrary="2"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
@@ -96,8 +96,8 @@
|
|||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="0"
|
Optimization="0"
|
||||||
AdditionalIncludeDirectories="..\..\..\gdk-pixbuf;..\..\..\gdk;..\..\..\gdk\win32"
|
AdditionalIncludeDirectories="..\..\..\gdk;..\..\..\gdk\win32"
|
||||||
PreprocessorDefinitions="_DEBUG;$(GtkDefines)"
|
PreprocessorDefinitions="_DEBUG;G_ENABLE_DEBUG;$(GtkDefines)"
|
||||||
MinimalRebuild="true"
|
MinimalRebuild="true"
|
||||||
BasicRuntimeChecks="3"
|
BasicRuntimeChecks="3"
|
||||||
RuntimeLibrary="3"
|
RuntimeLibrary="3"
|
||||||
@@ -128,7 +128,7 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
AdditionalIncludeDirectories="..\..\..\gdk-pixbuf;..\..\..\gdk;..\..\..\gdk\win32"
|
AdditionalIncludeDirectories="..\..\..\gdk;..\..\..\gdk\win32"
|
||||||
PreprocessorDefinitions="$(GtkDefines)"
|
PreprocessorDefinitions="$(GtkDefines)"
|
||||||
RuntimeLibrary="2"
|
RuntimeLibrary="2"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
@@ -183,7 +183,7 @@
|
|||||||
<Tool
|
<Tool
|
||||||
Name="VCCustomBuildTool"
|
Name="VCCustomBuildTool"
|
||||||
Description="Generating gtk.def"
|
Description="Generating gtk.def"
|
||||||
CommandLine="$(GtkGenerateGtkDef)"
|
CommandLine="$(GtkGenerateGtkDefW64)"
|
||||||
Outputs="$(IntDir)\gtk.def"
|
Outputs="$(IntDir)\gtk.def"
|
||||||
/>
|
/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
@@ -203,11 +203,12 @@
|
|||||||
<Tool
|
<Tool
|
||||||
Name="VCCustomBuildTool"
|
Name="VCCustomBuildTool"
|
||||||
Description="Generating gtk.def"
|
Description="Generating gtk.def"
|
||||||
CommandLine="$(GtkGenerateGtkDef)"
|
CommandLine="$(GtkGenerateGtkDefW64)"
|
||||||
Outputs="$(IntDir)\gtk.def"
|
Outputs="$(IntDir)\gtk.def"
|
||||||
/>
|
/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
|
<File RelativePath="..\..\..\gtk\gtk-win32.rc" />
|
||||||
</Filter>
|
</Filter>
|
||||||
<Filter
|
<Filter
|
||||||
Name="Source Files"
|
Name="Source Files"
|
||||||
|
|||||||
@@ -2,11 +2,11 @@
|
|||||||
<VisualStudioProject
|
<VisualStudioProject
|
||||||
ProjectType="Visual C++"
|
ProjectType="Visual C++"
|
||||||
Version="9.00"
|
Version="9.00"
|
||||||
Name="gdk-pixbuf-query-loaders"
|
Name="libwimp"
|
||||||
ProjectGUID="{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F9}"
|
ProjectGUID="{7660FB4E-2AE6-483E-8813-0974CBE6F97F}"
|
||||||
RootNamespace="gdkpixbufqueryloaders"
|
RootNamespace="libwimp"
|
||||||
Keyword="Win32Proj"
|
Keyword="Win32Proj"
|
||||||
TargetFrameworkVersion="131072"
|
TargetFrameworkVersion="196613"
|
||||||
>
|
>
|
||||||
<Platforms>
|
<Platforms>
|
||||||
<Platform
|
<Platform
|
||||||
@@ -21,7 +21,7 @@
|
|||||||
<Configurations>
|
<Configurations>
|
||||||
<Configuration
|
<Configuration
|
||||||
Name="Debug|Win32"
|
Name="Debug|Win32"
|
||||||
ConfigurationType="1"
|
ConfigurationType="2"
|
||||||
InheritedPropertySheets=".\gtk+.vsprops"
|
InheritedPropertySheets=".\gtk+.vsprops"
|
||||||
CharacterSet="2"
|
CharacterSet="2"
|
||||||
>
|
>
|
||||||
@@ -30,30 +30,62 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
|
AdditionalIncludeDirectories="..\..\..\gdk;..\..\..\gdk\win32"
|
||||||
Optimization="0"
|
Optimization="0"
|
||||||
PreprocessorDefinitions="_DEBUG;GDK_PIXBUF_COMPILATION;GDK_PIXBUF_ENABLE_BACKEND;$(GtkPrefixDefine);$(GdkPixbufLibdirDefine)"
|
PreprocessorDefinitions="_DEBUG;G_ENABLE_DEBUG"
|
||||||
MinimalRebuild="true"
|
MinimalRebuild="true"
|
||||||
BasicRuntimeChecks="3"
|
BasicRuntimeChecks="3"
|
||||||
RuntimeLibrary="2"
|
RuntimeLibrary="3"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
WarningLevel="3"
|
WarningLevel="3"
|
||||||
DebugInformationFormat="4"
|
DebugInformationFormat="4"
|
||||||
CompileAs="1"
|
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
|
AdditionalDependencies="pangowin32-1.0.lib pango-1.0.lib cairo.lib"
|
||||||
LinkIncremental="2"
|
LinkIncremental="2"
|
||||||
GenerateDebugInformation="true"
|
GenerateDebugInformation="true"
|
||||||
SubSystem="1"
|
SubSystem="2"
|
||||||
RandomizedBaseAddress="1"
|
TargetMachine="1"
|
||||||
DataExecutionPrevention="0"
|
/>
|
||||||
|
</Configuration>
|
||||||
|
<Configuration
|
||||||
|
Name="Release|Win32"
|
||||||
|
ConfigurationType="2"
|
||||||
|
InheritedPropertySheets=".\gtk+.vsprops"
|
||||||
|
CharacterSet="2"
|
||||||
|
WholeProgramOptimization="1"
|
||||||
|
>
|
||||||
|
<Tool
|
||||||
|
Name="VCPreBuildEventTool"
|
||||||
|
/>
|
||||||
|
<Tool
|
||||||
|
Name="VCCLCompilerTool"
|
||||||
|
AdditionalIncludeDirectories="..\..\..\gdk;..\..\..\gdk\win32"
|
||||||
|
Optimization="2"
|
||||||
|
EnableIntrinsicFunctions="true"
|
||||||
|
PreprocessorDefinitions=""
|
||||||
|
RuntimeLibrary="2"
|
||||||
|
EnableFunctionLevelLinking="true"
|
||||||
|
UsePrecompiledHeader="0"
|
||||||
|
WarningLevel="3"
|
||||||
|
DebugInformationFormat="3"
|
||||||
|
/>
|
||||||
|
<Tool
|
||||||
|
Name="VCLinkerTool"
|
||||||
|
AdditionalDependencies="pangowin32-1.0.lib pango-1.0.lib cairo.lib"
|
||||||
|
LinkIncremental="1"
|
||||||
|
GenerateDebugInformation="true"
|
||||||
|
SubSystem="2"
|
||||||
|
OptimizeReferences="2"
|
||||||
|
EnableCOMDATFolding="2"
|
||||||
TargetMachine="1"
|
TargetMachine="1"
|
||||||
/>
|
/>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
<Configuration
|
<Configuration
|
||||||
Name="Debug|x64"
|
Name="Debug|x64"
|
||||||
ConfigurationType="1"
|
|
||||||
InheritedPropertySheets=".\gtk+.vsprops"
|
InheritedPropertySheets=".\gtk+.vsprops"
|
||||||
|
ConfigurationType="2"
|
||||||
CharacterSet="2"
|
CharacterSet="2"
|
||||||
>
|
>
|
||||||
<Tool
|
<Tool
|
||||||
@@ -62,84 +94,50 @@
|
|||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="0"
|
Optimization="0"
|
||||||
PreprocessorDefinitions="_DEBUG;GDK_PIXBUF_COMPILATION;GDK_PIXBUF_ENABLE_BACKEND"
|
AdditionalIncludeDirectories="..\..\..\gdk;..\..\..\gdk\win32"
|
||||||
|
PreprocessorDefinitions="_DEBUG;G_ENABLE_DEBUG"
|
||||||
MinimalRebuild="true"
|
MinimalRebuild="true"
|
||||||
BasicRuntimeChecks="3"
|
BasicRuntimeChecks="3"
|
||||||
RuntimeLibrary="3"
|
RuntimeLibrary="3"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
WarningLevel="3"
|
WarningLevel="3"
|
||||||
DebugInformationFormat="3"
|
DebugInformationFormat="3"
|
||||||
CompileAs="1"
|
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
|
AdditionalDependencies="pangowin32-1.0.lib pango-1.0.lib cairo.lib"
|
||||||
LinkIncremental="2"
|
LinkIncremental="2"
|
||||||
GenerateDebugInformation="true"
|
GenerateDebugInformation="true"
|
||||||
SubSystem="2"
|
SubSystem="2"
|
||||||
RandomizedBaseAddress="1"
|
|
||||||
DataExecutionPrevention="0"
|
|
||||||
TargetMachine="17"
|
TargetMachine="17"
|
||||||
/>
|
/>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
<Configuration
|
|
||||||
Name="Release|Win32"
|
|
||||||
ConfigurationType="1"
|
|
||||||
InheritedPropertySheets=".\gtk+.vsprops"
|
|
||||||
CharacterSet="2"
|
|
||||||
WholeProgramOptimization="1"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCPreBuildEventTool"
|
|
||||||
/>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
PreprocessorDefinitions="GDK_PIXBUF_COMPILATION;GDK_PIXBUF_ENABLE_BACKEND"
|
|
||||||
RuntimeLibrary="2"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
WarningLevel="3"
|
|
||||||
DebugInformationFormat="3"
|
|
||||||
CompileAs="1"
|
|
||||||
/>
|
|
||||||
<Tool
|
|
||||||
Name="VCLinkerTool"
|
|
||||||
LinkIncremental="1"
|
|
||||||
GenerateDebugInformation="true"
|
|
||||||
SubSystem="2"
|
|
||||||
OptimizeReferences="2"
|
|
||||||
EnableCOMDATFolding="2"
|
|
||||||
RandomizedBaseAddress="1"
|
|
||||||
DataExecutionPrevention="0"
|
|
||||||
TargetMachine="1"
|
|
||||||
/>
|
|
||||||
</Configuration>
|
|
||||||
<Configuration
|
<Configuration
|
||||||
Name="Release|x64"
|
Name="Release|x64"
|
||||||
ConfigurationType="1"
|
|
||||||
InheritedPropertySheets=".\gtk+.vsprops"
|
InheritedPropertySheets=".\gtk+.vsprops"
|
||||||
|
ConfigurationType="2"
|
||||||
CharacterSet="2"
|
CharacterSet="2"
|
||||||
WholeProgramOptimization="1"
|
|
||||||
>
|
>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPreBuildEventTool"
|
Name="VCPreBuildEventTool"
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
PreprocessorDefinitions="GDK_PIXBUF_COMPILATION;GDK_PIXBUF_ENABLE_BACKEND"
|
AdditionalIncludeDirectories="..\..\..\gdk;..\..\..\gdk\win32"
|
||||||
|
PreprocessorDefinitions=""
|
||||||
RuntimeLibrary="2"
|
RuntimeLibrary="2"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
WarningLevel="3"
|
WarningLevel="3"
|
||||||
DebugInformationFormat="3"
|
DebugInformationFormat="3"
|
||||||
CompileAs="1"
|
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
LinkIncremental="1"
|
AdditionalDependencies="pangowin32-1.0.lib pango-1.0.lib cairo.lib"
|
||||||
|
LinkIncremental="2"
|
||||||
GenerateDebugInformation="true"
|
GenerateDebugInformation="true"
|
||||||
SubSystem="2"
|
SubSystem="2"
|
||||||
OptimizeReferences="2"
|
OptimizeReferences="2"
|
||||||
EnableCOMDATFolding="2"
|
EnableCOMDATFolding="2"
|
||||||
RandomizedBaseAddress="1"
|
|
||||||
DataExecutionPrevention="0"
|
|
||||||
TargetMachine="17"
|
TargetMachine="17"
|
||||||
/>
|
/>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
@@ -148,18 +146,27 @@
|
|||||||
</References>
|
</References>
|
||||||
<Files>
|
<Files>
|
||||||
<Filter
|
<Filter
|
||||||
Name="Source Files"
|
Name="Sources"
|
||||||
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
|
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
|
||||||
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
|
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
|
||||||
>
|
>
|
||||||
<File RelativePath="..\..\..\gdk-pixbuf\queryloaders.c" />
|
<File RelativePath="..\..\..\modules\engines\ms-windows\msw_rc_style.c" />
|
||||||
|
<File RelativePath="..\..\..\modules\engines\ms-windows\msw_style.c" />
|
||||||
|
<File RelativePath="..\..\..\modules\engines\ms-windows\msw_theme_main.c" />
|
||||||
|
<File RelativePath="..\..\..\modules\engines\ms-windows\xp_theme.c" />
|
||||||
</Filter>
|
</Filter>
|
||||||
<Filter
|
<Filter
|
||||||
Name="Header Files"
|
Name="Headers"
|
||||||
Filter="h;hpp;hxx;hm;inl;inc;xsd"
|
Filter="h;hpp;hxx;hm;inl;inc;xsd"
|
||||||
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
|
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
|
||||||
>
|
>
|
||||||
</Filter>
|
</Filter>
|
||||||
|
<Filter
|
||||||
|
Name="Resource Files"
|
||||||
|
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
|
||||||
|
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
|
||||||
|
>
|
||||||
|
</Filter>
|
||||||
</Files>
|
</Files>
|
||||||
<Globals>
|
<Globals>
|
||||||
</Globals>
|
</Globals>
|
||||||
@@ -128,8 +128,12 @@
|
|||||||
#ifndef _MSC_VER
|
#ifndef _MSC_VER
|
||||||
#define HAVE_STDINT_H 1
|
#define HAVE_STDINT_H 1
|
||||||
#else
|
#else
|
||||||
|
#if (_MSC_VER >= 1600) /* VS 2010 ships with stdint.h */
|
||||||
|
#define HAVE_STDINT_H 1
|
||||||
|
#else
|
||||||
/* #undef HAVE_STDINT_H */
|
/* #undef HAVE_STDINT_H */
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||||
#define HAVE_STDLIB_H 1
|
#define HAVE_STDLIB_H 1
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
# Process this file with autoconf to produce a configure script.
|
# Process this file with autoconf to produce a configure script.
|
||||||
|
# Process this file with autoconf to produce a configure script.
|
||||||
# require autoconf 2.54
|
# require autoconf 2.54
|
||||||
AC_PREREQ(2.62)
|
AC_PREREQ(2.62)
|
||||||
|
|
||||||
@@ -11,9 +12,9 @@ AC_PREREQ(2.62)
|
|||||||
# set GTK_BINARY_AGE and GTK_INTERFACE_AGE to 0.
|
# set GTK_BINARY_AGE and GTK_INTERFACE_AGE to 0.
|
||||||
|
|
||||||
m4_define([gtk_major_version], [2])
|
m4_define([gtk_major_version], [2])
|
||||||
m4_define([gtk_minor_version], [21])
|
m4_define([gtk_minor_version], [24])
|
||||||
m4_define([gtk_micro_version], [0])
|
m4_define([gtk_micro_version], [23])
|
||||||
m4_define([gtk_interface_age], [0])
|
m4_define([gtk_interface_age], [23])
|
||||||
m4_define([gtk_binary_age],
|
m4_define([gtk_binary_age],
|
||||||
[m4_eval(100 * gtk_minor_version + gtk_micro_version)])
|
[m4_eval(100 * gtk_minor_version + gtk_micro_version)])
|
||||||
m4_define([gtk_version],
|
m4_define([gtk_version],
|
||||||
@@ -31,10 +32,11 @@ m4_define([gtk_api_version], [2.0])
|
|||||||
m4_define([gtk_binary_version], [2.10.0])
|
m4_define([gtk_binary_version], [2.10.0])
|
||||||
|
|
||||||
# required versions of other packages
|
# required versions of other packages
|
||||||
m4_define([glib_required_version], [2.23.6])
|
m4_define([glib_required_version], [2.28.0])
|
||||||
m4_define([pango_required_version], [1.20])
|
m4_define([pango_required_version], [1.20])
|
||||||
m4_define([atk_required_version], [1.29.2])
|
m4_define([atk_required_version], [1.29.2])
|
||||||
m4_define([cairo_required_version], [1.6])
|
m4_define([cairo_required_version], [1.6])
|
||||||
|
m4_define([gdk_pixbuf_required_version], [2.21.0])
|
||||||
|
|
||||||
|
|
||||||
AC_INIT([gtk+], [gtk_version],
|
AC_INIT([gtk+], [gtk_version],
|
||||||
@@ -42,14 +44,13 @@ AC_INIT([gtk+], [gtk_version],
|
|||||||
[gtk+])
|
[gtk+])
|
||||||
|
|
||||||
AC_CONFIG_SRCDIR([gdk/gdktypes.h])
|
AC_CONFIG_SRCDIR([gdk/gdktypes.h])
|
||||||
|
AC_CONFIG_HEADERS([config.h])
|
||||||
AC_CONFIG_MACRO_DIR([m4])
|
AC_CONFIG_MACRO_DIR([m4])
|
||||||
|
|
||||||
# Save this value here, since automake will set cflags later
|
# Save this value here, since automake will set cflags later
|
||||||
cflags_set=${CFLAGS+set}
|
cflags_set=${CFLAGS+set}
|
||||||
|
|
||||||
AM_INIT_AUTOMAKE([no-define -Wno-portability dist-bzip2])
|
AM_INIT_AUTOMAKE([no-define -Wno-portability dist-bzip2])
|
||||||
AM_CONFIG_HEADER(config.h)
|
|
||||||
|
|
||||||
# Support silent build rules, requires at least automake-1.11. Enable
|
# Support silent build rules, requires at least automake-1.11. Enable
|
||||||
# by either passing --enable-silent-rules to configure or passing V=0
|
# by either passing --enable-silent-rules to configure or passing V=0
|
||||||
@@ -108,19 +109,6 @@ m4_define([gail_lt_current_minus_age],[m4_eval(gail_lt_current - gail_lt_age)])
|
|||||||
AC_SUBST([GAIL_LT_VERSION_INFO],[gail_lt_version_info])
|
AC_SUBST([GAIL_LT_VERSION_INFO],[gail_lt_version_info])
|
||||||
AC_SUBST([GAIL_LT_CURRENT_MINUS_AGE],[gail_lt_current_minus_age])
|
AC_SUBST([GAIL_LT_CURRENT_MINUS_AGE],[gail_lt_current_minus_age])
|
||||||
|
|
||||||
#
|
|
||||||
# gdk-pixbuf gets versioned separately, and for now, using standard
|
|
||||||
# libtool versioning, not GTK+-style versioning
|
|
||||||
#
|
|
||||||
GDK_PIXBUF_MAJOR=gtk_major_version
|
|
||||||
GDK_PIXBUF_MINOR=gtk_minor_version
|
|
||||||
GDK_PIXBUF_MICRO=gtk_micro_version
|
|
||||||
GDK_PIXBUF_VERSION="${GDK_PIXBUF_MAJOR}.${GDK_PIXBUF_MINOR}.${GDK_PIXBUF_MICRO}"
|
|
||||||
AC_SUBST(GDK_PIXBUF_MAJOR)
|
|
||||||
AC_SUBST(GDK_PIXBUF_MINOR)
|
|
||||||
AC_SUBST(GDK_PIXBUF_MICRO)
|
|
||||||
AC_SUBST(GDK_PIXBUF_VERSION)
|
|
||||||
|
|
||||||
GETTEXT_PACKAGE=gtk20
|
GETTEXT_PACKAGE=gtk20
|
||||||
AC_SUBST(GETTEXT_PACKAGE)
|
AC_SUBST(GETTEXT_PACKAGE)
|
||||||
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE",
|
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE",
|
||||||
@@ -205,7 +193,7 @@ AM_PROG_AS
|
|||||||
AC_PATH_PROG(NM, nm, nm)
|
AC_PATH_PROG(NM, nm, nm)
|
||||||
|
|
||||||
dnl Initialize maintainer mode
|
dnl Initialize maintainer mode
|
||||||
AM_MAINTAINER_MODE
|
AM_MAINTAINER_MODE([enable])
|
||||||
|
|
||||||
AC_MSG_CHECKING([for some Win32 platform])
|
AC_MSG_CHECKING([for some Win32 platform])
|
||||||
case "$host" in
|
case "$host" in
|
||||||
@@ -311,7 +299,6 @@ AM_SANITY_CHECK
|
|||||||
|
|
||||||
# Checks for programs.
|
# Checks for programs.
|
||||||
AC_ISC_POSIX
|
AC_ISC_POSIX
|
||||||
AM_PROG_CC_STDC
|
|
||||||
AM_PROG_CC_C_O
|
AM_PROG_CC_C_O
|
||||||
AC_PROG_INSTALL
|
AC_PROG_INSTALL
|
||||||
AC_PROG_MAKE_SET
|
AC_PROG_MAKE_SET
|
||||||
@@ -387,7 +374,8 @@ PKG_CHECK_MODULES(BASE_DEPENDENCIES,
|
|||||||
[glib-2.0 >= glib_required_version dnl
|
[glib-2.0 >= glib_required_version dnl
|
||||||
atk >= atk_required_version dnl
|
atk >= atk_required_version dnl
|
||||||
pango >= pango_required_version dnl
|
pango >= pango_required_version dnl
|
||||||
cairo >= cairo_required_version])
|
cairo >= cairo_required_version dnl
|
||||||
|
gdk-pixbuf-2.0 >= gdk_pixbuf_required_version])
|
||||||
|
|
||||||
## In addition to checking that cairo is present, we also need to
|
## In addition to checking that cairo is present, we also need to
|
||||||
## check that the correct cairo backend is there. E.g. if the GDK
|
## check that the correct cairo backend is there. E.g. if the GDK
|
||||||
@@ -402,12 +390,14 @@ fi
|
|||||||
PKG_CHECK_MODULES(CAIRO_BACKEND,
|
PKG_CHECK_MODULES(CAIRO_BACKEND,
|
||||||
[cairo-$cairo_backend >= cairo_required_version])
|
[cairo-$cairo_backend >= cairo_required_version])
|
||||||
|
|
||||||
|
PKG_CHECK_MODULES(GMODULE, [gmodule-2.0])
|
||||||
|
|
||||||
if test "$os_win32" != yes; then
|
if test "$os_win32" != yes; then
|
||||||
# libtool option to control which symbols are exported
|
# libtool option to control which symbols are exported
|
||||||
# right now, symbols starting with _ are not exported
|
# right now, symbols starting with _ are not exported
|
||||||
LIBTOOL_EXPORT_OPTIONS='-export-symbols-regex "^[[^_]].*"'
|
LIBTOOL_EXPORT_OPTIONS='-export-symbols-regex "^[[^_]].*"'
|
||||||
else
|
else
|
||||||
# We currently use .def files on Windows (for gdk-pixbuf, gdk and gtk)
|
# We currently use .def files on Windows (for gdk and gtk)
|
||||||
LIBTOOL_EXPORT_OPTIONS=
|
LIBTOOL_EXPORT_OPTIONS=
|
||||||
fi
|
fi
|
||||||
AC_SUBST(LIBTOOL_EXPORT_OPTIONS)
|
AC_SUBST(LIBTOOL_EXPORT_OPTIONS)
|
||||||
@@ -616,7 +606,7 @@ AC_TRY_COMPILE([#include <dirent.h>], [DIR *dir;],
|
|||||||
# Run AM_PATH_GLIB_2_0 to make sure that GLib is installed and working
|
# Run AM_PATH_GLIB_2_0 to make sure that GLib is installed and working
|
||||||
#
|
#
|
||||||
|
|
||||||
GLIB_PACKAGES="gobject-2.0 gmodule-no-export-2.0"
|
GLIB_PACKAGES="gobject-2.0 gio-2.0 gmodule-no-export-2.0"
|
||||||
|
|
||||||
AM_PATH_GLIB_2_0(glib_required_version, :,
|
AM_PATH_GLIB_2_0(glib_required_version, :,
|
||||||
AC_MSG_ERROR([
|
AC_MSG_ERROR([
|
||||||
@@ -762,27 +752,7 @@ AC_MSG_RESULT($gtk_uxtheme_h)
|
|||||||
AC_CHECK_HEADERS(crt_externs.h)
|
AC_CHECK_HEADERS(crt_externs.h)
|
||||||
AC_CHECK_FUNCS(_NSGetEnviron)
|
AC_CHECK_FUNCS(_NSGetEnviron)
|
||||||
|
|
||||||
|
AC_MSG_CHECKING(whether to build dynamic modules)
|
||||||
##################################################
|
|
||||||
# Checks for gdk-pixbuf
|
|
||||||
##################################################
|
|
||||||
|
|
||||||
dnl ********************************************************
|
|
||||||
dnl * See whether we need to load our modules as .la files *
|
|
||||||
dnl ********************************************************
|
|
||||||
|
|
||||||
use_la_modules=false
|
|
||||||
case $host in
|
|
||||||
*-aix*) use_la_modules=true
|
|
||||||
esac
|
|
||||||
|
|
||||||
if $use_la_modules ; then
|
|
||||||
AC_DEFINE(USE_LA_MODULES, 1,
|
|
||||||
[Whether to load modules via .la files rather than directly])
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
AC_MSG_CHECKING(whether to build gmodulized gdk-pixbuf)
|
|
||||||
|
|
||||||
AC_ARG_ENABLE(modules,
|
AC_ARG_ENABLE(modules,
|
||||||
[AC_HELP_STRING([--disable-modules],
|
[AC_HELP_STRING([--disable-modules],
|
||||||
@@ -804,13 +774,13 @@ else
|
|||||||
dnl Now we check to see if our libtool supports shared lib deps
|
dnl Now we check to see if our libtool supports shared lib deps
|
||||||
dnl (in a rather ugly way even)
|
dnl (in a rather ugly way even)
|
||||||
if $dynworks; then
|
if $dynworks; then
|
||||||
pixbuf_libtool_config="${CONFIG_SHELL-/bin/sh} ./libtool --config"
|
module_libtool_config="${CONFIG_SHELL-/bin/sh} ./libtool --config"
|
||||||
pixbuf_deplibs_check=`$pixbuf_libtool_config | \
|
module_deplibs_check=`$module_libtool_config | \
|
||||||
grep '^[[a-z_]]*check[[a-z_]]*_method=[['\''"]]' | \
|
grep '^[[a-z_]]*check[[a-z_]]*_method=[['\''"]]' | \
|
||||||
sed 's/.*[['\''"]]\(.*\)[['\''"]]$/\1/'`
|
sed 's/.*[['\''"]]\(.*\)[['\''"]]$/\1/'`
|
||||||
if test "x$pixbuf_deplibs_check" = "xnone" || \
|
if test "x$module_deplibs_check" = "xnone" || \
|
||||||
test "x$pixbuf_deplibs_check" = "xunknown" || \
|
test "x$module_deplibs_check" = "xunknown" || \
|
||||||
test "x$pixbuf_deplibs_check" = "x"; then
|
test "x$module_deplibs_check" = "x"; then
|
||||||
dynworks=false
|
dynworks=false
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
@@ -824,297 +794,8 @@ else
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dnl We allow people to disable image loaders explicitely, but if they don't we error
|
|
||||||
dnl out so that people don't accidentally build without them.
|
|
||||||
|
|
||||||
AC_ARG_WITH(libpng,
|
|
||||||
[AC_HELP_STRING([--without-libpng],
|
|
||||||
[disable PNG loader for gdk-pixbuf])])
|
|
||||||
AC_ARG_WITH(libjpeg,
|
|
||||||
[AC_HELP_STRING([--without-libjpeg],
|
|
||||||
[disable JPEG loader for gdk-pixbuf])])
|
|
||||||
AC_ARG_WITH(libtiff,
|
|
||||||
[AC_HELP_STRING([--without-libtiff],
|
|
||||||
[disable TIFF loader for gdk-pixbuf])])
|
|
||||||
AC_ARG_WITH(libjasper,
|
|
||||||
[AC_HELP_STRING([--with-libjasper],
|
|
||||||
[enable JPEG2000 loader for gdk-pixbuf])])
|
|
||||||
|
|
||||||
AC_ARG_ENABLE(gdiplus,
|
|
||||||
[AC_HELP_STRING([--enable-gdiplus],
|
|
||||||
[enble GDI+ loaders for gdk-pixbuf (currently known to be broken)])],,
|
|
||||||
[enable_gdiplus=no])
|
|
||||||
|
|
||||||
AM_CONDITIONAL(BUILD_GDIPLUS_LOADERS, [ test x$os_win32 = xyes && test x$enable_gdiplus != xno ])
|
|
||||||
|
|
||||||
dnl Test for libtiff
|
|
||||||
if test x$os_win32 = xno || test x$enable_gdiplus = xno; then
|
|
||||||
if test x$with_libtiff != xno && test -z "$LIBTIFF"; then
|
|
||||||
AC_CHECK_LIB(tiff, TIFFReadRGBAImageOriented,
|
|
||||||
[AC_CHECK_HEADER(tiffio.h,
|
|
||||||
TIFF='tiff'; LIBTIFF='-ltiff',
|
|
||||||
AC_MSG_WARN(*** TIFF loader will not be built (TIFF header files not found) ***))],
|
|
||||||
[AC_CHECK_LIB(tiff, TIFFWriteScanline,
|
|
||||||
[AC_CHECK_HEADER(tiffio.h,
|
|
||||||
TIFF='tiff'; LIBTIFF='-ltiff -ljpeg -lz',
|
|
||||||
AC_MSG_WARN(*** TIFF loader will not be built (TIFF header files not found) ***))],
|
|
||||||
[AC_CHECK_LIB(tiff34, TIFFFlushData,
|
|
||||||
[AC_CHECK_HEADER(tiffio.h,
|
|
||||||
TIFF='tiff'; LIBTIFF='-ltiff34 -ljpeg -lz',
|
|
||||||
AC_MSG_WARN(*** TIFF loader will not be built (TIFF header files not found) ***))],
|
|
||||||
AC_MSG_WARN(*** TIFF loader will not be built (TIFF library not found) ***), -ljpeg -lz -lm)], -ljpeg -lz -lm)], -lm)
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test x$with_libtiff != xno && test -z "$LIBTIFF"; then
|
|
||||||
AC_MSG_ERROR([
|
|
||||||
*** Checks for TIFF loader failed. You can build without it by passing
|
|
||||||
*** --without-libtiff to configure but some programs using GTK+ may
|
|
||||||
*** not work properly])
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
dnl Test for libjpeg
|
|
||||||
if test x$os_win32 = xno || test x$enable_gdiplus = xno; then
|
|
||||||
if test x$with_libjpeg != xno && test -z "$LIBJPEG"; then
|
|
||||||
AC_CHECK_LIB(jpeg, jpeg_destroy_decompress,
|
|
||||||
jpeg_ok=yes,
|
|
||||||
jpeg_ok=no
|
|
||||||
AC_MSG_WARN(*** JPEG loader will not be built (JPEG library not found) ***))
|
|
||||||
if test "$jpeg_ok" = yes; then
|
|
||||||
AC_MSG_CHECKING([for jpeglib.h])
|
|
||||||
AC_TRY_CPP(
|
|
||||||
[#include <stdio.h>
|
|
||||||
#undef PACKAGE
|
|
||||||
#undef VERSION
|
|
||||||
#undef HAVE_STDLIB_H
|
|
||||||
#include <jpeglib.h>],
|
|
||||||
jpeg_ok=yes,
|
|
||||||
jpeg_ok=no)
|
|
||||||
AC_MSG_RESULT($jpeg_ok)
|
|
||||||
if test "$jpeg_ok" = yes; then
|
|
||||||
LIBJPEG='-ljpeg'
|
|
||||||
AC_CHECK_LIB(jpeg, jpeg_simple_progression,
|
|
||||||
AC_DEFINE(HAVE_PROGRESSIVE_JPEG, 1,
|
|
||||||
[Define to 1 is libjpeg supports progressive JPEG]),
|
|
||||||
AC_MSG_WARN(JPEG library does not support progressive saving.))
|
|
||||||
else
|
|
||||||
AC_MSG_WARN(*** JPEG loader will not be built (JPEG header file not found) ***)
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test x$with_libjpeg != xno && test -z "$LIBJPEG"; then
|
|
||||||
AC_MSG_ERROR([
|
|
||||||
*** Checks for JPEG loader failed. You can build without it by passing
|
|
||||||
*** --without-libjpeg to configure but some programs using GTK+ may
|
|
||||||
*** not work properly])
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
dnl Test for libpng
|
|
||||||
if test x$with_libpng != xno && test -z "$LIBPNG"; then
|
|
||||||
AC_MSG_CHECKING(for libpng12)
|
|
||||||
if $PKG_CONFIG --exists libpng12 ; then
|
|
||||||
AC_MSG_RESULT(yes)
|
|
||||||
PNG='png'
|
|
||||||
PNG_DEP_CFLAGS_PACKAGES=libpng12
|
|
||||||
LIBPNG=`$PKG_CONFIG --libs libpng12`
|
|
||||||
else
|
|
||||||
AC_MSG_RESULT(no)
|
|
||||||
AC_CHECK_LIB(png, png_read_info,
|
|
||||||
[AC_CHECK_HEADER(png.h,
|
|
||||||
png_ok=yes,
|
|
||||||
png_ok=no)],
|
|
||||||
AC_MSG_WARN(*** PNG loader will not be built (PNG library not found) ***), -lz -lm)
|
|
||||||
if test "$png_ok" = yes; then
|
|
||||||
AC_MSG_CHECKING([for png_structp in png.h])
|
|
||||||
AC_TRY_COMPILE([#include <png.h>],
|
|
||||||
[png_structp pp; png_infop info; png_colorp cmap; png_create_read_struct;],
|
|
||||||
png_ok=yes,
|
|
||||||
png_ok=no)
|
|
||||||
AC_MSG_RESULT($png_ok)
|
|
||||||
if test "$png_ok" = yes; then
|
|
||||||
PNG='png'; LIBPNG='-lpng -lz'
|
|
||||||
else
|
|
||||||
AC_MSG_WARN(*** PNG loader will not be built (PNG library is too old) ***)
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
AC_MSG_WARN(*** PNG loader will not be built (PNG header file not found) ***)
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test x$with_libpng != xno && test -z "$LIBPNG"; then
|
|
||||||
AC_MSG_ERROR([
|
|
||||||
*** Checks for PNG loader failed. You can build without it by passing
|
|
||||||
*** --without-libpng to configure but many programs using GTK+ will
|
|
||||||
*** not work properly. The PNG loader is also needed if you are compiling
|
|
||||||
*** from CVS.])
|
|
||||||
fi
|
|
||||||
|
|
||||||
dnl Test for libjasper
|
|
||||||
if test x$with_libjasper = xyes && test -z "$LIBJASPER"; then
|
|
||||||
AC_CHECK_LIB(jasper, jas_init, LIBJASPER=-ljasper, [], -ljpeg)
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test x$with_libjasper = xyes && test -z "$LIBJASPER"; then
|
|
||||||
AC_MSG_ERROR([
|
|
||||||
*** Checks for JPEG2000 loader failed. You can build without it by passing
|
|
||||||
*** --without-libjasper to configure])
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_SUBST(LIBTIFF)
|
|
||||||
AC_SUBST(LIBJPEG)
|
|
||||||
AC_SUBST(LIBPNG)
|
|
||||||
AC_SUBST(LIBJASPER)
|
|
||||||
|
|
||||||
AM_CONDITIONAL(BUILD_DYNAMIC_MODULES, $dynworks)
|
AM_CONDITIONAL(BUILD_DYNAMIC_MODULES, $dynworks)
|
||||||
|
|
||||||
#
|
|
||||||
# Allow building some or all gdk-pixbuf loaders included
|
|
||||||
#
|
|
||||||
AC_MSG_CHECKING(pixbuf loaders to build)
|
|
||||||
|
|
||||||
dnl due to an autoconf bug, commas in the first arg to
|
|
||||||
dnl AC_HELP_STRING cause problems.
|
|
||||||
dnl AC_HELP_STRING([--with-included-loaders=LOADER1 LOADER2 ...],
|
|
||||||
dnl [build the specified loaders into gdk-pixbuf])
|
|
||||||
AC_ARG_WITH(included_loaders,
|
|
||||||
[ --with-included-loaders=LOADER1,LOADER2,...
|
|
||||||
build the specified loaders into gdk-pixbuf])
|
|
||||||
|
|
||||||
if $dynworks; then
|
|
||||||
:
|
|
||||||
else
|
|
||||||
## if the option was specified, leave it; otherwise disable included loaders
|
|
||||||
if test x$with_included_loaders = xno; then
|
|
||||||
with_included_loaders=yes
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Use the traditional png loader instead of the GDI+ one on Windows,
|
|
||||||
# because some important apps like GIMP need to read and write
|
|
||||||
# arbitrary tEXt chunks which doesn't seem to be possible through GDI+
|
|
||||||
|
|
||||||
all_loaders="ani,icns,pcx,ras,tga,png,pnm,wbmp,xbm,xpm,qtif"
|
|
||||||
if test x$with_libjasper != xno; then
|
|
||||||
all_loaders="$all_loaders,jasper"
|
|
||||||
fi
|
|
||||||
if test x$os_win32 = xyes && test x$enable_gdiplus != xno; then
|
|
||||||
# Skip PNG, see comment above
|
|
||||||
gdip_formats="bmp emf gif ico jpeg tiff wmf"
|
|
||||||
for f in $gdip_formats; do
|
|
||||||
all_loaders="$all_loaders,gdip-$f"
|
|
||||||
done
|
|
||||||
else
|
|
||||||
all_loaders="$all_loaders,bmp,gif,ico,jpeg,tiff"
|
|
||||||
fi
|
|
||||||
included_loaders=""
|
|
||||||
# If no loaders specified, include all
|
|
||||||
if test "x$with_included_loaders" = xyes ; then
|
|
||||||
included_loaders="$all_loaders"
|
|
||||||
else
|
|
||||||
included_loaders="$with_included_loaders"
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_MSG_RESULT($included_loaders)
|
|
||||||
|
|
||||||
INCLUDED_LOADER_OBJ=
|
|
||||||
INCLUDED_LOADER_DEFINE=
|
|
||||||
|
|
||||||
IFS="${IFS= }"; gtk_save_ifs="$IFS"; IFS=","
|
|
||||||
for loader in $included_loaders; do
|
|
||||||
if echo "$all_loaders" | egrep "(^|,)$loader(\$|,)" > /dev/null; then
|
|
||||||
:
|
|
||||||
else
|
|
||||||
AC_MSG_ERROR([the specified loader $loader does not exist])
|
|
||||||
fi
|
|
||||||
|
|
||||||
loader_underscores=`echo $loader | sed -e 's/-/_/g'`
|
|
||||||
INCLUDED_LOADER_OBJ="$INCLUDED_LOADER_OBJ libstatic-pixbufloader-$loader.la"
|
|
||||||
|
|
||||||
# Don't bother defining separate -DINCLUDE_gdip_foo for each gdip-foo loader
|
|
||||||
case $loader in
|
|
||||||
gdip-*) ;;
|
|
||||||
*) INCLUDED_LOADER_DEFINE="$INCLUDED_LOADER_DEFINE -DINCLUDE_$loader_underscores";;
|
|
||||||
esac
|
|
||||||
eval INCLUDE_$loader_underscores=yes
|
|
||||||
done
|
|
||||||
|
|
||||||
# Just define one -DINCLUDE_gdiplus for all the gdip-foo loaders
|
|
||||||
# (except gdip-png, which isn't built at all)
|
|
||||||
if test x"$INCLUDE_gdip_ico" = xyes; then
|
|
||||||
INCLUDED_LOADER_DEFINE="$INCLUDED_LOADER_DEFINE -DINCLUDE_gdiplus"
|
|
||||||
fi
|
|
||||||
|
|
||||||
IFS="$gtk_save_ifs"
|
|
||||||
AC_SUBST(INCLUDED_LOADER_OBJ)
|
|
||||||
AC_SUBST(INCLUDED_LOADER_DEFINE)
|
|
||||||
|
|
||||||
AM_CONDITIONAL(INCLUDE_PNG, [test x"$INCLUDE_png" = xyes])
|
|
||||||
AM_CONDITIONAL(INCLUDE_BMP, [test x"$INCLUDE_bmp" = xyes])
|
|
||||||
AM_CONDITIONAL(INCLUDE_WBMP, [test x"$INCLUDE_wbmp" = xyes])
|
|
||||||
AM_CONDITIONAL(INCLUDE_GIF, [test x"$INCLUDE_gif" = xyes])
|
|
||||||
AM_CONDITIONAL(INCLUDE_ICO, [test x"$INCLUDE_ico" = xyes])
|
|
||||||
AM_CONDITIONAL(INCLUDE_ANI, [test x"$INCLUDE_ani" = xyes])
|
|
||||||
AM_CONDITIONAL(INCLUDE_JPEG, [test x"$INCLUDE_jpeg" = xyes])
|
|
||||||
AM_CONDITIONAL(INCLUDE_PNM, [test x"$INCLUDE_pnm" = xyes])
|
|
||||||
AM_CONDITIONAL(INCLUDE_RAS, [test x"$INCLUDE_ras" = xyes])
|
|
||||||
AM_CONDITIONAL(INCLUDE_TIFF, [test x"$INCLUDE_tiff" = xyes])
|
|
||||||
AM_CONDITIONAL(INCLUDE_XPM, [test x"$INCLUDE_xpm" = xyes])
|
|
||||||
AM_CONDITIONAL(INCLUDE_XBM, [test x"$INCLUDE_xbm" = xyes])
|
|
||||||
AM_CONDITIONAL(INCLUDE_TGA, [test x"$INCLUDE_tga" = xyes])
|
|
||||||
AM_CONDITIONAL(INCLUDE_PCX, [test x"$INCLUDE_pcx" = xyes])
|
|
||||||
AM_CONDITIONAL(INCLUDE_ICNS, [test x"$INCLUDE_icns" = xyes])
|
|
||||||
AM_CONDITIONAL(INCLUDE_JASPER, [test x"$INCLUDE_jasper" = xyes])
|
|
||||||
AM_CONDITIONAL(INCLUDE_QTIF, [test x"$INCLUDE_qtif" = xyes])
|
|
||||||
# As all GDI+ loaders are either built-in or not, arbitrarily just
|
|
||||||
# check one of the variables here
|
|
||||||
AM_CONDITIONAL(INCLUDE_GDIPLUS, [test x"$INCLUDE_gdip_ico" = xyes])
|
|
||||||
|
|
||||||
if test x$gio_can_sniff = x; then
|
|
||||||
AC_MSG_CHECKING([if gio can sniff png])
|
|
||||||
gtk_save_LIBS="$LIBS"
|
|
||||||
gtk_save_CFLAGS="$CFLAGS"
|
|
||||||
LIBS="`$PKG_CONFIG --libs gio-2.0`"
|
|
||||||
CFLAGS="`$PKG_CONFIG --cflags gio-2.0`"
|
|
||||||
AC_RUN_IFELSE([AC_LANG_SOURCE([[
|
|
||||||
#include <gio/gio.h>
|
|
||||||
static const gsize data_size = 159;
|
|
||||||
static const guint8 data[] =
|
|
||||||
{
|
|
||||||
0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d,
|
|
||||||
0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01,
|
|
||||||
0x08, 0x02, 0x00, 0x00, 0x00, 0x90, 0x77, 0x53, 0xde, 0x00, 0x00, 0x00,
|
|
||||||
0x01, 0x73, 0x52, 0x47, 0x42, 0x00, 0xae, 0xce, 0x1c, 0xe9, 0x00, 0x00,
|
|
||||||
0x00, 0x09, 0x70, 0x48, 0x59, 0x73, 0x00, 0x00, 0x0b, 0x13, 0x00, 0x00,
|
|
||||||
0x0b, 0x13, 0x01, 0x00, 0x9a, 0x9c, 0x18, 0x00, 0x00, 0x00, 0x07, 0x74,
|
|
||||||
0x49, 0x4d, 0x45, 0x07, 0xd8, 0x07, 0x0f, 0x10, 0x08, 0x15, 0x61, 0xd8,
|
|
||||||
0x35, 0x37, 0x00, 0x00, 0x00, 0x19, 0x74, 0x45, 0x58, 0x74, 0x43, 0x6f,
|
|
||||||
0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x00, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
|
|
||||||
0x64, 0x20, 0x77, 0x69, 0x74, 0x68, 0x20, 0x47, 0x49, 0x4d, 0x50, 0x57,
|
|
||||||
0x81, 0x0e, 0x17, 0x00, 0x00, 0x00, 0x0c, 0x49, 0x44, 0x41, 0x54, 0x08,
|
|
||||||
0xd7, 0x63, 0xf8, 0xff, 0xff, 0x3f, 0x00, 0x05, 0xfe, 0x02, 0xfe, 0xdc,
|
|
||||||
0xcc, 0x59, 0xe7, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae,
|
|
||||||
0x42, 0x60, 0x82
|
|
||||||
};
|
|
||||||
int
|
|
||||||
main (int argc, char **argv)
|
|
||||||
{
|
|
||||||
char *content_type;
|
|
||||||
char *image_png;
|
|
||||||
content_type = g_content_type_guess (NULL, data, data_size, NULL);
|
|
||||||
image_png = g_content_type_from_mime_type ("image/png");
|
|
||||||
return !!strcmp (content_type, image_png);
|
|
||||||
}]])],
|
|
||||||
[gio_can_sniff=yes
|
|
||||||
AC_DEFINE(GDK_PIXBUF_USE_GIO_MIME, 1, [Define if gio can sniff image data])],
|
|
||||||
[gio_can_sniff=no])
|
|
||||||
AC_MSG_RESULT($gio_can_sniff)
|
|
||||||
LIBS="$gtk_save_LIBS"
|
|
||||||
CFLAGS="$gtk_save_CFLAGS"
|
|
||||||
fi
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Allow building some or all immodules included
|
# Allow building some or all immodules included
|
||||||
#
|
#
|
||||||
@@ -1141,6 +822,9 @@ all_immodules="am-et,cedilla,cyrillic-translit"
|
|||||||
if test "$gdktarget" = "win32"; then
|
if test "$gdktarget" = "win32"; then
|
||||||
all_immodules="${all_immodules},ime"
|
all_immodules="${all_immodules},ime"
|
||||||
fi
|
fi
|
||||||
|
if test "$gdktarget" = "quartz"; then
|
||||||
|
all_immodules="${all_immodules},quartz"
|
||||||
|
fi
|
||||||
all_immodules="${all_immodules},inuktitut,ipa,multipress,thai,ti-er,ti-et,viqr"
|
all_immodules="${all_immodules},inuktitut,ipa,multipress,thai,ti-er,ti-et,viqr"
|
||||||
if test "$gdktarget" = "x11"; then
|
if test "$gdktarget" = "x11"; then
|
||||||
all_immodules="${all_immodules},xim"
|
all_immodules="${all_immodules},xim"
|
||||||
@@ -1184,6 +868,7 @@ AM_CONDITIONAL(INCLUDE_IM_IME, [test x"$INCLUDE_ime" = xyes])
|
|||||||
AM_CONDITIONAL(INCLUDE_IM_INUKTITUT, [test x"$INCLUDE_inuktitut" = xyes])
|
AM_CONDITIONAL(INCLUDE_IM_INUKTITUT, [test x"$INCLUDE_inuktitut" = xyes])
|
||||||
AM_CONDITIONAL(INCLUDE_IM_IPA, [test x"$INCLUDE_ipa" = xyes])
|
AM_CONDITIONAL(INCLUDE_IM_IPA, [test x"$INCLUDE_ipa" = xyes])
|
||||||
AM_CONDITIONAL(INCLUDE_IM_MULTIPRESS, [test x"$INCLUDE_multipress" = xyes])
|
AM_CONDITIONAL(INCLUDE_IM_MULTIPRESS, [test x"$INCLUDE_multipress" = xyes])
|
||||||
|
AM_CONDITIONAL(INCLUDE_IM_QUARTZ, [test x"$INCLUDE_quartz" = xyes])
|
||||||
AM_CONDITIONAL(INCLUDE_IM_THAI, [test x"$INCLUDE_thai" = xyes])
|
AM_CONDITIONAL(INCLUDE_IM_THAI, [test x"$INCLUDE_thai" = xyes])
|
||||||
AM_CONDITIONAL(INCLUDE_IM_TI_ER, [test x"$INCLUDE_ti_er" = xyes])
|
AM_CONDITIONAL(INCLUDE_IM_TI_ER, [test x"$INCLUDE_ti_er" = xyes])
|
||||||
AM_CONDITIONAL(INCLUDE_IM_TI_ET, [test x"$INCLUDE_ti_et" = xyes])
|
AM_CONDITIONAL(INCLUDE_IM_TI_ET, [test x"$INCLUDE_ti_et" = xyes])
|
||||||
@@ -1194,29 +879,6 @@ AC_HEADER_SYS_WAIT
|
|||||||
|
|
||||||
AC_TYPE_SIGNAL
|
AC_TYPE_SIGNAL
|
||||||
|
|
||||||
AM_CONDITIONAL(HAVE_TIFF, test "x$LIBTIFF" != x)
|
|
||||||
AM_CONDITIONAL(HAVE_PNG, test "x$LIBPNG" != x)
|
|
||||||
AM_CONDITIONAL(HAVE_JPEG, test "x$LIBJPEG" != x)
|
|
||||||
AM_CONDITIONAL(HAVE_JASPER, test "x$LIBJASPER" != x)
|
|
||||||
|
|
||||||
if $dynworks ; then
|
|
||||||
STATIC_LIB_DEPS=
|
|
||||||
if echo "$included_loaders" | egrep '(^|,)tiff($|,)' > /dev/null; then
|
|
||||||
STATIC_LIB_DEPS="$STATIC_LIB_DEPS $LIBTIFF"
|
|
||||||
fi
|
|
||||||
if echo "$included_loaders" | egrep '(^|,)jpeg($|,)' > /dev/null; then
|
|
||||||
STATIC_LIB_DEPS="$STATIC_LIB_DEPS $LIBJPEG"
|
|
||||||
fi
|
|
||||||
if echo "$included_loaders" | egrep '(^|,)png($|,)' > /dev/null; then
|
|
||||||
STATIC_LIB_DEPS="$STATIC_LIB_DEPS $LIBPNG"
|
|
||||||
fi
|
|
||||||
if echo "$included_loaders" | egrep '(^|,)jasper($|,)' > /dev/null; then
|
|
||||||
STATIC_LIB_DEPS="$STATIC_LIB_DEPS $LIBJASPER"
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
STATIC_LIB_DEPS="$LIBTIFF $LIBJPEG $LIBPNG $LIBJASPER"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Checks to see whether we should include mediaLib
|
# Checks to see whether we should include mediaLib
|
||||||
# support.
|
# support.
|
||||||
#
|
#
|
||||||
@@ -1249,64 +911,19 @@ fi
|
|||||||
AM_CONDITIONAL(USE_MEDIALIB, test $use_mlib = yes)
|
AM_CONDITIONAL(USE_MEDIALIB, test $use_mlib = yes)
|
||||||
AM_CONDITIONAL(USE_MEDIALIB25, test $use_mlib25 = yes)
|
AM_CONDITIONAL(USE_MEDIALIB25, test $use_mlib25 = yes)
|
||||||
|
|
||||||
# Checks to see if we should compile in MMX support (there will be
|
|
||||||
# a runtime test when the code is actually run to see if it should
|
|
||||||
# be used - this just checks if we can compile it.)
|
|
||||||
#
|
|
||||||
# This code is partially taken from Mesa
|
|
||||||
#
|
|
||||||
AC_MSG_CHECKING(for x86 platform)
|
|
||||||
case $host_cpu in
|
|
||||||
i386|i486|i586|i686|i786|k6|k7)
|
|
||||||
use_x86_asm=yes
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
use_x86_asm=no
|
|
||||||
esac
|
|
||||||
AC_MSG_RESULT($use_x86_asm)
|
|
||||||
|
|
||||||
use_mmx_asm=no
|
|
||||||
if test $use_x86_asm = yes; then
|
|
||||||
save_ac_ext=$ac_ext
|
|
||||||
ac_ext=S
|
|
||||||
|
|
||||||
AC_MSG_CHECKING(compiler support for MMX)
|
|
||||||
cp $srcdir/gdk-pixbuf/pixops/scale_line_22_33_mmx.S conftest.S
|
|
||||||
if AC_TRY_EVAL(ac_compile); then
|
|
||||||
use_mmx_asm=yes
|
|
||||||
fi
|
|
||||||
|
|
||||||
rm -rf conftest*
|
|
||||||
|
|
||||||
ac_ext=$save_ac_ext
|
|
||||||
if test $use_mmx_asm = yes; then
|
|
||||||
AC_DEFINE(USE_MMX, 1,
|
|
||||||
[Define to 1 if XXM is available and should be used])
|
|
||||||
AC_MSG_RESULT(yes)
|
|
||||||
else
|
|
||||||
AC_MSG_RESULT(no)
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
AM_CONDITIONAL(USE_MMX, test x$use_mmx_asm = xyes)
|
|
||||||
|
|
||||||
REBUILD_PNGS=
|
|
||||||
if test -z "$LIBPNG" && test x"$os_win32" = xno -o x$enable_gdiplus = xno; then
|
|
||||||
REBUILD_PNGS=#
|
|
||||||
fi
|
|
||||||
|
|
||||||
dnl Look for a host system's gdk-pixbuf-csource if we are cross-compiling
|
dnl Look for a host system's gdk-pixbuf-csource if we are cross-compiling
|
||||||
|
|
||||||
AM_CONDITIONAL(CROSS_COMPILING, test $cross_compiling = yes)
|
AM_CONDITIONAL(CROSS_COMPILING, test $cross_compiling = yes)
|
||||||
|
|
||||||
if test $cross_compiling = yes; then
|
if test $cross_compiling = yes; then
|
||||||
AC_PATH_PROG(GDK_PIXBUF_CSOURCE, gdk-pixbuf-csource, no)
|
|
||||||
AC_PATH_PROG(GTK_UPDATE_ICON_CACHE, gtk-update-icon-cache, no)
|
AC_PATH_PROG(GTK_UPDATE_ICON_CACHE, gtk-update-icon-cache, no)
|
||||||
if test x$GTK_UPDATE_ICON_CACHE = xno; then
|
if test x$GTK_UPDATE_ICON_CACHE = xno; then
|
||||||
REBUILD_PNGS=#
|
REBUILD_PNGS=#
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
AC_PATH_PROG(GDK_PIXBUF_CSOURCE, gdk-pixbuf-csource, no)
|
||||||
|
|
||||||
if test ! -f $srcdir/gtk/gtkbuiltincache.h &&
|
if test ! -f $srcdir/gtk/gtkbuiltincache.h &&
|
||||||
test "x$REBUILD_PNGS" = "x#" ; then
|
test "x$REBUILD_PNGS" = "x#" ; then
|
||||||
AC_MSG_ERROR([
|
AC_MSG_ERROR([
|
||||||
@@ -1315,22 +932,10 @@ if test ! -f $srcdir/gtk/gtkbuiltincache.h &&
|
|||||||
*** don't have a prebuilt gtk-update-icon-cache on the build system.])
|
*** don't have a prebuilt gtk-update-icon-cache on the build system.])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_SUBST(REBUILD_PNGS)
|
|
||||||
|
|
||||||
GDK_PIXBUF_PACKAGES="gmodule-no-export-2.0 gobject-2.0 gio-2.0"
|
|
||||||
GDK_PIXBUF_EXTRA_LIBS="$STATIC_LIB_DEPS $MATH_LIB $MEDIA_LIB"
|
|
||||||
GDK_PIXBUF_EXTRA_CFLAGS=
|
|
||||||
GDK_PIXBUF_DEP_LIBS="`$PKG_CONFIG --libs $GDK_PIXBUF_PACKAGES` $GDK_PIXBUF_EXTRA_LIBS"
|
|
||||||
GDK_PIXBUF_DEP_CFLAGS="`$PKG_CONFIG --cflags gthread-2.0 $GDK_PIXBUF_PACKAGES $PNG_DEP_CFLAGS_PACKAGES` $GDK_PIXBUF_EXTRA_CFLAGS"
|
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
# Windowing system checks
|
# Windowing system checks
|
||||||
########################################
|
########################################
|
||||||
|
|
||||||
GDK_PIXBUF_XLIB_PACKAGES=
|
|
||||||
GDK_PIXBUF_XLIB_EXTRA_CFLAGS=
|
|
||||||
GDK_PIXBUF_XLIB_EXTRA_LIBS=
|
|
||||||
|
|
||||||
GDK_EXTRA_LIBS="$GDK_WLIBS"
|
GDK_EXTRA_LIBS="$GDK_WLIBS"
|
||||||
GDK_EXTRA_CFLAGS=
|
GDK_EXTRA_CFLAGS=
|
||||||
|
|
||||||
@@ -1368,8 +973,7 @@ if test "x$gdktarget" = "xx11"; then
|
|||||||
*) x_libs_for_checks="$x_libs_for_checks $I" ;;
|
*) x_libs_for_checks="$x_libs_for_checks $I" ;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
GDK_PIXBUF_XLIB_PACKAGES="x11"
|
|
||||||
GTK_PACKAGES_FOR_X="x11"
|
GTK_PACKAGES_FOR_X="x11"
|
||||||
else
|
else
|
||||||
have_base_x_pc=false
|
have_base_x_pc=false
|
||||||
@@ -1381,8 +985,6 @@ if test "x$gdktarget" = "xx11"; then
|
|||||||
x_cflags="$X_CFLAGS"
|
x_cflags="$X_CFLAGS"
|
||||||
x_libs_for_checks="$X_LIBS -lXext -lXrender -lX11 $X_EXTRA_LIBS"
|
x_libs_for_checks="$X_LIBS -lXext -lXrender -lX11 $X_EXTRA_LIBS"
|
||||||
|
|
||||||
GDK_PIXBUF_XLIB_EXTRA_CFLAGS="$x_cflags"
|
|
||||||
GDK_PIXBUF_XLIB_EXTRA_LIBS="$X_LIBS -lX11 $X_EXTRA_LIBS"
|
|
||||||
GTK_DEP_LIBS_FOR_X="$X_LIBS -lXrender -lX11 $X_EXTRA_LIBS"
|
GTK_DEP_LIBS_FOR_X="$X_LIBS -lXrender -lX11 $X_EXTRA_LIBS"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -1655,22 +1257,22 @@ else
|
|||||||
AM_CONDITIONAL(USE_WIN32, false)
|
AM_CONDITIONAL(USE_WIN32, false)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
AC_ARG_ENABLE(quartz-relocation,
|
||||||
|
[AS_HELP_STRING([--enable-quartz-relocation],
|
||||||
|
[enable bundle-based relocation functions])],
|
||||||
|
[quartz_relocation=yes])
|
||||||
|
|
||||||
if test "x$gdktarget" = "xquartz"; then
|
if test "x$gdktarget" = "xquartz"; then
|
||||||
GDK_EXTRA_LIBS="$GDK_EXTRA_LIBS -framework Cocoa"
|
GDK_EXTRA_LIBS="$GDK_EXTRA_LIBS -framework Cocoa"
|
||||||
AM_CONDITIONAL(USE_QUARTZ, true)
|
AM_CONDITIONAL(USE_QUARTZ, true)
|
||||||
|
if test "x$quartz_relocation" = xyes; then
|
||||||
|
AC_DEFINE([QUARTZ_RELOCATION], [1], [Use NSBundle functions to determine load paths for libraries, translations, etc.])
|
||||||
|
fi
|
||||||
|
|
||||||
else
|
else
|
||||||
AM_CONDITIONAL(USE_QUARTZ, false)
|
AM_CONDITIONAL(USE_QUARTZ, false)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
GDK_PIXBUF_XLIB_DEP_LIBS="`$PKG_CONFIG --libs $GDK_PIXBUF_PACKAGES $GDK_PIXBUF_XLIB_PACKAGES` $GDK_PIXBUF_XLIB_EXTRA_LIBS $GDK_PIXBUF_EXTRA_LIBS"
|
|
||||||
GDK_PIXBUF_XLIB_DEP_CFLAGS="`$PKG_CONFIG --cflags gthread-2.0 $GDK_PIXBUF_PACKAGES $GDK_PIXBUF_XLIB_PACKAGES` $GDK_PIXBUF_EXTRA_CFLAGS $GDK_PIXBUF_XLIB_EXTRA_CFLAGS"
|
|
||||||
|
|
||||||
AC_SUBST(GDK_PIXBUF_XLIB_PACKAGES)
|
|
||||||
AC_SUBST(GDK_PIXBUF_XLIB_EXTRA_LIBS)
|
|
||||||
AC_SUBST(GDK_PIXBUF_XLIB_EXTRA_CFLAGS)
|
|
||||||
AC_SUBST(GDK_PIXBUF_XLIB_DEP_LIBS)
|
|
||||||
AC_SUBST(GDK_PIXBUF_XLIB_DEP_CFLAGS)
|
|
||||||
|
|
||||||
if test "x$gdktarget" = "xdirectfb"; then
|
if test "x$gdktarget" = "xdirectfb"; then
|
||||||
DIRECTFB_REQUIRED_VERSION=1.0.0
|
DIRECTFB_REQUIRED_VERSION=1.0.0
|
||||||
AC_MSG_CHECKING(for DirectFB)
|
AC_MSG_CHECKING(for DirectFB)
|
||||||
@@ -1721,19 +1323,19 @@ LDFLAGS="$saved_ldflags"
|
|||||||
|
|
||||||
# Pull in gio-unix for GDesktopAppInfo usage, see at least gdkapplaunchcontext-x11.c
|
# Pull in gio-unix for GDesktopAppInfo usage, see at least gdkapplaunchcontext-x11.c
|
||||||
if test "x$gdktarget" = "xx11"; then
|
if test "x$gdktarget" = "xx11"; then
|
||||||
GDK_PACKAGES="$PANGO_PACKAGES gio-unix-2.0 $X_PACKAGES cairo-$cairo_backend"
|
GDK_PACKAGES="$PANGO_PACKAGES gio-unix-2.0 $X_PACKAGES gdk-pixbuf-2.0 cairo-$cairo_backend"
|
||||||
else
|
else
|
||||||
GDK_PACKAGES="$PANGO_PACKAGES $X_PACKAGES cairo-$cairo_backend"
|
GDK_PACKAGES="$PANGO_PACKAGES gio-2.0 gdk-pixbuf-2.0 cairo-$cairo_backend"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
GDK_DEP_LIBS="$GDK_EXTRA_LIBS `$PKG_CONFIG --libs $GDK_PIXBUF_PACKAGES $GDK_PACKAGES` $GDK_PIXBUF_EXTRA_LIBS"
|
GDK_DEP_LIBS="$GDK_EXTRA_LIBS `$PKG_CONFIG --libs $GDK_PACKAGES` $MATH_LIB"
|
||||||
GDK_DEP_CFLAGS="`$PKG_CONFIG --cflags gthread-2.0 $GDK_PIXBUF_PACKAGES $GDK_PACKAGES` $GDK_PIXBUF_EXTRA_CFLAGS $GDK_EXTRA_CFLAGS"
|
GDK_DEP_CFLAGS="`$PKG_CONFIG --cflags gthread-2.0 $GDK_PACKAGES` $GDK_EXTRA_CFLAGS"
|
||||||
#
|
#
|
||||||
# If we aren't writing explicit dependencies, then don't put the extra libraries we need
|
# If we aren't writing explicit dependencies, then don't put the extra libraries we need
|
||||||
# into the pkg-config files
|
# into the pkg-config files
|
||||||
#
|
#
|
||||||
if test $enable_explicit_deps != yes ; then
|
if test $enable_explicit_deps != yes ; then
|
||||||
GDK_PACKAGES="$PANGO_PACKAGES"
|
GDK_PACKAGES="$PANGO_PACKAGES gdk-pixbuf-2.0"
|
||||||
GDK_EXTRA_LIBS=
|
GDK_EXTRA_LIBS=
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -1773,14 +1375,14 @@ else
|
|||||||
LIBS="$gtk_save_LIBS"
|
LIBS="$gtk_save_LIBS"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
GTK_PACKAGES="atk cairo gio-2.0"
|
GTK_PACKAGES="atk cairo gdk-pixbuf-2.0 gio-2.0"
|
||||||
if test "x$gdktarget" = "xx11"; then
|
if test "x$gdktarget" = "xx11"; then
|
||||||
GTK_PACKAGES="$GTK_PACKAGES pangoft2"
|
GTK_PACKAGES="$GTK_PACKAGES pangoft2"
|
||||||
fi
|
fi
|
||||||
GTK_EXTRA_LIBS=
|
GTK_EXTRA_LIBS=
|
||||||
GTK_EXTRA_CFLAGS=
|
GTK_EXTRA_CFLAGS=
|
||||||
GTK_DEP_LIBS="$GDK_EXTRA_LIBS $GTK_DEP_LIBS_FOR_X `$PKG_CONFIG --libs $GDK_PIXBUF_PACKAGES $PANGO_PACKAGES $GTK_PACKAGES_FOR_X $GTK_PACKAGES` $GTK_EXTRA_LIBS $GDK_PIXBUF_EXTRA_LIBS"
|
GTK_DEP_LIBS="$GDK_EXTRA_LIBS $GTK_DEP_LIBS_FOR_X `$PKG_CONFIG --libs $PANGO_PACKAGES $GTK_PACKAGES_FOR_X $GTK_PACKAGES` $GTK_EXTRA_LIBS $MATH_LIB"
|
||||||
GTK_DEP_CFLAGS="`$PKG_CONFIG --cflags gthread-2.0 $GDK_PIXBUF_PACKAGES $GDK_PACKAGES $GTK_PACKAGES` $GDK_PIXBUF_EXTRA_CFLAGS $GDK_EXTRA_CFLAGS $GTK_EXTRA_CFLAGS"
|
GTK_DEP_CFLAGS="`$PKG_CONFIG --cflags gthread-2.0 $GDK_PACKAGES $GTK_PACKAGES` $GDK_EXTRA_CFLAGS $GTK_EXTRA_CFLAGS"
|
||||||
|
|
||||||
if test x"$os_win32" = xyes; then
|
if test x"$os_win32" = xyes; then
|
||||||
GTK_EXTRA_CFLAGS="$msnative_struct"
|
GTK_EXTRA_CFLAGS="$msnative_struct"
|
||||||
@@ -1791,16 +1393,6 @@ ATK_PREFIX="`$PKG_CONFIG --variable=prefix atk`"
|
|||||||
PANGO_PREFIX="`$PKG_CONFIG --variable=prefix pango`"
|
PANGO_PREFIX="`$PKG_CONFIG --variable=prefix pango`"
|
||||||
CAIRO_PREFIX="`pkg-config --variable=prefix cairo`"
|
CAIRO_PREFIX="`pkg-config --variable=prefix cairo`"
|
||||||
|
|
||||||
if test $enable_explicit_deps != yes ; then
|
|
||||||
GDK_PIXBUF_EXTRA_LIBS=
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_SUBST(GDK_PIXBUF_PACKAGES)
|
|
||||||
AC_SUBST(GDK_PIXBUF_EXTRA_LIBS)
|
|
||||||
AC_SUBST(GDK_PIXBUF_EXTRA_CFLAGS)
|
|
||||||
AC_SUBST(GDK_PIXBUF_DEP_LIBS)
|
|
||||||
AC_SUBST(GDK_PIXBUF_DEP_CFLAGS)
|
|
||||||
|
|
||||||
AC_SUBST(GTK_PACKAGES)
|
AC_SUBST(GTK_PACKAGES)
|
||||||
AC_SUBST(GTK_EXTRA_LIBS)
|
AC_SUBST(GTK_EXTRA_LIBS)
|
||||||
AC_SUBST(GTK_EXTRA_CFLAGS)
|
AC_SUBST(GTK_EXTRA_CFLAGS)
|
||||||
@@ -1815,6 +1407,9 @@ AC_SUBST(CAIRO_PREFIX)
|
|||||||
AC_SUBST(GTK_DEBUG_FLAGS)
|
AC_SUBST(GTK_DEBUG_FLAGS)
|
||||||
AC_SUBST(GTK_XIM_FLAGS)
|
AC_SUBST(GTK_XIM_FLAGS)
|
||||||
|
|
||||||
|
GDK_PIXBUF_LIBS=`$PKG_CONFIG --libs gdk-pixbuf-2.0`
|
||||||
|
AC_SUBST(GDK_PIXBUF_LIBS)
|
||||||
|
|
||||||
########################
|
########################
|
||||||
# Checks needed for gail
|
# Checks needed for gail
|
||||||
########################
|
########################
|
||||||
@@ -1880,6 +1475,12 @@ else
|
|||||||
AC_DEFINE(HAVE_CUPS_API_1_2, 1,
|
AC_DEFINE(HAVE_CUPS_API_1_2, 1,
|
||||||
[Define to 1 if CUPS 1.2 API is available])
|
[Define to 1 if CUPS 1.2 API is available])
|
||||||
fi
|
fi
|
||||||
|
if test $CUPS_API_MAJOR -gt 1 -o \
|
||||||
|
$CUPS_API_MAJOR -eq 1 -a $CUPS_API_MINOR -ge 6; then
|
||||||
|
AC_DEFINE(HAVE_CUPS_API_1_6, 1,
|
||||||
|
[Define to 1 if CUPS 1.6 API is available])
|
||||||
|
have_cups_api_1_6=yes
|
||||||
|
fi
|
||||||
|
|
||||||
AC_SUBST(CUPS_API_MAJOR)
|
AC_SUBST(CUPS_API_MAJOR)
|
||||||
AC_SUBST(CUPS_API_MINOR)
|
AC_SUBST(CUPS_API_MINOR)
|
||||||
@@ -1959,6 +1560,9 @@ AC_ARG_ENABLE(test-print-backend,
|
|||||||
[enable_test_print_backend=no])
|
[enable_test_print_backend=no])
|
||||||
AM_CONDITIONAL(TEST_PRINT_BACKEND, test "x$enable_test_print_backend" != "xno")
|
AM_CONDITIONAL(TEST_PRINT_BACKEND, test "x$enable_test_print_backend" != "xno")
|
||||||
|
|
||||||
|
if test "$os_win32" = "yes"; then
|
||||||
|
AC_CHECK_TYPES([IPrintDialogCallback],[],[],[[#include <windows.h>]])
|
||||||
|
fi
|
||||||
|
|
||||||
################################################################
|
################################################################
|
||||||
# Strip -export-dynamic from the link lines of various libraries
|
# Strip -export-dynamic from the link lines of various libraries
|
||||||
@@ -1976,8 +1580,6 @@ AM_CONDITIONAL(TEST_PRINT_BACKEND, test "x$enable_test_print_backend" != "xno")
|
|||||||
export SED
|
export SED
|
||||||
export_dynamic=`(./libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh`
|
export_dynamic=`(./libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh`
|
||||||
if test -n "$export_dynamic"; then
|
if test -n "$export_dynamic"; then
|
||||||
GDK_PIXBUF_DEP_LIBS=`echo $GDK_PIXBUF_DEP_LIBS | sed -e "s/$export_dynamic//"`
|
|
||||||
GDK_PIXBUF_XLIB_DEP_LIBS=`echo $GDK_PIXBUF_XLIB_DEP_LIBS | sed -e "s/$export_dynamic//"`
|
|
||||||
GDK_DEP_LIBS=`echo $GDK_DEP_LIBS | sed -e "s/$export_dynamic//"`
|
GDK_DEP_LIBS=`echo $GDK_DEP_LIBS | sed -e "s/$export_dynamic//"`
|
||||||
GTK_DEP_LIBS=`echo $GTK_DEP_LIBS | sed -e "s/$export_dynamic//"`
|
GTK_DEP_LIBS=`echo $GTK_DEP_LIBS | sed -e "s/$export_dynamic//"`
|
||||||
fi
|
fi
|
||||||
@@ -1986,7 +1588,7 @@ fi
|
|||||||
# GObject introspection
|
# GObject introspection
|
||||||
##################################################
|
##################################################
|
||||||
|
|
||||||
GOBJECT_INTROSPECTION_CHECK([0.6.7])
|
GOBJECT_INTROSPECTION_CHECK([0.9.3])
|
||||||
|
|
||||||
##################################################
|
##################################################
|
||||||
# Checks for gtk-doc and docbook-tools
|
# Checks for gtk-doc and docbook-tools
|
||||||
@@ -1999,7 +1601,7 @@ AM_CONDITIONAL(HAVE_DOCBOOK, $DB2HTML)
|
|||||||
|
|
||||||
AC_ARG_ENABLE(man,
|
AC_ARG_ENABLE(man,
|
||||||
[AC_HELP_STRING([--enable-man],
|
[AC_HELP_STRING([--enable-man],
|
||||||
[regenerate man pages from Docbook [default=no]])],enable_man=yes,
|
[regenerate man pages from Docbook [default=no]])],,
|
||||||
enable_man=no)
|
enable_man=no)
|
||||||
|
|
||||||
if test "${enable_man}" != no; then
|
if test "${enable_man}" != no; then
|
||||||
@@ -2083,6 +1685,8 @@ elif test "x$gdktarget" = "xwin32" ; then
|
|||||||
#define GDK_WINDOWING_WIN32'
|
#define GDK_WINDOWING_WIN32'
|
||||||
elif test "x$gdktarget" = "xquartz" ; then
|
elif test "x$gdktarget" = "xquartz" ; then
|
||||||
gdk_windowing='
|
gdk_windowing='
|
||||||
|
#define GDK_NATIVE_WINDOW_POINTER
|
||||||
|
|
||||||
#define GDK_WINDOWING_QUARTZ'
|
#define GDK_WINDOWING_QUARTZ'
|
||||||
elif test "x$gdktarget" = "xdirectfb" ; then
|
elif test "x$gdktarget" = "xdirectfb" ; then
|
||||||
gdk_windowing='
|
gdk_windowing='
|
||||||
@@ -2109,12 +1713,10 @@ AC_CONFIG_FILES([
|
|||||||
config.h.win32
|
config.h.win32
|
||||||
gtk-zip.sh
|
gtk-zip.sh
|
||||||
Makefile
|
Makefile
|
||||||
gdk-pixbuf-2.0.pc
|
|
||||||
gdk-2.0.pc
|
gdk-2.0.pc
|
||||||
gtk+-2.0.pc
|
gtk+-2.0.pc
|
||||||
gtk+-unix-print-2.0.pc
|
gtk+-unix-print-2.0.pc
|
||||||
gail.pc
|
gail.pc
|
||||||
gdk-pixbuf-2.0-uninstalled.pc
|
|
||||||
gdk-2.0-uninstalled.pc
|
gdk-2.0-uninstalled.pc
|
||||||
gtk+-2.0-uninstalled.pc
|
gtk+-2.0-uninstalled.pc
|
||||||
gail-uninstalled.pc
|
gail-uninstalled.pc
|
||||||
@@ -2127,8 +1729,6 @@ demos/gtk-demo/geninclude.pl
|
|||||||
tests/Makefile
|
tests/Makefile
|
||||||
docs/Makefile
|
docs/Makefile
|
||||||
docs/reference/Makefile
|
docs/reference/Makefile
|
||||||
docs/reference/gdk-pixbuf/Makefile
|
|
||||||
docs/reference/gdk-pixbuf/version.xml
|
|
||||||
docs/reference/gdk/Makefile
|
docs/reference/gdk/Makefile
|
||||||
docs/reference/gdk/version.xml
|
docs/reference/gdk/version.xml
|
||||||
docs/reference/gtk/Makefile
|
docs/reference/gtk/Makefile
|
||||||
@@ -2140,10 +1740,7 @@ docs/tutorial/Makefile
|
|||||||
build/Makefile
|
build/Makefile
|
||||||
build/win32/Makefile
|
build/win32/Makefile
|
||||||
build/win32/vs9/Makefile
|
build/win32/vs9/Makefile
|
||||||
gdk-pixbuf/Makefile
|
build/win32/vs10/Makefile
|
||||||
gdk-pixbuf/gdk_pixbuf.rc
|
|
||||||
gdk-pixbuf/gdk-pixbuf-features.h
|
|
||||||
gdk-pixbuf/pixops/Makefile
|
|
||||||
gdk/Makefile
|
gdk/Makefile
|
||||||
gdk/x11/Makefile
|
gdk/x11/Makefile
|
||||||
gdk/win32/Makefile
|
gdk/win32/Makefile
|
||||||
@@ -2176,9 +1773,6 @@ modules/printbackends/file/Makefile
|
|||||||
modules/printbackends/papi/Makefile
|
modules/printbackends/papi/Makefile
|
||||||
modules/printbackends/test/Makefile
|
modules/printbackends/test/Makefile
|
||||||
perf/Makefile
|
perf/Makefile
|
||||||
contrib/Makefile
|
|
||||||
contrib/gdk-pixbuf-xlib/Makefile
|
|
||||||
contrib/gdk-pixbuf-xlib/gdk-pixbuf-xlib-2.0.pc
|
|
||||||
])
|
])
|
||||||
|
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
include $(top_srcdir)/Makefile.decl
|
|
||||||
|
|
||||||
SUBDIRS =
|
|
||||||
if USE_X11
|
|
||||||
SUBDIRS += gdk-pixbuf-xlib
|
|
||||||
endif
|
|
||||||
|
|
||||||
-include $(top_srcdir)/git.mk
|
|
||||||
@@ -1,354 +0,0 @@
|
|||||||
=== ChangeLog discontinued ===
|
|
||||||
|
|
||||||
With the move to git, GTK+ is switching from a ChangeLog file
|
|
||||||
to relying on commit messages to provide change history. Please
|
|
||||||
see README.commits for guidance on the expected message format.
|
|
||||||
|
|
||||||
2009-03-13 Matthias Clasen <mclasen@redhat.com>
|
|
||||||
|
|
||||||
* === Released 2.16.0 ===
|
|
||||||
|
|
||||||
2009-03-02 Matthias Clasen <mclasen@redhat.com>
|
|
||||||
|
|
||||||
* === Released 2.15.5 ===
|
|
||||||
|
|
||||||
2009-02-17 Matthias Clasen <mclasen@redhat.com>
|
|
||||||
|
|
||||||
* === Released 2.15.4 ===
|
|
||||||
|
|
||||||
2009-02-02 Matthias Clasen <mclasen@redhat.com>
|
|
||||||
|
|
||||||
* === Released 2.15.3 ===
|
|
||||||
|
|
||||||
2009-01-27 Matthias Clasen <mclasen@redhat.com>
|
|
||||||
|
|
||||||
* === Released 2.15.2 ===
|
|
||||||
|
|
||||||
2009-01-23 Matthias Clasen <mclasen@redhat.com>
|
|
||||||
|
|
||||||
* === Released 2.15.1 ===
|
|
||||||
|
|
||||||
2009-01-01 Matthias Clasen <mclasen@redhat.com>
|
|
||||||
|
|
||||||
* === Released 2.15.0 ===
|
|
||||||
|
|
||||||
2008-09-17 Matthias Clasen <mclasen@redhat.com>
|
|
||||||
|
|
||||||
* === Released 2.14.2 ===
|
|
||||||
|
|
||||||
2008-09-04 Matthias Clasen <mclasen@redhat.com>
|
|
||||||
|
|
||||||
* === Released 2.14.1 ===
|
|
||||||
|
|
||||||
2008-09-04 Matthias Clasen <mclasen@redhat.com>
|
|
||||||
|
|
||||||
* === Released 2.14.0 ===
|
|
||||||
|
|
||||||
2008-08-18 Matthias Clasen <mclasen@redhat.com>
|
|
||||||
|
|
||||||
* ==== Released 2.13.7 ===
|
|
||||||
|
|
||||||
2008-08-05 Matthias Clasen <mclasen@redhat.com>
|
|
||||||
|
|
||||||
* === Released 2.13.6 ===
|
|
||||||
|
|
||||||
2008-07-21 Matthias Clasen <mclasen@redhat.com>
|
|
||||||
|
|
||||||
* === Released 2.13.5 ===
|
|
||||||
|
|
||||||
2008-07-05 Matthias Clasen <mclasen@redhat.com>
|
|
||||||
|
|
||||||
* === Released 2.13.4 ===
|
|
||||||
|
|
||||||
2008-06-13 Matthias Clasen <mclasen@redhat.com>
|
|
||||||
|
|
||||||
* === Released 2.13.3 ===
|
|
||||||
|
|
||||||
2008-06-03 Matthias Clasen <mclasen@redhat.com>
|
|
||||||
|
|
||||||
* === Released 2.13.2 ===
|
|
||||||
|
|
||||||
2008-05-29 Matthias Clasen <mclasen@redhat.com>
|
|
||||||
|
|
||||||
* === Released 2.13.1 ===
|
|
||||||
|
|
||||||
2008-05-26 Michael Natterer <mitch@imendio.com>
|
|
||||||
|
|
||||||
* gdk-pixbuf-xlib.h
|
|
||||||
* gdk-pixbuf-xlibrgb.h: use G_BEGIN/END_DECLS.
|
|
||||||
|
|
||||||
2008-02-16 Matthias Clasen <mclasen@redhat.com>
|
|
||||||
|
|
||||||
* === Released 2.13.0 ===
|
|
||||||
|
|
||||||
2007-10-16 Matthias Clasen <mclasen@redhat.com>
|
|
||||||
|
|
||||||
* === Released 2.12.1 ===
|
|
||||||
|
|
||||||
2007-09-13 Matthias Clasen <mclasen@redhat.com>
|
|
||||||
|
|
||||||
* === Released 2.12.0 ===
|
|
||||||
|
|
||||||
2007-07-21 Matthias Clasen <mclasen@redhat.com>
|
|
||||||
|
|
||||||
* === Released 2.11.6 ===
|
|
||||||
|
|
||||||
2007-07-02 Matthias Clasen <mclasen@redhat.com>
|
|
||||||
|
|
||||||
* === Released 2.11.5 ===
|
|
||||||
|
|
||||||
2007-06-19 Matthias Clasen <mclasen@redhat.com>
|
|
||||||
|
|
||||||
* === Released 2.11.4 ===
|
|
||||||
|
|
||||||
2007-06-15 Matthias Clasen <mclasen@redhat.com>
|
|
||||||
|
|
||||||
* === Released 2.11.3 ===
|
|
||||||
|
|
||||||
2007-06-06 Matthias Clasen <mclasen@redhat.com>
|
|
||||||
|
|
||||||
* === Released 2.11.2 ===
|
|
||||||
|
|
||||||
2007-06-04 Matthias Clasen <mclasen@redhat.com>
|
|
||||||
|
|
||||||
* === Released 2.11.1 ===
|
|
||||||
|
|
||||||
2007-05-24 Matthias Clasen <mclasen@redhat.com>
|
|
||||||
|
|
||||||
* === Released 2.11.0 ===
|
|
||||||
|
|
||||||
2006-10-08 Matthias Clasen <mclasen@redhat.com>
|
|
||||||
|
|
||||||
* gdk-pixbuf-xlib.c: Apply a cleanup patch by
|
|
||||||
Kjartan Maraas (#341812)
|
|
||||||
|
|
||||||
2006-08-17 Matthias Clasen <mclasen@redhat.com>
|
|
||||||
|
|
||||||
* === Released 2.10.2 ===
|
|
||||||
|
|
||||||
2006-07-23 Matthias Clasen <mclasen@redhat.com>
|
|
||||||
|
|
||||||
* === Released 2.10.1 ===
|
|
||||||
|
|
||||||
2006-07-02 Matthias Clasen <mclasen@redhat.com>
|
|
||||||
|
|
||||||
* === Released 2.10.0 ===
|
|
||||||
|
|
||||||
2006-06-21 Matthias Clasen <mclasen@redhat.com>
|
|
||||||
|
|
||||||
* === Released 2.9.4 ===
|
|
||||||
|
|
||||||
2006-06-12 Matthias Clasen <mclasen@redhat.com>
|
|
||||||
|
|
||||||
* === Released 2.9.3 ===
|
|
||||||
|
|
||||||
2006-06-05 Matthias Clasen <mclasen@redhat.com>
|
|
||||||
|
|
||||||
* === Released 2.9.2 ===
|
|
||||||
|
|
||||||
2006-05-16 Matthias Clasen <mclasen@redhat.com>
|
|
||||||
|
|
||||||
* === Released 2.9.1 ====
|
|
||||||
|
|
||||||
2006-05-04 Matthias Clasen <mclasen@redhat.com>
|
|
||||||
|
|
||||||
* === Released 2.9.0 ===
|
|
||||||
|
|
||||||
2005-11-17 Matthias Clasen <mclasen@redhat.com>
|
|
||||||
|
|
||||||
* gdk-pixbuf-xlib-drawable.c:
|
|
||||||
* gdk-pixbuf-xlibrgb.c: const correctness fixes
|
|
||||||
found by Arjan van de Ven and gcc.
|
|
||||||
|
|
||||||
2005-10-05 Matthias Clasen <mclasen@redhat.com>
|
|
||||||
|
|
||||||
* gdk-pixbuf-xlib-2.0.pc.in (Requires): Require
|
|
||||||
gmodule-no-export-2.0 instead of gmodule-2.0
|
|
||||||
|
|
||||||
2005-08-24 Matthias Clasen <mclasen@redhat.com>
|
|
||||||
|
|
||||||
* === Released 2.8.2 ===
|
|
||||||
|
|
||||||
* === Released 2.8.1 ===
|
|
||||||
|
|
||||||
2005-08-13 Matthias Clasen <mclasen@redhat.com>
|
|
||||||
|
|
||||||
* === Released 2.8.0 ===
|
|
||||||
|
|
||||||
2005-08-02 Matthias Clasen <mclasen@redhat.com>
|
|
||||||
|
|
||||||
* === Released 2.7.5 ===
|
|
||||||
|
|
||||||
2005-07-22 Matthias Clasen <mclasen@redhat.com>
|
|
||||||
|
|
||||||
* === Released 2.7.4 ===
|
|
||||||
|
|
||||||
2005-07-15 Matthias Clasen <mclasen@redhat.com>
|
|
||||||
|
|
||||||
* === Released 2.7.3 ===
|
|
||||||
|
|
||||||
2005-07-08 Matthias Clasen <mclasen@redhat.com>
|
|
||||||
|
|
||||||
* === Released 2.7.2 ===
|
|
||||||
|
|
||||||
2005-07-01 Matthias Clasen <mclasen@redhat.com>
|
|
||||||
|
|
||||||
* === Released 2.7.1 ===
|
|
||||||
|
|
||||||
2005-06-20 Matthias Clasen <mclasen@redhat.com>
|
|
||||||
|
|
||||||
* === Released 2.7.0 ===
|
|
||||||
|
|
||||||
2005-01-08 Matthias Clasen <mclasen@redhat.com>
|
|
||||||
|
|
||||||
* === Released 2.6.1 ===
|
|
||||||
|
|
||||||
2004-12-16 Matthias Clasen <mclasen@redhat.com>
|
|
||||||
|
|
||||||
* === Released 2.6.0 ===
|
|
||||||
|
|
||||||
2004-12-02 Matthias Clasen <mclasen@redhat.com>
|
|
||||||
|
|
||||||
* === Released 2.5.6 ===
|
|
||||||
|
|
||||||
2004-11-12 Matthias Clasen <mclasen@redhat.com>
|
|
||||||
|
|
||||||
* === Released 2.5.5 ===
|
|
||||||
|
|
||||||
2004-10-27 Matthias Clasen <mclasen@redhat.com>
|
|
||||||
|
|
||||||
* === Released 2.5.4 ===
|
|
||||||
|
|
||||||
2004-09-19 Matthias Clasen <mclasen@redhat.com>
|
|
||||||
|
|
||||||
* === Released 2.5.3 ===
|
|
||||||
|
|
||||||
2004-08-25 Matthias Clasen <mclasen@redhat.com>
|
|
||||||
|
|
||||||
* === Released 2.5.2 ===
|
|
||||||
|
|
||||||
2004-08-01 Matthias Clasen <mclasen@redhat.com>
|
|
||||||
|
|
||||||
* === Released 2.5.1 ===
|
|
||||||
|
|
||||||
Tue Jul 20 23:26:10 2004 Matthias Clasen <maclas@gmx.de>
|
|
||||||
|
|
||||||
* gdk-pixbuf-xlibrgb.c: Include config.h first. (#148034)
|
|
||||||
|
|
||||||
Sun Jul 18 20:17:41 2004 Soeren Sandmann <sandmann@daimi.au.dk>
|
|
||||||
|
|
||||||
* === released 2.5.0 ==
|
|
||||||
|
|
||||||
Tue Mar 9 09:33:54 2004 Owen Taylor <otaylor@redhat.com>
|
|
||||||
|
|
||||||
* === Released 2.3.6 ===
|
|
||||||
|
|
||||||
Wed Mar 3 15:50:28 2004 Owen Taylor <otaylor@redhat.com>
|
|
||||||
|
|
||||||
* Makefile.am (libgdk_pixbuf_xlib_2_0_la_LIBADD): Add
|
|
||||||
a shared library dependency on libgdk-pixbuf (#124687)
|
|
||||||
|
|
||||||
Tue Feb 24 14:45:03 2004 Owen Taylor <otaylor@redhat.com>
|
|
||||||
|
|
||||||
* === Released 2.3.3 ===
|
|
||||||
|
|
||||||
Fri Feb 13 10:32:09 2004 Owen Taylor <otaylor@redhat.com>
|
|
||||||
|
|
||||||
* gdk-pixbuf-xlibrgb.h: Remove a couple of unneeded
|
|
||||||
#includes. Isn't unsupported code fun?
|
|
||||||
(133833, Gregory Merchan)
|
|
||||||
|
|
||||||
Tue Oct 7 23:30:00 2003 Matthias Clasen <maclas@gmx.de>
|
|
||||||
|
|
||||||
* gdk-pixbuf-xlib.h: Add C++ guards. (123955, Harring Figueiredo)
|
|
||||||
|
|
||||||
2002-08-06 jacob berkman <jacob@ximian.com>
|
|
||||||
|
|
||||||
* Makefile.am (lib_LTLIBRARIES): link against xlibs
|
|
||||||
|
|
||||||
2002-01-25 Federico Mena Quintero <federico@ximian.com>
|
|
||||||
|
|
||||||
Merge from gdk-pixbuf stable.
|
|
||||||
|
|
||||||
* gdk-pixbuf-xlib-drawable.c (rgb565msb): Fixed the endianness
|
|
||||||
conversion --- swap the individual 16 bit values instead of taking
|
|
||||||
everying as a 32 bit value.
|
|
||||||
(rgb565lsb): Likewise.
|
|
||||||
(rgb555lsb): Likewise.
|
|
||||||
(rgb555msb): Likewise.
|
|
||||||
|
|
||||||
2001-11-26 Akira TAGOH <tagoh@redhat.com>
|
|
||||||
|
|
||||||
* Makefile.am (libgdk_pixbuf_xlib_1_3_la_LDFLAGS):
|
|
||||||
Added -version-info.
|
|
||||||
|
|
||||||
2001-05-19 Havoc Pennington <hp@pobox.com>
|
|
||||||
|
|
||||||
* gdk-pixbuf-xlibrgb.c: docs
|
|
||||||
|
|
||||||
2001-06-04 Havoc Pennington <hp@redhat.com>
|
|
||||||
|
|
||||||
* gdk-pixbuf-xlibrgb.c (xlib_rgb_init): remove C++ comment,
|
|
||||||
reported by Dan McNichol
|
|
||||||
|
|
||||||
Mon Jan 8 11:41:41 2001 Owen Taylor <otaylor@redhat.com>
|
|
||||||
|
|
||||||
* Makefile.am (INCLUDES): Add @x_cflags@ (#36310)
|
|
||||||
|
|
||||||
2001-01-02 Havoc Pennington <hp@redhat.com>
|
|
||||||
|
|
||||||
* gdk-pixbuf-xlib-2.0.pc.in (Description): fix up description a bit.
|
|
||||||
|
|
||||||
2000-10-06 Havoc Pennington <hp@redhat.com>
|
|
||||||
|
|
||||||
* gdk-pixbuf-xlib.c: Put display/screen here, instead of in
|
|
||||||
the main gdk-pixbuf library as it was in 1.0; since the io-xpm
|
|
||||||
loader doesn't use these variables anymore it should be OK
|
|
||||||
|
|
||||||
2000-09-26 Federico Mena Quintero <federico@helixcode.com>
|
|
||||||
|
|
||||||
* gdk-pixbuf/gdk-pixbuf-xlib-drawable.c
|
|
||||||
(gdk_pixbuf_xlib_get_from_drawable): Do not use
|
|
||||||
gdk_screen_{width,height}(). Thanks to John Harper for pointing
|
|
||||||
this out.
|
|
||||||
|
|
||||||
2000-08-26 Federico Mena Quintero <federico@helixcode.com>
|
|
||||||
|
|
||||||
* gdk-pixbuf/gdk-pixbuf-xlibrgb.c: Added API reference docs.
|
|
||||||
|
|
||||||
2000-08-25 Federico Mena Quintero <federico@helixcode.com>
|
|
||||||
|
|
||||||
* gdk-pixbuf/gdk-pixbuf-xlib-drawable.c (handle_x_error): Return
|
|
||||||
0.
|
|
||||||
(xlib_window_is_viewable): Return FALSE in the last case.
|
|
||||||
|
|
||||||
* gdk-pixbuf/gdk-pixbuf-xlib-render.c: Updated the inline docs.
|
|
||||||
|
|
||||||
* gdk-pixbuf/gdk-pixbuf-xlib.c: Added API docs.
|
|
||||||
|
|
||||||
2000-08-25 John Harper <john@dcs.warwick.ac.uk>
|
|
||||||
|
|
||||||
Work to create an Xlib version of gdk-pixbuf (with the Xlib
|
|
||||||
port of GdkRGB for rendering):
|
|
||||||
|
|
||||||
* configure.in: check for X libraries, set and substitute
|
|
||||||
GDK_PIXBUF_XLIB_{LIBDIR,INCLUDEDIR,LIBS} variables
|
|
||||||
|
|
||||||
* gdk_pixbuf_xlibConf.sh.in: new file -- gnome-config details
|
|
||||||
for the gdk-pixbuf-xlib library
|
|
||||||
* Makefile.am: build and install gdk_pixbuf_xlibConf.sh
|
|
||||||
|
|
||||||
* gdk-pixbuf/gdk-pixbuf-xlib-render.c,
|
|
||||||
gdk-pixbuf/gdk-pixbuf-xlib.c, gdk-pixbuf/gdk-pixbuf-xlib.h,
|
|
||||||
gdk-pixbuf/gdk-pixbuf-xlib-private.h,
|
|
||||||
gdk-pixbuf/gdk-pixbuf-xlib-drawable.c: new files, ported the
|
|
||||||
GDK dependent parts of gdk-pixbuf to use Xlib. Functions that
|
|
||||||
were called gdk_pixbuf_FOO are now gdk_pixbuf_xlib_FOO
|
|
||||||
|
|
||||||
* gdk-pixbuf/gdk-pixbuf-xlibrgb.c,
|
|
||||||
gdk-pixbuf/gdk-pixbuf-xlibrgb.h: added Chris Blizzard's Xlib
|
|
||||||
port of GdkRGB (from Mozilla CVS)
|
|
||||||
|
|
||||||
* gdk-pixbuf/Makefile.am: build a library libgdk_pixbuf_xlib.la
|
|
||||||
including the non-GDK dependent objects from libgdk_pixbuf.la
|
|
||||||
plus the Xlib ports and xlibrgb
|
|
||||||
@@ -1,42 +0,0 @@
|
|||||||
include $(top_srcdir)/Makefile.decl
|
|
||||||
|
|
||||||
if PLATFORM_WIN32
|
|
||||||
no_undefined = -no-undefined
|
|
||||||
endif
|
|
||||||
|
|
||||||
lib_LTLIBRARIES=libgdk_pixbuf_xlib-2.0.la
|
|
||||||
|
|
||||||
INCLUDES = \
|
|
||||||
-I$(top_srcdir) -I$(top_builddir) \
|
|
||||||
-I$(top_srcdir)/gdk-pixbuf \
|
|
||||||
-I$(top_srcdir)/contrib \
|
|
||||||
$(GDK_PIXBUF_XLIB_DEP_CFLAGS)
|
|
||||||
|
|
||||||
libgdk_pixbuf_xlib_2_0_la_LDFLAGS = \
|
|
||||||
-export-dynamic \
|
|
||||||
$(no_undefined) \
|
|
||||||
-version-info $(LT_VERSION_INFO)
|
|
||||||
|
|
||||||
libgdk_pixbuf_xlib_2_0_la_LIBADD = \
|
|
||||||
$(top_builddir)/gdk-pixbuf/libgdk_pixbuf-$(GTK_API_VERSION).la \
|
|
||||||
$(GDK_PIXBUF_XLIB_DEP_LIBS)
|
|
||||||
|
|
||||||
libgdk_pixbuf_xlib_2_0_la_SOURCES = \
|
|
||||||
gdk-pixbuf-xlib-private.h \
|
|
||||||
gdk-pixbuf-xlib.c \
|
|
||||||
gdk-pixbuf-xlib-render.c \
|
|
||||||
gdk-pixbuf-xlib-drawable.c \
|
|
||||||
gdk-pixbuf-xlibrgb.c
|
|
||||||
|
|
||||||
libgdk_pixbuf_xlibincludedir=$(includedir)/gtk-2.0/gdk-pixbuf-xlib
|
|
||||||
|
|
||||||
libgdk_pixbuf_xlibinclude_HEADERS = \
|
|
||||||
gdk-pixbuf-xlib.h \
|
|
||||||
gdk-pixbuf-xlibrgb.h
|
|
||||||
|
|
||||||
pkgconfigdir = $(libdir)/pkgconfig
|
|
||||||
pkgconfig_DATA = gdk-pixbuf-xlib-2.0.pc
|
|
||||||
|
|
||||||
EXTRA_DIST += gdk-pixbuf-xlib-2.0.pc.in
|
|
||||||
|
|
||||||
-include $(top_srcdir)/git.mk
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
prefix=@prefix@
|
|
||||||
exec_prefix=@exec_prefix@
|
|
||||||
libdir=@libdir@
|
|
||||||
includedir=@includedir@
|
|
||||||
|
|
||||||
Name: GdkPixbuf Xlib
|
|
||||||
Description: GdkPixbuf rendering for Xlib
|
|
||||||
Version: @VERSION@
|
|
||||||
Requires: gobject-2.0,gmodule-no-export-2.0,gdk-pixbuf-2.0
|
|
||||||
Libs: -L${libdir} -lgdk_pixbuf_xlib-@GTK_API_VERSION@
|
|
||||||
Cflags: -I${includedir}
|
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -1,30 +0,0 @@
|
|||||||
/* GdkPixbuf library - Xlib header file
|
|
||||||
*
|
|
||||||
* Authors: John Harper <john@dcs.warwick.ac.uk>
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Library General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Library General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Library General Public
|
|
||||||
* License along with this library; if not, write to the
|
|
||||||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
||||||
* Boston, MA 02111-1307, USA.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef GDK_PIXBUF_XLIB_PRIVATE_H
|
|
||||||
#define GDK_PIXBUF_XLIB_PRIVATE_H
|
|
||||||
|
|
||||||
#include "gdk-pixbuf-xlib.h"
|
|
||||||
#include <X11/Xlib.h>
|
|
||||||
|
|
||||||
extern Display *gdk_pixbuf_dpy;
|
|
||||||
extern int gdk_pixbuf_screen;
|
|
||||||
|
|
||||||
#endif
|
|
||||||
@@ -1,398 +0,0 @@
|
|||||||
/* GdkPixbuf library - Rendering functions
|
|
||||||
*
|
|
||||||
* Copyright (C) 1999 The Free Software Foundation
|
|
||||||
*
|
|
||||||
* Author: Federico Mena-Quintero <federico@gimp.org>
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Library General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Library General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Library General Public
|
|
||||||
* License along with this library; if not, write to the
|
|
||||||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
||||||
* Boston, MA 02111-1307, USA.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* Trivially ported to Xlib(RGB) by John Harper. */
|
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
#include "gdk-pixbuf-private.h"
|
|
||||||
#include "gdk-pixbuf-xlib-private.h"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* gdk_pixbuf_xlib_render_threshold_alpha:
|
|
||||||
* @pixbuf: A pixbuf.
|
|
||||||
* @bitmap: Bitmap where the bilevel mask will be painted to.
|
|
||||||
* @src_x: Source X coordinate.
|
|
||||||
* @src_y: source Y coordinate.
|
|
||||||
* @dest_x: Destination X coordinate.
|
|
||||||
* @dest_y: Destination Y coordinate.
|
|
||||||
* @width: Width of region to threshold.
|
|
||||||
* @height: Height of region to threshold.
|
|
||||||
* @alpha_threshold: Opacity values below this will be painted as zero; all
|
|
||||||
* other values will be painted as one.
|
|
||||||
*
|
|
||||||
* Takes the opacity values in a rectangular portion of a pixbuf and thresholds
|
|
||||||
* them to produce a bi-level alpha mask that can be used as a clipping mask for
|
|
||||||
* a drawable.
|
|
||||||
*
|
|
||||||
**/
|
|
||||||
void
|
|
||||||
gdk_pixbuf_xlib_render_threshold_alpha (GdkPixbuf *pixbuf, Pixmap bitmap,
|
|
||||||
int src_x, int src_y,
|
|
||||||
int dest_x, int dest_y,
|
|
||||||
int width, int height,
|
|
||||||
int alpha_threshold)
|
|
||||||
{
|
|
||||||
GC gc;
|
|
||||||
XColor color;
|
|
||||||
int x, y;
|
|
||||||
guchar *p;
|
|
||||||
int start, start_status;
|
|
||||||
int status;
|
|
||||||
XGCValues gcv;
|
|
||||||
|
|
||||||
g_return_if_fail (pixbuf != NULL);
|
|
||||||
g_return_if_fail (pixbuf->colorspace == GDK_COLORSPACE_RGB);
|
|
||||||
g_return_if_fail (pixbuf->n_channels == 3 || pixbuf->n_channels == 4);
|
|
||||||
g_return_if_fail (pixbuf->bits_per_sample == 8);
|
|
||||||
|
|
||||||
g_return_if_fail (bitmap != 0);
|
|
||||||
g_return_if_fail (width >= 0 && height >= 0);
|
|
||||||
g_return_if_fail (src_x >= 0 && src_x + width <= pixbuf->width);
|
|
||||||
g_return_if_fail (src_y >= 0 && src_y + height <= pixbuf->height);
|
|
||||||
|
|
||||||
g_return_if_fail (alpha_threshold >= 0 && alpha_threshold <= 255);
|
|
||||||
|
|
||||||
if (width == 0 || height == 0)
|
|
||||||
return;
|
|
||||||
|
|
||||||
gc = XCreateGC (gdk_pixbuf_dpy, bitmap, 0, &gcv);
|
|
||||||
|
|
||||||
if (!pixbuf->has_alpha) {
|
|
||||||
color.pixel = (alpha_threshold == 255) ? 0 : 1;
|
|
||||||
XSetForeground (gdk_pixbuf_dpy, gc, color.pixel);
|
|
||||||
XFillRectangle (gdk_pixbuf_dpy, bitmap, gc,
|
|
||||||
dest_x, dest_y, width, height);
|
|
||||||
XFreeGC (gdk_pixbuf_dpy, gc);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
color.pixel = 0;
|
|
||||||
XSetForeground (gdk_pixbuf_dpy, gc, color.pixel);
|
|
||||||
XFillRectangle (gdk_pixbuf_dpy, bitmap, gc,
|
|
||||||
dest_x, dest_y, width, height);
|
|
||||||
|
|
||||||
color.pixel = 1;
|
|
||||||
XSetForeground (gdk_pixbuf_dpy, gc, color.pixel);
|
|
||||||
|
|
||||||
for (y = 0; y < height; y++) {
|
|
||||||
p = (pixbuf->pixels + (y + src_y) * pixbuf->rowstride + src_x * pixbuf->n_channels
|
|
||||||
+ pixbuf->n_channels - 1);
|
|
||||||
|
|
||||||
start = 0;
|
|
||||||
start_status = *p < alpha_threshold;
|
|
||||||
|
|
||||||
for (x = 0; x < width; x++) {
|
|
||||||
status = *p < alpha_threshold;
|
|
||||||
|
|
||||||
if (status != start_status) {
|
|
||||||
if (!start_status)
|
|
||||||
XDrawLine (gdk_pixbuf_dpy, bitmap, gc,
|
|
||||||
start + dest_x, y + dest_y,
|
|
||||||
x - 1 + dest_x, y + dest_y);
|
|
||||||
|
|
||||||
start = x;
|
|
||||||
start_status = status;
|
|
||||||
}
|
|
||||||
|
|
||||||
p += pixbuf->n_channels;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!start_status)
|
|
||||||
XDrawLine (gdk_pixbuf_dpy, bitmap, gc,
|
|
||||||
start + dest_x, y + dest_y,
|
|
||||||
x - 1 + dest_x, y + dest_y);
|
|
||||||
}
|
|
||||||
|
|
||||||
XFreeGC (gdk_pixbuf_dpy, gc);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Creates a buffer by stripping the alpha channel of a pixbuf */
|
|
||||||
static guchar *
|
|
||||||
remove_alpha (GdkPixbuf *pixbuf, int x, int y, int width, int height, int *rowstride)
|
|
||||||
{
|
|
||||||
guchar *buf;
|
|
||||||
int xx, yy;
|
|
||||||
guchar *src, *dest;
|
|
||||||
|
|
||||||
g_assert (pixbuf->n_channels == 4);
|
|
||||||
g_assert (pixbuf->has_alpha);
|
|
||||||
g_assert (width > 0 && height > 0);
|
|
||||||
g_assert (x >= 0 && x + width <= pixbuf->width);
|
|
||||||
g_assert (y >= 0 && y + height <= pixbuf->height);
|
|
||||||
|
|
||||||
*rowstride = 4 * ((width * 3 + 3) / 4);
|
|
||||||
|
|
||||||
buf = g_new (guchar, *rowstride * height);
|
|
||||||
|
|
||||||
for (yy = 0; yy < height; yy++) {
|
|
||||||
src = pixbuf->pixels + pixbuf->rowstride * (yy + y) + x * pixbuf->n_channels;
|
|
||||||
dest = buf + *rowstride * yy;
|
|
||||||
|
|
||||||
for (xx = 0; xx < width; xx++) {
|
|
||||||
*dest++ = *src++;
|
|
||||||
*dest++ = *src++;
|
|
||||||
*dest++ = *src++;
|
|
||||||
src++;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return buf;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* gdk_pixbuf_xlib_render_to_drawable:
|
|
||||||
* @pixbuf: A pixbuf.
|
|
||||||
* @drawable: Destination drawable.
|
|
||||||
* @gc: GC used for rendering.
|
|
||||||
* @src_x: Source X coordinate within pixbuf.
|
|
||||||
* @src_y: Source Y coordinate within pixbuf.
|
|
||||||
* @dest_x: Destination X coordinate within drawable.
|
|
||||||
* @dest_y: Destination Y coordinate within drawable.
|
|
||||||
* @width: Width of region to render, in pixels.
|
|
||||||
* @height: Height of region to render, in pixels.
|
|
||||||
* @dither: Dithering mode for XlibRGB.
|
|
||||||
* @x_dither: X offset for dither.
|
|
||||||
* @y_dither: Y offset for dither.
|
|
||||||
*
|
|
||||||
* Renders a rectangular portion of a pixbuf to a drawable while using the
|
|
||||||
* specified GC. This is done using XlibRGB, so the specified drawable must
|
|
||||||
* have the XlibRGB visual and colormap. Note that this function will ignore
|
|
||||||
* the opacity information for images with an alpha channel; the GC must already
|
|
||||||
* have the clipping mask set if you want transparent regions to show through.
|
|
||||||
*
|
|
||||||
* For an explanation of dither offsets, see the XlibRGB documentation. In
|
|
||||||
* brief, the dither offset is important when re-rendering partial regions of an
|
|
||||||
* image to a rendered version of the full image, or for when the offsets to a
|
|
||||||
* base position change, as in scrolling. The dither matrix has to be shifted
|
|
||||||
* for consistent visual results. If you do not have any of these cases, the
|
|
||||||
* dither offsets can be both zero.
|
|
||||||
**/
|
|
||||||
void
|
|
||||||
gdk_pixbuf_xlib_render_to_drawable (GdkPixbuf *pixbuf,
|
|
||||||
Drawable drawable, GC gc,
|
|
||||||
int src_x, int src_y,
|
|
||||||
int dest_x, int dest_y,
|
|
||||||
int width, int height,
|
|
||||||
XlibRgbDither dither,
|
|
||||||
int x_dither, int y_dither)
|
|
||||||
{
|
|
||||||
guchar *buf;
|
|
||||||
int rowstride;
|
|
||||||
|
|
||||||
g_return_if_fail (pixbuf != NULL);
|
|
||||||
g_return_if_fail (pixbuf->colorspace == GDK_COLORSPACE_RGB);
|
|
||||||
g_return_if_fail (pixbuf->n_channels == 3 || pixbuf->n_channels == 4);
|
|
||||||
g_return_if_fail (pixbuf->bits_per_sample == 8);
|
|
||||||
|
|
||||||
g_return_if_fail (drawable != 0);
|
|
||||||
g_return_if_fail (gc != 0);
|
|
||||||
|
|
||||||
g_return_if_fail (width >= 0 && height >= 0);
|
|
||||||
g_return_if_fail (src_x >= 0 && src_x + width <= pixbuf->width);
|
|
||||||
g_return_if_fail (src_y >= 0 && src_y + height <= pixbuf->height);
|
|
||||||
|
|
||||||
if (width == 0 || height == 0)
|
|
||||||
return;
|
|
||||||
|
|
||||||
/* This will have to be modified once we support other image types.
|
|
||||||
* Also, GdkRGB does not have gdk_draw_rgb_32_image_dithalign(), so we
|
|
||||||
* have to pack the buffer first. Sigh.
|
|
||||||
*/
|
|
||||||
|
|
||||||
if (pixbuf->has_alpha)
|
|
||||||
buf = remove_alpha (pixbuf, src_x, src_y, width, height, &rowstride);
|
|
||||||
else {
|
|
||||||
buf = pixbuf->pixels + src_y * pixbuf->rowstride + src_x * 3;
|
|
||||||
rowstride = pixbuf->rowstride;
|
|
||||||
}
|
|
||||||
|
|
||||||
xlib_draw_rgb_image_dithalign (drawable, gc,
|
|
||||||
dest_x, dest_y,
|
|
||||||
width, height,
|
|
||||||
dither,
|
|
||||||
buf, rowstride,
|
|
||||||
x_dither, y_dither);
|
|
||||||
|
|
||||||
if (pixbuf->has_alpha)
|
|
||||||
g_free (buf);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* gdk_pixbuf_xlib_render_to_drawable_alpha:
|
|
||||||
* @pixbuf: A pixbuf.
|
|
||||||
* @drawable: Destination drawable.
|
|
||||||
* @src_x: Source X coordinate within pixbuf.
|
|
||||||
* @src_y: Source Y coordinates within pixbuf.
|
|
||||||
* @dest_x: Destination X coordinate within drawable.
|
|
||||||
* @dest_y: Destination Y coordinate within drawable.
|
|
||||||
* @width: Width of region to render, in pixels.
|
|
||||||
* @height: Height of region to render, in pixels.
|
|
||||||
* @alpha_mode: If the image does not have opacity information, this is ignored.
|
|
||||||
* Otherwise, specifies how to handle transparency when rendering.
|
|
||||||
* @alpha_threshold: If the image does have opacity information and @alpha_mode
|
|
||||||
* is GDK_PIXBUF_ALPHA_BILEVEL, specifies the threshold value for opacity
|
|
||||||
* values.
|
|
||||||
* @dither: Dithering mode for XlibRGB.
|
|
||||||
* @x_dither: X offset for dither.
|
|
||||||
* @y_dither: Y offset for dither.
|
|
||||||
*
|
|
||||||
* Renders a rectangular portion of a pixbuf to a drawable. This is done using
|
|
||||||
* XlibRGB, so the specified drawable must have the XlibRGB visual and colormap.
|
|
||||||
*
|
|
||||||
* When used with #GDK_PIXBUF_ALPHA_BILEVEL, this function has to create a bitmap
|
|
||||||
* out of the thresholded alpha channel of the image and, it has to set this
|
|
||||||
* bitmap as the clipping mask for the GC used for drawing. This can be a
|
|
||||||
* significant performance penalty depending on the size and the complexity of
|
|
||||||
* the alpha channel of the image. If performance is crucial, consider handling
|
|
||||||
* the alpha channel yourself (possibly by caching it in your application) and
|
|
||||||
* using gdk_pixbuf_xlib_render_to_drawable() or GdkRGB directly instead.
|
|
||||||
**/
|
|
||||||
void
|
|
||||||
gdk_pixbuf_xlib_render_to_drawable_alpha (GdkPixbuf *pixbuf, Drawable drawable,
|
|
||||||
int src_x, int src_y,
|
|
||||||
int dest_x, int dest_y,
|
|
||||||
int width, int height,
|
|
||||||
GdkPixbufAlphaMode alpha_mode,
|
|
||||||
int alpha_threshold,
|
|
||||||
XlibRgbDither dither,
|
|
||||||
int x_dither, int y_dither)
|
|
||||||
{
|
|
||||||
Pixmap bitmap = 0;
|
|
||||||
GC gc;
|
|
||||||
XGCValues gcv;
|
|
||||||
|
|
||||||
g_return_if_fail (pixbuf != NULL);
|
|
||||||
g_return_if_fail (pixbuf->colorspace == GDK_COLORSPACE_RGB);
|
|
||||||
g_return_if_fail (pixbuf->n_channels == 3 || pixbuf->n_channels == 4);
|
|
||||||
g_return_if_fail (pixbuf->bits_per_sample == 8);
|
|
||||||
|
|
||||||
g_return_if_fail (drawable != 0);
|
|
||||||
g_return_if_fail (width >= 0 && height >= 0);
|
|
||||||
g_return_if_fail (src_x >= 0 && src_x + width <= pixbuf->width);
|
|
||||||
g_return_if_fail (src_y >= 0 && src_y + height <= pixbuf->height);
|
|
||||||
|
|
||||||
if (width == 0 || height == 0)
|
|
||||||
return;
|
|
||||||
|
|
||||||
gc = XCreateGC (gdk_pixbuf_dpy, drawable, 0, &gcv);
|
|
||||||
|
|
||||||
if (pixbuf->has_alpha) {
|
|
||||||
/* Right now we only support GDK_PIXBUF_ALPHA_BILEVEL, so we
|
|
||||||
* unconditionally create the clipping mask.
|
|
||||||
*/
|
|
||||||
|
|
||||||
bitmap = XCreatePixmap (gdk_pixbuf_dpy,
|
|
||||||
RootWindow (gdk_pixbuf_dpy,
|
|
||||||
gdk_pixbuf_screen),
|
|
||||||
width, height, 1);
|
|
||||||
gdk_pixbuf_xlib_render_threshold_alpha (pixbuf, bitmap,
|
|
||||||
src_x, src_y,
|
|
||||||
0, 0,
|
|
||||||
width, height,
|
|
||||||
alpha_threshold);
|
|
||||||
|
|
||||||
XSetClipMask (gdk_pixbuf_dpy, gc, bitmap);
|
|
||||||
XSetClipOrigin (gdk_pixbuf_dpy, gc, dest_x, dest_y);
|
|
||||||
}
|
|
||||||
|
|
||||||
gdk_pixbuf_xlib_render_to_drawable (pixbuf, drawable, gc,
|
|
||||||
src_x, src_y,
|
|
||||||
dest_x, dest_y,
|
|
||||||
width, height,
|
|
||||||
dither,
|
|
||||||
x_dither, y_dither);
|
|
||||||
|
|
||||||
if (bitmap)
|
|
||||||
XFreePixmap (gdk_pixbuf_dpy, bitmap);
|
|
||||||
|
|
||||||
XFreeGC (gdk_pixbuf_dpy, gc);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* gdk_pixbuf_xlib_render_pixmap_and_mask:
|
|
||||||
* @pixbuf: A pixbuf.
|
|
||||||
* @pixmap_return: Return value for the created pixmap.
|
|
||||||
* @mask_return: Return value for the created mask.
|
|
||||||
* @alpha_threshold: Threshold value for opacity values.
|
|
||||||
*
|
|
||||||
* Creates a pixmap and a mask bitmap which are returned in the @pixmap_return
|
|
||||||
* and @mask_return arguments, respectively, and renders a pixbuf and its
|
|
||||||
* corresponding tresholded alpha mask to them. This is merely a convenience
|
|
||||||
* function; applications that need to render pixbufs with dither offsets or to
|
|
||||||
* given drawables should use gdk_pixbuf_xlib_render_to_drawable_alpha() or
|
|
||||||
* gdk_pixbuf_xlib_render_to_drawable(), and
|
|
||||||
* gdk_pixbuf_xlib_render_threshold_alpha().
|
|
||||||
*
|
|
||||||
* If the pixbuf does not have an alpha channel, then *@mask_return will be set
|
|
||||||
* to None.
|
|
||||||
**/
|
|
||||||
void
|
|
||||||
gdk_pixbuf_xlib_render_pixmap_and_mask (GdkPixbuf *pixbuf,
|
|
||||||
Pixmap *pixmap_return,
|
|
||||||
Pixmap *mask_return,
|
|
||||||
int alpha_threshold)
|
|
||||||
{
|
|
||||||
g_return_if_fail (pixbuf != NULL);
|
|
||||||
|
|
||||||
if (pixmap_return) {
|
|
||||||
GC gc;
|
|
||||||
XGCValues gcv;
|
|
||||||
|
|
||||||
*pixmap_return = XCreatePixmap (gdk_pixbuf_dpy,
|
|
||||||
RootWindow (gdk_pixbuf_dpy,
|
|
||||||
gdk_pixbuf_screen),
|
|
||||||
pixbuf->width,
|
|
||||||
pixbuf->height,
|
|
||||||
xlib_rgb_get_depth ());
|
|
||||||
gc = XCreateGC (gdk_pixbuf_dpy, *pixmap_return, 0, &gcv);
|
|
||||||
gdk_pixbuf_xlib_render_to_drawable (pixbuf, *pixmap_return, gc,
|
|
||||||
0, 0, 0, 0,
|
|
||||||
pixbuf->width,
|
|
||||||
pixbuf->height,
|
|
||||||
XLIB_RGB_DITHER_NORMAL,
|
|
||||||
0, 0);
|
|
||||||
XFreeGC (gdk_pixbuf_dpy, gc);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (mask_return) {
|
|
||||||
if (pixbuf->has_alpha) {
|
|
||||||
*mask_return = XCreatePixmap (gdk_pixbuf_dpy,
|
|
||||||
RootWindow (gdk_pixbuf_dpy,
|
|
||||||
gdk_pixbuf_screen),
|
|
||||||
pixbuf->width,
|
|
||||||
pixbuf->height, 1);
|
|
||||||
gdk_pixbuf_xlib_render_threshold_alpha (pixbuf,
|
|
||||||
*mask_return,
|
|
||||||
0, 0, 0, 0,
|
|
||||||
pixbuf->width,
|
|
||||||
pixbuf->height,
|
|
||||||
alpha_threshold);
|
|
||||||
} else
|
|
||||||
*mask_return = 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,63 +0,0 @@
|
|||||||
/* GdkPixbuf library - Initialization functions
|
|
||||||
*
|
|
||||||
* Author: John Harper <john@dcs.warwick.ac.uk>
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Library General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Library General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Library General Public
|
|
||||||
* License along with this library; if not, write to the
|
|
||||||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
||||||
* Boston, MA 02111-1307, USA.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
#include <X11/Xlib.h>
|
|
||||||
#include <gdk-pixbuf/gdk-pixbuf-private.h>
|
|
||||||
#include "gdk-pixbuf-xlib-private.h"
|
|
||||||
|
|
||||||
Display *gdk_pixbuf_dpy = NULL;
|
|
||||||
int gdk_pixbuf_screen = -1;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* gdk_pixbuf_xlib_init:
|
|
||||||
* @display: X display to use.
|
|
||||||
* @screen_num: Screen number.
|
|
||||||
*
|
|
||||||
* Initializes the gdk-pixbuf Xlib machinery by calling xlib_rgb_init(). This
|
|
||||||
* function should be called near the beginning of your program, or before using
|
|
||||||
* any of the gdk-pixbuf-xlib functions.
|
|
||||||
**/
|
|
||||||
void
|
|
||||||
gdk_pixbuf_xlib_init (Display *display, int screen_num)
|
|
||||||
{
|
|
||||||
xlib_rgb_init (display, ScreenOfDisplay (display, screen_num));
|
|
||||||
gdk_pixbuf_dpy = display;
|
|
||||||
gdk_pixbuf_screen = screen_num;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* gdk_pixbuf_xlib_init_with_depth:
|
|
||||||
* @display: X display to use.
|
|
||||||
* @screen_num: Screen number.
|
|
||||||
* @prefDepth: Preferred depth for XlibRGB.
|
|
||||||
*
|
|
||||||
* Similar to gdk_pixbuf_xlib_init(), but also lets you specify the preferred
|
|
||||||
* depth for XlibRGB if you do not want it to use the default depth it picks.
|
|
||||||
**/
|
|
||||||
void
|
|
||||||
gdk_pixbuf_xlib_init_with_depth (Display *display,
|
|
||||||
int screen_num, int prefDepth)
|
|
||||||
{
|
|
||||||
xlib_rgb_init_with_depth (display, ScreenOfDisplay (display, screen_num),
|
|
||||||
prefDepth);
|
|
||||||
gdk_pixbuf_dpy = display;
|
|
||||||
gdk_pixbuf_screen = screen_num;
|
|
||||||
}
|
|
||||||
@@ -1,87 +0,0 @@
|
|||||||
/* GdkPixbuf library - Xlib header file
|
|
||||||
*
|
|
||||||
* Authors: John Harper <john@dcs.warwick.ac.uk>
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Library General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Library General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Library General Public
|
|
||||||
* License along with this library; if not, write to the
|
|
||||||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
||||||
* Boston, MA 02111-1307, USA.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef GDK_PIXBUF_XLIB_H
|
|
||||||
#define GDK_PIXBUF_XLIB_H
|
|
||||||
|
|
||||||
#include <gdk-pixbuf/gdk-pixbuf.h>
|
|
||||||
#include <gdk-pixbuf-xlib/gdk-pixbuf-xlibrgb.h>
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#include <X11/Xlib.h>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* init */
|
|
||||||
|
|
||||||
void gdk_pixbuf_xlib_init (Display *display, int screen_num);
|
|
||||||
|
|
||||||
void gdk_pixbuf_xlib_init_with_depth (Display *display, int screen_num,
|
|
||||||
int prefDepth);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* render */
|
|
||||||
|
|
||||||
void gdk_pixbuf_xlib_render_threshold_alpha (GdkPixbuf *pixbuf, Pixmap bitmap,
|
|
||||||
int src_x, int src_y,
|
|
||||||
int dest_x, int dest_y,
|
|
||||||
int width, int height,
|
|
||||||
int alpha_threshold);
|
|
||||||
|
|
||||||
void gdk_pixbuf_xlib_render_to_drawable (GdkPixbuf *pixbuf,
|
|
||||||
Drawable drawable, GC gc,
|
|
||||||
int src_x, int src_y,
|
|
||||||
int dest_x, int dest_y,
|
|
||||||
int width, int height,
|
|
||||||
XlibRgbDither dither,
|
|
||||||
int x_dither, int y_dither);
|
|
||||||
|
|
||||||
|
|
||||||
void gdk_pixbuf_xlib_render_to_drawable_alpha (GdkPixbuf *pixbuf,
|
|
||||||
Drawable drawable,
|
|
||||||
int src_x, int src_y,
|
|
||||||
int dest_x, int dest_y,
|
|
||||||
int width, int height,
|
|
||||||
GdkPixbufAlphaMode alpha_mode,
|
|
||||||
int alpha_threshold,
|
|
||||||
XlibRgbDither dither,
|
|
||||||
int x_dither, int y_dither);
|
|
||||||
|
|
||||||
void gdk_pixbuf_xlib_render_pixmap_and_mask (GdkPixbuf *pixbuf,
|
|
||||||
Pixmap *pixmap_return,
|
|
||||||
Pixmap *mask_return,
|
|
||||||
int alpha_threshold);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* drawable */
|
|
||||||
|
|
||||||
GdkPixbuf *gdk_pixbuf_xlib_get_from_drawable (GdkPixbuf *dest,
|
|
||||||
Drawable src,
|
|
||||||
Colormap cmap, Visual *visual,
|
|
||||||
int src_x, int src_y,
|
|
||||||
int dest_x, int dest_y,
|
|
||||||
int width, int height);
|
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
#endif /* GDK_PIXBUF_XLIB_H */
|
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -1,188 +0,0 @@
|
|||||||
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
|
||||||
*
|
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
|
||||||
* Version 1.1 (the "MPL"); you may not use this file except in
|
|
||||||
* compliance with the MPL. You may obtain a copy of the MPL at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
|
||||||
* Software distributed under the MPL is distributed on an "AS IS" basis,
|
|
||||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the MPL
|
|
||||||
* for the specific language governing rights and limitations under the
|
|
||||||
* MPL.
|
|
||||||
*
|
|
||||||
* Alternatively, the contents of this file may be used under the
|
|
||||||
* terms of the GNU Library General Public License (the "LGPL"), in
|
|
||||||
* which case the provisions of the LGPL are applicable instead of
|
|
||||||
* those above. If you wish to allow use of your version of this file
|
|
||||||
* only under the terms of the LGPL and not to allow others to use
|
|
||||||
* your version of this file under the MPL, indicate your decision by
|
|
||||||
* deleting the provisions above and replace them with the notice and
|
|
||||||
* other provisions required by the LGPL. If you do not delete the
|
|
||||||
* provisions above, a recipient may use your version of this file
|
|
||||||
* under either the MPL or the LGPL.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* This code is derived from GdkRgb.
|
|
||||||
* For more information on GdkRgb, see http://www.levien.com/gdkrgb/
|
|
||||||
* Raph Levien <raph@acm.org>
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* Ported by Christopher Blizzard to Xlib. With permission from the
|
|
||||||
* original authors of this file, the contents of this file are also
|
|
||||||
* redistributable under the terms of the Mozilla Public license. For
|
|
||||||
* information about the Mozilla Public License, please see the
|
|
||||||
* license information at http://www.mozilla.org/MPL/
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* This code is copyright the following authors:
|
|
||||||
* Raph Levien <raph@acm.org>
|
|
||||||
* Manish Singh <manish@gtk.org>
|
|
||||||
* Tim Janik <timj@gtk.org>
|
|
||||||
* Peter Mattis <petm@xcf.berkeley.edu>
|
|
||||||
* Spencer Kimball <spencer@xcf.berkeley.edu>
|
|
||||||
* Josh MacDonald <jmacd@xcf.berkeley.edu>
|
|
||||||
* Christopher Blizzard <blizzard@redhat.com>
|
|
||||||
* Owen Taylor <otaylor@redhat.com>
|
|
||||||
* Shawn T. Amundson <amundson@gtk.org>
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
#ifndef __XLIB_RGB_H__
|
|
||||||
#define __XLIB_RGB_H__
|
|
||||||
|
|
||||||
#include <glib.h>
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#include <X11/Xlib.h>
|
|
||||||
#include <X11/Xutil.h>
|
|
||||||
|
|
||||||
typedef struct _XlibRgbCmap XlibRgbCmap;
|
|
||||||
|
|
||||||
struct _XlibRgbCmap {
|
|
||||||
unsigned int colors[256];
|
|
||||||
unsigned char lut[256]; /* for 8-bit modes */
|
|
||||||
};
|
|
||||||
|
|
||||||
void
|
|
||||||
xlib_rgb_init (Display *display, Screen *screen);
|
|
||||||
void
|
|
||||||
xlib_rgb_init_with_depth (Display *display, Screen *screen, int prefDepth);
|
|
||||||
|
|
||||||
unsigned long
|
|
||||||
xlib_rgb_xpixel_from_rgb (guint32 rgb);
|
|
||||||
|
|
||||||
void
|
|
||||||
xlib_rgb_gc_set_foreground (GC gc, guint32 rgb);
|
|
||||||
|
|
||||||
void
|
|
||||||
xlib_rgb_gc_set_background (GC gc, guint32 rgb);
|
|
||||||
|
|
||||||
typedef enum
|
|
||||||
{
|
|
||||||
XLIB_RGB_DITHER_NONE,
|
|
||||||
XLIB_RGB_DITHER_NORMAL,
|
|
||||||
XLIB_RGB_DITHER_MAX
|
|
||||||
} XlibRgbDither;
|
|
||||||
|
|
||||||
void
|
|
||||||
xlib_draw_rgb_image (Drawable drawable,
|
|
||||||
GC gc,
|
|
||||||
int x,
|
|
||||||
int y,
|
|
||||||
int width,
|
|
||||||
int height,
|
|
||||||
XlibRgbDither dith,
|
|
||||||
unsigned char *rgb_buf,
|
|
||||||
int rowstride);
|
|
||||||
|
|
||||||
void
|
|
||||||
xlib_draw_rgb_image_dithalign (Drawable drawable,
|
|
||||||
GC gc,
|
|
||||||
int x,
|
|
||||||
int y,
|
|
||||||
int width,
|
|
||||||
int height,
|
|
||||||
XlibRgbDither dith,
|
|
||||||
unsigned char *rgb_buf,
|
|
||||||
int rowstride,
|
|
||||||
int xdith,
|
|
||||||
int ydith);
|
|
||||||
|
|
||||||
void
|
|
||||||
xlib_draw_rgb_32_image (Drawable drawable,
|
|
||||||
GC gc,
|
|
||||||
int x,
|
|
||||||
int y,
|
|
||||||
int width,
|
|
||||||
int height,
|
|
||||||
XlibRgbDither dith,
|
|
||||||
unsigned char *buf,
|
|
||||||
int rowstride);
|
|
||||||
|
|
||||||
void
|
|
||||||
xlib_draw_gray_image (Drawable drawable,
|
|
||||||
GC gc,
|
|
||||||
int x,
|
|
||||||
int y,
|
|
||||||
int width,
|
|
||||||
int height,
|
|
||||||
XlibRgbDither dith,
|
|
||||||
unsigned char *buf,
|
|
||||||
int rowstride);
|
|
||||||
|
|
||||||
XlibRgbCmap *
|
|
||||||
xlib_rgb_cmap_new (guint32 *colors, int n_colors);
|
|
||||||
|
|
||||||
void
|
|
||||||
xlib_rgb_cmap_free (XlibRgbCmap *cmap);
|
|
||||||
|
|
||||||
void
|
|
||||||
xlib_draw_indexed_image (Drawable drawable,
|
|
||||||
GC gc,
|
|
||||||
int x,
|
|
||||||
int y,
|
|
||||||
int width,
|
|
||||||
int height,
|
|
||||||
XlibRgbDither dith,
|
|
||||||
unsigned char *buf,
|
|
||||||
int rowstride,
|
|
||||||
XlibRgbCmap *cmap);
|
|
||||||
|
|
||||||
/* Below are some functions which are primarily useful for debugging
|
|
||||||
and experimentation. */
|
|
||||||
Bool
|
|
||||||
xlib_rgb_ditherable (void);
|
|
||||||
|
|
||||||
void
|
|
||||||
xlib_rgb_set_verbose (Bool verbose);
|
|
||||||
|
|
||||||
/* experimental colormap stuff */
|
|
||||||
void
|
|
||||||
xlib_rgb_set_install (Bool install);
|
|
||||||
|
|
||||||
void
|
|
||||||
xlib_rgb_set_min_colors (int min_colors);
|
|
||||||
|
|
||||||
Colormap
|
|
||||||
xlib_rgb_get_cmap (void);
|
|
||||||
|
|
||||||
Visual *
|
|
||||||
xlib_rgb_get_visual (void);
|
|
||||||
|
|
||||||
XVisualInfo *
|
|
||||||
xlib_rgb_get_visual_info (void);
|
|
||||||
|
|
||||||
int
|
|
||||||
xlib_rgb_get_depth (void);
|
|
||||||
|
|
||||||
Display *
|
|
||||||
xlib_rgb_get_display (void);
|
|
||||||
|
|
||||||
Screen *
|
|
||||||
xlib_rgb_get_screen (void);
|
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
#endif /* __XLIB_RGB_H__ */
|
|
||||||
@@ -12,12 +12,10 @@ INCLUDES = \
|
|||||||
$(GTK_DEP_CFLAGS)
|
$(GTK_DEP_CFLAGS)
|
||||||
|
|
||||||
DEPS = \
|
DEPS = \
|
||||||
$(top_builddir)/gdk-pixbuf/libgdk_pixbuf-$(GTK_API_VERSION).la \
|
|
||||||
$(top_builddir)/gdk/$(gdktargetlib) \
|
$(top_builddir)/gdk/$(gdktargetlib) \
|
||||||
$(top_builddir)/gtk/$(gtktargetlib)
|
$(top_builddir)/gtk/$(gtktargetlib)
|
||||||
|
|
||||||
LDADDS = \
|
LDADDS = \
|
||||||
$(top_builddir)/gdk-pixbuf/libgdk_pixbuf-$(GTK_API_VERSION).la \
|
|
||||||
$(top_builddir)/gdk/$(gdktargetlib) \
|
$(top_builddir)/gdk/$(gdktargetlib) \
|
||||||
$(top_builddir)/gtk/$(gtktargetlib) \
|
$(top_builddir)/gtk/$(gtktargetlib) \
|
||||||
$(GTK_DEP_LIBS) \
|
$(GTK_DEP_LIBS) \
|
||||||
@@ -32,21 +30,11 @@ noinst_PROGRAMS = \
|
|||||||
pixbuf-demo
|
pixbuf-demo
|
||||||
|
|
||||||
# Need to build test-inline-pixbufs.h for testpixbuf
|
# Need to build test-inline-pixbufs.h for testpixbuf
|
||||||
if HAVE_PNG
|
|
||||||
noinst_PROGRAMS += testpixbuf
|
noinst_PROGRAMS += testpixbuf
|
||||||
BUILT_SOURCES = test-inline-pixbufs.h
|
BUILT_SOURCES = test-inline-pixbufs.h
|
||||||
endif
|
|
||||||
|
|
||||||
if CROSS_COMPILING
|
test-inline-pixbufs.h: apple-red.png gnome-foot.png
|
||||||
pixbuf_csource=$(GDK_PIXBUF_CSOURCE)
|
$(GDK_PIXBUF_CSOURCE) --raw --build-list \
|
||||||
pixbuf_csource_deps=
|
|
||||||
else
|
|
||||||
pixbuf_csource=GDK_PIXBUF_MODULE_FILE=$(top_builddir)/gdk-pixbuf/gdk-pixbuf.loaders $(top_builddir)/gdk-pixbuf/gdk-pixbuf-csource
|
|
||||||
pixbuf_csource_deps=$(top_builddir)/gdk-pixbuf/gdk-pixbuf-csource $(top_builddir)/gdk-pixbuf/gdk-pixbuf.loaders
|
|
||||||
endif
|
|
||||||
|
|
||||||
test-inline-pixbufs.h: $(pixbuf_csource_deps) apple-red.png gnome-foot.png
|
|
||||||
$(pixbuf_csource) --raw --build-list \
|
|
||||||
apple_red $(srcdir)/apple-red.png \
|
apple_red $(srcdir)/apple-red.png \
|
||||||
gnome_foot $(srcdir)/gnome-foot.png \
|
gnome_foot $(srcdir)/gnome-foot.png \
|
||||||
> test-inline-pixbufs.h \
|
> test-inline-pixbufs.h \
|
||||||
|
|||||||
@@ -55,15 +55,14 @@ INCLUDES = \
|
|||||||
$(GTK_DEP_CFLAGS)
|
$(GTK_DEP_CFLAGS)
|
||||||
|
|
||||||
DEPS = \
|
DEPS = \
|
||||||
$(top_builddir)/gdk-pixbuf/libgdk_pixbuf-$(GTK_API_VERSION).la \
|
|
||||||
$(top_builddir)/gdk/$(gdktargetlib) \
|
$(top_builddir)/gdk/$(gdktargetlib) \
|
||||||
$(top_builddir)/gtk/$(gtktargetlib)
|
$(top_builddir)/gtk/$(gtktargetlib)
|
||||||
|
|
||||||
LDADDS = \
|
LDADDS = \
|
||||||
$(top_builddir)/gdk-pixbuf/libgdk_pixbuf-$(GTK_API_VERSION).la \
|
|
||||||
$(top_builddir)/gdk/$(gdktargetlib) \
|
$(top_builddir)/gdk/$(gdktargetlib) \
|
||||||
$(top_builddir)/gtk/$(gtktargetlib) \
|
$(top_builddir)/gtk/$(gtktargetlib) \
|
||||||
$(GTK_DEP_LIBS)
|
$(GTK_DEP_LIBS) \
|
||||||
|
-lm
|
||||||
|
|
||||||
bin_PROGRAMS = gtk-demo
|
bin_PROGRAMS = gtk-demo
|
||||||
|
|
||||||
|
|||||||
@@ -57,25 +57,6 @@ activate_radio_action (GtkAction *action, GtkRadioAction *current)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
|
||||||
activate_email (GtkAboutDialog *about,
|
|
||||||
const gchar *link,
|
|
||||||
gpointer data)
|
|
||||||
{
|
|
||||||
gchar *text;
|
|
||||||
text = g_strdup_printf ("send mail to %s", link);
|
|
||||||
g_print ("%s\n", text);
|
|
||||||
g_free (text);
|
|
||||||
}
|
|
||||||
|
|
||||||
static void
|
|
||||||
activate_url (GtkAboutDialog *about,
|
|
||||||
const gchar *link,
|
|
||||||
gpointer data)
|
|
||||||
{
|
|
||||||
g_print ("show url %s\n", link);
|
|
||||||
}
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
about_cb (GtkAction *action,
|
about_cb (GtkAction *action,
|
||||||
GtkWidget *window)
|
GtkWidget *window)
|
||||||
@@ -126,8 +107,6 @@ about_cb (GtkAction *action,
|
|||||||
g_object_unref (pixbuf);
|
g_object_unref (pixbuf);
|
||||||
}
|
}
|
||||||
|
|
||||||
gtk_about_dialog_set_email_hook (activate_email, NULL, NULL);
|
|
||||||
gtk_about_dialog_set_url_hook (activate_url, NULL, NULL);
|
|
||||||
gtk_show_about_dialog (GTK_WINDOW (window),
|
gtk_show_about_dialog (GTK_WINDOW (window),
|
||||||
"program-name", "GTK+ Code Demos",
|
"program-name", "GTK+ Code Demos",
|
||||||
"version", PACKAGE_VERSION,
|
"version", PACKAGE_VERSION,
|
||||||
|
|||||||
@@ -9,12 +9,35 @@
|
|||||||
#include "demo-common.h"
|
#include "demo-common.h"
|
||||||
|
|
||||||
static GtkWidget *assistant = NULL;
|
static GtkWidget *assistant = NULL;
|
||||||
|
static GtkWidget *progress_bar = NULL;
|
||||||
|
|
||||||
|
static gboolean
|
||||||
|
apply_changes_gradually (gpointer data)
|
||||||
|
{
|
||||||
|
gdouble fraction;
|
||||||
|
|
||||||
|
/* Work, work, work... */
|
||||||
|
fraction = gtk_progress_bar_get_fraction (GTK_PROGRESS_BAR (progress_bar));
|
||||||
|
fraction += 0.05;
|
||||||
|
|
||||||
|
if (fraction < 1.0)
|
||||||
|
{
|
||||||
|
gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (progress_bar), fraction);
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
/* Close automatically once changes are fully applied. */
|
||||||
|
gtk_widget_destroy (assistant);
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
on_assistant_apply (GtkWidget *widget, gpointer data)
|
on_assistant_apply (GtkWidget *widget, gpointer data)
|
||||||
{
|
{
|
||||||
/* Apply here changes, this is a fictional
|
/* Start a timer to simulate changes taking a few seconds to apply. */
|
||||||
example, so we just do nothing here */
|
g_timeout_add (100, apply_changes_gradually, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@@ -38,6 +61,13 @@ on_assistant_prepare (GtkWidget *widget, GtkWidget *page, gpointer data)
|
|||||||
title = g_strdup_printf ("Sample assistant (%d of %d)", current_page + 1, n_pages);
|
title = g_strdup_printf ("Sample assistant (%d of %d)", current_page + 1, n_pages);
|
||||||
gtk_window_set_title (GTK_WINDOW (widget), title);
|
gtk_window_set_title (GTK_WINDOW (widget), title);
|
||||||
g_free (title);
|
g_free (title);
|
||||||
|
|
||||||
|
/* The fourth page (counting from zero) is the progress page. The
|
||||||
|
* user clicked Apply to get here so we tell the assistant to commit,
|
||||||
|
* which means the changes up to this point are permanent and cannot
|
||||||
|
* be cancelled or revisited. */
|
||||||
|
if (current_page == 3)
|
||||||
|
gtk_assistant_commit (GTK_ASSISTANT (widget));
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@@ -127,6 +157,26 @@ create_page3 (GtkWidget *assistant)
|
|||||||
g_object_unref (pixbuf);
|
g_object_unref (pixbuf);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
create_page4 (GtkWidget *assistant)
|
||||||
|
{
|
||||||
|
GtkWidget *page;
|
||||||
|
|
||||||
|
page = gtk_alignment_new (0.5, 0.5, 0.5, 0.0);
|
||||||
|
|
||||||
|
progress_bar = gtk_progress_bar_new ();
|
||||||
|
gtk_container_add (GTK_CONTAINER (page), progress_bar);
|
||||||
|
|
||||||
|
gtk_widget_show_all (page);
|
||||||
|
gtk_assistant_append_page (GTK_ASSISTANT (assistant), page);
|
||||||
|
gtk_assistant_set_page_type (GTK_ASSISTANT (assistant), page, GTK_ASSISTANT_PAGE_PROGRESS);
|
||||||
|
gtk_assistant_set_page_title (GTK_ASSISTANT (assistant), page, "Applying changes");
|
||||||
|
|
||||||
|
/* This prevents the assistant window from being
|
||||||
|
* closed while we're "busy" applying changes. */
|
||||||
|
gtk_assistant_set_page_complete (GTK_ASSISTANT (assistant), page, FALSE);
|
||||||
|
}
|
||||||
|
|
||||||
GtkWidget*
|
GtkWidget*
|
||||||
do_assistant (GtkWidget *do_widget)
|
do_assistant (GtkWidget *do_widget)
|
||||||
{
|
{
|
||||||
@@ -142,6 +192,7 @@ do_assistant (GtkWidget *do_widget)
|
|||||||
create_page1 (assistant);
|
create_page1 (assistant);
|
||||||
create_page2 (assistant);
|
create_page2 (assistant);
|
||||||
create_page3 (assistant);
|
create_page3 (assistant);
|
||||||
|
create_page4 (assistant);
|
||||||
|
|
||||||
g_signal_connect (G_OBJECT (assistant), "cancel",
|
g_signal_connect (G_OBJECT (assistant), "cancel",
|
||||||
G_CALLBACK (on_assistant_close_cancel), &assistant);
|
G_CALLBACK (on_assistant_close_cancel), &assistant);
|
||||||
|
|||||||
@@ -128,7 +128,7 @@ query_for_toplevel (GdkScreen *screen,
|
|||||||
gtk_widget_show_all (popup);
|
gtk_widget_show_all (popup);
|
||||||
cursor = gdk_cursor_new_for_display (display, GDK_CROSSHAIR);
|
cursor = gdk_cursor_new_for_display (display, GDK_CROSSHAIR);
|
||||||
|
|
||||||
if (gdk_pointer_grab (popup->window, FALSE,
|
if (gdk_pointer_grab (gtk_widget_get_window (popup), FALSE,
|
||||||
GDK_BUTTON_RELEASE_MASK,
|
GDK_BUTTON_RELEASE_MASK,
|
||||||
NULL,
|
NULL,
|
||||||
cursor,
|
cursor,
|
||||||
@@ -232,6 +232,7 @@ open_display_cb (GtkWidget *button,
|
|||||||
GtkWidget *dialog;
|
GtkWidget *dialog;
|
||||||
GtkWidget *display_entry;
|
GtkWidget *display_entry;
|
||||||
GtkWidget *dialog_label;
|
GtkWidget *dialog_label;
|
||||||
|
GtkWidget *content_area;
|
||||||
gchar *new_screen_name = NULL;
|
gchar *new_screen_name = NULL;
|
||||||
GdkDisplay *result = NULL;
|
GdkDisplay *result = NULL;
|
||||||
|
|
||||||
@@ -247,12 +248,14 @@ open_display_cb (GtkWidget *button,
|
|||||||
gtk_entry_set_activates_default (GTK_ENTRY (display_entry), TRUE);
|
gtk_entry_set_activates_default (GTK_ENTRY (display_entry), TRUE);
|
||||||
dialog_label =
|
dialog_label =
|
||||||
gtk_label_new ("Please enter the name of\nthe new display\n");
|
gtk_label_new ("Please enter the name of\nthe new display\n");
|
||||||
|
|
||||||
gtk_container_add (GTK_CONTAINER (GTK_DIALOG (dialog)->vbox), dialog_label);
|
content_area = gtk_dialog_get_content_area (GTK_DIALOG (dialog));
|
||||||
gtk_container_add (GTK_CONTAINER (GTK_DIALOG (dialog)->vbox), display_entry);
|
|
||||||
|
gtk_container_add (GTK_CONTAINER (content_area), dialog_label);
|
||||||
|
gtk_container_add (GTK_CONTAINER (content_area), display_entry);
|
||||||
|
|
||||||
gtk_widget_grab_focus (display_entry);
|
gtk_widget_grab_focus (display_entry);
|
||||||
gtk_widget_show_all (GTK_BIN (dialog)->child);
|
gtk_widget_show_all (gtk_bin_get_child (GTK_BIN (dialog)));
|
||||||
|
|
||||||
while (!result)
|
while (!result)
|
||||||
{
|
{
|
||||||
@@ -621,7 +624,7 @@ do_changedisplay (GtkWidget *do_widget)
|
|||||||
vbox = gtk_vbox_new (FALSE, 5);
|
vbox = gtk_vbox_new (FALSE, 5);
|
||||||
gtk_container_set_border_width (GTK_CONTAINER (vbox), 8);
|
gtk_container_set_border_width (GTK_CONTAINER (vbox), 8);
|
||||||
|
|
||||||
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (info->window)->vbox), vbox,
|
gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (info->window))), vbox,
|
||||||
TRUE, TRUE, 0);
|
TRUE, TRUE, 0);
|
||||||
|
|
||||||
frame = create_display_frame (info);
|
frame = create_display_frame (info);
|
||||||
|
|||||||
@@ -125,7 +125,7 @@ drag_data_received (GtkWidget *widget,
|
|||||||
{
|
{
|
||||||
GdkPixbuf *pixbuf;
|
GdkPixbuf *pixbuf;
|
||||||
|
|
||||||
if (selection_data->length > 0)
|
if (gtk_selection_data_get_length (selection_data) > 0)
|
||||||
{
|
{
|
||||||
pixbuf = gtk_selection_data_get_pixbuf (selection_data);
|
pixbuf = gtk_selection_data_get_pixbuf (selection_data);
|
||||||
gtk_image_set_from_pixbuf (GTK_IMAGE (data), pixbuf);
|
gtk_image_set_from_pixbuf (GTK_IMAGE (data), pixbuf);
|
||||||
|
|||||||
@@ -19,17 +19,22 @@ expose_event_callback (GtkWidget *widget,
|
|||||||
GdkEventExpose *event,
|
GdkEventExpose *event,
|
||||||
gpointer data)
|
gpointer data)
|
||||||
{
|
{
|
||||||
if (widget->window)
|
GdkWindow *window = gtk_widget_get_window (widget);
|
||||||
|
|
||||||
|
if (window)
|
||||||
{
|
{
|
||||||
GtkStyle *style;
|
GtkStyle *style;
|
||||||
|
cairo_t *cr;
|
||||||
|
|
||||||
style = gtk_widget_get_style (widget);
|
style = gtk_widget_get_style (widget);
|
||||||
|
|
||||||
gdk_draw_rectangle (widget->window,
|
cr = gdk_cairo_create (window);
|
||||||
style->bg_gc[GTK_STATE_NORMAL],
|
|
||||||
TRUE,
|
gdk_cairo_set_source_color (cr, &style->bg[GTK_STATE_NORMAL]);
|
||||||
event->area.x, event->area.y,
|
gdk_cairo_rectangle (cr, &event->area);
|
||||||
event->area.width, event->area.height);
|
cairo_fill (cr);
|
||||||
|
|
||||||
|
cairo_destroy (cr);
|
||||||
}
|
}
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
@@ -47,7 +52,8 @@ change_color_callback (GtkWidget *button,
|
|||||||
|
|
||||||
gtk_window_set_transient_for (GTK_WINDOW (dialog), GTK_WINDOW (window));
|
gtk_window_set_transient_for (GTK_WINDOW (dialog), GTK_WINDOW (window));
|
||||||
|
|
||||||
colorsel = GTK_COLOR_SELECTION (GTK_COLOR_SELECTION_DIALOG (dialog)->colorsel);
|
colorsel =
|
||||||
|
GTK_COLOR_SELECTION (gtk_color_selection_dialog_get_color_selection (GTK_COLOR_SELECTION_DIALOG (dialog)));
|
||||||
|
|
||||||
gtk_color_selection_set_previous_color (colorsel, &color);
|
gtk_color_selection_set_previous_color (colorsel, &color);
|
||||||
gtk_color_selection_set_current_color (colorsel, &color);
|
gtk_color_selection_set_current_color (colorsel, &color);
|
||||||
|
|||||||
@@ -238,12 +238,12 @@ is_capital_sensitive (GtkCellLayout *cell_layout,
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
fill_combo_entry (GtkWidget *entry)
|
fill_combo_entry (GtkWidget *combo)
|
||||||
{
|
{
|
||||||
gtk_combo_box_append_text (GTK_COMBO_BOX (entry), "One");
|
gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (combo), "One");
|
||||||
gtk_combo_box_append_text (GTK_COMBO_BOX (entry), "Two");
|
gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (combo), "Two");
|
||||||
gtk_combo_box_append_text (GTK_COMBO_BOX (entry), "2\302\275");
|
gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (combo), "2\302\275");
|
||||||
gtk_combo_box_append_text (GTK_COMBO_BOX (entry), "Three");
|
gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (combo), "Three");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -428,14 +428,14 @@ do_combobox (GtkWidget *do_widget)
|
|||||||
gtk_container_set_border_width (GTK_CONTAINER (box), 5);
|
gtk_container_set_border_width (GTK_CONTAINER (box), 5);
|
||||||
gtk_container_add (GTK_CONTAINER (frame), box);
|
gtk_container_add (GTK_CONTAINER (frame), box);
|
||||||
|
|
||||||
combo = gtk_combo_box_entry_new_text ();
|
combo = gtk_combo_box_text_new_with_entry ();
|
||||||
fill_combo_entry (combo);
|
fill_combo_entry (combo);
|
||||||
gtk_container_add (GTK_CONTAINER (box), combo);
|
gtk_container_add (GTK_CONTAINER (box), combo);
|
||||||
|
|
||||||
entry = g_object_new (TYPE_MASK_ENTRY, NULL);
|
entry = g_object_new (TYPE_MASK_ENTRY, NULL);
|
||||||
MASK_ENTRY (entry)->mask = "^([0-9]*|One|Two|2\302\275|Three)$";
|
MASK_ENTRY (entry)->mask = "^([0-9]*|One|Two|2\302\275|Three)$";
|
||||||
|
|
||||||
gtk_container_remove (GTK_CONTAINER (combo), GTK_BIN (combo)->child);
|
gtk_container_remove (GTK_CONTAINER (combo), gtk_bin_get_child (GTK_BIN (combo)));
|
||||||
gtk_container_add (GTK_CONTAINER (combo), entry);
|
gtk_container_add (GTK_CONTAINER (combo), entry);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ interactive_dialog_clicked (GtkButton *button,
|
|||||||
|
|
||||||
hbox = gtk_hbox_new (FALSE, 8);
|
hbox = gtk_hbox_new (FALSE, 8);
|
||||||
gtk_container_set_border_width (GTK_CONTAINER (hbox), 8);
|
gtk_container_set_border_width (GTK_CONTAINER (hbox), 8);
|
||||||
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox), hbox, FALSE, FALSE, 0);
|
gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))), hbox, FALSE, FALSE, 0);
|
||||||
|
|
||||||
stock = gtk_image_new_from_stock (GTK_STOCK_DIALOG_QUESTION, GTK_ICON_SIZE_DIALOG);
|
stock = gtk_image_new_from_stock (GTK_STOCK_DIALOG_QUESTION, GTK_ICON_SIZE_DIALOG);
|
||||||
gtk_box_pack_start (GTK_BOX (hbox), stock, FALSE, FALSE, 0);
|
gtk_box_pack_start (GTK_BOX (hbox), stock, FALSE, FALSE, 0);
|
||||||
|
|||||||
@@ -17,52 +17,54 @@
|
|||||||
|
|
||||||
static GtkWidget *window = NULL;
|
static GtkWidget *window = NULL;
|
||||||
/* Pixmap for scribble area, to store current scribbles */
|
/* Pixmap for scribble area, to store current scribbles */
|
||||||
static GdkPixmap *pixmap = NULL;
|
static cairo_surface_t *surface = NULL;
|
||||||
|
|
||||||
/* Create a new pixmap of the appropriate size to store our scribbles */
|
/* Create a new surface of the appropriate size to store our scribbles */
|
||||||
static gboolean
|
static gboolean
|
||||||
scribble_configure_event (GtkWidget *widget,
|
scribble_configure_event (GtkWidget *widget,
|
||||||
GdkEventConfigure *event,
|
GdkEventConfigure *event,
|
||||||
gpointer data)
|
gpointer data)
|
||||||
{
|
{
|
||||||
if (pixmap)
|
cairo_t *cr;
|
||||||
g_object_unref (pixmap);
|
GtkAllocation allocation;
|
||||||
|
|
||||||
|
gtk_widget_get_allocation (widget, &allocation);
|
||||||
|
|
||||||
pixmap = gdk_pixmap_new (widget->window,
|
if (surface)
|
||||||
widget->allocation.width,
|
cairo_surface_destroy (surface);
|
||||||
widget->allocation.height,
|
|
||||||
-1);
|
|
||||||
|
|
||||||
/* Initialize the pixmap to white */
|
surface = gdk_window_create_similar_surface (gtk_widget_get_window (widget),
|
||||||
gdk_draw_rectangle (pixmap,
|
CAIRO_CONTENT_COLOR,
|
||||||
widget->style->white_gc,
|
allocation.width,
|
||||||
TRUE,
|
allocation.height);
|
||||||
0, 0,
|
|
||||||
widget->allocation.width,
|
/* Initialize the surface to white */
|
||||||
widget->allocation.height);
|
cr = cairo_create (surface);
|
||||||
|
|
||||||
|
cairo_set_source_rgb (cr, 1, 1, 1);
|
||||||
|
cairo_paint (cr);
|
||||||
|
|
||||||
|
cairo_destroy (cr);
|
||||||
|
|
||||||
/* We've handled the configure event, no need for further processing. */
|
/* We've handled the configure event, no need for further processing. */
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Redraw the screen from the pixmap */
|
/* Redraw the screen from the surface */
|
||||||
static gboolean
|
static gboolean
|
||||||
scribble_expose_event (GtkWidget *widget,
|
scribble_expose_event (GtkWidget *widget,
|
||||||
GdkEventExpose *event,
|
GdkEventExpose *event,
|
||||||
gpointer data)
|
gpointer data)
|
||||||
{
|
{
|
||||||
/* We use the "foreground GC" for the widget since it already exists,
|
cairo_t *cr;
|
||||||
* but honestly any GC would work. The only thing to worry about
|
|
||||||
* is whether the GC has an inappropriate clip region set.
|
|
||||||
*/
|
|
||||||
|
|
||||||
gdk_draw_drawable (widget->window,
|
cr = gdk_cairo_create (gtk_widget_get_window (widget));
|
||||||
widget->style->fg_gc[gtk_widget_get_state (widget)],
|
|
||||||
pixmap,
|
cairo_set_source_surface (cr, surface, 0, 0);
|
||||||
/* Only copy the area that was exposed. */
|
gdk_cairo_rectangle (cr, &event->area);
|
||||||
event->area.x, event->area.y,
|
cairo_fill (cr);
|
||||||
event->area.x, event->area.y,
|
|
||||||
event->area.width, event->area.height);
|
cairo_destroy (cr);
|
||||||
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
@@ -74,21 +76,23 @@ draw_brush (GtkWidget *widget,
|
|||||||
gdouble y)
|
gdouble y)
|
||||||
{
|
{
|
||||||
GdkRectangle update_rect;
|
GdkRectangle update_rect;
|
||||||
|
cairo_t *cr;
|
||||||
|
|
||||||
update_rect.x = x - 3;
|
update_rect.x = x - 3;
|
||||||
update_rect.y = y - 3;
|
update_rect.y = y - 3;
|
||||||
update_rect.width = 6;
|
update_rect.width = 6;
|
||||||
update_rect.height = 6;
|
update_rect.height = 6;
|
||||||
|
|
||||||
/* Paint to the pixmap, where we store our state */
|
/* Paint to the surface, where we store our state */
|
||||||
gdk_draw_rectangle (pixmap,
|
cr = cairo_create (surface);
|
||||||
widget->style->black_gc,
|
|
||||||
TRUE,
|
gdk_cairo_rectangle (cr, &update_rect);
|
||||||
update_rect.x, update_rect.y,
|
cairo_fill (cr);
|
||||||
update_rect.width, update_rect.height);
|
|
||||||
|
cairo_destroy (cr);
|
||||||
|
|
||||||
/* Now invalidate the affected region of the drawing area. */
|
/* Now invalidate the affected region of the drawing area. */
|
||||||
gdk_window_invalidate_rect (widget->window,
|
gdk_window_invalidate_rect (gtk_widget_get_window (widget),
|
||||||
&update_rect,
|
&update_rect,
|
||||||
FALSE);
|
FALSE);
|
||||||
}
|
}
|
||||||
@@ -98,7 +102,7 @@ scribble_button_press_event (GtkWidget *widget,
|
|||||||
GdkEventButton *event,
|
GdkEventButton *event,
|
||||||
gpointer data)
|
gpointer data)
|
||||||
{
|
{
|
||||||
if (pixmap == NULL)
|
if (surface == NULL)
|
||||||
return FALSE; /* paranoia check, in case we haven't gotten a configure event */
|
return FALSE; /* paranoia check, in case we haven't gotten a configure event */
|
||||||
|
|
||||||
if (event->button == 1)
|
if (event->button == 1)
|
||||||
@@ -116,7 +120,7 @@ scribble_motion_notify_event (GtkWidget *widget,
|
|||||||
int x, y;
|
int x, y;
|
||||||
GdkModifierType state;
|
GdkModifierType state;
|
||||||
|
|
||||||
if (pixmap == NULL)
|
if (surface == NULL)
|
||||||
return FALSE; /* paranoia check, in case we haven't gotten a configure event */
|
return FALSE; /* paranoia check, in case we haven't gotten a configure event */
|
||||||
|
|
||||||
/* This call is very important; it requests the next motion event.
|
/* This call is very important; it requests the next motion event.
|
||||||
@@ -146,8 +150,10 @@ checkerboard_expose (GtkWidget *da,
|
|||||||
gpointer data)
|
gpointer data)
|
||||||
{
|
{
|
||||||
gint i, j, xcount, ycount;
|
gint i, j, xcount, ycount;
|
||||||
GdkGC *gc1, *gc2;
|
cairo_t *cr;
|
||||||
GdkColor color;
|
GtkAllocation allocation;
|
||||||
|
|
||||||
|
gtk_widget_get_allocation (da, &allocation);
|
||||||
|
|
||||||
#define CHECK_SIZE 10
|
#define CHECK_SIZE 10
|
||||||
#define SPACING 2
|
#define SPACING 2
|
||||||
@@ -159,47 +165,29 @@ checkerboard_expose (GtkWidget *da,
|
|||||||
* works.
|
* works.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* It would be a bit more efficient to keep these
|
cr = gdk_cairo_create (gtk_widget_get_window (da));
|
||||||
* GC's around instead of recreating on each expose, but
|
gdk_cairo_rectangle (cr, &event->area);
|
||||||
* this is the lazy/slow way.
|
cairo_clip (cr);
|
||||||
*/
|
|
||||||
gc1 = gdk_gc_new (da->window);
|
|
||||||
color.red = 30000;
|
|
||||||
color.green = 0;
|
|
||||||
color.blue = 30000;
|
|
||||||
gdk_gc_set_rgb_fg_color (gc1, &color);
|
|
||||||
|
|
||||||
gc2 = gdk_gc_new (da->window);
|
|
||||||
color.red = 65535;
|
|
||||||
color.green = 65535;
|
|
||||||
color.blue = 65535;
|
|
||||||
gdk_gc_set_rgb_fg_color (gc2, &color);
|
|
||||||
|
|
||||||
xcount = 0;
|
xcount = 0;
|
||||||
i = SPACING;
|
i = SPACING;
|
||||||
while (i < da->allocation.width)
|
while (i < allocation.width)
|
||||||
{
|
{
|
||||||
j = SPACING;
|
j = SPACING;
|
||||||
ycount = xcount % 2; /* start with even/odd depending on row */
|
ycount = xcount % 2; /* start with even/odd depending on row */
|
||||||
while (j < da->allocation.height)
|
while (j < allocation.height)
|
||||||
{
|
{
|
||||||
GdkGC *gc;
|
|
||||||
|
|
||||||
if (ycount % 2)
|
if (ycount % 2)
|
||||||
gc = gc1;
|
cairo_set_source_rgb (cr, 0.45777, 0, 0.45777);
|
||||||
else
|
else
|
||||||
gc = gc2;
|
cairo_set_source_rgb (cr, 1, 1, 1);
|
||||||
|
|
||||||
/* If we're outside event->area, this will do nothing.
|
/* If we're outside event->area, this will do nothing.
|
||||||
* It might be mildly more efficient if we handled
|
* It might be mildly more efficient if we handled
|
||||||
* the clipping ourselves, but again we're feeling lazy.
|
* the clipping ourselves, but again we're feeling lazy.
|
||||||
*/
|
*/
|
||||||
gdk_draw_rectangle (da->window,
|
cairo_rectangle (cr, i, j, CHECK_SIZE, CHECK_SIZE);
|
||||||
gc,
|
cairo_fill (cr);
|
||||||
TRUE,
|
|
||||||
i, j,
|
|
||||||
CHECK_SIZE,
|
|
||||||
CHECK_SIZE);
|
|
||||||
|
|
||||||
j += CHECK_SIZE + SPACING;
|
j += CHECK_SIZE + SPACING;
|
||||||
++ycount;
|
++ycount;
|
||||||
@@ -209,8 +197,7 @@ checkerboard_expose (GtkWidget *da,
|
|||||||
++xcount;
|
++xcount;
|
||||||
}
|
}
|
||||||
|
|
||||||
g_object_unref (gc1);
|
cairo_destroy (cr);
|
||||||
g_object_unref (gc2);
|
|
||||||
|
|
||||||
/* return TRUE because we've handled this event, so no
|
/* return TRUE because we've handled this event, so no
|
||||||
* further processing is required.
|
* further processing is required.
|
||||||
@@ -223,9 +210,9 @@ close_window (void)
|
|||||||
{
|
{
|
||||||
window = NULL;
|
window = NULL;
|
||||||
|
|
||||||
if (pixmap)
|
if (surface)
|
||||||
g_object_unref (pixmap);
|
cairo_surface_destroy (surface);
|
||||||
pixmap = NULL;
|
surface = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
GtkWidget *
|
GtkWidget *
|
||||||
@@ -292,7 +279,7 @@ do_drawingarea (GtkWidget *do_widget)
|
|||||||
|
|
||||||
gtk_container_add (GTK_CONTAINER (frame), da);
|
gtk_container_add (GTK_CONTAINER (frame), da);
|
||||||
|
|
||||||
/* Signals used to handle backing pixmap */
|
/* Signals used to handle backing surface */
|
||||||
|
|
||||||
g_signal_connect (da, "expose-event",
|
g_signal_connect (da, "expose-event",
|
||||||
G_CALLBACK (scribble_expose_event), NULL);
|
G_CALLBACK (scribble_expose_event), NULL);
|
||||||
|
|||||||
@@ -48,27 +48,27 @@ add_items (void)
|
|||||||
g_return_if_fail (articles != NULL);
|
g_return_if_fail (articles != NULL);
|
||||||
|
|
||||||
foo.number = 3;
|
foo.number = 3;
|
||||||
foo.product = g_strdup ("bottles of coke");
|
foo.product = "bottles of coke";
|
||||||
foo.yummy = 20;
|
foo.yummy = 20;
|
||||||
g_array_append_vals (articles, &foo, 1);
|
g_array_append_vals (articles, &foo, 1);
|
||||||
|
|
||||||
foo.number = 5;
|
foo.number = 5;
|
||||||
foo.product = g_strdup ("packages of noodles");
|
foo.product = "packages of noodles";
|
||||||
foo.yummy = 50;
|
foo.yummy = 50;
|
||||||
g_array_append_vals (articles, &foo, 1);
|
g_array_append_vals (articles, &foo, 1);
|
||||||
|
|
||||||
foo.number = 2;
|
foo.number = 2;
|
||||||
foo.product = g_strdup ("packages of chocolate chip cookies");
|
foo.product = "packages of chocolate chip cookies";
|
||||||
foo.yummy = 90;
|
foo.yummy = 90;
|
||||||
g_array_append_vals (articles, &foo, 1);
|
g_array_append_vals (articles, &foo, 1);
|
||||||
|
|
||||||
foo.number = 1;
|
foo.number = 1;
|
||||||
foo.product = g_strdup ("can vanilla ice cream");
|
foo.product = "can vanilla ice cream";
|
||||||
foo.yummy = 60;
|
foo.yummy = 60;
|
||||||
g_array_append_vals (articles, &foo, 1);
|
g_array_append_vals (articles, &foo, 1);
|
||||||
|
|
||||||
foo.number = 6;
|
foo.number = 6;
|
||||||
foo.product = g_strdup ("eggs");
|
foo.product = "eggs";
|
||||||
foo.yummy = 10;
|
foo.yummy = 10;
|
||||||
g_array_append_vals (articles, &foo, 1);
|
g_array_append_vals (articles, &foo, 1);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ do_entry_buffer (GtkWidget *do_widget)
|
|||||||
G_CALLBACK (gtk_widget_destroyed), &window);
|
G_CALLBACK (gtk_widget_destroyed), &window);
|
||||||
|
|
||||||
vbox = gtk_vbox_new (FALSE, 5);
|
vbox = gtk_vbox_new (FALSE, 5);
|
||||||
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (window)->vbox), vbox, TRUE, TRUE, 0);
|
gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (window))), vbox, TRUE, TRUE, 0);
|
||||||
gtk_container_set_border_width (GTK_CONTAINER (vbox), 5);
|
gtk_container_set_border_width (GTK_CONTAINER (vbox), 5);
|
||||||
|
|
||||||
label = gtk_label_new (NULL);
|
label = gtk_label_new (NULL);
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ do_entry_completion (GtkWidget *do_widget)
|
|||||||
G_CALLBACK (gtk_widget_destroyed), &window);
|
G_CALLBACK (gtk_widget_destroyed), &window);
|
||||||
|
|
||||||
vbox = gtk_vbox_new (FALSE, 5);
|
vbox = gtk_vbox_new (FALSE, 5);
|
||||||
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (window)->vbox), vbox, TRUE, TRUE, 0);
|
gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (window))), vbox, TRUE, TRUE, 0);
|
||||||
gtk_container_set_border_width (GTK_CONTAINER (vbox), 5);
|
gtk_container_set_border_width (GTK_CONTAINER (vbox), 5);
|
||||||
|
|
||||||
label = gtk_label_new (NULL);
|
label = gtk_label_new (NULL);
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ do_expander (GtkWidget *do_widget)
|
|||||||
G_CALLBACK (gtk_widget_destroyed), &window);
|
G_CALLBACK (gtk_widget_destroyed), &window);
|
||||||
|
|
||||||
vbox = gtk_vbox_new (FALSE, 5);
|
vbox = gtk_vbox_new (FALSE, 5);
|
||||||
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (window)->vbox), vbox, TRUE, TRUE, 0);
|
gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (window))), vbox, TRUE, TRUE, 0);
|
||||||
gtk_container_set_border_width (GTK_CONTAINER (vbox), 5);
|
gtk_container_set_border_width (GTK_CONTAINER (vbox), 5);
|
||||||
|
|
||||||
label = gtk_label_new ("Expander demo. Click on the triangle for details.");
|
label = gtk_label_new ("Expander demo. Click on the triangle for details.");
|
||||||
|
|||||||
@@ -225,7 +225,7 @@ motion_notify_event (GtkWidget *text_view,
|
|||||||
|
|
||||||
set_cursor_if_appropriate (GTK_TEXT_VIEW (text_view), x, y);
|
set_cursor_if_appropriate (GTK_TEXT_VIEW (text_view), x, y);
|
||||||
|
|
||||||
gdk_window_get_pointer (text_view->window, NULL, NULL, NULL);
|
gdk_window_get_pointer (gtk_widget_get_window (text_view), NULL, NULL, NULL);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -238,7 +238,7 @@ visibility_notify_event (GtkWidget *text_view,
|
|||||||
{
|
{
|
||||||
gint wx, wy, bx, by;
|
gint wx, wy, bx, by;
|
||||||
|
|
||||||
gdk_window_get_pointer (text_view->window, &wx, &wy, NULL);
|
gdk_window_get_pointer (gtk_widget_get_window (text_view), &wx, &wy, NULL);
|
||||||
|
|
||||||
gtk_text_view_window_to_buffer_coords (GTK_TEXT_VIEW (text_view),
|
gtk_text_view_window_to_buffer_coords (GTK_TEXT_VIEW (text_view),
|
||||||
GTK_TEXT_WINDOW_WIDGET,
|
GTK_TEXT_WINDOW_WIDGET,
|
||||||
|
|||||||
@@ -105,6 +105,7 @@ fill_store (GtkListStore *store)
|
|||||||
|
|
||||||
name = g_dir_read_name (dir);
|
name = g_dir_read_name (dir);
|
||||||
}
|
}
|
||||||
|
g_dir_close (dir);
|
||||||
}
|
}
|
||||||
|
|
||||||
static gint
|
static gint
|
||||||
|
|||||||
@@ -942,7 +942,7 @@ main (int argc, char **argv)
|
|||||||
G_FILE_TEST_EXISTS))
|
G_FILE_TEST_EXISTS))
|
||||||
{
|
{
|
||||||
g_setenv ("GDK_PIXBUF_MODULE_FILE", "../../gdk-pixbuf/gdk-pixbuf.loaders", TRUE);
|
g_setenv ("GDK_PIXBUF_MODULE_FILE", "../../gdk-pixbuf/gdk-pixbuf.loaders", TRUE);
|
||||||
g_setenv ("GTK_IM_MODULE_FILE", "../../modules/input/gtk.immodules", TRUE);
|
g_setenv ("GTK_IM_MODULE_FILE", "../../modules/input/immodules.cache", TRUE);
|
||||||
}
|
}
|
||||||
/* -- End of hack -- */
|
/* -- End of hack -- */
|
||||||
|
|
||||||
|
|||||||
@@ -74,7 +74,7 @@ to_child (GtkRotatedBin *bin,
|
|||||||
|
|
||||||
s = sin (bin->angle);
|
s = sin (bin->angle);
|
||||||
c = cos (bin->angle);
|
c = cos (bin->angle);
|
||||||
child_area = bin->child->allocation;
|
gtk_widget_get_allocation (bin->child, &child_area);
|
||||||
|
|
||||||
w = c * child_area.width + s * child_area.height;
|
w = c * child_area.width + s * child_area.height;
|
||||||
h = s * child_area.width + c * child_area.height;
|
h = s * child_area.width + c * child_area.height;
|
||||||
@@ -114,7 +114,7 @@ to_parent (GtkRotatedBin *bin,
|
|||||||
|
|
||||||
s = sin (bin->angle);
|
s = sin (bin->angle);
|
||||||
c = cos (bin->angle);
|
c = cos (bin->angle);
|
||||||
child_area = bin->child->allocation;
|
gtk_widget_get_allocation (bin->child, &child_area);
|
||||||
|
|
||||||
w = c * child_area.width + s * child_area.height;
|
w = c * child_area.width + s * child_area.height;
|
||||||
h = s * child_area.width + c * child_area.height;
|
h = s * child_area.width + c * child_area.height;
|
||||||
@@ -188,7 +188,7 @@ pick_offscreen_child (GdkWindow *offscreen_window,
|
|||||||
{
|
{
|
||||||
to_child (bin, widget_x, widget_y, &x, &y);
|
to_child (bin, widget_x, widget_y, &x, &y);
|
||||||
|
|
||||||
child_area = bin->child->allocation;
|
gtk_widget_get_allocation (bin->child, &child_area);
|
||||||
|
|
||||||
if (x >= 0 && x < child_area.width &&
|
if (x >= 0 && x < child_area.width &&
|
||||||
y >= 0 && y < child_area.height)
|
y >= 0 && y < child_area.height)
|
||||||
@@ -224,19 +224,23 @@ static void
|
|||||||
gtk_rotated_bin_realize (GtkWidget *widget)
|
gtk_rotated_bin_realize (GtkWidget *widget)
|
||||||
{
|
{
|
||||||
GtkRotatedBin *bin = GTK_ROTATED_BIN (widget);
|
GtkRotatedBin *bin = GTK_ROTATED_BIN (widget);
|
||||||
|
GdkWindow *gdk_window;
|
||||||
GdkWindowAttr attributes;
|
GdkWindowAttr attributes;
|
||||||
gint attributes_mask;
|
gint attributes_mask;
|
||||||
gint border_width;
|
gint border_width;
|
||||||
GtkRequisition child_requisition;
|
GtkRequisition child_requisition;
|
||||||
|
GtkAllocation widget_allocation, bin_child_allocation;
|
||||||
|
GtkStyle *style;
|
||||||
|
|
||||||
gtk_widget_set_realized (widget, TRUE);
|
gtk_widget_set_realized (widget, TRUE);
|
||||||
|
|
||||||
border_width = GTK_CONTAINER (widget)->border_width;
|
border_width = gtk_container_get_border_width (GTK_CONTAINER (widget));
|
||||||
|
gtk_widget_get_allocation (widget, &widget_allocation);
|
||||||
|
|
||||||
attributes.x = widget->allocation.x + border_width;
|
attributes.x = widget_allocation.x + border_width;
|
||||||
attributes.y = widget->allocation.y + border_width;
|
attributes.y = widget_allocation.y + border_width;
|
||||||
attributes.width = widget->allocation.width - 2 * border_width;
|
attributes.width = widget_allocation.width - 2 * border_width;
|
||||||
attributes.height = widget->allocation.height - 2 * border_width;
|
attributes.height = widget_allocation.height - 2 * border_width;
|
||||||
attributes.window_type = GDK_WINDOW_CHILD;
|
attributes.window_type = GDK_WINDOW_CHILD;
|
||||||
attributes.event_mask = gtk_widget_get_events (widget)
|
attributes.event_mask = gtk_widget_get_events (widget)
|
||||||
| GDK_EXPOSURE_MASK
|
| GDK_EXPOSURE_MASK
|
||||||
@@ -252,11 +256,11 @@ gtk_rotated_bin_realize (GtkWidget *widget)
|
|||||||
attributes.wclass = GDK_INPUT_OUTPUT;
|
attributes.wclass = GDK_INPUT_OUTPUT;
|
||||||
|
|
||||||
attributes_mask = GDK_WA_X | GDK_WA_Y | GDK_WA_VISUAL | GDK_WA_COLORMAP;
|
attributes_mask = GDK_WA_X | GDK_WA_Y | GDK_WA_VISUAL | GDK_WA_COLORMAP;
|
||||||
|
|
||||||
widget->window = gdk_window_new (gtk_widget_get_parent_window (widget),
|
gdk_window = gdk_window_new (gtk_widget_get_parent_window (widget), &attributes, attributes_mask);
|
||||||
&attributes, attributes_mask);
|
gtk_widget_set_window (widget, gdk_window);
|
||||||
gdk_window_set_user_data (widget->window, widget);
|
gdk_window_set_user_data (gdk_window, widget);
|
||||||
g_signal_connect (widget->window, "pick-embedded-child",
|
g_signal_connect (gdk_window, "pick-embedded-child",
|
||||||
G_CALLBACK (pick_offscreen_child), bin);
|
G_CALLBACK (pick_offscreen_child), bin);
|
||||||
|
|
||||||
attributes.window_type = GDK_WINDOW_OFFSCREEN;
|
attributes.window_type = GDK_WINDOW_OFFSCREEN;
|
||||||
@@ -264,24 +268,25 @@ gtk_rotated_bin_realize (GtkWidget *widget)
|
|||||||
child_requisition.width = child_requisition.height = 0;
|
child_requisition.width = child_requisition.height = 0;
|
||||||
if (bin->child && gtk_widget_get_visible (bin->child))
|
if (bin->child && gtk_widget_get_visible (bin->child))
|
||||||
{
|
{
|
||||||
attributes.width = bin->child->allocation.width;
|
gtk_widget_get_allocation (bin->child, &bin_child_allocation);
|
||||||
attributes.height = bin->child->allocation.height;
|
attributes.width = bin_child_allocation.width;
|
||||||
|
attributes.height = bin_child_allocation.height;
|
||||||
}
|
}
|
||||||
bin->offscreen_window = gdk_window_new (gtk_widget_get_root_window (widget),
|
bin->offscreen_window = gdk_window_new (gtk_widget_get_root_window (widget),
|
||||||
&attributes, attributes_mask);
|
&attributes, attributes_mask);
|
||||||
gdk_window_set_user_data (bin->offscreen_window, widget);
|
gdk_window_set_user_data (bin->offscreen_window, widget);
|
||||||
if (bin->child)
|
if (bin->child)
|
||||||
gtk_widget_set_parent_window (bin->child, bin->offscreen_window);
|
gtk_widget_set_parent_window (bin->child, bin->offscreen_window);
|
||||||
gdk_offscreen_window_set_embedder (bin->offscreen_window, widget->window);
|
gdk_offscreen_window_set_embedder (bin->offscreen_window, gtk_widget_get_window (widget));
|
||||||
g_signal_connect (bin->offscreen_window, "to-embedder",
|
g_signal_connect (bin->offscreen_window, "to-embedder",
|
||||||
G_CALLBACK (offscreen_window_to_parent), bin);
|
G_CALLBACK (offscreen_window_to_parent), bin);
|
||||||
g_signal_connect (bin->offscreen_window, "from-embedder",
|
g_signal_connect (bin->offscreen_window, "from-embedder",
|
||||||
G_CALLBACK (offscreen_window_from_parent), bin);
|
G_CALLBACK (offscreen_window_from_parent), bin);
|
||||||
|
|
||||||
widget->style = gtk_style_attach (widget->style, widget->window);
|
gtk_widget_style_attach (widget);
|
||||||
|
style = gtk_widget_get_style (widget);
|
||||||
gtk_style_set_background (widget->style, widget->window, GTK_STATE_NORMAL);
|
gtk_style_set_background (style, gdk_window, GTK_STATE_NORMAL);
|
||||||
gtk_style_set_background (widget->style, bin->offscreen_window, GTK_STATE_NORMAL);
|
gtk_style_set_background (style, bin->offscreen_window, GTK_STATE_NORMAL);
|
||||||
gdk_window_show (bin->offscreen_window);
|
gdk_window_show (bin->offscreen_window);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -376,9 +381,12 @@ gtk_rotated_bin_size_request (GtkWidget *widget,
|
|||||||
{
|
{
|
||||||
GtkRotatedBin *bin = GTK_ROTATED_BIN (widget);
|
GtkRotatedBin *bin = GTK_ROTATED_BIN (widget);
|
||||||
GtkRequisition child_requisition;
|
GtkRequisition child_requisition;
|
||||||
|
gint border_width;
|
||||||
double s, c;
|
double s, c;
|
||||||
double w, h;
|
double w, h;
|
||||||
|
|
||||||
|
border_width = gtk_container_get_border_width (GTK_CONTAINER (widget));
|
||||||
|
|
||||||
child_requisition.width = 0;
|
child_requisition.width = 0;
|
||||||
child_requisition.height = 0;
|
child_requisition.height = 0;
|
||||||
|
|
||||||
@@ -390,8 +398,8 @@ gtk_rotated_bin_size_request (GtkWidget *widget,
|
|||||||
w = c * child_requisition.width + s * child_requisition.height;
|
w = c * child_requisition.width + s * child_requisition.height;
|
||||||
h = s * child_requisition.width + c * child_requisition.height;
|
h = s * child_requisition.width + c * child_requisition.height;
|
||||||
|
|
||||||
requisition->width = GTK_CONTAINER (widget)->border_width * 2 + w;
|
requisition->width = border_width * 2 + w;
|
||||||
requisition->height = GTK_CONTAINER (widget)->border_width * 2 + h;
|
requisition->height = border_width * 2 + h;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@@ -403,15 +411,15 @@ gtk_rotated_bin_size_allocate (GtkWidget *widget,
|
|||||||
gint w, h;
|
gint w, h;
|
||||||
gdouble s, c;
|
gdouble s, c;
|
||||||
|
|
||||||
widget->allocation = *allocation;
|
gtk_widget_set_allocation (widget, allocation);
|
||||||
|
|
||||||
border_width = GTK_CONTAINER (widget)->border_width;
|
border_width = gtk_container_get_border_width (GTK_CONTAINER (widget));
|
||||||
|
|
||||||
w = allocation->width - border_width * 2;
|
w = allocation->width - border_width * 2;
|
||||||
h = allocation->height - border_width * 2;
|
h = allocation->height - border_width * 2;
|
||||||
|
|
||||||
if (gtk_widget_get_realized (widget))
|
if (gtk_widget_get_realized (widget))
|
||||||
gdk_window_move_resize (widget->window,
|
gdk_window_move_resize (gtk_widget_get_window (widget),
|
||||||
allocation->x + border_width,
|
allocation->x + border_width,
|
||||||
allocation->y + border_width,
|
allocation->y + border_width,
|
||||||
w, h);
|
w, h);
|
||||||
@@ -452,7 +460,7 @@ static gboolean
|
|||||||
gtk_rotated_bin_damage (GtkWidget *widget,
|
gtk_rotated_bin_damage (GtkWidget *widget,
|
||||||
GdkEventExpose *event)
|
GdkEventExpose *event)
|
||||||
{
|
{
|
||||||
gdk_window_invalidate_rect (widget->window, NULL, FALSE);
|
gdk_window_invalidate_rect (gtk_widget_get_window (widget), NULL, FALSE);
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
@@ -468,7 +476,7 @@ gtk_rotated_bin_expose (GtkWidget *widget,
|
|||||||
|
|
||||||
if (gtk_widget_is_drawable (widget))
|
if (gtk_widget_is_drawable (widget))
|
||||||
{
|
{
|
||||||
if (event->window == widget->window)
|
if (event->window == gtk_widget_get_window (widget))
|
||||||
{
|
{
|
||||||
GdkPixmap *pixmap;
|
GdkPixmap *pixmap;
|
||||||
GtkAllocation child_area;
|
GtkAllocation child_area;
|
||||||
@@ -477,9 +485,9 @@ gtk_rotated_bin_expose (GtkWidget *widget,
|
|||||||
if (bin->child && gtk_widget_get_visible (bin->child))
|
if (bin->child && gtk_widget_get_visible (bin->child))
|
||||||
{
|
{
|
||||||
pixmap = gdk_offscreen_window_get_pixmap (bin->offscreen_window);
|
pixmap = gdk_offscreen_window_get_pixmap (bin->offscreen_window);
|
||||||
child_area = bin->child->allocation;
|
gtk_widget_get_allocation (bin->child, &child_area);
|
||||||
|
|
||||||
cr = gdk_cairo_create (widget->window);
|
cr = gdk_cairo_create (gtk_widget_get_window (widget));
|
||||||
|
|
||||||
/* transform */
|
/* transform */
|
||||||
s = sin (bin->angle);
|
s = sin (bin->angle);
|
||||||
@@ -493,7 +501,7 @@ gtk_rotated_bin_expose (GtkWidget *widget,
|
|||||||
cairo_translate (cr, -child_area.width / 2, -child_area.height / 2);
|
cairo_translate (cr, -child_area.width / 2, -child_area.height / 2);
|
||||||
|
|
||||||
/* clip */
|
/* clip */
|
||||||
gdk_drawable_get_size (pixmap, &width, &height);
|
gdk_pixmap_get_size (pixmap, &width, &height);
|
||||||
cairo_rectangle (cr, 0, 0, width, height);
|
cairo_rectangle (cr, 0, 0, width, height);
|
||||||
cairo_clip (cr);
|
cairo_clip (cr);
|
||||||
/* paint */
|
/* paint */
|
||||||
@@ -505,7 +513,7 @@ gtk_rotated_bin_expose (GtkWidget *widget,
|
|||||||
}
|
}
|
||||||
else if (event->window == bin->offscreen_window)
|
else if (event->window == bin->offscreen_window)
|
||||||
{
|
{
|
||||||
gtk_paint_flat_box (widget->style, event->window,
|
gtk_paint_flat_box (gtk_widget_get_style (widget), event->window,
|
||||||
GTK_STATE_NORMAL, GTK_SHADOW_NONE,
|
GTK_STATE_NORMAL, GTK_SHADOW_NONE,
|
||||||
&event->area, widget, "blah",
|
&event->area, widget, "blah",
|
||||||
0, 0, -1, -1);
|
0, 0, -1, -1);
|
||||||
|
|||||||
@@ -126,7 +126,7 @@ pick_offscreen_child (GdkWindow *offscreen_window,
|
|||||||
{
|
{
|
||||||
to_child (bin, widget_x, widget_y, &x, &y);
|
to_child (bin, widget_x, widget_y, &x, &y);
|
||||||
|
|
||||||
child_area = bin->child->allocation;
|
gtk_widget_get_allocation (bin->child, &child_area);
|
||||||
|
|
||||||
if (x >= 0 && x < child_area.width &&
|
if (x >= 0 && x < child_area.width &&
|
||||||
y >= 0 && y < child_area.height)
|
y >= 0 && y < child_area.height)
|
||||||
@@ -163,18 +163,22 @@ gtk_mirror_bin_realize (GtkWidget *widget)
|
|||||||
{
|
{
|
||||||
GtkMirrorBin *bin = GTK_MIRROR_BIN (widget);
|
GtkMirrorBin *bin = GTK_MIRROR_BIN (widget);
|
||||||
GdkWindowAttr attributes;
|
GdkWindowAttr attributes;
|
||||||
|
GdkWindow *gdk_window;
|
||||||
gint attributes_mask;
|
gint attributes_mask;
|
||||||
gint border_width;
|
gint border_width;
|
||||||
GtkRequisition child_requisition;
|
GtkRequisition child_requisition;
|
||||||
|
GtkAllocation widget_allocation, bin_child_allocation;
|
||||||
|
GtkStyle *style;
|
||||||
|
|
||||||
gtk_widget_set_realized (widget, TRUE);
|
gtk_widget_set_realized (widget, TRUE);
|
||||||
|
|
||||||
border_width = GTK_CONTAINER (widget)->border_width;
|
border_width = gtk_container_get_border_width (GTK_CONTAINER (widget));
|
||||||
|
gtk_widget_get_allocation (widget, &widget_allocation);
|
||||||
|
|
||||||
attributes.x = widget->allocation.x + border_width;
|
attributes.x = widget_allocation.x + border_width;
|
||||||
attributes.y = widget->allocation.y + border_width;
|
attributes.y = widget_allocation.y + border_width;
|
||||||
attributes.width = widget->allocation.width - 2 * border_width;
|
attributes.width = widget_allocation.width - 2 * border_width;
|
||||||
attributes.height = widget->allocation.height - 2 * border_width;
|
attributes.height = widget_allocation.height - 2 * border_width;
|
||||||
attributes.window_type = GDK_WINDOW_CHILD;
|
attributes.window_type = GDK_WINDOW_CHILD;
|
||||||
attributes.event_mask = gtk_widget_get_events (widget)
|
attributes.event_mask = gtk_widget_get_events (widget)
|
||||||
| GDK_EXPOSURE_MASK
|
| GDK_EXPOSURE_MASK
|
||||||
@@ -190,11 +194,12 @@ gtk_mirror_bin_realize (GtkWidget *widget)
|
|||||||
attributes.wclass = GDK_INPUT_OUTPUT;
|
attributes.wclass = GDK_INPUT_OUTPUT;
|
||||||
|
|
||||||
attributes_mask = GDK_WA_X | GDK_WA_Y | GDK_WA_VISUAL | GDK_WA_COLORMAP;
|
attributes_mask = GDK_WA_X | GDK_WA_Y | GDK_WA_VISUAL | GDK_WA_COLORMAP;
|
||||||
|
|
||||||
widget->window = gdk_window_new (gtk_widget_get_parent_window (widget),
|
gdk_window = gdk_window_new (gtk_widget_get_parent_window (widget),
|
||||||
&attributes, attributes_mask);
|
&attributes, attributes_mask);
|
||||||
gdk_window_set_user_data (widget->window, widget);
|
gtk_widget_set_window (widget, gdk_window);
|
||||||
g_signal_connect (widget->window, "pick-embedded-child",
|
gdk_window_set_user_data (gdk_window, widget);
|
||||||
|
g_signal_connect (gdk_window, "pick-embedded-child",
|
||||||
G_CALLBACK (pick_offscreen_child), bin);
|
G_CALLBACK (pick_offscreen_child), bin);
|
||||||
|
|
||||||
attributes.window_type = GDK_WINDOW_OFFSCREEN;
|
attributes.window_type = GDK_WINDOW_OFFSCREEN;
|
||||||
@@ -202,24 +207,25 @@ gtk_mirror_bin_realize (GtkWidget *widget)
|
|||||||
child_requisition.width = child_requisition.height = 0;
|
child_requisition.width = child_requisition.height = 0;
|
||||||
if (bin->child && gtk_widget_get_visible (bin->child))
|
if (bin->child && gtk_widget_get_visible (bin->child))
|
||||||
{
|
{
|
||||||
attributes.width = bin->child->allocation.width;
|
gtk_widget_get_allocation (bin->child, &bin_child_allocation);
|
||||||
attributes.height = bin->child->allocation.height;
|
attributes.width = bin_child_allocation.width;
|
||||||
|
attributes.height = bin_child_allocation.height;
|
||||||
}
|
}
|
||||||
bin->offscreen_window = gdk_window_new (gtk_widget_get_root_window (widget),
|
bin->offscreen_window = gdk_window_new (gtk_widget_get_root_window (widget),
|
||||||
&attributes, attributes_mask);
|
&attributes, attributes_mask);
|
||||||
gdk_window_set_user_data (bin->offscreen_window, widget);
|
gdk_window_set_user_data (bin->offscreen_window, widget);
|
||||||
if (bin->child)
|
if (bin->child)
|
||||||
gtk_widget_set_parent_window (bin->child, bin->offscreen_window);
|
gtk_widget_set_parent_window (bin->child, bin->offscreen_window);
|
||||||
gdk_offscreen_window_set_embedder (bin->offscreen_window, widget->window);
|
gdk_offscreen_window_set_embedder (bin->offscreen_window, gtk_widget_get_window (widget));
|
||||||
g_signal_connect (bin->offscreen_window, "to-embedder",
|
g_signal_connect (bin->offscreen_window, "to-embedder",
|
||||||
G_CALLBACK (offscreen_window_to_parent), bin);
|
G_CALLBACK (offscreen_window_to_parent), bin);
|
||||||
g_signal_connect (bin->offscreen_window, "from-embedder",
|
g_signal_connect (bin->offscreen_window, "from-embedder",
|
||||||
G_CALLBACK (offscreen_window_from_parent), bin);
|
G_CALLBACK (offscreen_window_from_parent), bin);
|
||||||
|
|
||||||
widget->style = gtk_style_attach (widget->style, widget->window);
|
gtk_widget_style_attach (widget);
|
||||||
|
style = gtk_widget_get_style (widget);
|
||||||
gtk_style_set_background (widget->style, widget->window, GTK_STATE_NORMAL);
|
gtk_style_set_background (style, gdk_window, GTK_STATE_NORMAL);
|
||||||
gtk_style_set_background (widget->style, bin->offscreen_window, GTK_STATE_NORMAL);
|
gtk_style_set_background (style, bin->offscreen_window, GTK_STATE_NORMAL);
|
||||||
gdk_window_show (bin->offscreen_window);
|
gdk_window_show (bin->offscreen_window);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -302,6 +308,9 @@ gtk_mirror_bin_size_request (GtkWidget *widget,
|
|||||||
{
|
{
|
||||||
GtkMirrorBin *bin = GTK_MIRROR_BIN (widget);
|
GtkMirrorBin *bin = GTK_MIRROR_BIN (widget);
|
||||||
GtkRequisition child_requisition;
|
GtkRequisition child_requisition;
|
||||||
|
gint border_width;
|
||||||
|
|
||||||
|
border_width = gtk_container_get_border_width (GTK_CONTAINER (widget));
|
||||||
|
|
||||||
child_requisition.width = 0;
|
child_requisition.width = 0;
|
||||||
child_requisition.height = 0;
|
child_requisition.height = 0;
|
||||||
@@ -309,8 +318,8 @@ gtk_mirror_bin_size_request (GtkWidget *widget,
|
|||||||
if (bin->child && gtk_widget_get_visible (bin->child))
|
if (bin->child && gtk_widget_get_visible (bin->child))
|
||||||
gtk_widget_size_request (bin->child, &child_requisition);
|
gtk_widget_size_request (bin->child, &child_requisition);
|
||||||
|
|
||||||
requisition->width = GTK_CONTAINER (widget)->border_width * 2 + child_requisition.width + 10;
|
requisition->width = border_width * 2 + child_requisition.width + 10;
|
||||||
requisition->height = GTK_CONTAINER (widget)->border_width * 2 + child_requisition.height * 2 + 10;
|
requisition->height = border_width * 2 + child_requisition.height * 2 + 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@@ -320,15 +329,16 @@ gtk_mirror_bin_size_allocate (GtkWidget *widget,
|
|||||||
GtkMirrorBin *bin = GTK_MIRROR_BIN (widget);
|
GtkMirrorBin *bin = GTK_MIRROR_BIN (widget);
|
||||||
gint border_width;
|
gint border_width;
|
||||||
gint w, h;
|
gint w, h;
|
||||||
widget->allocation = *allocation;
|
|
||||||
|
gtk_widget_set_allocation (widget, allocation);
|
||||||
|
|
||||||
border_width = GTK_CONTAINER (widget)->border_width;
|
border_width = gtk_container_get_border_width (GTK_CONTAINER (widget));
|
||||||
|
|
||||||
w = allocation->width - border_width * 2;
|
w = allocation->width - border_width * 2;
|
||||||
h = allocation->height - border_width * 2;
|
h = allocation->height - border_width * 2;
|
||||||
|
|
||||||
if (gtk_widget_get_realized (widget))
|
if (gtk_widget_get_realized (widget))
|
||||||
gdk_window_move_resize (widget->window,
|
gdk_window_move_resize (gtk_widget_get_window (widget),
|
||||||
allocation->x + border_width,
|
allocation->x + border_width,
|
||||||
allocation->y + border_width,
|
allocation->y + border_width,
|
||||||
w, h);
|
w, h);
|
||||||
@@ -357,7 +367,7 @@ static gboolean
|
|||||||
gtk_mirror_bin_damage (GtkWidget *widget,
|
gtk_mirror_bin_damage (GtkWidget *widget,
|
||||||
GdkEventExpose *event)
|
GdkEventExpose *event)
|
||||||
{
|
{
|
||||||
gdk_window_invalidate_rect (widget->window, NULL, FALSE);
|
gdk_window_invalidate_rect (gtk_widget_get_window (widget), NULL, FALSE);
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
@@ -371,7 +381,7 @@ gtk_mirror_bin_expose (GtkWidget *widget,
|
|||||||
|
|
||||||
if (gtk_widget_is_drawable (widget))
|
if (gtk_widget_is_drawable (widget))
|
||||||
{
|
{
|
||||||
if (event->window == widget->window)
|
if (event->window == gtk_widget_get_window (widget))
|
||||||
{
|
{
|
||||||
GdkPixmap *pixmap;
|
GdkPixmap *pixmap;
|
||||||
cairo_t *cr;
|
cairo_t *cr;
|
||||||
@@ -381,9 +391,9 @@ gtk_mirror_bin_expose (GtkWidget *widget,
|
|||||||
if (bin->child && gtk_widget_get_visible (bin->child))
|
if (bin->child && gtk_widget_get_visible (bin->child))
|
||||||
{
|
{
|
||||||
pixmap = gdk_offscreen_window_get_pixmap (bin->offscreen_window);
|
pixmap = gdk_offscreen_window_get_pixmap (bin->offscreen_window);
|
||||||
gdk_drawable_get_size (pixmap, &width, &height);
|
gdk_pixmap_get_size (pixmap, &width, &height);
|
||||||
|
|
||||||
cr = gdk_cairo_create (widget->window);
|
cr = gdk_cairo_create (gtk_widget_get_window (widget));
|
||||||
|
|
||||||
cairo_save (cr);
|
cairo_save (cr);
|
||||||
|
|
||||||
@@ -423,7 +433,7 @@ gtk_mirror_bin_expose (GtkWidget *widget,
|
|||||||
}
|
}
|
||||||
else if (event->window == bin->offscreen_window)
|
else if (event->window == bin->offscreen_window)
|
||||||
{
|
{
|
||||||
gtk_paint_flat_box (widget->style, event->window,
|
gtk_paint_flat_box (gtk_widget_get_style (widget), event->window,
|
||||||
GTK_STATE_NORMAL, GTK_SHADOW_NONE,
|
GTK_STATE_NORMAL, GTK_SHADOW_NONE,
|
||||||
&event->area, widget, "blah",
|
&event->area, widget, "blah",
|
||||||
0, 0, -1, -1);
|
0, 0, -1, -1);
|
||||||
|
|||||||
@@ -17,15 +17,14 @@ void
|
|||||||
toggle_resize (GtkWidget *widget,
|
toggle_resize (GtkWidget *widget,
|
||||||
GtkWidget *child)
|
GtkWidget *child)
|
||||||
{
|
{
|
||||||
GtkPaned *paned = GTK_PANED (child->parent);
|
GtkPaned *paned = GTK_PANED (gtk_widget_get_parent (child));
|
||||||
gboolean is_child1 = (child == paned->child1);
|
gboolean is_child1 = (child == gtk_paned_get_child1 (paned));
|
||||||
gboolean resize, shrink;
|
gboolean resize, shrink;
|
||||||
|
|
||||||
resize = is_child1 ? paned->child1_resize : paned->child2_resize;
|
gtk_container_child_get (GTK_CONTAINER (paned), child, "resize", &resize, "shrink", &shrink, NULL);
|
||||||
shrink = is_child1 ? paned->child1_shrink : paned->child2_shrink;
|
|
||||||
|
|
||||||
g_object_ref (child);
|
g_object_ref (child);
|
||||||
gtk_container_remove (GTK_CONTAINER (child->parent), child);
|
gtk_container_remove (GTK_CONTAINER (gtk_widget_get_parent (child)), child);
|
||||||
if (is_child1)
|
if (is_child1)
|
||||||
gtk_paned_pack1 (paned, child, !resize, shrink);
|
gtk_paned_pack1 (paned, child, !resize, shrink);
|
||||||
else
|
else
|
||||||
@@ -37,15 +36,14 @@ void
|
|||||||
toggle_shrink (GtkWidget *widget,
|
toggle_shrink (GtkWidget *widget,
|
||||||
GtkWidget *child)
|
GtkWidget *child)
|
||||||
{
|
{
|
||||||
GtkPaned *paned = GTK_PANED (child->parent);
|
GtkPaned *paned = GTK_PANED (gtk_widget_get_parent (child));
|
||||||
gboolean is_child1 = (child == paned->child1);
|
gboolean is_child1 = (child == gtk_paned_get_child1 (paned));
|
||||||
gboolean resize, shrink;
|
gboolean resize, shrink;
|
||||||
|
|
||||||
resize = is_child1 ? paned->child1_resize : paned->child2_resize;
|
gtk_container_child_get (GTK_CONTAINER (paned), child, "resize", &resize, "shrink", &shrink, NULL);
|
||||||
shrink = is_child1 ? paned->child1_shrink : paned->child2_shrink;
|
|
||||||
|
|
||||||
g_object_ref (child);
|
g_object_ref (child);
|
||||||
gtk_container_remove (GTK_CONTAINER (child->parent), child);
|
gtk_container_remove (GTK_CONTAINER (gtk_widget_get_parent (child)), child);
|
||||||
if (is_child1)
|
if (is_child1)
|
||||||
gtk_paned_pack1 (paned, child, resize, !shrink);
|
gtk_paned_pack1 (paned, child, resize, !shrink);
|
||||||
else
|
else
|
||||||
@@ -63,6 +61,11 @@ create_pane_options (GtkPaned *paned,
|
|||||||
GtkWidget *table;
|
GtkWidget *table;
|
||||||
GtkWidget *label;
|
GtkWidget *label;
|
||||||
GtkWidget *check_button;
|
GtkWidget *check_button;
|
||||||
|
GtkWidget *child1;
|
||||||
|
GtkWidget *child2;
|
||||||
|
|
||||||
|
child1 = gtk_paned_get_child1 (paned);
|
||||||
|
child2 = gtk_paned_get_child2 (paned);
|
||||||
|
|
||||||
frame = gtk_frame_new (frame_label);
|
frame = gtk_frame_new (frame_label);
|
||||||
gtk_container_set_border_width (GTK_CONTAINER (frame), 4);
|
gtk_container_set_border_width (GTK_CONTAINER (frame), 4);
|
||||||
@@ -78,7 +81,7 @@ create_pane_options (GtkPaned *paned,
|
|||||||
gtk_table_attach_defaults (GTK_TABLE (table), check_button,
|
gtk_table_attach_defaults (GTK_TABLE (table), check_button,
|
||||||
0, 1, 1, 2);
|
0, 1, 1, 2);
|
||||||
g_signal_connect (check_button, "toggled",
|
g_signal_connect (check_button, "toggled",
|
||||||
G_CALLBACK (toggle_resize), paned->child1);
|
G_CALLBACK (toggle_resize), child1);
|
||||||
|
|
||||||
check_button = gtk_check_button_new_with_mnemonic ("_Shrink");
|
check_button = gtk_check_button_new_with_mnemonic ("_Shrink");
|
||||||
gtk_table_attach_defaults (GTK_TABLE (table), check_button,
|
gtk_table_attach_defaults (GTK_TABLE (table), check_button,
|
||||||
@@ -86,7 +89,7 @@ create_pane_options (GtkPaned *paned,
|
|||||||
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (check_button),
|
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (check_button),
|
||||||
TRUE);
|
TRUE);
|
||||||
g_signal_connect (check_button, "toggled",
|
g_signal_connect (check_button, "toggled",
|
||||||
G_CALLBACK (toggle_shrink), paned->child1);
|
G_CALLBACK (toggle_shrink), child1);
|
||||||
|
|
||||||
label = gtk_label_new (label2);
|
label = gtk_label_new (label2);
|
||||||
gtk_table_attach_defaults (GTK_TABLE (table), label,
|
gtk_table_attach_defaults (GTK_TABLE (table), label,
|
||||||
@@ -98,7 +101,7 @@ create_pane_options (GtkPaned *paned,
|
|||||||
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (check_button),
|
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (check_button),
|
||||||
TRUE);
|
TRUE);
|
||||||
g_signal_connect (check_button, "toggled",
|
g_signal_connect (check_button, "toggled",
|
||||||
G_CALLBACK (toggle_resize), paned->child2);
|
G_CALLBACK (toggle_resize), child2);
|
||||||
|
|
||||||
check_button = gtk_check_button_new_with_mnemonic ("_Shrink");
|
check_button = gtk_check_button_new_with_mnemonic ("_Shrink");
|
||||||
gtk_table_attach_defaults (GTK_TABLE (table), check_button,
|
gtk_table_attach_defaults (GTK_TABLE (table), check_button,
|
||||||
@@ -106,7 +109,7 @@ create_pane_options (GtkPaned *paned,
|
|||||||
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (check_button),
|
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (check_button),
|
||||||
TRUE);
|
TRUE);
|
||||||
g_signal_connect (check_button, "toggled",
|
g_signal_connect (check_button, "toggled",
|
||||||
G_CALLBACK (toggle_shrink), paned->child2);
|
G_CALLBACK (toggle_shrink), child2);
|
||||||
|
|
||||||
return frame;
|
return frame;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -100,20 +100,15 @@ expose_cb (GtkWidget *widget,
|
|||||||
GdkEventExpose *event,
|
GdkEventExpose *event,
|
||||||
gpointer data)
|
gpointer data)
|
||||||
{
|
{
|
||||||
guchar *pixels;
|
cairo_t *cr;
|
||||||
int rowstride;
|
|
||||||
|
|
||||||
rowstride = gdk_pixbuf_get_rowstride (frame);
|
cr = gdk_cairo_create (event->window);
|
||||||
|
|
||||||
pixels = gdk_pixbuf_get_pixels (frame) + rowstride * event->area.y + event->area.x * 3;
|
gdk_cairo_set_source_pixbuf (cr, frame, 0, 0);
|
||||||
|
gdk_cairo_rectangle (cr, &event->area);
|
||||||
|
cairo_fill (cr);
|
||||||
|
|
||||||
gdk_draw_rgb_image_dithalign (widget->window,
|
cairo_destroy (cr);
|
||||||
widget->style->black_gc,
|
|
||||||
event->area.x, event->area.y,
|
|
||||||
event->area.width, event->area.height,
|
|
||||||
GDK_RGB_DITHER_NORMAL,
|
|
||||||
pixels, rowstride,
|
|
||||||
event->area.x, event->area.y);
|
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -107,17 +107,21 @@ rotated_text_expose_event (GtkWidget *widget,
|
|||||||
cairo_pattern_t *pattern;
|
cairo_pattern_t *pattern;
|
||||||
|
|
||||||
PangoAttrList *attrs;
|
PangoAttrList *attrs;
|
||||||
|
GtkAllocation allocation;
|
||||||
int width = widget->allocation.width;
|
int width, height;
|
||||||
int height = widget->allocation.height;
|
|
||||||
double device_radius;
|
double device_radius;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
gtk_widget_get_allocation (widget, &allocation);
|
||||||
|
|
||||||
|
width = allocation.width;
|
||||||
|
height = allocation.height;
|
||||||
|
|
||||||
/* Create a cairo context and set up a transformation matrix so that the user
|
/* Create a cairo context and set up a transformation matrix so that the user
|
||||||
* space coordinates for the centered square where we draw are [-RADIUS, RADIUS],
|
* space coordinates for the centered square where we draw are [-RADIUS, RADIUS],
|
||||||
* [-RADIUS, RADIUS].
|
* [-RADIUS, RADIUS].
|
||||||
* We first center, then change the scale. */
|
* We first center, then change the scale. */
|
||||||
cr = gdk_cairo_create (widget->window);
|
cr = gdk_cairo_create (gtk_widget_get_window (widget));
|
||||||
device_radius = MIN (width, height) / 2.;
|
device_radius = MIN (width, height) / 2.;
|
||||||
cairo_translate (cr,
|
cairo_translate (cr,
|
||||||
device_radius + (width - 2 * device_radius) / 2,
|
device_radius + (width - 2 * device_radius) / 2,
|
||||||
|
|||||||
@@ -264,7 +264,7 @@ do_search_entry (GtkWidget *do_widget)
|
|||||||
G_CALLBACK (search_entry_destroyed), &window);
|
G_CALLBACK (search_entry_destroyed), &window);
|
||||||
|
|
||||||
vbox = gtk_vbox_new (FALSE, 5);
|
vbox = gtk_vbox_new (FALSE, 5);
|
||||||
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (window)->vbox), vbox, TRUE, TRUE, 0);
|
gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (window))), vbox, TRUE, TRUE, 0);
|
||||||
gtk_container_set_border_width (GTK_CONTAINER (vbox), 5);
|
gtk_container_set_border_width (GTK_CONTAINER (vbox), 5);
|
||||||
|
|
||||||
label = gtk_label_new (NULL);
|
label = gtk_label_new (NULL);
|
||||||
|
|||||||
@@ -25,10 +25,10 @@ create_combo_box (const char **strings)
|
|||||||
GtkWidget *combo_box;
|
GtkWidget *combo_box;
|
||||||
const char **str;
|
const char **str;
|
||||||
|
|
||||||
combo_box = gtk_combo_box_new_text ();
|
combo_box = gtk_combo_box_text_new ();
|
||||||
|
|
||||||
for (str = strings; *str; str++)
|
for (str = strings; *str; str++)
|
||||||
gtk_combo_box_append_text (GTK_COMBO_BOX (combo_box), *str);
|
gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (combo_box), *str);
|
||||||
|
|
||||||
gtk_combo_box_set_active (GTK_COMBO_BOX (combo_box), 0);
|
gtk_combo_box_set_active (GTK_COMBO_BOX (combo_box), 0);
|
||||||
|
|
||||||
@@ -116,7 +116,7 @@ do_sizegroup (GtkWidget *do_widget)
|
|||||||
G_CALLBACK (gtk_widget_destroyed), &window);
|
G_CALLBACK (gtk_widget_destroyed), &window);
|
||||||
|
|
||||||
vbox = gtk_vbox_new (FALSE, 5);
|
vbox = gtk_vbox_new (FALSE, 5);
|
||||||
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (window)->vbox), vbox, TRUE, TRUE, 0);
|
gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (window))), vbox, TRUE, TRUE, 0);
|
||||||
gtk_container_set_border_width (GTK_CONTAINER (vbox), 5);
|
gtk_container_set_border_width (GTK_CONTAINER (vbox), 5);
|
||||||
|
|
||||||
size_group = gtk_size_group_new (GTK_SIZE_GROUP_HORIZONTAL);
|
size_group = gtk_size_group_new (GTK_SIZE_GROUP_HORIZONTAL);
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ do_spinner (GtkWidget *do_widget)
|
|||||||
G_CALLBACK (gtk_widget_destroyed), &window);
|
G_CALLBACK (gtk_widget_destroyed), &window);
|
||||||
|
|
||||||
vbox = gtk_vbox_new (FALSE, 5);
|
vbox = gtk_vbox_new (FALSE, 5);
|
||||||
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (window)->vbox), vbox, TRUE, TRUE, 0);
|
gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (window))), vbox, TRUE, TRUE, 0);
|
||||||
gtk_container_set_border_width (GTK_CONTAINER (vbox), 5);
|
gtk_container_set_border_width (GTK_CONTAINER (vbox), 5);
|
||||||
|
|
||||||
/* Sensitive */
|
/* Sensitive */
|
||||||
|
|||||||
@@ -14,17 +14,9 @@
|
|||||||
|
|
||||||
static void easter_egg_callback (GtkWidget *button, gpointer data);
|
static void easter_egg_callback (GtkWidget *button, gpointer data);
|
||||||
|
|
||||||
#define gray50_width 2
|
|
||||||
#define gray50_height 2
|
|
||||||
static char gray50_bits[] = {
|
|
||||||
0x02, 0x01
|
|
||||||
};
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
create_tags (GtkTextBuffer *buffer)
|
create_tags (GtkTextBuffer *buffer)
|
||||||
{
|
{
|
||||||
GdkBitmap *stipple;
|
|
||||||
|
|
||||||
/* Create a bunch of tags. Note that it's also possible to
|
/* Create a bunch of tags. Note that it's also possible to
|
||||||
* create tags with gtk_text_tag_new() then add them to the
|
* create tags with gtk_text_tag_new() then add them to the
|
||||||
* tag table for the buffer, gtk_text_buffer_create_tag() is
|
* tag table for the buffer, gtk_text_buffer_create_tag() is
|
||||||
@@ -74,18 +66,6 @@ create_tags (GtkTextBuffer *buffer)
|
|||||||
gtk_text_buffer_create_tag (buffer, "red_background",
|
gtk_text_buffer_create_tag (buffer, "red_background",
|
||||||
"background", "red", NULL);
|
"background", "red", NULL);
|
||||||
|
|
||||||
stipple = gdk_bitmap_create_from_data (NULL,
|
|
||||||
gray50_bits, gray50_width,
|
|
||||||
gray50_height);
|
|
||||||
|
|
||||||
gtk_text_buffer_create_tag (buffer, "background_stipple",
|
|
||||||
"background_stipple", stipple, NULL);
|
|
||||||
|
|
||||||
gtk_text_buffer_create_tag (buffer, "foreground_stipple",
|
|
||||||
"foreground_stipple", stipple, NULL);
|
|
||||||
|
|
||||||
g_object_unref (stipple);
|
|
||||||
|
|
||||||
gtk_text_buffer_create_tag (buffer, "big_gap_before_line",
|
gtk_text_buffer_create_tag (buffer, "big_gap_before_line",
|
||||||
"pixels_above_lines", 30, NULL);
|
"pixels_above_lines", 30, NULL);
|
||||||
|
|
||||||
@@ -227,17 +207,9 @@ insert_text (GtkTextBuffer *buffer)
|
|||||||
"red_background", NULL);
|
"red_background", NULL);
|
||||||
gtk_text_buffer_insert (buffer, &iter, " or even ", -1);
|
gtk_text_buffer_insert (buffer, &iter, " or even ", -1);
|
||||||
gtk_text_buffer_insert_with_tags_by_name (buffer, &iter,
|
gtk_text_buffer_insert_with_tags_by_name (buffer, &iter,
|
||||||
"a stippled red background", -1,
|
"a blue foreground on red background", -1,
|
||||||
"red_background",
|
|
||||||
"background_stipple",
|
|
||||||
NULL);
|
|
||||||
|
|
||||||
gtk_text_buffer_insert (buffer, &iter, " or ", -1);
|
|
||||||
gtk_text_buffer_insert_with_tags_by_name (buffer, &iter,
|
|
||||||
"a stippled blue foreground on solid red background", -1,
|
|
||||||
"blue_foreground",
|
"blue_foreground",
|
||||||
"red_background",
|
"red_background",
|
||||||
"foreground_stipple",
|
|
||||||
NULL);
|
NULL);
|
||||||
gtk_text_buffer_insert (buffer, &iter, " (select that to read it) can be used.\n\n", -1);
|
gtk_text_buffer_insert (buffer, &iter, " (select that to read it) can be used.\n\n", -1);
|
||||||
|
|
||||||
@@ -399,11 +371,11 @@ attach_widgets (GtkTextView *text_view)
|
|||||||
}
|
}
|
||||||
else if (i == 1)
|
else if (i == 1)
|
||||||
{
|
{
|
||||||
widget = gtk_combo_box_new_text ();
|
widget = gtk_combo_box_text_new ();
|
||||||
|
|
||||||
gtk_combo_box_append_text (GTK_COMBO_BOX (widget), "Option 1");
|
gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (widget), "Option 1");
|
||||||
gtk_combo_box_append_text (GTK_COMBO_BOX (widget), "Option 2");
|
gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (widget), "Option 2");
|
||||||
gtk_combo_box_append_text (GTK_COMBO_BOX (widget), "Option 3");
|
gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (widget), "Option 3");
|
||||||
}
|
}
|
||||||
else if (i == 2)
|
else if (i == 2)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -86,13 +86,15 @@ canvas_expose_event (GtkWidget *widget,
|
|||||||
{
|
{
|
||||||
cairo_t *cr;
|
cairo_t *cr;
|
||||||
GList *iter;
|
GList *iter;
|
||||||
|
GtkAllocation allocation;
|
||||||
|
|
||||||
cr = gdk_cairo_create (widget->window);
|
cr = gdk_cairo_create (gtk_widget_get_window (widget));
|
||||||
gdk_cairo_region (cr, event->region);
|
gdk_cairo_region (cr, event->region);
|
||||||
cairo_clip (cr);
|
cairo_clip (cr);
|
||||||
|
|
||||||
|
gtk_widget_get_allocation (widget, &allocation);
|
||||||
cairo_set_source_rgb (cr, 1, 1, 1);
|
cairo_set_source_rgb (cr, 1, 1, 1);
|
||||||
cairo_rectangle (cr, 0, 0, widget->allocation.width, widget->allocation.height);
|
cairo_rectangle (cr, 0, 0, allocation.width, allocation.height);
|
||||||
cairo_fill (cr);
|
cairo_fill (cr);
|
||||||
|
|
||||||
for (iter = canvas_items; iter; iter = iter->next)
|
for (iter = canvas_items; iter; iter = iter->next)
|
||||||
@@ -176,6 +178,7 @@ palette_drag_data_received (GtkWidget *widget,
|
|||||||
GtkToolItemGroup *drop_group = NULL;
|
GtkToolItemGroup *drop_group = NULL;
|
||||||
GtkWidget *drag_palette = gtk_drag_get_source_widget (context);
|
GtkWidget *drag_palette = gtk_drag_get_source_widget (context);
|
||||||
GtkWidget *drag_item = NULL;
|
GtkWidget *drag_item = NULL;
|
||||||
|
GtkAllocation allocation;
|
||||||
|
|
||||||
while (drag_palette && !GTK_IS_TOOL_PALETTE (drag_palette))
|
while (drag_palette && !GTK_IS_TOOL_PALETTE (drag_palette))
|
||||||
drag_palette = gtk_widget_get_parent (drag_palette);
|
drag_palette = gtk_widget_get_parent (drag_palette);
|
||||||
@@ -186,6 +189,7 @@ palette_drag_data_received (GtkWidget *widget,
|
|||||||
selection);
|
selection);
|
||||||
drop_group = gtk_tool_palette_get_drop_group (GTK_TOOL_PALETTE (widget),
|
drop_group = gtk_tool_palette_get_drop_group (GTK_TOOL_PALETTE (widget),
|
||||||
x, y);
|
x, y);
|
||||||
|
gtk_widget_get_allocation (GTK_WIDGET (drop_group), &allocation);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (GTK_IS_TOOL_ITEM_GROUP (drag_item))
|
if (GTK_IS_TOOL_ITEM_GROUP (drag_item))
|
||||||
@@ -195,8 +199,8 @@ palette_drag_data_received (GtkWidget *widget,
|
|||||||
else if (GTK_IS_TOOL_ITEM (drag_item) && drop_group)
|
else if (GTK_IS_TOOL_ITEM (drag_item) && drop_group)
|
||||||
palette_drop_item (GTK_TOOL_ITEM (drag_item),
|
palette_drop_item (GTK_TOOL_ITEM (drag_item),
|
||||||
drop_group,
|
drop_group,
|
||||||
x - GTK_WIDGET (drop_group)->allocation.x,
|
x - allocation.x,
|
||||||
y - GTK_WIDGET (drop_group)->allocation.y);
|
y - allocation.y);
|
||||||
}
|
}
|
||||||
|
|
||||||
/********************************/
|
/********************************/
|
||||||
@@ -372,7 +376,7 @@ on_combo_orientation_changed (GtkComboBox *combo_box,
|
|||||||
gpointer user_data)
|
gpointer user_data)
|
||||||
{
|
{
|
||||||
GtkToolPalette *palette = GTK_TOOL_PALETTE (user_data);
|
GtkToolPalette *palette = GTK_TOOL_PALETTE (user_data);
|
||||||
GtkScrolledWindow *sw = GTK_SCROLLED_WINDOW (GTK_WIDGET (palette)->parent);
|
GtkScrolledWindow *sw = GTK_SCROLLED_WINDOW (gtk_widget_get_parent (GTK_WIDGET (palette)));
|
||||||
GtkTreeModel *model = gtk_combo_box_get_model (combo_box);
|
GtkTreeModel *model = gtk_combo_box_get_model (combo_box);
|
||||||
GtkTreeIter iter;
|
GtkTreeIter iter;
|
||||||
gint val = 0;
|
gint val = 0;
|
||||||
|
|||||||
@@ -89,20 +89,14 @@ load_pixbufs (void)
|
|||||||
static gint
|
static gint
|
||||||
expose_cb (GtkWidget *widget, GdkEventExpose *event, gpointer data)
|
expose_cb (GtkWidget *widget, GdkEventExpose *event, gpointer data)
|
||||||
{
|
{
|
||||||
guchar *pixels;
|
cairo_t *cr;
|
||||||
int rowstride;
|
|
||||||
|
cr = gdk_cairo_create (event->window);
|
||||||
|
gdk_cairo_set_source_pixbuf (cr, frame, 0, 0);
|
||||||
|
gdk_cairo_rectangle (cr, &event->area);
|
||||||
|
cairo_fill (cr);
|
||||||
|
|
||||||
rowstride = gdk_pixbuf_get_rowstride (frame);
|
cairo_destroy (cr);
|
||||||
|
|
||||||
pixels = gdk_pixbuf_get_pixels (frame) + rowstride * event->area.y + event->area.x * 3;
|
|
||||||
|
|
||||||
gdk_draw_rgb_image_dithalign (widget->window,
|
|
||||||
widget->style->black_gc,
|
|
||||||
event->area.x, event->area.y,
|
|
||||||
event->area.width, event->area.height,
|
|
||||||
GDK_RGB_DITHER_NORMAL,
|
|
||||||
pixels, rowstride,
|
|
||||||
event->area.x, event->area.y);
|
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -111,8 +111,6 @@ main (int argc, char **argv)
|
|||||||
|
|
||||||
gtk_init (&argc, &argv);
|
gtk_init (&argc, &argv);
|
||||||
|
|
||||||
gtk_widget_set_default_colormap (gdk_rgb_get_colormap ());
|
|
||||||
|
|
||||||
root = gdk_get_default_root_window ();
|
root = gdk_get_default_root_window ();
|
||||||
pixbuf = gdk_pixbuf_get_from_drawable (NULL, root, NULL,
|
pixbuf = gdk_pixbuf_get_from_drawable (NULL, root, NULL,
|
||||||
0, 0, 0, 0, 150, 160);
|
0, 0, 0, 0, 150, 160);
|
||||||
|
|||||||
@@ -1,4 +1,7 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
|
#undef GDK_DISABLE_DEPRECATED
|
||||||
|
|
||||||
#include <gtk/gtk.h>
|
#include <gtk/gtk.h>
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|||||||
@@ -311,32 +311,18 @@ static int
|
|||||||
expose_cb (GtkWidget *drawing_area, GdkEventExpose *evt, gpointer data)
|
expose_cb (GtkWidget *drawing_area, GdkEventExpose *evt, gpointer data)
|
||||||
{
|
{
|
||||||
GdkPixbuf *pixbuf;
|
GdkPixbuf *pixbuf;
|
||||||
|
cairo_t *cr;
|
||||||
|
|
||||||
pixbuf = (GdkPixbuf *) g_object_get_data (G_OBJECT (drawing_area),
|
pixbuf = (GdkPixbuf *) g_object_get_data (G_OBJECT (drawing_area),
|
||||||
"pixbuf");
|
"pixbuf");
|
||||||
if (gdk_pixbuf_get_has_alpha (pixbuf)) {
|
|
||||||
gdk_draw_rgb_32_image (drawing_area->window,
|
cr = gdk_cairo_create (evt->window);
|
||||||
drawing_area->style->black_gc,
|
gdk_cairo_set_source_pixbuf (cr, pixbuf, 0, 0);
|
||||||
evt->area.x, evt->area.y,
|
gdk_cairo_rectangle (cr, &evt->area);
|
||||||
evt->area.width,
|
cairo_fill (cr);
|
||||||
evt->area.height,
|
|
||||||
GDK_RGB_DITHER_MAX,
|
cairo_destroy (cr);
|
||||||
gdk_pixbuf_get_pixels (pixbuf) +
|
|
||||||
(evt->area.y * gdk_pixbuf_get_rowstride (pixbuf)) +
|
|
||||||
(evt->area.x * gdk_pixbuf_get_n_channels (pixbuf)),
|
|
||||||
gdk_pixbuf_get_rowstride (pixbuf));
|
|
||||||
} else {
|
|
||||||
gdk_draw_rgb_image (drawing_area->window,
|
|
||||||
drawing_area->style->black_gc,
|
|
||||||
evt->area.x, evt->area.y,
|
|
||||||
evt->area.width,
|
|
||||||
evt->area.height,
|
|
||||||
GDK_RGB_DITHER_NORMAL,
|
|
||||||
gdk_pixbuf_get_pixels (pixbuf) +
|
|
||||||
(evt->area.y * gdk_pixbuf_get_rowstride (pixbuf)) +
|
|
||||||
(evt->area.x * gdk_pixbuf_get_n_channels (pixbuf)),
|
|
||||||
gdk_pixbuf_get_rowstride (pixbuf));
|
|
||||||
}
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -374,8 +360,6 @@ main (int argc, char **argv)
|
|||||||
|
|
||||||
gtk_init (&argc, &argv);
|
gtk_init (&argc, &argv);
|
||||||
|
|
||||||
gtk_widget_set_default_colormap (gdk_rgb_get_colormap ());
|
|
||||||
|
|
||||||
root = gdk_get_default_root_window ();
|
root = gdk_get_default_root_window ();
|
||||||
pixbuf = gdk_pixbuf_get_from_drawable (NULL, root, NULL,
|
pixbuf = gdk_pixbuf_get_from_drawable (NULL, root, NULL,
|
||||||
0, 0, 0, 0, 150, 160);
|
0, 0, 0, 0, 150, 160);
|
||||||
|
|||||||
@@ -35,6 +35,7 @@ gboolean
|
|||||||
expose_cb (GtkWidget *widget, GdkEventExpose *event, gpointer data)
|
expose_cb (GtkWidget *widget, GdkEventExpose *event, gpointer data)
|
||||||
{
|
{
|
||||||
GdkPixbuf *dest;
|
GdkPixbuf *dest;
|
||||||
|
cairo_t *cr;
|
||||||
|
|
||||||
gdk_window_set_back_pixmap (widget->window, NULL, FALSE);
|
gdk_window_set_back_pixmap (widget->window, NULL, FALSE);
|
||||||
|
|
||||||
@@ -48,11 +49,13 @@ expose_cb (GtkWidget *widget, GdkEventExpose *event, gpointer data)
|
|||||||
interp_type, overall_alpha,
|
interp_type, overall_alpha,
|
||||||
event->area.x, event->area.y, 16, 0xaaaaaa, 0x555555);
|
event->area.x, event->area.y, 16, 0xaaaaaa, 0x555555);
|
||||||
|
|
||||||
gdk_draw_pixbuf (widget->window, widget->style->fg_gc[GTK_STATE_NORMAL], dest,
|
cr = gdk_cairo_create (event->window);
|
||||||
0, 0, event->area.x, event->area.y,
|
|
||||||
event->area.width, event->area.height,
|
gdk_cairo_set_source_pixbuf (cr, dest, 0, 0);
|
||||||
GDK_RGB_DITHER_NORMAL, event->area.x, event->area.y);
|
gdk_cairo_rectangle (cr, &event->area);
|
||||||
|
cairo_fill (cr);
|
||||||
|
|
||||||
|
cairo_destroy (cr);
|
||||||
g_object_unref (dest);
|
g_object_unref (dest);
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
@@ -101,12 +104,12 @@ main(int argc, char **argv)
|
|||||||
vbox = gtk_vbox_new (FALSE, 0);
|
vbox = gtk_vbox_new (FALSE, 0);
|
||||||
gtk_container_add (GTK_CONTAINER (window), vbox);
|
gtk_container_add (GTK_CONTAINER (window), vbox);
|
||||||
|
|
||||||
combo_box = gtk_combo_box_new_text ();
|
combo_box = gtk_combo_box_text_new ();
|
||||||
|
|
||||||
gtk_combo_box_append_text (GTK_COMBO_BOX (combo_box), "NEAREST");
|
gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (combo_box), "NEAREST");
|
||||||
gtk_combo_box_append_text (GTK_COMBO_BOX (combo_box), "BILINEAR");
|
gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (combo_box), "BILINEAR");
|
||||||
gtk_combo_box_append_text (GTK_COMBO_BOX (combo_box), "TILES");
|
gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (combo_box), "TILES");
|
||||||
gtk_combo_box_append_text (GTK_COMBO_BOX (combo_box), "HYPER");
|
gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (combo_box), "HYPER");
|
||||||
|
|
||||||
gtk_combo_box_set_active (GTK_COMBO_BOX (combo_box), 1);
|
gtk_combo_box_set_active (GTK_COMBO_BOX (combo_box), 1);
|
||||||
|
|
||||||
|
|||||||
@@ -22,6 +22,9 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#undef GDK_DISABLE_DEPRECATED
|
||||||
|
|
||||||
#include <gtk/gtk.h>
|
#include <gtk/gtk.h>
|
||||||
#include <gdk-pixbuf/gdk-pixbuf.h>
|
#include <gdk-pixbuf/gdk-pixbuf.h>
|
||||||
|
|
||||||
@@ -322,6 +325,7 @@ expose_func (GtkWidget *drawing_area, GdkEventExpose *event, gpointer data)
|
|||||||
|
|
||||||
if (gdk_pixbuf_get_has_alpha (pixbuf)) {
|
if (gdk_pixbuf_get_has_alpha (pixbuf)) {
|
||||||
GdkPixbuf *dest;
|
GdkPixbuf *dest;
|
||||||
|
cairo_t *cr;
|
||||||
|
|
||||||
gdk_window_set_back_pixmap (drawing_area->window, NULL, FALSE);
|
gdk_window_set_back_pixmap (drawing_area->window, NULL, FALSE);
|
||||||
|
|
||||||
@@ -335,11 +339,13 @@ expose_func (GtkWidget *drawing_area, GdkEventExpose *event, gpointer data)
|
|||||||
GDK_INTERP_BILINEAR, 255,
|
GDK_INTERP_BILINEAR, 255,
|
||||||
event->area.x, event->area.y, 16, 0xaaaaaa, 0x555555);
|
event->area.x, event->area.y, 16, 0xaaaaaa, 0x555555);
|
||||||
|
|
||||||
gdk_draw_pixbuf (drawing_area->window, drawing_area->style->fg_gc[GTK_STATE_NORMAL], dest,
|
cr = gdk_cairo_create (drawing_area->window);
|
||||||
0, 0, event->area.x, event->area.y,
|
|
||||||
event->area.width, event->area.height,
|
gdk_cairo_set_source_pixbuf (cr, dest, 0, 0);
|
||||||
GDK_RGB_DITHER_NORMAL, event->area.x, event->area.y);
|
gdk_cairo_rectangle (cr, &event->area);
|
||||||
|
cairo_fill (cr);
|
||||||
|
|
||||||
|
cairo_destroy (cr);
|
||||||
g_object_unref (dest);
|
g_object_unref (dest);
|
||||||
} else {
|
} else {
|
||||||
gdk_draw_rgb_image (drawing_area->window,
|
gdk_draw_rgb_image (drawing_area->window,
|
||||||
|
|||||||
@@ -17,6 +17,8 @@ pdf:
|
|||||||
(cd $(srcdir); db2pdf gtk-faq.sgml); \
|
(cd $(srcdir); db2pdf gtk-faq.sgml); \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
all-local: html
|
||||||
|
|
||||||
dist-hook: html
|
dist-hook: html
|
||||||
cp -Rp $(srcdir)/html $(distdir)
|
cp -Rp $(srcdir)/html $(distdir)
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -345,11 +345,12 @@ command line option.</simpara>
|
|||||||
<title>Is there a Windows version of GTK+? <emphasis>[GTK 2.x]</emphasis></title>
|
<title>Is there a Windows version of GTK+? <emphasis>[GTK 2.x]</emphasis></title>
|
||||||
|
|
||||||
<para>The Win32 port of GTK+ is maintained concurrently with the Xwindows
|
<para>The Win32 port of GTK+ is maintained concurrently with the Xwindows
|
||||||
version in CVS. As such it is a supported architecture.</para>
|
version in Git. As such it is a supported architecture.</para>
|
||||||
|
|
||||||
<para>The Win32 port has been predominately done by Tor Lillqvist. Tor
|
<para>The Win32 port has been predominately done by Tor Lillqvist. Tor
|
||||||
maintains some information on <ulink url="http://www.gimp.org/~tml/gimp/win32/">
|
maintains some information on the
|
||||||
GTK+ and GIMP for Windows</ulink>.</para>
|
Windows <ulink url="http://www.gtk.org/download.html">download
|
||||||
|
page</ulink> (32bit and 64bit).</para>
|
||||||
|
|
||||||
<para>There is a pre-compiled, easy-to-install version of GTK+ for
|
<para>There is a pre-compiled, easy-to-install version of GTK+ for
|
||||||
windows on the <ulink url="http://www.dropline.net/gtk/">
|
windows on the <ulink url="http://www.dropline.net/gtk/">
|
||||||
@@ -670,70 +671,56 @@ successful, try executing it.</para>
|
|||||||
<!-- ----------------------------------------------------------------- -->
|
<!-- ----------------------------------------------------------------- -->
|
||||||
|
|
||||||
<sect1>
|
<sect1>
|
||||||
<title>Whats this CVS thing that everyone keeps talking about,
|
<title>What's this Git thing that everyone keeps talking about,
|
||||||
and how do I access it? <emphasis>[GTK 2.x]</emphasis></title>
|
and how do I access it? <emphasis>[GTK 2.x]</emphasis></title>
|
||||||
|
|
||||||
<para>CVS is the Concurrent Version System and is a very
|
<para>Git is a version control system and it is a very
|
||||||
popular means of version control for software projects. It is
|
popular means of version control for software projects. It is
|
||||||
designed to allow multiple authors to simultanously operate on the same
|
designed to allow multiple authors to simultanously operate on the same
|
||||||
source tree. This source tree is centrally maintained, but each
|
source tree. This source tree is centrally maintained, but each
|
||||||
developer has a local mirror of this repository that they make
|
developer has a local mirror of this repository that they make
|
||||||
their changes to.</para>
|
their changes to.</para>
|
||||||
|
|
||||||
<para>The GTK+ developers use a CVS repository to store the
|
<para>The GTK+ developers use a Git repository to store the
|
||||||
master copy of the current development version of GTK+. As
|
master copy of the current development version of GTK+. As
|
||||||
such, people wishing to contribute patches to GTK+ should
|
such, people wishing to contribute patches to GTK+ should
|
||||||
generate them against the CVS version. Normal people should
|
generate them against the Git version. Normal people should
|
||||||
use the packaged releases.</para>
|
use the packaged releases.</para>
|
||||||
|
|
||||||
<para>The CVS toolset is available as RPM packages from the
|
<para>The Git toolset is available as a package on most distributions
|
||||||
usual RedHat sites. The latest version is available at <ulink
|
and the released tarballs are available
|
||||||
url="http://download.cyclic.com/pub/">http://download.cyclic.com/pub/
|
from <ulink url="http://git-scm.com/">http://git-scm.com/</ulink>.</para>
|
||||||
</ulink></para>
|
|
||||||
|
|
||||||
<para>Anyone can download the latest CVS version of GTK+ by
|
<para>Anyone can download the latest Git version of GTK+ by
|
||||||
using anonymous access using the following steps:</para>
|
using anonymous access using the following steps:</para>
|
||||||
|
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
<listitem><simpara> In a bourne shell descendant (e.g. bash) type:</simpara>
|
<listitem><simpara>In a bourne shell descendant (e.g. bash) type:</simpara>
|
||||||
<para><literallayout>
|
<para><literallayout>
|
||||||
<literal>CVSROOT=':pserver:anonymous@anoncvs.gnome.org:/cvs/gnome'</literal>
|
<literal>git clone git://git.gnome.org/gtk+</literal>
|
||||||
<literal>export CVSROOT</literal>
|
|
||||||
</literallayout></para>
|
|
||||||
</listitem>
|
|
||||||
|
|
||||||
<listitem><simpara>Next, the first time the source tree is
|
|
||||||
checked out, a cvs login is needed. </simpara>
|
|
||||||
<para><literallayout>
|
|
||||||
<literal>cvs login</literal>
|
|
||||||
</literallayout></para>
|
|
||||||
<para>This will ask you for a password. There is no
|
|
||||||
password for cvs.gimp.org, so just enter a carriage return.</para>
|
|
||||||
</listitem>
|
|
||||||
|
|
||||||
<listitem><simpara>To get the tree and place it in a subdir of your
|
|
||||||
current working directory, issue the command:</simpara>
|
|
||||||
<para><literallayout>
|
|
||||||
<literal>cvs -z3 get gtk+</literal>
|
|
||||||
</literallayout></para>
|
</literallayout></para>
|
||||||
<para>Note that with the GTK+ 1.1 tree, glib has been moved to
|
<para>Note that with the GTK+ 1.1 tree, glib has been moved to
|
||||||
a separate CVS module, so if you don't have glib installed you will
|
a separate Git module, so if you don't have glib installed you will
|
||||||
need to get that as well:</para>
|
need to get that as well:<literallayout>
|
||||||
<para><literallayout>
|
<literal>git clone git://git.gnome.org/glib</literal>
|
||||||
<literal>cvs -z3 get glib</literal>
|
|
||||||
</literallayout></para>
|
</literallayout></para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
|
|
||||||
<para>The CVS archive stores both the current development version of
|
<para>The Git archive stores both the current development version of
|
||||||
GTK+ (the CVS HEAD branch) and all current and past stable versions.
|
GTK+ (the Git master branch) and all current and past stable versions.
|
||||||
If you want to retrieve a specific version of GTK+ you have to specify
|
If you want to retrieve a specific version of GTK+ you have to specify
|
||||||
the CVS tag corresponding to the version you want to checkout. If you
|
the Git tag corresponding to the version you want to checkout. If you
|
||||||
want to checkout the current GTK+ 2.2 stable source code, you would need
|
want to checkout the current GTK+ 2.2 stable source code, you would need
|
||||||
to use the following command:</para>
|
to use the following command:</para>
|
||||||
|
|
||||||
<para><literallayout>
|
<para><literallayout>
|
||||||
<literal>cvs -z3 get -r gtk-2-2 gtk+</literal>
|
<literal>git checkout --track -b gtk-2-24 origin/gtk-2-24</literal>
|
||||||
|
</literallayout></para>
|
||||||
|
|
||||||
|
<para>You can switch between branches once set up more easily using:</para>
|
||||||
|
<para><literallayout>
|
||||||
|
<literal>git checkout master</literal>
|
||||||
</literallayout></para>
|
</literallayout></para>
|
||||||
</sect1>
|
</sect1>
|
||||||
|
|
||||||
@@ -789,7 +776,7 @@ disgrace to the widget set will gladly be included.</para>
|
|||||||
<para>The new widgets that get added to GTK+ are generally either
|
<para>The new widgets that get added to GTK+ are generally either
|
||||||
replacements for existing widgets that are no longer
|
replacements for existing widgets that are no longer
|
||||||
deemed to be adequate, or have been developed externally to GTK+ but
|
deemed to be adequate, or have been developed externally to GTK+ but
|
||||||
have been widely tested.
|
have been widely tested.</para>
|
||||||
|
|
||||||
<para>Before you spend months of your valuable time implementing your
|
<para>Before you spend months of your valuable time implementing your
|
||||||
revolutionary widget, it is highly recommended that you get some
|
revolutionary widget, it is highly recommended that you get some
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
## Process this file with automake to produce Makefile.in
|
## Process this file with automake to produce Makefile.in
|
||||||
include $(top_srcdir)/Makefile.decl
|
include $(top_srcdir)/Makefile.decl
|
||||||
|
|
||||||
SUBDIRS = gdk-pixbuf gdk gtk libgail-util
|
SUBDIRS = gdk gtk libgail-util
|
||||||
|
|
||||||
GITIGNOREFILES = */*.1
|
GITIGNOREFILES = */*.1
|
||||||
|
|
||||||
|
|||||||
@@ -1,99 +0,0 @@
|
|||||||
## Process this file with automake to produce Makefile.in
|
|
||||||
include $(top_srcdir)/Makefile.decl
|
|
||||||
|
|
||||||
AUTOMAKE_OPTIONS = 1.6
|
|
||||||
|
|
||||||
# The name of the module.
|
|
||||||
DOC_MODULE=gdk-pixbuf
|
|
||||||
|
|
||||||
# The top-level SGML file.
|
|
||||||
DOC_MAIN_SGML_FILE=gdk-pixbuf.sgml
|
|
||||||
|
|
||||||
# Extra options to supply to gtkdoc-scan
|
|
||||||
SCAN_OPTIONS=--source-dir=../../../contrib/gdk-pixbuf-xlib --deprecated-guards="GDK_PIXBUF_ENABLE_BROKEN|GDK_PIXBUF_DISABLE_DEPRECATED"
|
|
||||||
|
|
||||||
# The directory containing the source code. Relative to $(srcdir)
|
|
||||||
DOC_SOURCE_DIR=../../../gdk-pixbuf
|
|
||||||
|
|
||||||
# Used for dependencies
|
|
||||||
HFILE_GLOB=$(top_srcdir)/gdk-pixbuf/*.h $(top_srcdir)/contrib/gdk-pixbuf-xlib/*.h
|
|
||||||
CFILE_GLOB=$(top_srcdir)/gdk-pixbuf/*.c $(top_srcdir)/contrib/gdk-pixbuf-xlib/*.c
|
|
||||||
|
|
||||||
# Header files to ignore when scanning
|
|
||||||
IGNORE_HFILES= \
|
|
||||||
pixops \
|
|
||||||
gdk-pixbuf-alias.h \
|
|
||||||
gdk-pixbuf-marshal.h \
|
|
||||||
gdk-pixbuf-xlib-private.h \
|
|
||||||
gdk-pixbuf-i18n.h \
|
|
||||||
gdk-pixbuf-private.h \
|
|
||||||
io-gif-animation.h \
|
|
||||||
io-ani-animation.h \
|
|
||||||
xpm-color-table.h \
|
|
||||||
test-images.h
|
|
||||||
|
|
||||||
INCLUDES = \
|
|
||||||
-I$(top_srcdir) \
|
|
||||||
-I$(top_builddir) \
|
|
||||||
-I$(top_builddir)/gdk \
|
|
||||||
$(GTK_DEBUG_FLAGS) \
|
|
||||||
$(GTK_DEP_CFLAGS)
|
|
||||||
|
|
||||||
GTKDOC_LIBS = \
|
|
||||||
$(top_builddir)/gdk-pixbuf/libgdk_pixbuf-$(GTK_API_VERSION).la \
|
|
||||||
$(top_builddir)/gdk/$(gdktargetlib) \
|
|
||||||
$(top_builddir)/gtk/$(gtktargetlib) \
|
|
||||||
$(GTK_DEP_LIBS)
|
|
||||||
|
|
||||||
|
|
||||||
# Extra options to supply to gtkdoc-mkdb
|
|
||||||
MKDB_OPTIONS=--main-sgml-file=$(DOC_MAIN_SGML_FILE) --sgml-mode --source-dir=../../../contrib/gdk-pixbuf-xlib --output-format=xml --name-space=gdk_pixbuf
|
|
||||||
|
|
||||||
# Extra SGML files that are included by DOC_MAIN_SGML_FILE
|
|
||||||
content_files = \
|
|
||||||
version.xml \
|
|
||||||
gdk-pixbuf-from-drawables.sgml \
|
|
||||||
gdk-pixbuf-rendering.sgml \
|
|
||||||
gdk-pixbuf.sgml \
|
|
||||||
porting-from-imlib.sgml \
|
|
||||||
gdk-pixbuf-csource.xml \
|
|
||||||
gdk-pixbuf-query-loaders.xml
|
|
||||||
|
|
||||||
# Images to copy into HTML directory
|
|
||||||
HTML_IMAGES = composite.png
|
|
||||||
|
|
||||||
# Extra options to supply to gtkdoc-fixref
|
|
||||||
FIXXREF_OPTIONS= --extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/gobject \
|
|
||||||
--extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/glib
|
|
||||||
|
|
||||||
|
|
||||||
include $(top_srcdir)/gtk-doc.make
|
|
||||||
|
|
||||||
# Other files to distribute
|
|
||||||
EXTRA_DIST += version.xml.in \
|
|
||||||
composite.png \
|
|
||||||
composite.dia \
|
|
||||||
apple-red-1a.png \
|
|
||||||
apple-red-2c.png \
|
|
||||||
gnome-gmush-1.png
|
|
||||||
|
|
||||||
########################################################################
|
|
||||||
|
|
||||||
if ENABLE_MAN
|
|
||||||
|
|
||||||
man_MANS = gdk-pixbuf-csource.1 gdk-pixbuf-query-loaders.1
|
|
||||||
|
|
||||||
%.1 : %.xml
|
|
||||||
@XSLTPROC@ -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
|
|
||||||
|
|
||||||
BUILT_EXTRA_DIST = $(man_MANS)
|
|
||||||
|
|
||||||
endif
|
|
||||||
|
|
||||||
dist-hook-local: $(BUILT_EXTRA_DIST)
|
|
||||||
files='$(BUILT_EXTRA_DIST)'; \
|
|
||||||
for f in $$files; do \
|
|
||||||
if test -f $$f; then d=.; else d=$(srcdir); fi; \
|
|
||||||
cp $$d/$$f $(distdir) || exit 1; done
|
|
||||||
|
|
||||||
-include $(top_srcdir)/git.mk
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 29 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 19 KiB |
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 104 KiB |
@@ -1,177 +0,0 @@
|
|||||||
<?xml version="1.0"?>
|
|
||||||
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
|
||||||
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
|
||||||
]>
|
|
||||||
<refentry id="gdk-pixbuf-csource">
|
|
||||||
|
|
||||||
<refmeta>
|
|
||||||
<refentrytitle>gdk-pixbuf-csource</refentrytitle>
|
|
||||||
<manvolnum>1</manvolnum>
|
|
||||||
</refmeta>
|
|
||||||
|
|
||||||
<refnamediv>
|
|
||||||
<refname>gdk-pixbuf-csource</refname>
|
|
||||||
<refpurpose>C code generation utility for GdkPixbuf images</refpurpose>
|
|
||||||
</refnamediv>
|
|
||||||
|
|
||||||
<refsynopsisdiv>
|
|
||||||
<cmdsynopsis>
|
|
||||||
<command>gdk-pixbuf-csource</command>
|
|
||||||
<arg choice="opt">options</arg>
|
|
||||||
<arg choice="opt">image</arg>
|
|
||||||
</cmdsynopsis>
|
|
||||||
<cmdsynopsis>
|
|
||||||
<command>gdk-pixbuf-csource</command>
|
|
||||||
<arg choice="opt">options</arg>
|
|
||||||
<arg choice="plain">--build-list</arg>
|
|
||||||
<arg rep="repeat">
|
|
||||||
<arg>name</arg>
|
|
||||||
<arg>image</arg>
|
|
||||||
</arg>
|
|
||||||
</cmdsynopsis>
|
|
||||||
</refsynopsisdiv>
|
|
||||||
|
|
||||||
<refsect1><title>Description</title>
|
|
||||||
<para>
|
|
||||||
<command>gdk-pixbuf-csource</command> is a small utility that generates C code
|
|
||||||
containing images, useful for compiling images directly into programs.
|
|
||||||
</para>
|
|
||||||
</refsect1>
|
|
||||||
|
|
||||||
<refsect1><title>Invocation</title>
|
|
||||||
<para>
|
|
||||||
<command>gdk-pixbuf-csource</command> either takes as input one image file name
|
|
||||||
to generate code for, or, using the <option>--build-list</option> option, a
|
|
||||||
list of (<replaceable>name</replaceable>, <replaceable>image</replaceable>)
|
|
||||||
pairs to generate code for a list of images into named variables.
|
|
||||||
</para>
|
|
||||||
<refsect2><title>Options</title>
|
|
||||||
<variablelist>
|
|
||||||
|
|
||||||
<varlistentry>
|
|
||||||
<term><option>--stream</option></term>
|
|
||||||
<listitem><para>
|
|
||||||
Generate pixbuf data stream (a single string containing a serialized
|
|
||||||
<structname>GdkPixdata</structname> structure in network byte order).
|
|
||||||
</para></listitem>
|
|
||||||
</varlistentry>
|
|
||||||
|
|
||||||
<varlistentry>
|
|
||||||
<term><option>--struct</option></term>
|
|
||||||
<listitem><para>
|
|
||||||
Generate GdkPixdata structure (needs the <structname>GdkPixdata</structname>
|
|
||||||
structure definition from <filename>gdk-pixdata.h</filename>).
|
|
||||||
</para></listitem>
|
|
||||||
</varlistentry>
|
|
||||||
|
|
||||||
<varlistentry>
|
|
||||||
<term><option>--macros</option></term>
|
|
||||||
<listitem><para>
|
|
||||||
Generate *_ROWSTRIDE, *_WIDTH, *_HEIGHT, *_BYTES_PER_PIXEL and
|
|
||||||
*_RLE_PIXEL_DATA or *_PIXEL_DATA macro definitions for the image.
|
|
||||||
</para></listitem>
|
|
||||||
</varlistentry>
|
|
||||||
|
|
||||||
<varlistentry>
|
|
||||||
<term><option>--rle</option></term>
|
|
||||||
<listitem><para>
|
|
||||||
Enables run-length encoding for the generated pixel data (default).
|
|
||||||
</para></listitem>
|
|
||||||
</varlistentry>
|
|
||||||
|
|
||||||
<varlistentry>
|
|
||||||
<term><option>--raw</option></term>
|
|
||||||
<listitem><para>
|
|
||||||
Disables run-length encoding for the generated pixel data.
|
|
||||||
</para></listitem>
|
|
||||||
</varlistentry>
|
|
||||||
|
|
||||||
<varlistentry>
|
|
||||||
<term><option>--extern</option></term>
|
|
||||||
<listitem><para>
|
|
||||||
Generate extern symbols.
|
|
||||||
</para></listitem>
|
|
||||||
</varlistentry>
|
|
||||||
|
|
||||||
<varlistentry>
|
|
||||||
<term><option>--static</option></term>
|
|
||||||
<listitem><para>
|
|
||||||
Generate static symbols (default).
|
|
||||||
</para></listitem>
|
|
||||||
</varlistentry>
|
|
||||||
|
|
||||||
<varlistentry>
|
|
||||||
<term><option>--decoder</option></term>
|
|
||||||
<listitem><para>
|
|
||||||
Provide a *_RUN_LENGTH_DECODE(image_buf, rle_data, size, bpp) macro definition
|
|
||||||
to decode run-length encoded image data.
|
|
||||||
</para></listitem>
|
|
||||||
</varlistentry>
|
|
||||||
|
|
||||||
<varlistentry>
|
|
||||||
<term><option>--name=identifier</option></term>
|
|
||||||
<listitem><para>
|
|
||||||
Specifies the identifier name (prefix) for the generated variables or
|
|
||||||
macros (useful only if <option>--build-list</option> was not specified).
|
|
||||||
</para></listitem>
|
|
||||||
</varlistentry>
|
|
||||||
|
|
||||||
<varlistentry>
|
|
||||||
<term><option>--build-list</option></term>
|
|
||||||
<listitem><para>
|
|
||||||
Enables (<replaceable>name</replaceable>, <replaceable>image</replaceable>)
|
|
||||||
pair parsing mode.
|
|
||||||
</para></listitem>
|
|
||||||
</varlistentry>
|
|
||||||
|
|
||||||
<varlistentry>
|
|
||||||
<term><option>-h</option>, <option>--help</option></term>
|
|
||||||
<listitem><para>
|
|
||||||
Print brief help and exit.
|
|
||||||
</para></listitem>
|
|
||||||
</varlistentry>
|
|
||||||
|
|
||||||
<varlistentry>
|
|
||||||
<term><option>-v</option>, <option>--version</option></term>
|
|
||||||
<listitem><para>
|
|
||||||
Print version and exit.
|
|
||||||
</para></listitem>
|
|
||||||
</varlistentry>
|
|
||||||
|
|
||||||
<varlistentry>
|
|
||||||
<term><option>--g-fatal-warnings</option></term>
|
|
||||||
<listitem><para>
|
|
||||||
Make warnings fatal (causes the program to abort).
|
|
||||||
</para></listitem>
|
|
||||||
</varlistentry>
|
|
||||||
|
|
||||||
</variablelist>
|
|
||||||
</refsect2>
|
|
||||||
</refsect1>
|
|
||||||
|
|
||||||
<refsect1><title>See also</title>
|
|
||||||
<para>
|
|
||||||
The <structname>GdkPixbuf</structname> documentation, shipped with the
|
|
||||||
Gtk+ distribution, available from <ulink url="http://www.gtk.org">www.gtk.org</ulink>.
|
|
||||||
</para>
|
|
||||||
</refsect1>
|
|
||||||
|
|
||||||
<refsect1><title>Bugs</title>
|
|
||||||
<para>
|
|
||||||
The runlength encoder gets out of sync with the pixel boundaries, since
|
|
||||||
it includes the rowstride padding in the encoded stream. Furthermore, it
|
|
||||||
generates pixbufs with suboptimal rowstride in some cases.
|
|
||||||
</para>
|
|
||||||
</refsect1>
|
|
||||||
|
|
||||||
<refsect1><title>Author</title>
|
|
||||||
<para>
|
|
||||||
<command>gdk-pixbuf-csource</command> was written by Tim Janik
|
|
||||||
<email>timj@gtk.org</email>.
|
|
||||||
</para>
|
|
||||||
<para>
|
|
||||||
This manual page was provided by Tim Janik <email>timj@gtk.org</email>.
|
|
||||||
</para>
|
|
||||||
</refsect1>
|
|
||||||
</refentry>
|
|
||||||
|
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
<?xml version="1.0"?>
|
|
||||||
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
|
||||||
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
|
||||||
]>
|
|
||||||
<refentry id="gdk-pixbuf-gdk-pixbuf-from-drawables">
|
|
||||||
<refmeta>
|
|
||||||
<refentrytitle>Drawables to Pixbufs</refentrytitle>
|
|
||||||
<manvolnum>3</manvolnum>
|
|
||||||
<refmiscinfo>GDK-PIXBUF Library</refmiscinfo>
|
|
||||||
</refmeta>
|
|
||||||
|
|
||||||
<refnamediv>
|
|
||||||
<refname>Drawables to Pixbufs</refname><refpurpose>Getting parts of a GDK drawable's image data into a pixbuf.</refpurpose>
|
|
||||||
</refnamediv>
|
|
||||||
|
|
||||||
<refsect1>
|
|
||||||
<title>Description</title>
|
|
||||||
<para>
|
|
||||||
The functions to take the image data from a GDK drawable and dump it
|
|
||||||
into a pixbuf are contained in GDK, see the
|
|
||||||
<link linkend="gdk-Pixbufs">Pixbufs</link> section of the GDK
|
|
||||||
documentation.
|
|
||||||
</para>
|
|
||||||
</refsect1>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</refentry>
|
|
||||||
@@ -1,55 +0,0 @@
|
|||||||
<?xml version="1.0"?>
|
|
||||||
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
|
||||||
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
|
||||||
]>
|
|
||||||
<refentry id="gdk-pixbuf-query-loaders">
|
|
||||||
|
|
||||||
<refmeta>
|
|
||||||
<refentrytitle>gdk-pixbuf-query-loaders</refentrytitle>
|
|
||||||
<manvolnum>1</manvolnum>
|
|
||||||
</refmeta>
|
|
||||||
|
|
||||||
<refnamediv>
|
|
||||||
<refname>gdk-pixbuf-query-loaders</refname>
|
|
||||||
<refpurpose>GdkPixbuf loader registration utility</refpurpose>
|
|
||||||
</refnamediv>
|
|
||||||
|
|
||||||
<refsynopsisdiv>
|
|
||||||
<cmdsynopsis>
|
|
||||||
<command>gdk-pixbuf-query-loaders</command>
|
|
||||||
<arg choice="opt" rep="repeat">module</arg>
|
|
||||||
</cmdsynopsis>
|
|
||||||
</refsynopsisdiv>
|
|
||||||
|
|
||||||
<refsect1><title>Description</title>
|
|
||||||
<para>
|
|
||||||
<command>gdk-pixbuf-query-loaders</command> collects information about loadable
|
|
||||||
modules for <application>gdk-pixbuf</application> and writes it to <filename>stdout</filename>.
|
|
||||||
</para>
|
|
||||||
<para>
|
|
||||||
If called without arguments, it looks for modules in the
|
|
||||||
<application>gdk-pixbuf</application> loader directory.
|
|
||||||
</para>
|
|
||||||
<para>
|
|
||||||
If called with arguments, it looks for the specified modules. The arguments
|
|
||||||
may be absolute or relative paths.
|
|
||||||
</para>
|
|
||||||
</refsect1>
|
|
||||||
|
|
||||||
<refsect1><title>Environment</title>
|
|
||||||
<para>
|
|
||||||
The environment variable <envar>GDK_PIXBUF_MODULEDIR</envar> can be used
|
|
||||||
to specify a different loader directory. The default <application>gdk-pixbuf</application> loader
|
|
||||||
directory is <filename><replaceable>libdir</replaceable>/gtk-2.0/<replaceable>version</replaceable>/loaders</filename>.
|
|
||||||
</para>
|
|
||||||
</refsect1>
|
|
||||||
|
|
||||||
<refsect1><title>Bugs</title>
|
|
||||||
<para>
|
|
||||||
None known yet.
|
|
||||||
</para>
|
|
||||||
</refsect1>
|
|
||||||
|
|
||||||
</refentry>
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
<?xml version="1.0"?>
|
|
||||||
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
|
||||||
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
|
||||||
]>
|
|
||||||
<refentry id="gdk-pixbuf-gdk-pixbuf-rendering">
|
|
||||||
<refmeta>
|
|
||||||
<refentrytitle>Rendering</refentrytitle>
|
|
||||||
<manvolnum>3</manvolnum>
|
|
||||||
<refmiscinfo>GDK-PIXBUF Library</refmiscinfo>
|
|
||||||
</refmeta>
|
|
||||||
|
|
||||||
<refnamediv>
|
|
||||||
<refname>Rendering</refname><refpurpose>Rendering a pixbuf to a GDK drawable.</refpurpose>
|
|
||||||
</refnamediv>
|
|
||||||
|
|
||||||
|
|
||||||
<refsect1>
|
|
||||||
<title>Description</title>
|
|
||||||
<para>
|
|
||||||
The functions to render pixbufs to GDK drawables are contained in
|
|
||||||
GDK, see the <link linkend="gdk-Pixbufs">Pixbufs</link> section
|
|
||||||
of the GDK documentation.
|
|
||||||
</para>
|
|
||||||
</refsect1>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</refentry>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,302 +0,0 @@
|
|||||||
<INCLUDE>gdk-pixbuf/gdk-pixbuf.h</INCLUDE>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<TITLE>Versioning</TITLE>
|
|
||||||
<FILE>initialization_versions</FILE>
|
|
||||||
|
|
||||||
<SUBSECTION>
|
|
||||||
gdk_pixbuf_version
|
|
||||||
gdk_pixbuf_major_version
|
|
||||||
gdk_pixbuf_minor_version
|
|
||||||
gdk_pixbuf_micro_version
|
|
||||||
GDK_PIXBUF_VERSION
|
|
||||||
GDK_PIXBUF_MAJOR
|
|
||||||
GDK_PIXBUF_MINOR
|
|
||||||
GDK_PIXBUF_MICRO
|
|
||||||
|
|
||||||
<SUBSECTION Private>
|
|
||||||
GDK_PIXBUF_VAR
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>gdk-pixbuf</FILE>
|
|
||||||
GdkPixbufError
|
|
||||||
GDK_PIXBUF_ERROR
|
|
||||||
GdkColorspace
|
|
||||||
GdkPixbufAlphaMode
|
|
||||||
GdkPixbuf
|
|
||||||
gdk_pixbuf_get_colorspace
|
|
||||||
gdk_pixbuf_get_n_channels
|
|
||||||
gdk_pixbuf_get_has_alpha
|
|
||||||
gdk_pixbuf_get_bits_per_sample
|
|
||||||
gdk_pixbuf_get_pixels
|
|
||||||
gdk_pixbuf_get_width
|
|
||||||
gdk_pixbuf_get_height
|
|
||||||
gdk_pixbuf_get_rowstride
|
|
||||||
gdk_pixbuf_get_option
|
|
||||||
|
|
||||||
<SUBSECTION Standard>
|
|
||||||
GDK_TYPE_PIXBUF_ERROR
|
|
||||||
GDK_TYPE_COLORSPACE
|
|
||||||
GDK_TYPE_PIXBUF_ALPHA_MODE
|
|
||||||
GDK_PIXBUF
|
|
||||||
GDK_TYPE_PIXBUF
|
|
||||||
GDK_IS_PIXBUF
|
|
||||||
|
|
||||||
|
|
||||||
<SUBSECTION Private>
|
|
||||||
gdk_pixbuf_get_type
|
|
||||||
gdk_pixbuf_error_quark
|
|
||||||
gdk_colorspace_get_type
|
|
||||||
gdk_pixbuf_alpha_mode_get_type
|
|
||||||
gdk_pixbuf_error_get_type
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>refcounting</FILE>
|
|
||||||
gdk_pixbuf_ref
|
|
||||||
gdk_pixbuf_unref
|
|
||||||
GdkPixbufDestroyNotify
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>file-loading</FILE>
|
|
||||||
gdk_pixbuf_new_from_file
|
|
||||||
gdk_pixbuf_new_from_file_at_size
|
|
||||||
gdk_pixbuf_new_from_file_at_scale
|
|
||||||
gdk_pixbuf_get_file_info
|
|
||||||
gdk_pixbuf_new_from_stream
|
|
||||||
gdk_pixbuf_new_from_stream_at_scale
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>file-saving</FILE>
|
|
||||||
gdk_pixbuf_savev
|
|
||||||
gdk_pixbuf_save
|
|
||||||
GdkPixbufSaveFunc
|
|
||||||
gdk_pixbuf_save_to_callback
|
|
||||||
gdk_pixbuf_save_to_callbackv
|
|
||||||
gdk_pixbuf_save_to_buffer
|
|
||||||
gdk_pixbuf_save_to_bufferv
|
|
||||||
gdk_pixbuf_save_to_stream
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>creating</FILE>
|
|
||||||
gdk_pixbuf_new
|
|
||||||
gdk_pixbuf_new_from_data
|
|
||||||
gdk_pixbuf_new_from_xpm_data
|
|
||||||
gdk_pixbuf_new_from_inline
|
|
||||||
gdk_pixbuf_new_subpixbuf
|
|
||||||
gdk_pixbuf_copy
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<INCLUDE>gdk-pixbuf/gdk-pixdata.h</INCLUDE>
|
|
||||||
<FILE>inline</FILE>
|
|
||||||
GdkPixdata
|
|
||||||
GdkPixdataType
|
|
||||||
GdkPixdataDumpType
|
|
||||||
GDK_PIXBUF_MAGIC_NUMBER
|
|
||||||
GDK_PIXDATA_HEADER_LENGTH
|
|
||||||
gdk_pixdata_from_pixbuf
|
|
||||||
gdk_pixbuf_from_pixdata
|
|
||||||
gdk_pixdata_serialize
|
|
||||||
gdk_pixdata_deserialize
|
|
||||||
gdk_pixdata_to_csource
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>util</FILE>
|
|
||||||
gdk_pixbuf_add_alpha
|
|
||||||
gdk_pixbuf_copy_area
|
|
||||||
gdk_pixbuf_saturate_and_pixelate
|
|
||||||
gdk_pixbuf_apply_embedded_orientation
|
|
||||||
gdk_pixbuf_fill
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>animation</FILE>
|
|
||||||
GdkPixbufAnimation
|
|
||||||
GdkPixbufAnimationIter
|
|
||||||
gdk_pixbuf_animation_new_from_file
|
|
||||||
gdk_pixbuf_animation_ref
|
|
||||||
gdk_pixbuf_animation_unref
|
|
||||||
gdk_pixbuf_animation_get_width
|
|
||||||
gdk_pixbuf_animation_get_height
|
|
||||||
gdk_pixbuf_animation_get_iter
|
|
||||||
gdk_pixbuf_animation_is_static_image
|
|
||||||
gdk_pixbuf_animation_get_static_image
|
|
||||||
gdk_pixbuf_animation_iter_advance
|
|
||||||
gdk_pixbuf_animation_iter_get_delay_time
|
|
||||||
gdk_pixbuf_animation_iter_on_currently_loading_frame
|
|
||||||
gdk_pixbuf_animation_iter_get_pixbuf
|
|
||||||
|
|
||||||
<SUBSECTION>
|
|
||||||
GdkPixbufSimpleAnim
|
|
||||||
gdk_pixbuf_simple_anim_new
|
|
||||||
gdk_pixbuf_simple_anim_add_frame
|
|
||||||
gdk_pixbuf_simple_anim_set_loop
|
|
||||||
gdk_pixbuf_simple_anim_get_loop
|
|
||||||
|
|
||||||
<SUBSECTION Standard>
|
|
||||||
GDK_PIXBUF_ANIMATION
|
|
||||||
GDK_TYPE_PIXBUF_ANIMATION
|
|
||||||
GDK_IS_PIXBUF_ANIMATION
|
|
||||||
GDK_IS_PIXBUF_ANIMATION_ITER
|
|
||||||
GDK_PIXBUF_ANIMATION_ITER
|
|
||||||
GDK_TYPE_PIXBUF_ANIMATION_ITER
|
|
||||||
|
|
||||||
GDK_PIXBUF_SIMPLE_ANIM_GET_CLASS
|
|
||||||
GDK_IS_PIXBUF_SIMPLE_ANIM
|
|
||||||
GDK_PIXBUF_SIMPLE_ANIM_CLASS
|
|
||||||
GDK_IS_PIXBUF_SIMPLE_ANIM_CLASS
|
|
||||||
GDK_TYPE_PIXBUF_SIMPLE_ANIM
|
|
||||||
GDK_PIXBUF_SIMPLE_ANIM
|
|
||||||
GDK_TYPE_PIXBUF_SCALED_ANIM
|
|
||||||
GDK_TYPE_PIXBUF_SCALED_ANIM_ITER
|
|
||||||
<SUBSECTION Private>
|
|
||||||
gdk_pixbuf_non_anim_new
|
|
||||||
|
|
||||||
gdk_pixbuf_animation_get_type
|
|
||||||
gdk_pixbuf_animation_iter_get_type
|
|
||||||
|
|
||||||
gdk_pixbuf_simple_anim_get_type
|
|
||||||
gdk_pixbuf_simple_anim_iter_get_type
|
|
||||||
GdkPixbufSimpleAnimClass
|
|
||||||
gdk_pixbuf_scaled_anim_get_type
|
|
||||||
gdk_pixbuf_scaled_anim_iter_get_type
|
|
||||||
GdkPixbufScaledAnimClass
|
|
||||||
GdkPixbufScaledAnim
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>scaling</FILE>
|
|
||||||
GdkInterpType
|
|
||||||
gdk_pixbuf_scale_simple
|
|
||||||
gdk_pixbuf_scale
|
|
||||||
gdk_pixbuf_composite_color_simple
|
|
||||||
gdk_pixbuf_composite
|
|
||||||
gdk_pixbuf_composite_color
|
|
||||||
GdkPixbufRotation
|
|
||||||
gdk_pixbuf_rotate_simple
|
|
||||||
gdk_pixbuf_flip
|
|
||||||
|
|
||||||
<SUBSECTION Standard>
|
|
||||||
GDK_TYPE_INTERP_TYPE
|
|
||||||
GDK_TYPE_PIXBUF_ROTATION
|
|
||||||
|
|
||||||
<SUBSECTION Private>
|
|
||||||
gdk_interp_type_get_type
|
|
||||||
gdk_pixbuf_rotation_get_type
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>gdk-pixbuf-loader</FILE>
|
|
||||||
<TITLE>GdkPixbufLoader</TITLE>
|
|
||||||
GdkPixbufLoader
|
|
||||||
gdk_pixbuf_loader_new
|
|
||||||
gdk_pixbuf_loader_new_with_type
|
|
||||||
gdk_pixbuf_loader_new_with_mime_type
|
|
||||||
gdk_pixbuf_loader_get_format
|
|
||||||
gdk_pixbuf_loader_write
|
|
||||||
gdk_pixbuf_loader_set_size
|
|
||||||
gdk_pixbuf_loader_get_pixbuf
|
|
||||||
gdk_pixbuf_loader_get_animation
|
|
||||||
gdk_pixbuf_loader_close
|
|
||||||
<SUBSECTION Standard>
|
|
||||||
GDK_PIXBUF_LOADER
|
|
||||||
GDK_PIXBUF_LOADER_GET_CLASS
|
|
||||||
GDK_TYPE_PIXBUF_LOADER
|
|
||||||
GDK_IS_PIXBUF_LOADER
|
|
||||||
GDK_PIXBUF_LOADER_CLASS
|
|
||||||
GDK_IS_PIXBUF_LOADER_CLASS
|
|
||||||
<SUBSECTION Private>
|
|
||||||
GdkPixbufLoaderClass
|
|
||||||
gdk_pixbuf_loader_get_type
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<TITLE>Module Interface</TITLE>
|
|
||||||
<FILE>module_interface</FILE>
|
|
||||||
gdk_pixbuf_set_option
|
|
||||||
gdk_pixbuf_get_formats
|
|
||||||
gdk_pixbuf_format_get_name
|
|
||||||
gdk_pixbuf_format_get_description
|
|
||||||
gdk_pixbuf_format_get_mime_types
|
|
||||||
gdk_pixbuf_format_get_extensions
|
|
||||||
gdk_pixbuf_format_is_writable
|
|
||||||
gdk_pixbuf_format_is_scalable
|
|
||||||
gdk_pixbuf_format_is_disabled
|
|
||||||
gdk_pixbuf_format_set_disabled
|
|
||||||
gdk_pixbuf_format_get_license
|
|
||||||
GdkPixbufFormat
|
|
||||||
GdkPixbufFormatFlags
|
|
||||||
GdkPixbufModulePattern
|
|
||||||
GdkPixbufModuleFillVtableFunc
|
|
||||||
GdkPixbufModuleFillInfoFunc
|
|
||||||
GdkPixbufModuleSizeFunc
|
|
||||||
GdkPixbufModulePreparedFunc
|
|
||||||
GdkPixbufModuleUpdatedFunc
|
|
||||||
GdkPixbufModule
|
|
||||||
|
|
||||||
<SUBSECTION Animation>
|
|
||||||
GdkPixbufAnimationClass
|
|
||||||
GdkPixbufAnimationIterClass
|
|
||||||
|
|
||||||
<SUBSECTION Standard>
|
|
||||||
GDK_PIXBUF_ANIMATION_GET_CLASS
|
|
||||||
GDK_IS_PIXBUF_ANIMATION_ITER_CLASS
|
|
||||||
GDK_PIXBUF_ANIMATION_ITER_CLASS
|
|
||||||
GDK_IS_PIXBUF_ANIMATION_CLASS
|
|
||||||
GDK_PIXBUF_ANIMATION_ITER_GET_CLASS
|
|
||||||
GDK_PIXBUF_ANIMATION_CLASS
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>gdk-pixbuf-xlib-init</FILE>
|
|
||||||
gdk_pixbuf_xlib_init
|
|
||||||
gdk_pixbuf_xlib_init_with_depth
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>gdk-pixbuf-xlib-rendering</FILE>
|
|
||||||
gdk_pixbuf_xlib_render_threshold_alpha
|
|
||||||
gdk_pixbuf_xlib_render_to_drawable
|
|
||||||
gdk_pixbuf_xlib_render_to_drawable_alpha
|
|
||||||
gdk_pixbuf_xlib_render_pixmap_and_mask
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>gdk-pixbuf-xlib-from-drawables</FILE>
|
|
||||||
gdk_pixbuf_xlib_get_from_drawable
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>gdk-pixbuf-xlib-rgb</FILE>
|
|
||||||
XlibRgbCmap
|
|
||||||
XlibRgbDither
|
|
||||||
xlib_rgb_init
|
|
||||||
xlib_rgb_init_with_depth
|
|
||||||
xlib_rgb_xpixel_from_rgb
|
|
||||||
xlib_rgb_gc_set_foreground
|
|
||||||
xlib_rgb_gc_set_background
|
|
||||||
xlib_draw_rgb_image
|
|
||||||
xlib_draw_rgb_image_dithalign
|
|
||||||
xlib_draw_rgb_32_image
|
|
||||||
xlib_draw_gray_image
|
|
||||||
xlib_rgb_cmap_new
|
|
||||||
xlib_rgb_cmap_free
|
|
||||||
xlib_draw_indexed_image
|
|
||||||
xlib_rgb_ditherable
|
|
||||||
xlib_rgb_set_verbose
|
|
||||||
xlib_rgb_set_install
|
|
||||||
xlib_rgb_set_min_colors
|
|
||||||
xlib_rgb_get_cmap
|
|
||||||
xlib_rgb_get_visual
|
|
||||||
xlib_rgb_get_visual_info
|
|
||||||
xlib_rgb_get_depth
|
|
||||||
xlib_rgb_get_display
|
|
||||||
xlib_rgb_get_screen
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
@@ -1,192 +0,0 @@
|
|||||||
<?xml version="1.0"?>
|
|
||||||
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
|
||||||
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
|
||||||
<!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
|
|
||||||
<!ENTITY version SYSTEM "version.xml">
|
|
||||||
|
|
||||||
<!ENTITY gdk-pixbuf "<application>gdk-pixbuf</application>">
|
|
||||||
<!ENTITY Imlib "<application>Imlib</application>">
|
|
||||||
]>
|
|
||||||
<book id="index" xmlns:xi="http://www.w3.org/2003/XInclude">
|
|
||||||
<bookinfo>
|
|
||||||
<title>GDK-PixBuf Reference Manual</title>
|
|
||||||
<releaseinfo>
|
|
||||||
Version &version;
|
|
||||||
The latest version of this documentation can be found on-line at
|
|
||||||
<ulink role="online-location" url="http://library.gnome.org/devel/gdk-pixbuf/unstable/">http://library.gnome.org/devel/gdk-pixbuf/unstable/</ulink>.
|
|
||||||
</releaseinfo>
|
|
||||||
<authorgroup>
|
|
||||||
<author>
|
|
||||||
<firstname>Federico</firstname>
|
|
||||||
<surname>Mena Quintero</surname>
|
|
||||||
<affiliation>
|
|
||||||
<address>
|
|
||||||
<email>federico@gimp.org</email>
|
|
||||||
</address>
|
|
||||||
</affiliation>
|
|
||||||
</author>
|
|
||||||
</authorgroup>
|
|
||||||
|
|
||||||
<copyright>
|
|
||||||
<year>2000</year>
|
|
||||||
<holder>The Free Software Foundation</holder>
|
|
||||||
</copyright>
|
|
||||||
|
|
||||||
<legalnotice>
|
|
||||||
<para>
|
|
||||||
Permission is granted to copy, distribute and/or modify this
|
|
||||||
document under the terms of the <citetitle>GNU Free
|
|
||||||
Documentation License</citetitle>, Version 1.1 or any later
|
|
||||||
version published by the Free Software Foundation with no
|
|
||||||
Invariant Sections, no Front-Cover Texts, and no Back-Cover
|
|
||||||
Texts. You may obtain a copy of the <citetitle>GNU Free
|
|
||||||
Documentation License</citetitle> from the Free Software
|
|
||||||
Foundation by visiting <ulink type="http"
|
|
||||||
url="http://www.fsf.org">their Web site</ulink> or by writing
|
|
||||||
to:
|
|
||||||
|
|
||||||
<address>
|
|
||||||
The Free Software Foundation, Inc.,
|
|
||||||
<street>59 Temple Place</street> - Suite 330,
|
|
||||||
<city>Boston</city>, <state>MA</state> <postcode>02111-1307</postcode>,
|
|
||||||
<country>USA</country>
|
|
||||||
</address>
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
Many of the names used by companies to distinguish their
|
|
||||||
products and services are claimed as trademarks. Where those
|
|
||||||
names appear in any GNOME documentation, and those trademarks
|
|
||||||
are made aware to the members of the GNOME Documentation
|
|
||||||
Project, the names have been printed in caps or initial caps.
|
|
||||||
</para>
|
|
||||||
</legalnotice>
|
|
||||||
</bookinfo>
|
|
||||||
|
|
||||||
<reference>
|
|
||||||
<title>API Reference</title>
|
|
||||||
|
|
||||||
<partintro>
|
|
||||||
<para>
|
|
||||||
This part presents the class and function reference for the
|
|
||||||
&gdk-pixbuf; library. Classes are described together with
|
|
||||||
their methods; individual functions are grouped by functional
|
|
||||||
group.
|
|
||||||
</para>
|
|
||||||
</partintro>
|
|
||||||
|
|
||||||
<xi:include href="xml/initialization_versions.xml" />
|
|
||||||
|
|
||||||
<xi:include href="xml/gdk-pixbuf.xml" />
|
|
||||||
<xi:include href="xml/refcounting.xml" />
|
|
||||||
<xi:include href="xml/file-loading.xml" />
|
|
||||||
<xi:include href="xml/file-saving.xml" />
|
|
||||||
<xi:include href="xml/creating.xml" />
|
|
||||||
<xi:include href="xml/inline.xml" />
|
|
||||||
<xi:include href="xml/scaling.xml" />
|
|
||||||
<xi:include href="gdk-pixbuf-rendering.sgml" />
|
|
||||||
<xi:include href="gdk-pixbuf-from-drawables.sgml" />
|
|
||||||
<xi:include href="xml/util.xml" />
|
|
||||||
<xi:include href="xml/animation.xml" />
|
|
||||||
|
|
||||||
<xi:include href="xml/gdk-pixbuf-loader.xml" />
|
|
||||||
<xi:include href="xml/module_interface.xml" />
|
|
||||||
|
|
||||||
<xi:include href="xml/gdk-pixbuf-xlib-init.xml" />
|
|
||||||
<xi:include href="xml/gdk-pixbuf-xlib-rendering.xml" />
|
|
||||||
<xi:include href="xml/gdk-pixbuf-xlib-from-drawables.xml" />
|
|
||||||
<xi:include href="xml/gdk-pixbuf-xlib-rgb.xml" />
|
|
||||||
</reference>
|
|
||||||
|
|
||||||
<reference>
|
|
||||||
<title>Tools Reference</title>
|
|
||||||
|
|
||||||
<partintro>
|
|
||||||
<para>
|
|
||||||
This part presents the tools which are shipped with the
|
|
||||||
&gdk-pixbuf; library.
|
|
||||||
</para>
|
|
||||||
</partintro>
|
|
||||||
|
|
||||||
<xi:include href="gdk-pixbuf-csource.xml" />
|
|
||||||
<xi:include href="gdk-pixbuf-query-loaders.xml" />
|
|
||||||
</reference>
|
|
||||||
|
|
||||||
<index id="api-index-full">
|
|
||||||
<title>Index of all symbols</title>
|
|
||||||
<xi:include href="xml/api-index-full.xml"><xi:fallback /></xi:include>
|
|
||||||
</index>
|
|
||||||
<index id="api-index-deprecated" role="deprecated">
|
|
||||||
<title>Index of deprecated symbols</title>
|
|
||||||
<xi:include href="xml/api-index-deprecated.xml"><xi:fallback /></xi:include>
|
|
||||||
</index>
|
|
||||||
<index id="api-index-2-2" role="2.2">
|
|
||||||
<title>Index of new symbols in 2.2</title>
|
|
||||||
<xi:include href="xml/api-index-2.2.xml"><xi:fallback /></xi:include>
|
|
||||||
</index>
|
|
||||||
<index id="api-index-2-4" role="2.4">
|
|
||||||
<title>Index of new symbols in 2.4</title>
|
|
||||||
<xi:include href="xml/api-index-2.4.xml"><xi:fallback /></xi:include>
|
|
||||||
</index>
|
|
||||||
<index id="api-index-2-6" role="2.6">
|
|
||||||
<title>Index of new symbols in 2.6</title>
|
|
||||||
<xi:include href="xml/api-index-2.6.xml"><xi:fallback /></xi:include>
|
|
||||||
</index>
|
|
||||||
<index id="api-index-2-8" role="2.8">
|
|
||||||
<title>Index of new symbols in 2.8</title>
|
|
||||||
<xi:include href="xml/api-index-2.8.xml"><xi:fallback /></xi:include>
|
|
||||||
</index>
|
|
||||||
<index id="api-index-2-10" role="2.10">
|
|
||||||
<title>Index of new symbols in 2.10</title>
|
|
||||||
<xi:include href="xml/api-index-2.10.xml"><xi:fallback /></xi:include>
|
|
||||||
</index>
|
|
||||||
<index id="api-index-2-12" role="2.12">
|
|
||||||
<title>Index of new symbols in 2.12</title>
|
|
||||||
<xi:include href="xml/api-index-2.12.xml"><xi:fallback /></xi:include>
|
|
||||||
</index>
|
|
||||||
<index id="api-index-2-14" role="2.14">
|
|
||||||
<title>Index of new symbols in 2.14</title>
|
|
||||||
<xi:include href="xml/api-index-2.14.xml"><xi:fallback /></xi:include>
|
|
||||||
</index>
|
|
||||||
|
|
||||||
<xi:include href="porting-from-imlib.sgml" />
|
|
||||||
|
|
||||||
<!-- License -->
|
|
||||||
|
|
||||||
<appendix id="license">
|
|
||||||
<title>License</title>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
This library is free software; you can redistribute it and/or
|
|
||||||
modify it under the terms of the <citetitle>GNU Library General
|
|
||||||
Public License</citetitle> as published by the Free Software
|
|
||||||
Foundation; either version 2 of the License, or (at your option)
|
|
||||||
any later version.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
This library is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
<citetitle>GNU Library General Public License</citetitle> for
|
|
||||||
more details.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
You may obtain a copy of the <citetitle>GNU Library General
|
|
||||||
Public License</citetitle> from the Free Software Foundation by
|
|
||||||
visiting <ulink type="http" url="http://www.fsf.org">their Web
|
|
||||||
site</ulink> or by writing to:
|
|
||||||
|
|
||||||
<address>
|
|
||||||
Free Software Foundation, Inc.
|
|
||||||
<street>59 Temple Place</street> - Suite 330
|
|
||||||
<city>Boston</city>, <state>MA</state> <postcode>02111-1307</postcode>
|
|
||||||
<country>USA</country>
|
|
||||||
</address>
|
|
||||||
</para>
|
|
||||||
</appendix>
|
|
||||||
|
|
||||||
<xi:include href="xml/annotation-glossary.xml"><xi:fallback /></xi:include>
|
|
||||||
|
|
||||||
</book>
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
#include <gdk-pixbuf/gdk-pixbuf.h>
|
|
||||||
|
|
||||||
gdk_pixbuf_get_type
|
|
||||||
gdk_pixbuf_loader_get_type
|
|
||||||
gdk_pixbuf_animation_get_type
|
|
||||||
gdk_pixbuf_animation_iter_get_type
|
|
||||||
gdk_pixbuf_simple_anim_get_type
|
|
||||||
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 23 KiB |
@@ -1,358 +0,0 @@
|
|||||||
<?xml version="1.0"?>
|
|
||||||
<!DOCTYPE appendix PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
|
||||||
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
|
||||||
<!ENTITY gdk-pixbuf "<application>gdk-pixbuf</application>">
|
|
||||||
<!ENTITY Imlib "<application>Imlib</application>">
|
|
||||||
]>
|
|
||||||
<appendix>
|
|
||||||
<title>Porting applications from &Imlib; to &gdk-pixbuf;</title>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
This appendix contains the basic steps needed to port an
|
|
||||||
application that uses the &Imlib; library to use &gdk-pixbuf;
|
|
||||||
instead.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<note>
|
|
||||||
<para>
|
|
||||||
This appendix refers to version 1 of the &Imlib; library; this
|
|
||||||
discussion is not relevant to Imlib 2. Also, we discuss the
|
|
||||||
gdk_imlib API instead of the Xlib-based API.
|
|
||||||
</para>
|
|
||||||
</note>
|
|
||||||
|
|
||||||
<!-- Introduction -->
|
|
||||||
|
|
||||||
<sect1>
|
|
||||||
<title>Introduction</title>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
Prior to the GNOME 1.2 platform, the &Imlib; library was the
|
|
||||||
preferred way of loading and rendering images in GNOME
|
|
||||||
applications. Unfortunately, &Imlib; has important design
|
|
||||||
limitations that make it hard to write efficient and highly
|
|
||||||
modular applications.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
The &gdk-pixbuf; library was designed as a solution to
|
|
||||||
&Imlib;'s shortcomings. It provides a simple, orthogonal API
|
|
||||||
and convenience functions for the most common operations. In
|
|
||||||
addition, it supports full transparency information for
|
|
||||||
images, or alpha channel. More importantly, it has
|
|
||||||
well-defined semantics for memory management through the use
|
|
||||||
of reference counting; &Imlib; has an intractably complex
|
|
||||||
memory management mechanism and cache that will make your head
|
|
||||||
spin.
|
|
||||||
</para>
|
|
||||||
</sect1>
|
|
||||||
|
|
||||||
<!-- Differences between Imlib and gdk-pixbuf -->
|
|
||||||
|
|
||||||
<sect1>
|
|
||||||
<title>Differences between &Imlib; and &gdk-pixbuf;</title>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
Generally, applications that use &Imlib; do not have to be
|
|
||||||
changed extensively to use &gdk-pixbuf;; its simple and
|
|
||||||
flexible API makes things easy. This section describes the
|
|
||||||
differences between &Imlib; and &gdk-pixbuf;; you should take
|
|
||||||
these into account when modifying your applications to use
|
|
||||||
&gdk-pixbuf;.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<!-- Initialization -->
|
|
||||||
|
|
||||||
<sect2>
|
|
||||||
<title>Initialization</title>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
The &gdk-pixbuf; library does not need to be initialized.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<note>
|
|
||||||
<para>
|
|
||||||
In GNOME applications you normally don't need to
|
|
||||||
initialize &Imlib;, as <function>gnome_init()</function>
|
|
||||||
calls <function>gdk_imlib_init()</function> automatically.
|
|
||||||
</para>
|
|
||||||
</note>
|
|
||||||
</sect2>
|
|
||||||
|
|
||||||
<!-- Memory management -->
|
|
||||||
|
|
||||||
<sect2>
|
|
||||||
<title>Memory management</title>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
The &gdk-pixbuf; library provides a simple, well-defined
|
|
||||||
memory management mechanism for images in the form of
|
|
||||||
reference counting. This makes it very convenient to use
|
|
||||||
for large-scale applications that need to share images
|
|
||||||
between different parts of the program. In stark contrast,
|
|
||||||
&Imlib; has a terribly complex mechanism of an image and
|
|
||||||
pixmap cache which makes it very hard for applications to
|
|
||||||
share image structures between different parts of the
|
|
||||||
program. Unfortunately this mechanism makes things very
|
|
||||||
prone to memory leaks and tricky bugs.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
The basic principle in &gdk-pixbuf; is that when you obtain
|
|
||||||
a new <link linkend="GdkPixbuf">GdkPixbuf</link> structure,
|
|
||||||
it is created with an initial reference count of 1. When
|
|
||||||
another part of the program wants to keep a reference to the
|
|
||||||
pixbuf, it should call <function>g_object_ref()</function>;
|
|
||||||
this will increase the reference count by 1. When some part
|
|
||||||
of the program does not need to keep a reference to a pixbuf
|
|
||||||
anymore and wants to release the pixbuf, it should call
|
|
||||||
<function>g_object_unref()</function>; this will decrease
|
|
||||||
the reference count by 1. When the reference count drops to
|
|
||||||
zero, the pixbuf gets destroyed or
|
|
||||||
<emphasis>finalized</emphasis> and its memory is freed.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
For applications that need to implement a cache of loaded
|
|
||||||
images, &gdk-pixbuf; provides a way to hook to the last
|
|
||||||
unreference operation of a pixbuf; instead of finalizing the
|
|
||||||
pixbuf, the user-installed hook can decide to keep it around
|
|
||||||
in a cache instead.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
Finally, &gdk-pixbuf; does not provide a cache of rendered
|
|
||||||
pixmaps. This is unnecessary for most applications, since
|
|
||||||
the scaling and rendering functions are quite fast and
|
|
||||||
applications may need to use subtly different values each
|
|
||||||
time they call these functions, for example, to take into
|
|
||||||
account dithering and zooming offsets.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
Most applications will simply need to call
|
|
||||||
<function>g_object_ref()</function> when they want to keep
|
|
||||||
an extra reference to a pixbuf, and then
|
|
||||||
<function>g_object_unref()</function> when they are done
|
|
||||||
with it.
|
|
||||||
</para>
|
|
||||||
</sect2>
|
|
||||||
|
|
||||||
<!-- The Rendering Process -->
|
|
||||||
|
|
||||||
<sect2>
|
|
||||||
<title>The Rendering Process</title>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
The &gdk-pixbuf; library has the policy of always rendering
|
|
||||||
pixbufs to GDK drawables you provide; it will not create
|
|
||||||
them for you. This is in general more flexible than
|
|
||||||
&Imlib;'s policy of always creating a pixmap and making you
|
|
||||||
use that instead.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
The disadvantage of always having a pixmap created for you
|
|
||||||
is that it wastes memory in the X server if you intend to
|
|
||||||
copy that rendered data onto another drawable, for example,
|
|
||||||
the final destination window or a temporary pixmap for
|
|
||||||
drawing. This is the most common case, unfortunately, so
|
|
||||||
the &Imlib; policy introduces unnecessary copying.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
Also, &Imlib; can only render pixmaps that are the whole
|
|
||||||
size of the source image; you cannot render just a subset
|
|
||||||
region of the image. This is inconvenient for applications
|
|
||||||
that need to render small portions at a time, such as
|
|
||||||
applications that do scrolling. Since the whole image must
|
|
||||||
be rendered at a time, this can lead to performance and
|
|
||||||
memory usage problems.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
The &gdk-pixbuf; library lets you render any rectangular
|
|
||||||
region from an image onto any drawable that you provide.
|
|
||||||
This lets the application have fine control the way images
|
|
||||||
are rendered.
|
|
||||||
</para>
|
|
||||||
</sect2>
|
|
||||||
</sect1>
|
|
||||||
|
|
||||||
<!-- Converting Applications to gdk-pixbuf -->
|
|
||||||
|
|
||||||
<sect1>
|
|
||||||
<title>Converting Applications to &gdk-pixbuf;</title>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
This sections describes the actual changes you need to make in
|
|
||||||
an &Imlib; program to make it use &gdk-pixbuf; instead.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<!-- Image loading and creation -->
|
|
||||||
|
|
||||||
<sect2>
|
|
||||||
<title>Image loading and creation</title>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
The &gdk-pixbuf; library can load image files synchronously
|
|
||||||
(i.e. with a single function call), create images from RGB
|
|
||||||
data in memory, and as a convenience, it can also create
|
|
||||||
images from inline XPM data.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
To load an image file in a single function call, simply use
|
|
||||||
<function>gdk_pixbuf_new_from_file()</function>. Note that
|
|
||||||
this will make the program block until the whole file has
|
|
||||||
been read. This function effectively replaces
|
|
||||||
<function>gdk_imlib_load_image()</function>.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
If you have RGB data in memory, you can use
|
|
||||||
<function>gdk_pixbuf_new_from_data()</function> to create a
|
|
||||||
pixbuf out of it; this is a replacement for
|
|
||||||
<function>gdk_imlib_create_image_from_data()</function>.
|
|
||||||
&gdk-pixbuf; does not copy the image data; it is up to you
|
|
||||||
to define the ownership policy by providing a destroy
|
|
||||||
notification function that will be called when the image
|
|
||||||
data needs to be freed. The function you provide can then
|
|
||||||
free the data or do something else, as appropriate.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
As a convenience, you can use the
|
|
||||||
<function>gdk_pixbuf_new_from_xpm_data()</function> function
|
|
||||||
to create a pixbuf out of inline XPM data that was compiled
|
|
||||||
into your C program. This is a replacement for
|
|
||||||
<function>gdk_imlib_create_image_from_xpm_data()</function>.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
After you have created a pixbuf, you can manipulate it in
|
|
||||||
any way you please and then finally call
|
|
||||||
<function>g_object_unref()</function> when you are done
|
|
||||||
with it. This can be thought of as a replacement for
|
|
||||||
<function>gdk_imlib_destroy_image()</function> but with much
|
|
||||||
cleaner semantics.
|
|
||||||
</para>
|
|
||||||
</sect2>
|
|
||||||
|
|
||||||
<!-- Rendering Images -->
|
|
||||||
|
|
||||||
<sect2>
|
|
||||||
<title>Rendering Images</title>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
Applications that use &Imlib; must first call
|
|
||||||
<function>gdk_imlib_render()</function> to render the whole
|
|
||||||
image data onto a pixmap that &Imlib; creates. Then they
|
|
||||||
must copy that pixmap's data into the final destination for
|
|
||||||
the image.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
In contrast, &gdk-pixbuf; provides convenience functions to
|
|
||||||
render arbitrary rectangular regions of an image onto a
|
|
||||||
drawable that your application provides. You can use
|
|
||||||
<function>gdk_draw_pixbuf()</function> to do this; having
|
|
||||||
your application provide the destination drawable and
|
|
||||||
specify an arbitrary region means your application has
|
|
||||||
complete control over the way images are rendered.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
As a convenience, &gdk-pixbuf; also provides the
|
|
||||||
<function>gdk_pixbuf_render_pixmap_and_mask()</function>
|
|
||||||
function; this will create new pixmap and mask drawables for
|
|
||||||
a whole pixbuf and render the image data onto them. Only
|
|
||||||
trivially simple applications should find a use for this
|
|
||||||
function, since usually you want finer control of how things
|
|
||||||
are rendered.
|
|
||||||
</para>
|
|
||||||
</sect2>
|
|
||||||
|
|
||||||
<!-- Scaling Images -->
|
|
||||||
|
|
||||||
<sect2>
|
|
||||||
<title>Scaling Images</title>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
&Imlib; lets you render scaled image data at the time you
|
|
||||||
call <function>gdk_imlib_render()</function>. Again, this
|
|
||||||
unfortunately scales and renders the whole image onto a new
|
|
||||||
pixmap.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
&gdk-pixbuf; provides a number of functions that do scaling
|
|
||||||
of arbitrary regions of a source pixbuf onto a destination
|
|
||||||
one. These functions can also perform compositing
|
|
||||||
operations against the data in the destination pixbuf or
|
|
||||||
against a solid color or a colored checkerboard.
|
|
||||||
<footnote>
|
|
||||||
<para>
|
|
||||||
You can use a colored checkerboard as the background for
|
|
||||||
compositing when you want to provide a visual indication
|
|
||||||
that the image has partially opaque areas. This is
|
|
||||||
normally used in image editing and viewing programs.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
Compositing against a single solid color is actually a
|
|
||||||
special case of a checkerboard; it simply uses checks of
|
|
||||||
the same color.
|
|
||||||
</para>
|
|
||||||
</footnote>
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
Very simple applications may find it sufficient to use
|
|
||||||
<function>gdk_pixbuf_scale_simple()</function> or
|
|
||||||
<function>gdk_pixbuf_composite_color_simple()</function>.
|
|
||||||
These functions scale the whole source image at a time and
|
|
||||||
create a new pixbuf with the result.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
More sophisticated applications will need to use
|
|
||||||
<function>gdk_pixbuf_scale()</function>,
|
|
||||||
<function>gdk_pixbuf_composite()</function>, or
|
|
||||||
<function>gdk_pixbuf_composite_color()</function> instead.
|
|
||||||
These functions let you scale and composite an arbitrary
|
|
||||||
region of the source pixbuf onto a destination pixbuf that
|
|
||||||
you provide.
|
|
||||||
</para>
|
|
||||||
</sect2>
|
|
||||||
|
|
||||||
<!-- Getting Image Data from a Drawable -->
|
|
||||||
|
|
||||||
<sect2>
|
|
||||||
<title>Getting Image Data from a Drawable</title>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
&Imlib; lets you create an image by fetching a drawable's
|
|
||||||
contents from the X server and converting those into RGB
|
|
||||||
data. This is done with the
|
|
||||||
<function>gdk_imlib_create_image_from_drawable()</function>
|
|
||||||
function.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
&gdk-pixbuf; provides the
|
|
||||||
<function>gdk_pixbuf_get_from_drawable()</function> function
|
|
||||||
instead. It lets you specify a destination pixbuf instead
|
|
||||||
of always creating a new one for you.
|
|
||||||
</para>
|
|
||||||
</sect2>
|
|
||||||
</sect1>
|
|
||||||
</appendix>
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Local variables:
|
|
||||||
mode: sgml
|
|
||||||
sgml-parent-document: ("gdk-pixbuf.sgml" "book" "book" "")
|
|
||||||
End:
|
|
||||||
-->
|
|
||||||
|
|
||||||
@@ -1,197 +0,0 @@
|
|||||||
<!-- ##### SECTION Title ##### -->
|
|
||||||
Animations
|
|
||||||
|
|
||||||
<!-- ##### SECTION Short_Description ##### -->
|
|
||||||
Animated images.
|
|
||||||
|
|
||||||
<!-- ##### SECTION Long_Description ##### -->
|
|
||||||
<para>
|
|
||||||
The &gdk-pixbuf; library provides a simple mechanism to load and represent
|
|
||||||
animations. An animation is conceptually a series of frames to be displayed
|
|
||||||
over time. Each frame is the same size. The animation may not be represented
|
|
||||||
as a series of frames internally; for example, it may be stored as a
|
|
||||||
sprite and instructions for moving the sprite around a background. To display
|
|
||||||
an animation you don't need to understand its representation, however; you just
|
|
||||||
ask &gdk-pixbuf; what should be displayed at a given point in time.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<!-- ##### SECTION See_Also ##### -->
|
|
||||||
<para>
|
|
||||||
#GdkPixbufLoader
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<!-- ##### SECTION Stability_Level ##### -->
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### STRUCT GdkPixbufAnimation ##### -->
|
|
||||||
<para>
|
|
||||||
An opaque struct representing an animation.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### STRUCT GdkPixbufAnimationIter ##### -->
|
|
||||||
<para>
|
|
||||||
An opaque struct representing an iterator which points to a
|
|
||||||
certain position in an animation.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION gdk_pixbuf_animation_new_from_file ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@filename:
|
|
||||||
@error:
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION gdk_pixbuf_animation_ref ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@animation:
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION gdk_pixbuf_animation_unref ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@animation:
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION gdk_pixbuf_animation_get_width ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@animation:
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION gdk_pixbuf_animation_get_height ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@animation:
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION gdk_pixbuf_animation_get_iter ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@animation:
|
|
||||||
@start_time:
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION gdk_pixbuf_animation_is_static_image ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@animation:
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION gdk_pixbuf_animation_get_static_image ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@animation:
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION gdk_pixbuf_animation_iter_advance ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@iter:
|
|
||||||
@current_time:
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION gdk_pixbuf_animation_iter_get_delay_time ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@iter:
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION gdk_pixbuf_animation_iter_on_currently_loading_frame ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@iter:
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION gdk_pixbuf_animation_iter_get_pixbuf ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@iter:
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### STRUCT GdkPixbufSimpleAnim ##### -->
|
|
||||||
<para>
|
|
||||||
An opaque struct representing a simple animation.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### ARG GdkPixbufSimpleAnim:loop ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION gdk_pixbuf_simple_anim_new ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@width:
|
|
||||||
@height:
|
|
||||||
@rate:
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION gdk_pixbuf_simple_anim_add_frame ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@animation:
|
|
||||||
@pixbuf:
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION gdk_pixbuf_simple_anim_set_loop ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@animation:
|
|
||||||
@loop:
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION gdk_pixbuf_simple_anim_get_loop ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@animation:
|
|
||||||
@Returns:
|
|
||||||
|
|
||||||
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user