[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [2255] contrib/py/scripts/addons/ space_view3d_screencast_keys.py: Added min/max values for display size.
Brendon Murphy
meta.androcto1 at gmail.com
Mon Aug 22 09:13:42 CEST 2011
Revision: 2255
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=2255
Author: meta-androcto
Date: 2011-08-22 07:13:41 +0000 (Mon, 22 Aug 2011)
Log Message:
-----------
Added min/max values for display size.
changed mouse display default to text.
updated bl_info
Changed name of script to Screencast Keys consistently throughout.
ready for release!
Modified Paths:
--------------
contrib/py/scripts/addons/space_view3d_screencast_keys.py
Modified: contrib/py/scripts/addons/space_view3d_screencast_keys.py
===================================================================
--- contrib/py/scripts/addons/space_view3d_screencast_keys.py 2011-08-19 11:19:24 UTC (rev 2254)
+++ contrib/py/scripts/addons/space_view3d_screencast_keys.py 2011-08-22 07:13:41 UTC (rev 2255)
@@ -20,12 +20,12 @@
bl_info = {
- 'name': 'Display Keys Status for Screencasting',
+ 'name': 'Screencast Keys',
'author': 'Paulo Gomes, Bart Crouch, John E. Herrenyo',
'version': (1, 2),
- 'blender': (2, 5, 7),
- 'api': 36710,
- 'location': 'View3D > Properties panel > Display tab',
+ 'blender': (2, 5, 9),
+ 'api': 39576,
+ 'location': 'View3D > Properties panel > Screencast Keys',
'warning': '',
'description': 'Display keys pressed in the 3d-view, '\
'useful for screencasts.',
@@ -374,11 +374,12 @@
("text", "Text", "Display mouse events as text lines")),
name="Mouse display",
description="Display mouse events",
- default='none')
+ default='text')
bpy.types.WindowManager.display_font_size = bpy.props.IntProperty(
name="Size",
description="Fontsize",
- default=20)
+ default=20, min=10, max=150)
+
bpy.types.WindowManager.display_pos_x = bpy.props.IntProperty(
name="Pos X",
description="Margin on the x axis",
@@ -412,7 +413,7 @@
# defining the panel
class OBJECT_PT_keys_status(bpy.types.Panel):
- bl_label = "Display Keys Status"
+ bl_label = "Screencast Keys"
bl_space_type = "VIEW_3D"
bl_region_type = "UI"
More information about the Bf-extensions-cvs
mailing list