Blender
V2.93
source
blender
editors
include
ED_buttons.h
Go to the documentation of this file.
1
/*
2
* This program is free software; you can redistribute it and/or
3
* modify it under the terms of the GNU General Public License
4
* as published by the Free Software Foundation; either version 2
5
* of the License, or (at your option) any later version.
6
*
7
* This program is distributed in the hope that it will be useful,
8
* but WITHOUT ANY WARRANTY; without even the implied warranty of
9
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10
* GNU General Public License for more details.
11
*
12
* You should have received a copy of the GNU General Public License
13
* along with this program; if not, write to the Free Software Foundation,
14
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15
*
16
* The Original Code is Copyright (C) 2013, Blender Foundation
17
*/
18
23
#pragma once
24
25
#ifdef __cplusplus
26
extern
"C"
{
27
#endif
28
29
struct
ScrArea
;
30
struct
SpaceProperties
;
31
struct
bContext
;
32
33
int
ED_buttons_tabs_list
(
struct
SpaceProperties
*sbuts,
short
*context_tabs_array);
34
bool
ED_buttons_tab_has_search_result
(
struct
SpaceProperties
*sbuts,
const
int
index);
35
36
void
ED_buttons_search_string_set
(
struct
SpaceProperties
*sbuts,
const
char
*value);
37
int
ED_buttons_search_string_length
(
struct
SpaceProperties
*sbuts);
38
const
char
*
ED_buttons_search_string_get
(
struct
SpaceProperties
*sbuts);
39
40
bool
ED_buttons_should_sync_with_outliner
(
const
struct
bContext
*
C
,
41
const
struct
SpaceProperties
*sbuts,
42
struct
ScrArea
*
area
);
43
void
ED_buttons_set_context
(
const
struct
bContext
*
C
,
44
struct
SpaceProperties
*sbuts,
45
PointerRNA
*
ptr
,
46
const
int
context
);
47
48
#ifdef __cplusplus
49
}
50
#endif
ED_buttons_should_sync_with_outliner
bool ED_buttons_should_sync_with_outliner(const struct bContext *C, const struct SpaceProperties *sbuts, struct ScrArea *area)
ED_buttons_search_string_get
const char * ED_buttons_search_string_get(struct SpaceProperties *sbuts)
Definition:
space_buttons.c:332
ED_buttons_set_context
void ED_buttons_set_context(const struct bContext *C, struct SpaceProperties *sbuts, PointerRNA *ptr, const int context)
ED_buttons_search_string_set
void ED_buttons_search_string_set(struct SpaceProperties *sbuts, const char *value)
Definition:
space_buttons.c:342
ED_buttons_tab_has_search_result
bool ED_buttons_tab_has_search_result(struct SpaceProperties *sbuts, const int index)
Definition:
space_buttons.c:347
ED_buttons_tabs_list
int ED_buttons_tabs_list(struct SpaceProperties *sbuts, short *context_tabs_array)
Definition:
space_buttons.c:174
ED_buttons_search_string_length
int ED_buttons_search_string_length(struct SpaceProperties *sbuts)
Definition:
space_buttons.c:337
C
#define C
Definition:
RandGen.cpp:39
blender::compositor::area
static void area(int d1, int d2, int e1, int e2, float weights[2])
Definition:
COM_SMAAOperation.cc:123
context
struct SELECTID_Context context
Definition:
select_engine.c:47
PointerRNA
Definition:
RNA_types.h:49
ScrArea
Definition:
DNA_screen_types.h:360
SpaceProperties
Definition:
DNA_space_types.h:145
bContext
Definition:
context.c:69
ptr
PointerRNA * ptr
Definition:
wm_files.c:3157
Generated on Tue Jan 31 2023 14:37:24 for Blender by
doxygen
1.9.1