Blender V4.3
wm_splash_screen.cc File Reference
#include <algorithm>
#include <cstring>
#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 "BLF_api.hh"
#include "BLI_blenlib.h"
#include "BLI_utildefines.h"
#include "BKE_appdir.hh"
#include "BKE_blender_version.h"
#include "BKE_context.hh"
#include "BLT_translation.hh"
#include "IMB_imbuf.hh"
#include "IMB_imbuf_types.hh"
#include "ED_datafiles.h"
#include "ED_screen.hh"
#include "RNA_access.hh"
#include "UI_interface.hh"
#include "UI_interface_icons.hh"
#include "UI_resources.hh"
#include "WM_api.hh"
#include "WM_types.hh"
#include "wm.hh"

Go to the source code of this file.

Functions

Splash Screen
static void wm_block_splash_close (bContext *C, void *arg_block, void *)
 
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 void wm_block_splash_close_on_fileselect (bContext *C, void *arg1, void *)
 
static uiBlockwm_block_splash_create (bContext *C, ARegion *region, void *)
 
static int wm_splash_invoke (bContext *C, wmOperator *, const wmEvent *)
 
void WM_OT_splash (wmOperatorType *ot)
 
Splash Screen: About
static uiBlockwm_block_about_create (bContext *C, ARegion *region, void *)
 
static int wm_splash_about_invoke (bContext *C, wmOperator *, const wmEvent *)
 
void WM_OT_splash_about (wmOperatorType *ot)
 

Detailed Description

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

  • Loads the splash image.
  • Displaying version information.
  • Lists New Files (application templates).
  • Lists Recent files.
  • Links to web sites.

Definition in file wm_splash_screen.cc.

Function Documentation

◆ wm_block_about_create()

◆ 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_close()

static void wm_block_splash_close ( bContext * C,
void * arg_block,
void *  )
static

◆ wm_block_splash_close_on_fileselect()

static void wm_block_splash_close_on_fileselect ( bContext * C,
void * arg1,
void *  )
static

Close the splash when opening a file-selector.

Definition at line 182 of file wm_splash_screen.cc.

References CTX_wm_window(), wmWindow::event_queue, EVT_FILESELECT, LISTBASE_FOREACH, and wm_block_splash_close().

Referenced by wm_block_splash_create().

◆ wm_block_splash_create()

◆ wm_block_splash_image()

◆ wm_block_splash_image_roundcorners_add()

static void wm_block_splash_image_roundcorners_add ( ImBuf * ibuf)
static

◆ WM_OT_splash()

◆ WM_OT_splash_about()

◆ wm_splash_about_invoke()

static int wm_splash_about_invoke ( bContext * C,
wmOperator * ,
const wmEvent *  )
static

◆ wm_splash_invoke()

static int wm_splash_invoke ( bContext * C,
wmOperator * ,
const wmEvent *  )
static

Definition at line 343 of file wm_splash_screen.cc.

References OPERATOR_FINISHED, UI_popup_block_invoke(), and wm_block_splash_create().

Referenced by WM_OT_splash().