Blender  V3.3
Functions
wm_splash_screen.c File Reference
#include <string.h>
#include "CLG_log.h"
#include "DNA_ID.h"
#include "DNA_scene_types.h"
#include "DNA_screen_types.h"
#include "DNA_userdef_types.h"
#include "DNA_windowmanager_types.h"
#include "BLI_blenlib.h"
#include "BLI_math.h"
#include "BLI_utildefines.h"
#include "BKE_appdir.h"
#include "BKE_blender_version.h"
#include "BKE_context.h"
#include "BKE_screen.h"
#include "BLT_translation.h"
#include "BLF_api.h"
#include "IMB_imbuf.h"
#include "IMB_imbuf_types.h"
#include "ED_screen.h"
#include "UI_interface.h"
#include "UI_interface_icons.h"
#include "UI_resources.h"
#include "WM_api.h"
#include "WM_types.h"
#include "wm.h"

Go to the source code of this file.

Functions

static void wm_block_close (bContext *C, void *arg_block, void *UNUSED(arg))
 
static void wm_block_splash_add_label (uiBlock *block, const char *label, int x, int y)
 
static void wm_block_splash_image_roundcorners_add (ImBuf *ibuf)
 
static ImBufwm_block_splash_image (int width, int *r_height)
 
static uiBlockwm_block_create_splash (bContext *C, ARegion *region, void *UNUSED(arg))
 
static int wm_splash_invoke (bContext *C, wmOperator *UNUSED(op), const wmEvent *UNUSED(event))
 
void WM_OT_splash (wmOperatorType *ot)
 
static uiBlockwm_block_create_about (bContext *C, ARegion *region, void *UNUSED(arg))
 
static int wm_about_invoke (bContext *C, wmOperator *UNUSED(op), const wmEvent *UNUSED(event))
 
void WM_OT_splash_about (wmOperatorType *ot)
 

Detailed Description

This file contains the splash screen logic (the WM_OT_splash operator).

Definition in file wm_splash_screen.c.

Function Documentation

◆ wm_about_invoke()

static int wm_about_invoke ( bContext C,
wmOperator UNUSEDop,
const wmEvent UNUSEDevent 
)
static

◆ wm_block_close()

static void wm_block_close ( bContext C,
void arg_block,
void UNUSEDarg 
)
static

Definition at line 53 of file wm_splash_screen.c.

References C, CTX_wm_window(), and UI_popup_block_close().

Referenced by wm_block_create_splash().

◆ wm_block_create_about()

static uiBlock* wm_block_create_about ( bContext C,
ARegion region,
void UNUSEDarg 
)
static

◆ wm_block_create_splash()

static uiBlock* wm_block_create_splash ( bContext C,
ARegion region,
void UNUSEDarg 
)
static

◆ wm_block_splash_add_label()

static void wm_block_splash_add_label ( uiBlock block,
const char *  label,
int  x,
int  y 
)
static

◆ wm_block_splash_image()

static ImBuf* wm_block_splash_image ( int  width,
int *  r_height 
)
static

◆ wm_block_splash_image_roundcorners_add()

static void wm_block_splash_image_roundcorners_add ( ImBuf ibuf)
static

◆ WM_OT_splash()

void WM_OT_splash ( wmOperatorType ot)

◆ WM_OT_splash_about()

void WM_OT_splash_about ( wmOperatorType ot)

◆ wm_splash_invoke()

static int wm_splash_invoke ( bContext C,
wmOperator UNUSEDop,
const wmEvent UNUSEDevent 
)
static

Definition at line 244 of file wm_splash_screen.c.

References C, NULL, OPERATOR_FINISHED, UI_popup_block_invoke(), and wm_block_create_splash().

Referenced by WM_OT_splash().