Blender  V3.3
Functions
render_view.cc File Reference
#include <cstddef>
#include <cstring>
#include "BLI_listbase.h"
#include "BLI_utildefines.h"
#include "DNA_scene_types.h"
#include "DNA_userdef_types.h"
#include "BKE_context.h"
#include "BKE_global.h"
#include "BKE_image.h"
#include "BKE_main.h"
#include "BKE_report.h"
#include "BKE_scene.h"
#include "BKE_screen.h"
#include "BLT_translation.h"
#include "WM_api.h"
#include "WM_types.h"
#include "ED_screen.h"
#include "UI_interface.h"
#include "wm_window.h"
#include "render_intern.hh"

Go to the source code of this file.

Functions

static ScrAreabiggest_non_image_area (bContext *C)
 
static ScrAreafind_area_showing_r_result (bContext *C, Scene *scene, wmWindow **win)
 
static ScrAreafind_area_image_empty (bContext *C)
 
ScrArearender_view_open (bContext *C, int mx, int my, ReportList *reports)
 
static int render_view_cancel_exec (bContext *C, wmOperator *UNUSED(op))
 
void RENDER_OT_view_cancel (struct wmOperatorType *ot)
 
static int render_view_show_invoke (bContext *C, wmOperator *op, const wmEvent *event)
 
void RENDER_OT_view_show (struct wmOperatorType *ot)
 

Function Documentation

◆ biggest_non_image_area()

static ScrArea* biggest_non_image_area ( bContext C)
static

Returns biggest area that is not uv/image editor. Note that it uses buttons window as the last possible alternative. would use #BKE_screen_find_big_area(...) but this is too specific.

Definition at line 44 of file render_view.cc.

References blender::compositor::area(), bScreen::areabase, C, CTX_wm_screen(), ListBase::first, size(), SPACE_IMAGE, and SPACE_PROPERTIES.

Referenced by render_view_open().

◆ find_area_image_empty()

static ScrArea* find_area_image_empty ( bContext C)
static

◆ find_area_showing_r_result()

static ScrArea* find_area_showing_r_result ( bContext C,
Scene scene,
wmWindow **  win 
)
static

◆ RENDER_OT_view_cancel()

void RENDER_OT_view_cancel ( struct wmOperatorType ot)

◆ RENDER_OT_view_show()

void RENDER_OT_view_show ( struct wmOperatorType ot)

◆ render_view_cancel_exec()

static int render_view_cancel_exec ( bContext C,
wmOperator UNUSEDop 
)
static

◆ render_view_open()

ScrArea* render_view_open ( struct bContext C,
int  mx,
int  my,
struct ReportList reports 
)

◆ render_view_show_invoke()

static int render_view_show_invoke ( bContext C,
wmOperator op,
const wmEvent event 
)
static