diff -Nru ocempgui-0.2.8/ChangeLog ocempgui-0.2.9/ChangeLog
--- ocempgui-0.2.8/ChangeLog 2008-01-10 08:39:37.000000000 +0000
+++ ocempgui-0.2.9/ChangeLog 2008-05-10 09:23:29.000000000 +0100
@@ -1,3 +1,30 @@
+2008-05-10 10:19 marcusva
+
+ * doc/examples/graph2d.py: Really fixed numpy/Numeric bindings
+
+2008-05-10 10:03 marcusva
+
+ * NEWS, README, setup.py, doc/examples/a11y_test.py,
+ doc/examples/graph2d.py, ocempgui/access/papi/papi.c,
+ ocempgui/access/papi/papi_atkutil.c, ocempgui/draw/Complex.py:
+ Added numpy compatibility for pygame 1.8.x.
+
+2008-02-05 23:33 marcusva
+
+ * setup.py, ocempgui/__init__.py, ocempgui/widgets/Editable.py,
+ ocempgui/widgets/Frame.py: Merged forgotton changes from HEAD.
+
+2008-01-12 11:48 marcusva
+
+ * NEWS, doc/uml/alignment.dia, ocempgui/widgets/Alignment.py,
+ ocempgui/widgets/Renderer.py: Merged from HEAD: Fixed a focusing
+ bug in Alignment class. It should not be focusable by default.
+ Added reversed widget focus switching using SHIFT+TAB.
+
+2008-01-10 09:44 marcusva
+
+ * ChangeLog, NEWS, doc/Makefile: Release 0.2.8
+
2008-01-10 00:58 marcusva
* doc/examples/: example.py, formatentry.py: Fixed FormatEntry
diff -Nru /tmp/Z5wvc9DD2u/ocempgui-0.2.8/debian/changelog /tmp/ZLi5YcJ67q/ocempgui-0.2.9/debian/changelog
--- ocempgui-0.2.8/debian/changelog 2009-08-19 10:12:25.000000000 +0100
+++ ocempgui-0.2.9/debian/changelog 2009-08-19 10:12:25.000000000 +0100
@@ -1,3 +1,10 @@
+ocempgui (0.2.9-0ubuntu1) karmic; urgency=low
+
+ * New upstream release (LP: #327476)
+ * debian/control: Depends on python-pygame (LP: #299037)
+
+ -- Julien Lavergne
TODO: provide more details
You can find the following example as a python script
under examples/a11y_test.py
.
-
# papi test example. +# papi test example. import ocempgui.access.papi as papi import atexit @@ -235,9 +235,13 @@ self.action_get_description = self.__get_description self.action_get_name = self.__get_name self.component_get_extents = self.__get_pos + self.ref_state_set = self.__ref_state_set def __get_pos (self, coords): return 10, 10, 99, 99 + + def __ref_state_set (self): + return papi.AtkStateSet () def __get_n_actions (self): return 1 @@ -414,7 +418,7 @@You can find the following example as a python script under
examples/draw_line.py
. -# Draw.draw_line () usage example. +# Draw.draw_line () usage example. import pygame, pygame.locals from ocempgui.draw import Draw @@ -460,7 +464,7 @@You can find the following example as a python script under
examples/draw_rect.py
. -# Draw.draw_rect () usage example. +# Draw.draw_rect () usage example. import random import pygame, pygame.locals from ocempgui.draw import Draw @@ -508,7 +512,7 @@You can find the following example as a python script under
examples/draw_triangle.py
. -# Draw.draw_triangle () usage example. +# Draw.draw_triangle () usage example. import pygame, pygame.locals from ocempgui.draw import Draw @@ -562,7 +566,7 @@You can find the following example as a python script under
examples/load_image.py
. -# Image.load_image () usage example. +# Image.load_image () usage example. import pygame, pygame.locals from ocempgui.draw import Image @@ -611,7 +615,7 @@You can find the following example as a python script under
examples/create_font.py
. -# String.create_font () usage example. +# String.create_font () usage example. import pygame from ocempgui.draw import String @@ -666,7 +670,7 @@You can find the following example as a python script under
examples/create_system_font.py
. -# String.create_system_font () usage example. +# String.create_system_font () usage example. import pygame from ocempgui.draw import String @@ -705,7 +709,7 @@You can find the following example as a python script under
examples/draw_string.py
. -# String.draw_string () usage example. +# String.draw_string () usage example. import pygame, pygame.locals from ocempgui.draw import String @@ -764,7 +768,7 @@You can find the following example as a python script under
examples/draw_string_with_bg.py
. -# String.draw_string_with_bg () usage example. +# String.draw_string_with_bg () usage example. import pygame, pygame.locals from ocempgui.draw import String @@ -812,7 +816,7 @@You can find the following example as a python script under
examples/fader_surface.py
. -# Complex.FaderSurface usage example. +# Complex.FaderSurface usage example. import pygame, pygame.locals from ocempgui.draw import Complex, Image @@ -938,7 +942,7 @@ The following example is a complete example based on the excerpts from above. You can find it as python script underexamples/observer.py
-# Subject/Observer usage example. +# Subject/Observer usage example. from ocempgui.events import Subject, IObserver # The subject that should notify observers about state changes. @@ -1069,7 +1073,7 @@ Theevent
argument of the method will be anEvent
object, which can be used to perform certain actions within the method body then: -+class OwnObject (INotifyable): ... def move (self, coords): @@ -1105,7 +1109,7 @@ We use theOwnObject
class of the previous example and will (un)register it for the signals "move" and "clicked". -+# Create an EventManager and OwnObject instance. manager = EventManager () myobj = OwnObject () @@ -1138,7 +1142,7 @@ have no limitations of type, length or whatsoever. It is up to you to to send correct information through the event management system and to check for correct information on the object side. -+# Send events to the registered objects via the emit() method. manager.emit ("clicked", None) manager.emit ("move", (10, 10)) @@ -1148,7 +1152,7 @@ The following example is a complete example based on the excerpts from above. You can find it as python script underexamples/eventmanager.py
-# EventManager usage example. +# EventManager usage example. from ocempgui.events import EventManager, INotifyable # Create a new event capable object. This can be acquired by adding a @@ -1243,7 +1247,7 @@ the newly created one inherit from theBaseObject
class. Afterwards you can unleash its full power by adding just a minimal set of code. -+from ocempgui.object import BaseObject class OwnObject (BaseObject): @@ -1265,7 +1269,7 @@ for the callbacks as values. To allow your object to listen to the 'ping' or 'pong' signal, you have to add those to this dictionary. -+from ocempgui.object import BaseObject class OwnObject (BaseObject): @@ -1283,7 +1287,7 @@ Now we just need to make thenotify()
aware of those signal types and let it invoke the appropriate callbacks, which will be connected to those signals. -+class OwnObject (BaseObject): ... def notify (self, event): @@ -1305,7 +1309,7 @@ data right after the signal and callback. If the callbacks is not needed anymore, it can be disconnected using thedisconnect_signal()
method. -+class OwnObject (BaseObject): ... @@ -1322,7 +1326,7 @@ any signal of yourBaseObject
inheritor manually. When you connect it to an event manager, it will automatically do that for you. -+class OwnObject (BaseObject): ... @@ -1345,7 +1349,7 @@ following one is slightly modified only). You can find the example as python script underexamples/baseobject.py
-# BaseObject usage example. +# BaseObject usage example. from ocempgui.object import BaseObject from ocempgui.events import EventManager @@ -1418,7 +1422,7 @@You can find the example as python script under
examples/actionlistener.py
-# ActionListener usage example. +# ActionListener usage example. import sys from ocempgui.events import EventManager from ocempgui.object import ActionListener @@ -1497,7 +1501,7 @@
the event mangement
a sprite based render engine
methods to create the pygame window
The
Renderer
can be set up with only three lines of code. -+from ocempgui.widgets import * re = Renderer () re.create_screen (200, 200) # Creates the pygame window @@ -1511,7 +1515,7 @@You can find the example as python script under
examples/hello_world.py
-# Hello World example. +# Hello World example. from ocempgui.widgets import * # Initialize the drawing window. @@ -1603,7 +1607,7 @@You can find the example as python script under
examples/hello_world_signals.py
-# Hello World example. +# Hello World example. from ocempgui.widgets import * from ocempgui.widgets.Constants import * @@ -1876,7 +1880,7 @@You can find the following example as a python script under
examples/label.py
. -# Label examples. +# Label examples. import os from ocempgui.widgets import * from ocempgui.widgets.Constants import * @@ -1982,7 +1986,7 @@You can find the following example as a python script under
examples/imagelabel.py
. -# ImageLabel examples. +# ImageLabel examples. import os from ocempgui.draw import Image from ocempgui.widgets import * @@ -2103,7 +2107,7 @@You can find the following example as a python script under
examples/button.py
. -# Button examples. +# Button examples. import os from ocempgui.widgets import * from ocempgui.widgets.Constants import * @@ -2229,7 +2233,7 @@You can find the following example as a python script under
examples/imagebutton.py
. -# ImageButton examples. +# ImageButton examples. import pygame, os from ocempgui.draw import Image from ocempgui.widgets import * @@ -2352,7 +2356,7 @@You can find the following example as a python script under
examples/togglebutton.py
. -# ToggleButton examples. +# ToggleButton examples. import os from ocempgui.widgets import * from ocempgui.widgets.Constants import * @@ -2450,7 +2454,7 @@You can find the following example as a python script under
examples/checkbutton.py
. -# CheckButton examples. +# CheckButton examples. import os from ocempgui.widgets import * from ocempgui.widgets.Constants import * @@ -2581,7 +2585,7 @@You can find the following example as a python script under
examples/radiobutton.py
. -# RadioButton examples. +# RadioButton examples. import os from ocempgui.widgets import * from ocempgui.widgets.Constants import * @@ -2780,7 +2784,7 @@You can find the following example as a python script under
examples/entry.py
. -# Entry examples. +# Entry examples. from ocempgui.widgets import * from ocempgui.widgets.Constants import * @@ -3046,7 +3050,7 @@ widgets module of OcempGUI make heavy use of this attribute to adjust the look of themselves. The following example demonstrates this. -+from ocempgui.widgets import Button, Renderer renderer = Renderer () renderer.create_screen (200, 120) @@ -3067,7 +3071,7 @@You can find the following example as a python script under
examples/bin.py
. -# Bin examples. +# Bin examples. import pygame from ocempgui.widgets import * from ocempgui.widgets.Constants import * @@ -3265,7 +3269,7 @@You can find the following example as a python script under
examples/box.py
. -# Box examples. +# Box examples. from ocempgui.widgets import * from ocempgui.widgets.Constants import * @@ -3381,7 +3385,7 @@You can find the following example as a python script under
examples/frame.py
. -# Frame examples. +# Frame examples. import os from ocempgui.widgets import * from ocempgui.widgets.Constants import * @@ -3529,7 +3533,7 @@You can find the following example as a python script under
examples/table.py
. -# Table examples. +# Table examples. from ocempgui.widgets import Renderer, Table, Label, Button from ocempgui.widgets.Constants import * @@ -3800,7 +3804,7 @@You can find the following example as a python script under
examples/window.py
. -# Window examples. +# Window examples. from ocempgui.widgets import * from ocempgui.widgets.Constants import * @@ -3930,7 +3934,7 @@