[Bf-blender-cvs] CVS commit: blender/source/blender/include BIF_resources.h interface.h blender/source/blender/makesdna DNA_userdef_types.h blender/source/blender/python/api2_2x windowTheme.c blender/source/blender/python/api2_2x/doc Theme.py blender/source/blender/src interface.c interface_draw.c ...
Ton Roosendaal
ton at blender.org
Sun Nov 20 11:04:45 CET 2005
ton (Ton Roosendaal) 2005/11/20 11:04:45 CET
Modified files:
blender/source/blender/include BIF_resources.h interface.h
blender/source/blender/makesdna DNA_userdef_types.h
blender/source/blender/python/api2_2x windowTheme.c
blender/source/blender/python/api2_2x/doc Theme.py
blender/source/blender/src interface.c interface_draw.c
resources.c usiblender.c
Log:
Patch by Matt Ebb: upgraded usablitiy of text button.
Textbuttons now allow a selection too (like any textbutton in other UIs).
By default, on activating a textbutton, the entire button text is selected
when you enter the button. A single arrowkey or LMB click reveils the
cursor then. Here's more user notes:
LMB click: If inside the button, places the text cursor at the clicked
position. If outside the button, confirms/finishes editing
LMB drag: Selects the text between the start and end point of the drag.
Backspace: Deletes selected text, or backspaces a character
Shift Backspace: Deletes all, as before.
Delete: Deletes selected text or forward deletes a character
Shift LeftArrow: Extends the selection left
Shift RightArrow: Extends the selection right
LeftArrow: If there's a selection, move the cursor to the left edge of the
selection, otherwise move the cursor left a character.
RightArrow: If there's a selection, move the cursor to the right edge of
the selection, otherwise move the cursor right a character.
UpArrow/Home: Move the cursor to the beginning of the line
DownArrow/End: Move the cursor to the end of the line
Ctrl Left arrow and Ctrl Right arrow to jump between directory separators
Revision Changes Path
1.48 +3 -1 blender/source/blender/include/BIF_resources.h
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/include/BIF_resources.h.diff?r1=1.47&r2=1.48&cvsroot=bf-blender>
1.27 +7 -3 blender/source/blender/include/interface.h
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/include/interface.h.diff?r1=1.26&r2=1.27&cvsroot=bf-blender>
1.51 +5 -5 blender/source/blender/makesdna/DNA_userdef_types.h
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/makesdna/DNA_userdef_types.h.diff?r1=1.50&r2=1.51&cvsroot=bf-blender>
1.10 +4 -2 blender/source/blender/python/api2_2x/windowTheme.c
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/python/api2_2x/windowTheme.c.diff?r1=1.9&r2=1.10&cvsroot=bf-blender>
1.6 +1 -0 blender/source/blender/python/api2_2x/doc/Theme.py
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/python/api2_2x/doc/Theme.py.diff?r1=1.5&r2=1.6&cvsroot=bf-blender>
1.214 +229 -36 blender/source/blender/src/interface.c
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/src/interface.c.diff?r1=1.213&r2=1.214&cvsroot=bf-blender>
1.48 +47 -17 blender/source/blender/src/interface_draw.c
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/src/interface_draw.c.diff?r1=1.47&r2=1.48&cvsroot=bf-blender>
1.52 +5 -1 blender/source/blender/src/resources.c
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/src/resources.c.diff?r1=1.51&r2=1.52&cvsroot=bf-blender>
1.95 +11 -1 blender/source/blender/src/usiblender.c
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/src/usiblender.c.diff?r1=1.94&r2=1.95&cvsroot=bf-blender>
More information about the Bf-blender-cvs
mailing list