Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-08-30 15:49:35 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-08-30 15:49:35 +0400
commit658e72f47d6299b8009a04b8aa40ecf95f69bd96 (patch)
treed24b4c147ef62fa2a78b637f73f361657227d67a /source/blender/makesdna/DNA_screen_types.h
parent5f694a5078eb776fd8fdc78e265a1b5a9a8472ca (diff)
minor ui edits
- move addon refresh button into header - uilist, use icon for sorting by name (gives more room for name, icon is used in fileselector for same purpose). - rename orderby to sort in rna and flag names. - simplify BKE_nurb_handle_calc_simple
Diffstat (limited to 'source/blender/makesdna/DNA_screen_types.h')
-rw-r--r--source/blender/makesdna/DNA_screen_types.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/makesdna/DNA_screen_types.h b/source/blender/makesdna/DNA_screen_types.h
index 435f5c634a9..ec86a4739c5 100644
--- a/source/blender/makesdna/DNA_screen_types.h
+++ b/source/blender/makesdna/DNA_screen_types.h
@@ -147,7 +147,7 @@ typedef struct uiList { /* some list UI data need to be saved in file
/* Filtering data. */
char filter_byname[64]; /* defined as UI_MAX_NAME_STR */
int filter_flag;
- int filter_orderby_flag;
+ int filter_sort_flag;
/* Custom sub-classes properties. */
IDProperty *properties;
@@ -284,11 +284,11 @@ enum {
/* uiList filter orderby type */
enum {
- UILST_FLT_ORDERBY_NAME = 1 << 0,
- UILST_FLT_ORDERBY_REVERSE = 1 << 31 /* Special value, bitflag used to reverse order! */
+ UILST_FLT_SORT_ALPHA = 1 << 0,
+ UILST_FLT_SORT_REVERSE = 1 << 31 /* Special value, bitflag used to reverse order! */
};
-#define UILST_FLT_ORDERBY_MASK (((unsigned int)UILST_FLT_ORDERBY_REVERSE) - 1)
+#define UILST_FLT_SORT_MASK (((unsigned int)UILST_FLT_SORT_REVERSE) - 1)
/* regiontype, first two are the default set */
/* Do NOT change order, append on end. Types are hardcoded needed */