fix for description of UI_BLOCK_RET_1.
authorTon Roosendaal <ton@blender.org>
Fri, 21 Nov 2003 13:16:04 +0000 (13:16 +0000)
committerTon Roosendaal <ton@blender.org>
Fri, 21 Nov 2003 13:16:04 +0000 (13:16 +0000)
doc/interface_API.txt

index 63077aee63d7463786d1db9b7e2a3a4f699aad2c..a05bfad56ab6655c48b7688bea82adebdc971824 100644 (file)
@@ -237,7 +237,7 @@ used elsewhere by toolbox.c, so it can be considered 'internal' somewhat.
 void uiBlockSetFlag(uiBlock *block, int flag)  /* block types, can be 'OR'ed */
        UI_BLOCK_LOOP           1               a sublooping block, drawn in frontbuffer, i.e. menus
        UI_BLOCK_REDRAW         2               block needs a redraw
-       UI_BLOCK_RET_1          4               if block is closed, returns 1 if it was closed "OK"
+       UI_BLOCK_RET_1          4               block is closed when an event happens with value '1' (press key, not for mouse)
        UI_BLOCK_BUSY           8               internal
        UI_BLOCK_NUMSELECT      16              keys 1-2-...-9-0 can be used to select items
        UI_BLOCK_ENTER_OK       32              enter key closes block with "OK"