clutter 2.0.0-x86-mingw32 → 2.0.1-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (360) hide show
  1. data/Rakefile +9 -2
  2. data/lib/clutter.rb +19 -6
  3. data/lib/clutter/color.rb +33 -5
  4. data/sample/basic-actor.rb +0 -2
  5. data/sample/bin-layout.rb +0 -2
  6. data/sample/box-layout.rb +0 -2
  7. data/sample/canvas.rb +2 -4
  8. data/sample/constraints.rb +0 -2
  9. data/sample/drag-action.rb +0 -2
  10. data/sample/drop-action.rb +4 -6
  11. data/sample/easing-modes.rb +0 -2
  12. data/sample/flow-layout.rb +0 -2
  13. data/sample/grid-layout.rb +0 -2
  14. data/sample/image-content.rb +0 -2
  15. data/sample/pan-action.rb +0 -2
  16. data/sample/rounded-rectangle.rb +0 -2
  17. data/sample/scroll-actor.rb +0 -2
  18. data/test/run-test.rb +7 -3
  19. data/test/test-clutter-color.rb +42 -0
  20. data/vendor/local/bin/libclutter-1.0-0.dll +0 -0
  21. data/vendor/local/bin/libcogl-12.dll +0 -0
  22. data/vendor/local/bin/libcogl-pango-12.dll +0 -0
  23. data/vendor/local/bin/libjson-glib-1.0-0.dll +0 -0
  24. data/vendor/local/include/clutter-1.0/clutter/clutter-stage.h +9 -0
  25. data/vendor/local/include/clutter-1.0/clutter/clutter-version.h +3 -3
  26. data/vendor/local/include/json-glib-1.0/json-glib/json-gobject.h +4 -5
  27. data/vendor/local/include/json-glib-1.0/json-glib/json-parser.h +3 -1
  28. data/vendor/local/include/json-glib-1.0/json-glib/json-types.h +29 -3
  29. data/vendor/local/include/json-glib-1.0/json-glib/json-version.h +4 -4
  30. data/vendor/local/lib/girepository-1.0/Clutter-1.0.typelib +0 -0
  31. data/vendor/local/lib/girepository-1.0/CoglPango-1.0.typelib +0 -0
  32. data/vendor/local/lib/girepository-1.0/Json-1.0.typelib +0 -0
  33. data/vendor/local/lib/libclutter-1.0.dll.a +0 -0
  34. data/vendor/local/lib/libclutter-1.0.la +3 -3
  35. data/vendor/local/lib/libcogl-pango.dll.a +0 -0
  36. data/vendor/local/lib/libcogl-pango.la +1 -1
  37. data/vendor/local/lib/libcogl.dll.a +0 -0
  38. data/vendor/local/lib/libcogl.la +1 -1
  39. data/vendor/local/lib/libjson-glib-1.0.dll.a +0 -0
  40. data/vendor/local/lib/libjson-glib-1.0.la +4 -4
  41. data/vendor/local/lib/pkgconfig/cally-1.0.pc +1 -1
  42. data/vendor/local/lib/pkgconfig/clutter-1.0.pc +1 -1
  43. data/vendor/local/lib/pkgconfig/clutter-win32-1.0.pc +1 -1
  44. data/vendor/local/lib/pkgconfig/json-glib-1.0.pc +1 -1
  45. data/vendor/local/share/gir-1.0/Clutter-1.0.gir +2 -2
  46. data/vendor/local/share/gir-1.0/Json-1.0.gir +224 -15
  47. data/vendor/local/share/gtk-doc/html/cally/CallyActor.html +1 -1
  48. data/vendor/local/share/gtk-doc/html/cally/CallyClone.html +1 -1
  49. data/vendor/local/share/gtk-doc/html/cally/CallyGroup.html +1 -1
  50. data/vendor/local/share/gtk-doc/html/cally/CallyRectangle.html +1 -1
  51. data/vendor/local/share/gtk-doc/html/cally/CallyRoot.html +1 -1
  52. data/vendor/local/share/gtk-doc/html/cally/CallyStage.html +1 -1
  53. data/vendor/local/share/gtk-doc/html/cally/CallyText.html +1 -1
  54. data/vendor/local/share/gtk-doc/html/cally/CallyTexture.html +1 -1
  55. data/vendor/local/share/gtk-doc/html/cally/CallyUtil.html +1 -1
  56. data/vendor/local/share/gtk-doc/html/cally/cally-General-API.html +1 -1
  57. data/vendor/local/share/gtk-doc/html/cally/callyannotationglossary.html +6 -8
  58. data/vendor/local/share/gtk-doc/html/cally/callybase.html +2 -2
  59. data/vendor/local/share/gtk-doc/html/cally/callyobjecthierarchy.html +1 -1
  60. data/vendor/local/share/gtk-doc/html/cally/callyobjectindex.html +1 -1
  61. data/vendor/local/share/gtk-doc/html/cally/callyobjects.html +2 -2
  62. data/vendor/local/share/gtk-doc/html/cally/ch01.html +2 -2
  63. data/vendor/local/share/gtk-doc/html/cally/ch02.html +2 -2
  64. data/vendor/local/share/gtk-doc/html/cally/clutter-overview.html +1 -1
  65. data/vendor/local/share/gtk-doc/html/cally/index.html +3 -3
  66. data/vendor/local/share/gtk-doc/html/cally/ix01.html +1 -1
  67. data/vendor/local/share/gtk-doc/html/cally/ix02.html +1 -1
  68. data/vendor/local/share/gtk-doc/html/cally/ix03.html +1 -1
  69. data/vendor/local/share/gtk-doc/html/cally/ix04.html +1 -1
  70. data/vendor/local/share/gtk-doc/html/cally/license.html +1 -1
  71. data/vendor/local/share/gtk-doc/html/clutter/ClutterAction.html +1 -1
  72. data/vendor/local/share/gtk-doc/html/clutter/ClutterActor.html +1 -1
  73. data/vendor/local/share/gtk-doc/html/clutter/ClutterActorMeta.html +1 -1
  74. data/vendor/local/share/gtk-doc/html/clutter/ClutterAlignConstraint.html +1 -1
  75. data/vendor/local/share/gtk-doc/html/clutter/ClutterAlpha.html +1 -1
  76. data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimatable.html +1 -1
  77. data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimator.html +1 -1
  78. data/vendor/local/share/gtk-doc/html/clutter/ClutterBackend.html +1 -1
  79. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviour.html +1 -1
  80. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourDepth.html +1 -1
  81. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourEllipse.html +1 -1
  82. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourOpacity.html +1 -1
  83. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourPath.html +1 -1
  84. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourRotate.html +1 -1
  85. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourScale.html +1 -1
  86. data/vendor/local/share/gtk-doc/html/clutter/ClutterBinLayout.html +1 -1
  87. data/vendor/local/share/gtk-doc/html/clutter/ClutterBindConstraint.html +1 -1
  88. data/vendor/local/share/gtk-doc/html/clutter/ClutterBlurEffect.html +1 -1
  89. data/vendor/local/share/gtk-doc/html/clutter/ClutterBox.html +1 -1
  90. data/vendor/local/share/gtk-doc/html/clutter/ClutterBoxLayout.html +1 -1
  91. data/vendor/local/share/gtk-doc/html/clutter/ClutterBrightnessContrastEffect.html +1 -1
  92. data/vendor/local/share/gtk-doc/html/clutter/ClutterCairoTexture.html +1 -1
  93. data/vendor/local/share/gtk-doc/html/clutter/ClutterCanvas.html +1 -1
  94. data/vendor/local/share/gtk-doc/html/clutter/ClutterChildMeta.html +1 -1
  95. data/vendor/local/share/gtk-doc/html/clutter/ClutterClickAction.html +1 -1
  96. data/vendor/local/share/gtk-doc/html/clutter/ClutterClone.html +1 -1
  97. data/vendor/local/share/gtk-doc/html/clutter/ClutterColorizeEffect.html +1 -1
  98. data/vendor/local/share/gtk-doc/html/clutter/ClutterConstraint.html +1 -1
  99. data/vendor/local/share/gtk-doc/html/clutter/ClutterContainer.html +1 -1
  100. data/vendor/local/share/gtk-doc/html/clutter/ClutterContent.html +1 -1
  101. data/vendor/local/share/gtk-doc/html/clutter/ClutterDeformEffect.html +1 -1
  102. data/vendor/local/share/gtk-doc/html/clutter/ClutterDesaturateEffect.html +1 -1
  103. data/vendor/local/share/gtk-doc/html/clutter/ClutterDeviceManager.html +1 -1
  104. data/vendor/local/share/gtk-doc/html/clutter/ClutterDragAction.html +1 -1
  105. data/vendor/local/share/gtk-doc/html/clutter/ClutterDropAction.html +1 -1
  106. data/vendor/local/share/gtk-doc/html/clutter/ClutterEffect.html +1 -1
  107. data/vendor/local/share/gtk-doc/html/clutter/ClutterFixedLayout.html +1 -1
  108. data/vendor/local/share/gtk-doc/html/clutter/ClutterFlowLayout.html +1 -1
  109. data/vendor/local/share/gtk-doc/html/clutter/ClutterGestureAction.html +1 -1
  110. data/vendor/local/share/gtk-doc/html/clutter/ClutterGridLayout.html +1 -1
  111. data/vendor/local/share/gtk-doc/html/clutter/ClutterGroup.html +1 -1
  112. data/vendor/local/share/gtk-doc/html/clutter/ClutterImage.html +1 -1
  113. data/vendor/local/share/gtk-doc/html/clutter/ClutterInputDevice.html +1 -1
  114. data/vendor/local/share/gtk-doc/html/clutter/ClutterKeyframeTransition.html +1 -1
  115. data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutManager.html +1 -1
  116. data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutMeta.html +1 -1
  117. data/vendor/local/share/gtk-doc/html/clutter/ClutterListModel.html +1 -1
  118. data/vendor/local/share/gtk-doc/html/clutter/ClutterMedia.html +1 -1
  119. data/vendor/local/share/gtk-doc/html/clutter/ClutterModel.html +1 -1
  120. data/vendor/local/share/gtk-doc/html/clutter/ClutterModelIter.html +1 -1
  121. data/vendor/local/share/gtk-doc/html/clutter/ClutterOffscreenEffect.html +1 -1
  122. data/vendor/local/share/gtk-doc/html/clutter/ClutterPageTurnEffect.html +1 -1
  123. data/vendor/local/share/gtk-doc/html/clutter/ClutterPaintNode.html +1 -1
  124. data/vendor/local/share/gtk-doc/html/clutter/ClutterPanAction.html +1 -1
  125. data/vendor/local/share/gtk-doc/html/clutter/ClutterPath.html +1 -1
  126. data/vendor/local/share/gtk-doc/html/clutter/ClutterPathConstraint.html +1 -1
  127. data/vendor/local/share/gtk-doc/html/clutter/ClutterPropertyTransition.html +1 -1
  128. data/vendor/local/share/gtk-doc/html/clutter/ClutterRectangle.html +1 -1
  129. data/vendor/local/share/gtk-doc/html/clutter/ClutterRotateAction.html +1 -1
  130. data/vendor/local/share/gtk-doc/html/clutter/ClutterScore.html +1 -1
  131. data/vendor/local/share/gtk-doc/html/clutter/ClutterScript.html +1 -1
  132. data/vendor/local/share/gtk-doc/html/clutter/ClutterScriptable.html +1 -1
  133. data/vendor/local/share/gtk-doc/html/clutter/ClutterScrollActor.html +1 -1
  134. data/vendor/local/share/gtk-doc/html/clutter/ClutterSettings.html +1 -1
  135. data/vendor/local/share/gtk-doc/html/clutter/ClutterShaderEffect.html +1 -1
  136. data/vendor/local/share/gtk-doc/html/clutter/ClutterSnapConstraint.html +1 -1
  137. data/vendor/local/share/gtk-doc/html/clutter/ClutterStage.html +1 -1
  138. data/vendor/local/share/gtk-doc/html/clutter/ClutterState.html +1 -1
  139. data/vendor/local/share/gtk-doc/html/clutter/ClutterSwipeAction.html +1 -1
  140. data/vendor/local/share/gtk-doc/html/clutter/ClutterTableLayout.html +1 -1
  141. data/vendor/local/share/gtk-doc/html/clutter/ClutterTapAction.html +2 -2
  142. data/vendor/local/share/gtk-doc/html/clutter/ClutterText.html +1 -1
  143. data/vendor/local/share/gtk-doc/html/clutter/ClutterTextBuffer.html +1 -1
  144. data/vendor/local/share/gtk-doc/html/clutter/ClutterTexture.html +1 -1
  145. data/vendor/local/share/gtk-doc/html/clutter/ClutterTimeline.html +1 -1
  146. data/vendor/local/share/gtk-doc/html/clutter/ClutterTransition.html +1 -1
  147. data/vendor/local/share/gtk-doc/html/clutter/ClutterTransitionGroup.html +1 -1
  148. data/vendor/local/share/gtk-doc/html/clutter/ClutterZoomAction.html +1 -1
  149. data/vendor/local/share/gtk-doc/html/clutter/annotation-glossary.html +29 -43
  150. data/vendor/local/share/gtk-doc/html/clutter/building-clutter.html +1 -1
  151. data/vendor/local/share/gtk-doc/html/clutter/ch01.html +2 -2
  152. data/vendor/local/share/gtk-doc/html/clutter/ch02.html +2 -2
  153. data/vendor/local/share/gtk-doc/html/clutter/ch03.html +2 -2
  154. data/vendor/local/share/gtk-doc/html/clutter/ch04.html +2 -2
  155. data/vendor/local/share/gtk-doc/html/clutter/ch05.html +2 -2
  156. data/vendor/local/share/gtk-doc/html/clutter/ch06.html +2 -2
  157. data/vendor/local/share/gtk-doc/html/clutter/ch07.html +2 -2
  158. data/vendor/local/share/gtk-doc/html/clutter/ch08.html +2 -2
  159. data/vendor/local/share/gtk-doc/html/clutter/ch09.html +2 -2
  160. data/vendor/local/share/gtk-doc/html/clutter/ch10.html +2 -2
  161. data/vendor/local/share/gtk-doc/html/clutter/ch11.html +2 -2
  162. data/vendor/local/share/gtk-doc/html/clutter/ch12.html +2 -2
  163. data/vendor/local/share/gtk-doc/html/clutter/clutter-Base-geometric-types.html +1 -1
  164. data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterGLXTexturePixmap.html +1 -1
  165. data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterWaylandSurface.html +1 -1
  166. data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterX11TexturePixmap.html +1 -1
  167. data/vendor/local/share/gtk-doc/html/clutter/clutter-Colors.html +1 -1
  168. data/vendor/local/share/gtk-doc/html/clutter/clutter-EGL-Specific-Support.html +1 -1
  169. data/vendor/local/share/gtk-doc/html/clutter/clutter-Events.html +1 -1
  170. data/vendor/local/share/gtk-doc/html/clutter/clutter-Features.html +1 -1
  171. data/vendor/local/share/gtk-doc/html/clutter/clutter-GDK-Specific-Support.html +1 -1
  172. data/vendor/local/share/gtk-doc/html/clutter/clutter-General.html +1 -1
  173. data/vendor/local/share/gtk-doc/html/clutter/clutter-Implicit-Animations.html +1 -1
  174. data/vendor/local/share/gtk-doc/html/clutter/clutter-Intel-CE3100-CE4100-Specific-Support.html +1 -1
  175. data/vendor/local/share/gtk-doc/html/clutter/clutter-Key-Bindings.html +1 -1
  176. data/vendor/local/share/gtk-doc/html/clutter/clutter-Paint-Nodes.html +1 -1
  177. data/vendor/local/share/gtk-doc/html/clutter/clutter-Shaders.html +1 -1
  178. data/vendor/local/share/gtk-doc/html/clutter/clutter-Stage-Manager.html +1 -1
  179. data/vendor/local/share/gtk-doc/html/clutter/clutter-Unit-conversion.html +1 -1
  180. data/vendor/local/share/gtk-doc/html/clutter/clutter-Utilities.html +1 -1
  181. data/vendor/local/share/gtk-doc/html/clutter/clutter-Value-intervals.html +1 -1
  182. data/vendor/local/share/gtk-doc/html/clutter/clutter-Versioning-Macros.html +4 -4
  183. data/vendor/local/share/gtk-doc/html/clutter/clutter-Wayland-compositor-specific-support.html +1 -1
  184. data/vendor/local/share/gtk-doc/html/clutter/clutter-Win32-Specific-Support.html +1 -1
  185. data/vendor/local/share/gtk-doc/html/clutter/clutter-X11-Specific-Support.html +1 -1
  186. data/vendor/local/share/gtk-doc/html/clutter/clutter-overview.html +1 -1
  187. data/vendor/local/share/gtk-doc/html/clutter/clutteranimation.html +2 -2
  188. data/vendor/local/share/gtk-doc/html/clutter/clutterbackends.html +2 -2
  189. data/vendor/local/share/gtk-doc/html/clutter/clutterbase.html +2 -2
  190. data/vendor/local/share/gtk-doc/html/clutter/clutterglossary.html +2 -2
  191. data/vendor/local/share/gtk-doc/html/clutter/clutterobjecthierarchy.html +1 -1
  192. data/vendor/local/share/gtk-doc/html/clutter/clutterobjectindex.html +1 -1
  193. data/vendor/local/share/gtk-doc/html/clutter/clutterobjects.html +2 -2
  194. data/vendor/local/share/gtk-doc/html/clutter/cluttertools.html +2 -2
  195. data/vendor/local/share/gtk-doc/html/clutter/deprecated.html +2 -2
  196. data/vendor/local/share/gtk-doc/html/clutter/go01.html +37 -25
  197. data/vendor/local/share/gtk-doc/html/clutter/index.html +3 -3
  198. data/vendor/local/share/gtk-doc/html/clutter/iterating-paths.html +1 -1
  199. data/vendor/local/share/gtk-doc/html/clutter/ix01.html +1 -1
  200. data/vendor/local/share/gtk-doc/html/clutter/ix02.html +1 -1
  201. data/vendor/local/share/gtk-doc/html/clutter/ix03.html +1 -1
  202. data/vendor/local/share/gtk-doc/html/clutter/ix04.html +1 -1
  203. data/vendor/local/share/gtk-doc/html/clutter/ix05.html +1 -1
  204. data/vendor/local/share/gtk-doc/html/clutter/ix06.html +1 -1
  205. data/vendor/local/share/gtk-doc/html/clutter/ix07.html +1 -1
  206. data/vendor/local/share/gtk-doc/html/clutter/ix08.html +1 -1
  207. data/vendor/local/share/gtk-doc/html/clutter/ix09.html +1 -1
  208. data/vendor/local/share/gtk-doc/html/clutter/ix10.html +1 -1
  209. data/vendor/local/share/gtk-doc/html/clutter/ix11.html +1 -1
  210. data/vendor/local/share/gtk-doc/html/clutter/ix12.html +1 -1
  211. data/vendor/local/share/gtk-doc/html/clutter/ix13.html +1 -1
  212. data/vendor/local/share/gtk-doc/html/clutter/ix14.html +1 -1
  213. data/vendor/local/share/gtk-doc/html/clutter/license.html +1 -1
  214. data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterAnimation.html +2 -2
  215. data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterBehaviour.html +1 -1
  216. data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterEffect.html +2 -2
  217. data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterPath.html +2 -2
  218. data/vendor/local/share/gtk-doc/html/clutter/migration.html +2 -2
  219. data/vendor/local/share/gtk-doc/html/clutter/pt09.html +1 -1
  220. data/vendor/local/share/gtk-doc/html/clutter/running-clutter.html +1 -1
  221. data/vendor/local/share/gtk-doc/html/clutter/using-cairo.html +1 -1
  222. data/vendor/local/share/gtk-doc/html/json-glib/JsonBuilder.html +69 -27
  223. data/vendor/local/share/gtk-doc/html/json-glib/JsonGenerator.html +54 -18
  224. data/vendor/local/share/gtk-doc/html/json-glib/JsonParser.html +102 -33
  225. data/vendor/local/share/gtk-doc/html/json-glib/JsonPath.html +23 -8
  226. data/vendor/local/share/gtk-doc/html/json-glib/JsonReader.html +90 -27
  227. data/vendor/local/share/gtk-doc/html/json-glib/annotation-glossary.html +23 -33
  228. data/vendor/local/share/gtk-doc/html/json-glib/ch01.html +3 -3
  229. data/vendor/local/share/gtk-doc/html/json-glib/ch02.html +3 -3
  230. data/vendor/local/share/gtk-doc/html/json-glib/ch03.html +3 -3
  231. data/vendor/local/share/gtk-doc/html/json-glib/ch04.html +2 -2
  232. data/vendor/local/share/gtk-doc/html/json-glib/index.html +4 -4
  233. data/vendor/local/share/gtk-doc/html/json-glib/index.sgml +10 -0
  234. data/vendor/local/share/gtk-doc/html/json-glib/ix01.html +39 -3
  235. data/vendor/local/share/gtk-doc/html/json-glib/ix02.html +3 -3
  236. data/vendor/local/share/gtk-doc/html/json-glib/ix03.html +3 -3
  237. data/vendor/local/share/gtk-doc/html/json-glib/ix04.html +3 -3
  238. data/vendor/local/share/gtk-doc/html/json-glib/ix05.html +3 -3
  239. data/vendor/local/share/gtk-doc/html/json-glib/ix06.html +3 -3
  240. data/vendor/local/share/gtk-doc/html/json-glib/ix07.html +3 -3
  241. data/vendor/local/share/gtk-doc/html/json-glib/ix08.html +3 -3
  242. data/vendor/local/share/gtk-doc/html/json-glib/json-advanced.html +2 -2
  243. data/vendor/local/share/gtk-doc/html/json-glib/json-base.html +2 -2
  244. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Boxed-Types-Serialization.html +34 -10
  245. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-GObject-Serialization.html +31 -13
  246. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Array.html +106 -28
  247. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-GVariant-Integration.html +40 -18
  248. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Node.html +490 -44
  249. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Object.html +115 -31
  250. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Serializable-Interface.html +30 -9
  251. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Versioning-information.html +9 -6
  252. data/vendor/local/share/gtk-doc/html/json-glib/json-glib.devhelp2 +10 -0
  253. data/vendor/local/share/gtk-doc/html/json-glib/json-glib.html +1 -1
  254. data/vendor/local/share/gtk-doc/html/json-glib/json-streams.html +2 -2
  255. data/vendor/local/share/gtk-doc/html/json-glib/json-tools.html +2 -2
  256. data/vendor/local/share/gtk-doc/html/json-glib/license.html +3 -3
  257. data/vendor/local/share/locale/ar/LC_MESSAGES/clutter-1.0.mo +0 -0
  258. data/vendor/local/share/locale/as/LC_MESSAGES/clutter-1.0.mo +0 -0
  259. data/vendor/local/share/locale/as/LC_MESSAGES/json-glib-1.0.mo +0 -0
  260. data/vendor/local/share/locale/ast/LC_MESSAGES/clutter-1.0.mo +0 -0
  261. data/vendor/local/share/locale/az_IR/LC_MESSAGES/clutter-1.0.mo +0 -0
  262. data/vendor/local/share/locale/be/LC_MESSAGES/clutter-1.0.mo +0 -0
  263. data/vendor/local/share/locale/bg/LC_MESSAGES/clutter-1.0.mo +0 -0
  264. data/vendor/local/share/locale/bg/LC_MESSAGES/json-glib-1.0.mo +0 -0
  265. data/vendor/local/share/locale/bn_IN/LC_MESSAGES/json-glib-1.0.mo +0 -0
  266. data/vendor/local/share/locale/ca/LC_MESSAGES/clutter-1.0.mo +0 -0
  267. data/vendor/local/share/locale/ca/LC_MESSAGES/json-glib-1.0.mo +0 -0
  268. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/clutter-1.0.mo +0 -0
  269. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/json-glib-1.0.mo +0 -0
  270. data/vendor/local/share/locale/cs/LC_MESSAGES/clutter-1.0.mo +0 -0
  271. data/vendor/local/share/locale/cs/LC_MESSAGES/json-glib-1.0.mo +0 -0
  272. data/vendor/local/share/locale/da/LC_MESSAGES/clutter-1.0.mo +0 -0
  273. data/vendor/local/share/locale/da/LC_MESSAGES/json-glib-1.0.mo +0 -0
  274. data/vendor/local/share/locale/de/LC_MESSAGES/clutter-1.0.mo +0 -0
  275. data/vendor/local/share/locale/de/LC_MESSAGES/json-glib-1.0.mo +0 -0
  276. data/vendor/local/share/locale/el/LC_MESSAGES/clutter-1.0.mo +0 -0
  277. data/vendor/local/share/locale/el/LC_MESSAGES/json-glib-1.0.mo +0 -0
  278. data/vendor/local/share/locale/en_GB/LC_MESSAGES/clutter-1.0.mo +0 -0
  279. data/vendor/local/share/locale/en_GB/LC_MESSAGES/json-glib-1.0.mo +0 -0
  280. data/vendor/local/share/locale/eo/LC_MESSAGES/clutter-1.0.mo +0 -0
  281. data/vendor/local/share/locale/eo/LC_MESSAGES/json-glib-1.0.mo +0 -0
  282. data/vendor/local/share/locale/es/LC_MESSAGES/clutter-1.0.mo +0 -0
  283. data/vendor/local/share/locale/es/LC_MESSAGES/json-glib-1.0.mo +0 -0
  284. data/vendor/local/share/locale/et/LC_MESSAGES/json-glib-1.0.mo +0 -0
  285. data/vendor/local/share/locale/eu/LC_MESSAGES/json-glib-1.0.mo +0 -0
  286. data/vendor/local/share/locale/fa/LC_MESSAGES/clutter-1.0.mo +0 -0
  287. data/vendor/local/share/locale/fi/LC_MESSAGES/clutter-1.0.mo +0 -0
  288. data/vendor/local/share/locale/fr/LC_MESSAGES/clutter-1.0.mo +0 -0
  289. data/vendor/local/share/locale/fr/LC_MESSAGES/json-glib-1.0.mo +0 -0
  290. data/vendor/local/share/locale/gl/LC_MESSAGES/clutter-1.0.mo +0 -0
  291. data/vendor/local/share/locale/gl/LC_MESSAGES/json-glib-1.0.mo +0 -0
  292. data/vendor/local/share/locale/he/LC_MESSAGES/clutter-1.0.mo +0 -0
  293. data/vendor/local/share/locale/hi/LC_MESSAGES/clutter-1.0.mo +0 -0
  294. data/vendor/local/share/locale/hi/LC_MESSAGES/json-glib-1.0.mo +0 -0
  295. data/vendor/local/share/locale/hu/LC_MESSAGES/json-glib-1.0.mo +0 -0
  296. data/vendor/local/share/locale/id/LC_MESSAGES/clutter-1.0.mo +0 -0
  297. data/vendor/local/share/locale/id/LC_MESSAGES/json-glib-1.0.mo +0 -0
  298. data/vendor/local/share/locale/it/LC_MESSAGES/clutter-1.0.mo +0 -0
  299. data/vendor/local/share/locale/it/LC_MESSAGES/json-glib-1.0.mo +0 -0
  300. data/vendor/local/share/locale/ja/LC_MESSAGES/clutter-1.0.mo +0 -0
  301. data/vendor/local/share/locale/ja/LC_MESSAGES/json-glib-1.0.mo +0 -0
  302. data/vendor/local/share/locale/km/LC_MESSAGES/clutter-1.0.mo +0 -0
  303. data/vendor/local/share/locale/kn/LC_MESSAGES/clutter-1.0.mo +0 -0
  304. data/vendor/local/share/locale/ko/LC_MESSAGES/json-glib-1.0.mo +0 -0
  305. data/vendor/local/share/locale/ky/LC_MESSAGES/json-glib-1.0.mo +0 -0
  306. data/vendor/local/share/locale/lt/LC_MESSAGES/clutter-1.0.mo +0 -0
  307. data/vendor/local/share/locale/lt/LC_MESSAGES/json-glib-1.0.mo +0 -0
  308. data/vendor/local/share/locale/lv/LC_MESSAGES/clutter-1.0.mo +0 -0
  309. data/vendor/local/share/locale/lv/LC_MESSAGES/json-glib-1.0.mo +0 -0
  310. data/vendor/local/share/locale/mk/LC_MESSAGES/clutter-1.0.mo +0 -0
  311. data/vendor/local/share/locale/ml/LC_MESSAGES/clutter-1.0.mo +0 -0
  312. data/vendor/local/share/locale/ml/LC_MESSAGES/json-glib-1.0.mo +0 -0
  313. data/vendor/local/share/locale/nb/LC_MESSAGES/clutter-1.0.mo +0 -0
  314. data/vendor/local/share/locale/nb/LC_MESSAGES/json-glib-1.0.mo +0 -0
  315. data/vendor/local/share/locale/nl/LC_MESSAGES/clutter-1.0.mo +0 -0
  316. data/vendor/local/share/locale/or/LC_MESSAGES/clutter-1.0.mo +0 -0
  317. data/vendor/local/share/locale/or/LC_MESSAGES/json-glib-1.0.mo +0 -0
  318. data/vendor/local/share/locale/pa/LC_MESSAGES/clutter-1.0.mo +0 -0
  319. data/vendor/local/share/locale/pa/LC_MESSAGES/json-glib-1.0.mo +0 -0
  320. data/vendor/local/share/locale/pl/LC_MESSAGES/clutter-1.0.mo +0 -0
  321. data/vendor/local/share/locale/pl/LC_MESSAGES/json-glib-1.0.mo +0 -0
  322. data/vendor/local/share/locale/ps/LC_MESSAGES/clutter-1.0.mo +0 -0
  323. data/vendor/local/share/locale/pt/LC_MESSAGES/clutter-1.0.mo +0 -0
  324. data/vendor/local/share/locale/pt/LC_MESSAGES/json-glib-1.0.mo +0 -0
  325. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/clutter-1.0.mo +0 -0
  326. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/json-glib-1.0.mo +0 -0
  327. data/vendor/local/share/locale/ro/LC_MESSAGES/clutter-1.0.mo +0 -0
  328. data/vendor/local/share/locale/ru/LC_MESSAGES/clutter-1.0.mo +0 -0
  329. data/vendor/local/share/locale/ru/LC_MESSAGES/json-glib-1.0.mo +0 -0
  330. data/vendor/local/share/locale/sk/LC_MESSAGES/clutter-1.0.mo +0 -0
  331. data/vendor/local/share/locale/sk/LC_MESSAGES/json-glib-1.0.mo +0 -0
  332. data/vendor/local/share/locale/sl/LC_MESSAGES/clutter-1.0.mo +0 -0
  333. data/vendor/local/share/locale/sl/LC_MESSAGES/json-glib-1.0.mo +0 -0
  334. data/vendor/local/share/locale/sr/LC_MESSAGES/clutter-1.0.mo +0 -0
  335. data/vendor/local/share/locale/sr/LC_MESSAGES/json-glib-1.0.mo +0 -0
  336. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/clutter-1.0.mo +0 -0
  337. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/json-glib-1.0.mo +0 -0
  338. data/vendor/local/share/locale/sv/LC_MESSAGES/clutter-1.0.mo +0 -0
  339. data/vendor/local/share/locale/sv/LC_MESSAGES/json-glib-1.0.mo +0 -0
  340. data/vendor/local/share/locale/ta/LC_MESSAGES/clutter-1.0.mo +0 -0
  341. data/vendor/local/share/locale/te/LC_MESSAGES/clutter-1.0.mo +0 -0
  342. data/vendor/local/share/locale/te/LC_MESSAGES/json-glib-1.0.mo +0 -0
  343. data/vendor/local/share/locale/tg/LC_MESSAGES/clutter-1.0.mo +0 -0
  344. data/vendor/local/share/locale/tg/LC_MESSAGES/json-glib-1.0.mo +0 -0
  345. data/vendor/local/share/locale/tr/LC_MESSAGES/clutter-1.0.mo +0 -0
  346. data/vendor/local/share/locale/tr/LC_MESSAGES/json-glib-1.0.mo +0 -0
  347. data/vendor/local/share/locale/ug/LC_MESSAGES/clutter-1.0.mo +0 -0
  348. data/vendor/local/share/locale/ug/LC_MESSAGES/json-glib-1.0.mo +0 -0
  349. data/vendor/local/share/locale/uk/LC_MESSAGES/clutter-1.0.mo +0 -0
  350. data/vendor/local/share/locale/uk/LC_MESSAGES/json-glib-1.0.mo +0 -0
  351. data/vendor/local/share/locale/ur/LC_MESSAGES/clutter-1.0.mo +0 -0
  352. data/vendor/local/share/locale/vi/LC_MESSAGES/json-glib-1.0.mo +0 -0
  353. data/vendor/local/share/locale/yi/LC_MESSAGES/clutter-1.0.mo +0 -0
  354. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/clutter-1.0.mo +0 -0
  355. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/json-glib-1.0.mo +0 -0
  356. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/clutter-1.0.mo +0 -0
  357. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/json-glib-1.0.mo +0 -0
  358. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/clutter-1.0.mo +0 -0
  359. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/json-glib-1.0.mo +0 -0
  360. metadata +90 -10
data/Rakefile CHANGED
@@ -92,7 +92,7 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
92
92
  :name => "json-glib",
93
93
  :download_site => :gnome,
94
94
  :label => "JSON-GLib",
95
- :version => "0.14.2",
95
+ :version => "0.16.0",
96
96
  :compression_method => "xz",
97
97
  :windows => {
98
98
  :configure_args => [
@@ -104,7 +104,7 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
104
104
  :name => "clutter",
105
105
  :download_site => :gnome,
106
106
  :label => "Clutter",
107
- :version => "1.14.0",
107
+ :version => "1.14.4",
108
108
  :compression_method => "xz",
109
109
  :windows => {
110
110
  :configure_args => [
@@ -114,6 +114,13 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
114
114
  },
115
115
  }
116
116
  ]
117
+ package.cross_compiling do |spec|
118
+ if /mingw|mswin/ =~ spec.platform.to_s
119
+ spec.add_runtime_dependency("atk", "= #{package.version}")
120
+ spec.add_runtime_dependency("pango", "= #{package.version}")
121
+ spec.add_runtime_dependency("gdk_pixbuf2", "= #{package.version}")
122
+ end
123
+ end
117
124
  end
118
125
  package_task.define
119
126
 
data/lib/clutter.rb CHANGED
@@ -34,11 +34,17 @@ module Clutter
34
34
  LOG_DOMAIN = "Clutter"
35
35
  GLib::Log.set_log_domain(LOG_DOMAIN)
36
36
 
37
- @initialized = false
38
37
  class << self
39
- def init(argv=ARGV)
40
- return if @initialized
41
- @initialized = true
38
+ def const_missing(name)
39
+ init()
40
+ if const_defined?(name)
41
+ const_get(name)
42
+ else
43
+ super
44
+ end
45
+ end
46
+
47
+ def init(argv=[])
42
48
  loader = Loader.new(self, argv)
43
49
  loader.load("Clutter")
44
50
  require "clutter/actor"
@@ -50,6 +56,10 @@ module Clutter
50
56
  require "clutter/point"
51
57
  require "clutter/text"
52
58
  require "clutter/threads"
59
+ class << self
60
+ remove_method(:init)
61
+ remove_method(:const_missing)
62
+ end
53
63
  end
54
64
  end
55
65
 
@@ -68,8 +78,11 @@ module Clutter
68
78
  private
69
79
  def pre_load(repository, namespace)
70
80
  init = repository.find(namespace, "init")
71
- error, argc, argv = init.invoke(1 + @init_arguments.size,
72
- [$0] + @init_arguments)
81
+ arguments = [
82
+ 1 + @init_arguments.size,
83
+ [$0] + @init_arguments,
84
+ ]
85
+ error, argc, argv = init.invoke(arguments)
73
86
  @init_arguments.replace(argv)
74
87
  if error.to_i <= 0
75
88
  raise InitError, "failed to initialize Clutter: #{error.name}"
data/lib/clutter/color.rb CHANGED
@@ -16,13 +16,20 @@
16
16
 
17
17
  module Clutter
18
18
  class Color
19
+ private_class_method(:from_hls) if respond_to?(:from_hls)
20
+ private_class_method(:from_pixel) if respond_to?(:from_pixel)
21
+ private_class_method(:from_string) if respond_to?(:from_string)
22
+
19
23
  class << self
20
24
  def new(*args)
21
25
  if [Symbol] == args.collect(&:class)
22
26
  name = args[0]
23
27
  get_static(name)
24
28
  else
25
- super
29
+ if args.empty?
30
+ args = [0, 0, 0, 1] unless private_method_defined?(:initialize_alloc)
31
+ end
32
+ super(*args)
26
33
  end
27
34
  end
28
35
 
@@ -39,15 +46,36 @@ module Clutter
39
46
  end
40
47
 
41
48
  def hlsa(hue, luminance, saturation, alpha)
42
- color = new
43
- color.from_hls(hue, luminance, saturation)
49
+ if respond_to?(:from_hls, true)
50
+ color = from_hls(hue, luminance, saturation)
51
+ else
52
+ color = new
53
+ color.from_hls(hue, luminance, saturation)
54
+ end
44
55
  color.alpha = alpha
45
56
  color
46
57
  end
47
58
 
48
59
  def pixel(pixel)
49
- color = new
50
- color.from_pixel(pixel)
60
+ if respond_to?(:from_pixel, true)
61
+ color = from_pixel(pixel)
62
+ else
63
+ color = new
64
+ color.from_pixel(pixel)
65
+ end
66
+ color
67
+ end
68
+
69
+ def parse(string)
70
+ if respond_to?(:from_string, true)
71
+ succeeded, color = from_string(string)
72
+ else
73
+ color = new
74
+ succeeded = color.from_string(string)
75
+ end
76
+ unless succeeded
77
+ raise ArgumentError, "invalid color string: <#{string}>"
78
+ end
51
79
  color
52
80
  end
53
81
  end
@@ -22,8 +22,6 @@
22
22
 
23
23
  require "clutter"
24
24
 
25
- Clutter.init
26
-
27
25
  stage = Clutter::Stage.new
28
26
  stage.signal_connect("destroy") do |*args|
29
27
  Clutter.main_quit
data/sample/bin-layout.rb CHANGED
@@ -25,8 +25,6 @@
25
25
  require "clutter"
26
26
  require "gdk_pixbuf2"
27
27
 
28
- Clutter.init
29
-
30
28
  stage = Clutter::Stage.new
31
29
  stage.title = "BinLayout"
32
30
  stage.background_color = Clutter::Color.get_static(:aluminium_2)
data/sample/box-layout.rb CHANGED
@@ -35,8 +35,6 @@
35
35
 
36
36
  require "clutter"
37
37
 
38
- Clutter.init
39
-
40
38
  stage = Clutter::Stage.new
41
39
  stage.title = "Box Layout"
42
40
  stage.user_resizable = true
data/sample/canvas.rb CHANGED
@@ -22,8 +22,6 @@
22
22
 
23
23
  require "clutter"
24
24
 
25
- Clutter.init
26
-
27
25
  stage = Clutter::Stage.new
28
26
  stage.title = "2D Clock"
29
27
  stage.user_resizable = true
@@ -43,8 +41,8 @@ actor.add_constraint(Clutter::BindConstraint.new(stage, :size, 0))
43
41
  idle_resize_id = nil
44
42
  actor.signal_connect("allocation-changed") do |_actor, allocation, flags|
45
43
  idle_resize_id ||= Clutter::Threads.add_timeout(1000) do
46
- size = _actor.size
47
- _actor.content.set_size(size.width.ceil, size.height.ceil)
44
+ width, height = _actor.size
45
+ _actor.content.set_size(width.ceil, height.ceil)
48
46
  idle_resize_id = nil
49
47
  GLib::Source::REMOVE
50
48
  end
@@ -22,8 +22,6 @@
22
22
 
23
23
  require "clutter"
24
24
 
25
- Clutter.init
26
-
27
25
  stage = Clutter::Stage.new
28
26
  stage.name = "stage"
29
27
  stage.title = "Snap Constraint"
@@ -24,8 +24,6 @@ require "optparse"
24
24
 
25
25
  require "clutter"
26
26
 
27
- Clutter.init
28
-
29
27
  drag_axis = :none
30
28
  x_drag_threshold = 0
31
29
  y_drag_threshold = 0
@@ -22,8 +22,6 @@
22
22
 
23
23
  require "clutter"
24
24
 
25
- Clutter.init
26
-
27
25
  TARGET_SIZE = 200
28
26
  HANDLE_SIZE = 128
29
27
 
@@ -73,11 +71,11 @@ add_drag_object = lambda do |target|
73
71
 
74
72
  action = Clutter::DragAction.new
75
73
  action.signal_connect("drag-begin") do |_action, _actor, event_x, event_y, modifiers|
76
- position = _actor.position
74
+ x, y = _actor.position
77
75
  handle = Clutter::Actor.new
78
76
  handle.background_color = Clutter::Color.new(:sky_blue_dark)
79
77
  handle.set_size(128, 128)
80
- handle.set_position(event_x - position.x, event_y - position.y)
78
+ handle.set_position(event_x - x, event_y - y)
81
79
  stage.add_child(handle)
82
80
 
83
81
  _action.drag_handle = handle
@@ -138,14 +136,14 @@ add_drag_object = lambda do |target|
138
136
  parent.remove_child(drag)
139
137
 
140
138
  parent.save_easing_state do
141
- parent.easing_mode :linear
139
+ parent.easing_mode = :linear
142
140
  parent.opacity = 64
143
141
  end
144
142
  end
145
143
  target.add_child(drag)
146
144
 
147
145
  target.save_easing_state do
148
- target.easing_mode :linear
146
+ target.easing_mode = :linear
149
147
  target.opacity = 255
150
148
  end
151
149
  end
@@ -24,8 +24,6 @@ require "optparse"
24
24
 
25
25
  require "clutter"
26
26
 
27
- Clutter.init
28
-
29
27
  duration = 1
30
28
 
31
29
  parser = OptionParser.new
@@ -24,8 +24,6 @@ require "optparse"
24
24
 
25
25
  require "clutter"
26
26
 
27
- Clutter.init
28
-
29
27
  random_size_p = false
30
28
  n_rects = 20
31
29
  vertical_p = false
@@ -38,8 +38,6 @@ require "optparse"
38
38
 
39
39
  require "clutter"
40
40
 
41
- Clutter.init
42
-
43
41
  random_size_p = false
44
42
  random_align_p = false
45
43
  default_expand_p = true
@@ -25,8 +25,6 @@
25
25
  require "clutter"
26
26
  require "gdk_pixbuf2"
27
27
 
28
- Clutter.init
29
-
30
28
  gravities = Clutter::ContentGravity.values
31
29
  current_gravity_index = gravities.size - 1
32
30
 
data/sample/pan-action.rb CHANGED
@@ -25,8 +25,6 @@
25
25
  require "clutter"
26
26
  require "gdk_pixbuf2"
27
27
 
28
- Clutter.init
29
-
30
28
  stage = Clutter::Stage.new
31
29
  stage.name = "Pan Action"
32
30
  stage.user_resizable = true
@@ -22,8 +22,6 @@
22
22
 
23
23
  require "clutter"
24
24
 
25
- Clutter.init
26
-
27
25
  stage = Clutter::Stage.new
28
26
  stage.title = "Rectangle with rounded corners"
29
27
  stage.background_color = Clutter::Color.new(:black)
@@ -22,8 +22,6 @@
22
22
 
23
23
  require "clutter"
24
24
 
25
- Clutter.init
26
-
27
25
  stage = Clutter::Stage.new
28
26
  stage.title = "Scroll Actor"
29
27
  stage.user_resizable = true
data/test/run-test.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  #
3
- # Copyright (C) 2012 Ruby-GNOME2 Project Team
3
+ # Copyright (C) 2012-2013 Ruby-GNOME2 Project Team
4
4
  #
5
5
  # This library is free software; you can redistribute it and/or
6
6
  # modify it under the terms of the GNU Lesser General Public
@@ -29,7 +29,7 @@ modules = [
29
29
  [clutter_base, "clutter"],
30
30
  ]
31
31
  modules.each do |target, module_name|
32
- if system("which make > /dev/null")
32
+ if File.exist?("Makefile") and system("which make > /dev/null")
33
33
  `make -C #{target.dump} > /dev/null` or exit(false)
34
34
  end
35
35
  $LOAD_PATH.unshift(File.join(target, "ext", module_name))
@@ -39,6 +39,8 @@ end
39
39
  $LOAD_PATH.unshift(File.join(glib_base, "test"))
40
40
  require "glib-test-init"
41
41
 
42
+ $VERBOSE = false # TODO: remove me
43
+
42
44
  $LOAD_PATH.unshift(File.join(gobject_introspection_base, "test"))
43
45
  require "gobject-introspection-test-utils"
44
46
 
@@ -47,4 +49,6 @@ require "clutter-test-utils"
47
49
 
48
50
  require "clutter"
49
51
 
50
- exit Test::Unit::AutoRunner.run(true)
52
+ Clutter.init([])
53
+
54
+ exit Test::Unit::AutoRunner.run(true, clutter_base)
@@ -0,0 +1,42 @@
1
+ # Copyright (C) 2013 Ruby-GNOME2 Project Team
2
+ #
3
+ # This library is free software; you can redistribute it and/or
4
+ # modify it under the terms of the GNU Lesser General Public
5
+ # License as published by the Free Software Foundation; either
6
+ # version 2.1 of the License, or (at your option) any later version.
7
+ #
8
+ # This library is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
+ # Lesser General Public License for more details.
12
+ #
13
+ # You should have received a copy of the GNU Lesser General Public
14
+ # License along with this library; if not, write to the Free Software
15
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
+
17
+ class ClutterColorTest < Test::Unit::TestCase
18
+ def test_rgb
19
+ assert_equal("#ff0000ff", Clutter::Color.rgb(255, 0, 0).to_s)
20
+ end
21
+
22
+ def test_rgba
23
+ assert_equal("#ff00007f", Clutter::Color.rgb(255, 0, 0, 127).to_s)
24
+ end
25
+
26
+ def test_hls
27
+ assert_equal("#20dfdfff", Clutter::Color.hls(180, 0.5, 0.75).to_s)
28
+ end
29
+
30
+ def test_hlsa
31
+ assert_equal("#20dfdf7f", Clutter::Color.hls(180, 0.5, 0.75, 127).to_s)
32
+ end
33
+
34
+ def test_pixel
35
+ assert_equal("#20dfdf7f", Clutter::Color.pixel(0x20dfdf7f).to_s)
36
+ end
37
+
38
+ def test_parse
39
+ assert_equal("#20dfdf7f",
40
+ Clutter::Color.parse("rgba(32, 223, 223, 0.5)").to_s)
41
+ end
42
+ end
Binary file
Binary file
Binary file
@@ -208,6 +208,15 @@ void clutter_stage_set_sync_delay (ClutterStage
208
208
  gint sync_delay);
209
209
  CLUTTER_AVAILABLE_IN_1_14
210
210
  void clutter_stage_skip_sync_delay (ClutterStage *stage);
211
+
212
+ typedef void (* ClutterStagePaintFunc) (ClutterStage *stage,
213
+ gpointer data);
214
+
215
+ CLUTTER_AVAILABLE_IN_1_14
216
+ void clutter_stage_set_paint_callback (ClutterStage *stage,
217
+ ClutterStagePaintFunc callback,
218
+ gpointer data,
219
+ GDestroyNotify notify);
211
220
  #endif
212
221
 
213
222
  G_END_DECLS
@@ -96,14 +96,14 @@ G_BEGIN_DECLS
96
96
  *
97
97
  * The micro version of the Clutter library (3, if %CLUTTER_VERSION is 1.2.3)
98
98
  */
99
- #define CLUTTER_MICRO_VERSION (0)
99
+ #define CLUTTER_MICRO_VERSION (4)
100
100
 
101
101
  /**
102
102
  * CLUTTER_VERSION:
103
103
  *
104
104
  * The full version of the Clutter library, like 1.2.3
105
105
  */
106
- #define CLUTTER_VERSION 1.14.0
106
+ #define CLUTTER_VERSION 1.14.4
107
107
 
108
108
  /**
109
109
  * CLUTTER_VERSION_S:
@@ -111,7 +111,7 @@ G_BEGIN_DECLS
111
111
  * The full version of the Clutter library, in string form (suited for
112
112
  * string concatenation)
113
113
  */
114
- #define CLUTTER_VERSION_S "1.14.0"
114
+ #define CLUTTER_VERSION_S "1.14.4"
115
115
 
116
116
  /**
117
117
  * CLUTTER_VERSION_HEX: