Download List

项目描述

Click'n'Drag is a Python module that introduces the "Plane" class, which extends PyGame's "Surface" functionality, offering a hierarchy of mouse-sensitive, draggable Surfaces that can be used as sprites, windows, icons, or other interactive elements. In addition, the clickndrag.gui module uses clickndrag to provide basic GUI elements like container, label, text box, option list, and button.

系统要求

System requirement is not defined
Information regarding Project Releases and Project Resources. Note that the information here is a quote from Freecode.com page, and the downloads themselves may not be hosted on OSDN.

2011-07-30 06:44
0.4.1

gui.OptionList现在可以被嵌入在更复杂的对话与gui.OptionSelector,作为替代。 gui.Container现在缩小水平时subplane被删除。一个“insert_after”的说法已被添加到Plane.sub()来呈现之间无其他相关subplanes。 Plane.sync()使用的平面中心之间的偏移量,避免与动态平面对齐问题。 gui.OutlinedText现在保存和恢复后的文本变化的中心。默认的背景颜色设置已被固定。换行符包装已被添加到gui.OkBox。有Python 2.6中的distutils的几个修复程序。该文档已更新。
gui.OptionList can now be embedded in more complex dialogs, with gui.OptionSelector as a drop-in replacement. gui.Container now shrinks horizontally when a subplane is removed. An 'insert_after' argument has been added to Plane.sub() to render related subplanes without others in between. Plane.sync() uses the offset between Plane centers now, avoiding alignment problems with dynamic Planes. gui.OutlinedText now saves and restores the center upon a text change. The default background color settings have been fixed. Wrapping at newlines has been added to gui.OkBox. There are several fixes for Python 2.6 distutils. The documentation has been updated.

2011-03-29 00:38
0.4.0

很多改变,都是为使与Python 2.x的兼容clickndrag它是使用Python 2.6.5进行测试和Python 3.1.2,使用pygame 1.9.1。
Numerous changes were done to make clickndrag compatible with Python 2.x. It was tested with Python 2.6.5 and Python 3.1.2, using Pygame 1.9.1.

2011-03-24 07:23
0.3.0

改进cx_Freeze兼容性。现在显示一个文本框的光标。现在的飞机有左,右鼠标按钮的回调。一个平面的位置,现在可以同步到另一架飞机。 OutlinedText类,它实现了一个具有透明背景,并概述了大胆的文字标签,已添加。显示类现在接受“全屏”的说法。有文档更新。
Improved cx_Freeze compatibility. TextBoxes now display a cursor. Planes now have callbacks for left and right mouse button. The position of a Plane can now be synced to another Plane. The class OutlinedText, which implements a label with a transparent background and outlined bold text, has been added. The Display class now accepts a "fullscreen" argument. There are documentation updates.

2011-03-11 20:55
0.2.0

适当增加了GPL许可的通知。性能改进。现在的飞机使用每像素alpha只在必要时,视频RAM用于如果有的话。 Clickndrag现在包含默认的字体位流维拉。 gui.TextBox和gui.GetStringDialog现在可以使用回车键确认。展示clickndrag - interactive.py加入。该文档已更新。
Proper GPL licensing notice was added. Performance improvements were made. Planes now use per-pixel alpha only when neccessary, and video RAM is used if available. Clickndrag now includes Bitstream Vera as the default font. gui.TextBox and gui.GetStringDialog can now be confirmed using the RETURN key. Showcase clickndrag-interactive.py was added. The documentation was updated.

2011-01-12 22:58
0.1.0

这是第一个alpha版本。空气污染指数仍可能发生变化。 API文档的提供,但实例和操作方法服务条款仍然下落不明。
This is the first alpha release. The API is still likely to change. API docs are provided, but examples and how-tos are still missing.

Project Resources