From 4da2acae3ab1a40db8be7f7df36da29cfcbf280c Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Mon, 3 Sep 2018 16:49:08 +0200 Subject: Spelling fixes in comments and descriptions, patch by luzpaz. Differential Revision: https://developer.blender.org/D3668 --- doc/guides/blender-guardedalloc.txt | 2 +- doc/guides/interface_API.txt | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'doc/guides') diff --git a/doc/guides/blender-guardedalloc.txt b/doc/guides/blender-guardedalloc.txt index 2e49f25bd92..14425ec2677 100644 --- a/doc/guides/blender-guardedalloc.txt +++ b/doc/guides/blender-guardedalloc.txt @@ -5,7 +5,7 @@ NOTE: This file does not cover memutil and smart pointers and reference counted garbage collection, which are contained in the memutil module. Blender takes care of dynamic memory allocation using a set of own functions -which are recognizeable through their MEM_ prefix. All memory allocation and +which are recognizable through their MEM_ prefix. All memory allocation and deallocation in blender is done through these functions. The following functions are available through MEM_guardedalloc.h: diff --git a/doc/guides/interface_API.txt b/doc/guides/interface_API.txt index 1874519db8d..631f2098a22 100644 --- a/doc/guides/interface_API.txt +++ b/doc/guides/interface_API.txt @@ -35,7 +35,7 @@ Contents 4.4 specials 15. KEYEVT 16. LINK and INLINK -4.5 uiButton control fuctions +4.5 uiButton control functions ----------------1. General notes @@ -130,7 +130,7 @@ It walks through the lists in a rather complex manner: /* so we create a 2nd loop for it */ - while first block is a menu - if block is a menu and not initialized: - - initalize 'saveunder' + - initialize 'saveunder' - draw it - get event from queue - call uiDoBlock (handles buttons for single block) @@ -177,7 +177,7 @@ font: With the new truetype option in Blender, this is used for all font families When a uiBlock is created, each uiButton that is defined gets the uiBlock properties. -Changing Block properties inbetween will affact uiButtons defined thereafter. +Changing Block properties in between will affact uiButtons defined thereafter. @@ -217,7 +217,7 @@ void uiBlockSetButmFunc(uiBlock *block, void (*menufunc)(void *arg, int event), void uiAutoBlock(uiBlock *block, float minx, float miny, float sizex, float sizey, UI_BLOCK_ROWS) Sets the buttons in this block to automatically align, and fit within boundaries. - Internally it allows multiple colums or rows as well. Only 'row order' has been implemented. + Internally it allows multiple columns or rows as well. Only 'row order' has been implemented. The uiDefBut definitions don't need coordinates as input here, but instead: - first value (x1) to indicate row number - width and height values (if filled in) will be used to define a relative width/height. @@ -253,7 +253,7 @@ In Blender a button can do four things: Internally, each button or menu item is a 'uiButton', with a generic API and handling: ui_def_but(block, type, retval, str, x1, y1, x2, y2, poin, min, max, a1, a2, tip); -Beacause a lot of obscure generic (re-use) happens here, translation calls have been made +Because a lot of obscure generic (re-use) happens here, translation calls have been made for each most button types individually. @@ -442,7 +442,7 @@ uiDefIconBut(block, INLINK, 0, ICON_INLINK, x1, y1, w, h, void *poin, short from -------------- 4.5 uiButton control fuctions +------------- 4.5 uiButton control functions void uiButSetFunc(uiBut *but, void (*func)(void *arg1, void *arg2), void *arg1, void *arg2) -- cgit v1.2.3