Blender  V3.3
ED_util_imbuf.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later
2  * Copyright 2008 Blender Foundation. All rights reserved. */
3 
8 #pragma once
9 
10 #include "BLI_compiler_attrs.h"
11 #include "BLI_sys_types.h"
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
17 struct ARegion;
18 struct bContext;
19 struct wmEvent;
20 struct wmOperator;
21 
22 /* ed_util_imbuf.c */
23 
24 void ED_imbuf_sample_draw(const struct bContext *C, struct ARegion *region, void *arg_info);
25 void ED_imbuf_sample_exit(struct bContext *C, struct wmOperator *op);
26 int ED_imbuf_sample_invoke(struct bContext *C, struct wmOperator *op, const struct wmEvent *event);
27 int ED_imbuf_sample_modal(struct bContext *C, struct wmOperator *op, const struct wmEvent *event);
28 void ED_imbuf_sample_cancel(struct bContext *C, struct wmOperator *op);
29 bool ED_imbuf_sample_poll(struct bContext *C);
30 
31 #ifdef __cplusplus
32 }
33 #endif
int ED_imbuf_sample_invoke(struct bContext *C, struct wmOperator *op, const struct wmEvent *event)
void ED_imbuf_sample_draw(const struct bContext *C, struct ARegion *region, void *arg_info)
bool ED_imbuf_sample_poll(struct bContext *C)
void ED_imbuf_sample_exit(struct bContext *C, struct wmOperator *op)
void ED_imbuf_sample_cancel(struct bContext *C, struct wmOperator *op)
int ED_imbuf_sample_modal(struct bContext *C, struct wmOperator *op, const struct wmEvent *event)
#define C
Definition: RandGen.cpp:25