Blender V5.3
interface_region_popup.cc File Reference
#include <algorithm>
#include <cstdarg>
#include <cstdlib>
#include <cstring>
#include "MEM_guardedalloc.h"
#include "DNA_userdef_types.h"
#include "BLF_api.hh"
#include "BLI_listbase.hh"
#include "BLI_math_vector_c.hh"
#include "BLI_rect.hh"
#include "BLI_utildefines.hh"
#include "BLI_vector_set.hh"
#include "BKE_context.hh"
#include "BKE_screen.hh"
#include "WM_api.hh"
#include "WM_types.hh"
#include "ED_screen.hh"
#include "interface_intern.hh"
#include "interface_regions_intern.hh"

Go to the source code of this file.

Classes

struct  blender::ui::PopupLayoutPanelStates
struct  blender::ui::PopupLayoutPanelStatesIDNameGetter
struct  blender::ui::AlertData

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::ui

Functions

Interface Region Functions

interface_region_*.cc sources.

void blender::ui::popup_translate (ARegion *region, const int mdiff[2])
void blender::ui::popup_block_scrolltest (Block *block)
Block * blender::ui::popup_block_refresh (bContext *C, PopupBlockHandle *handle, ARegion *butregion, Button *but)
PopupBlockHandle * blender::ui::popup_block_create (bContext *C, ARegion *butregion, Button *but, BlockCreateFunc create_func, BlockHandleCreateFunc handle_create_func, void *arg, FreeArgFunc arg_free, bool can_refresh)
void blender::ui::popup_block_free (bContext *C, PopupBlockHandle *handle)
Utility Functions
static void blender::ui::popup_block_position (wmWindow *window, ARegion *butregion, Button *but, Block *block)
Menu Block Creation
static void blender::ui::block_region_refresh (const bContext *C, ARegion *region)
static void blender::ui::block_region_draw (const bContext *C, ARegion *region)
static void blender::ui::block_region_popup_window_listener (const wmRegionListenerParams *params)
static void blender::ui::popup_block_clip (wmWindow *window, Block *block)
static void blender::ui::popup_block_remove (bContext *C, PopupBlockHandle *handle)
void blender::ui::layout_panel_popup_scroll_apply (Panel *panel, const float dy)
ListBaseT< LayoutPanelState > & blender::ui::popup_persistent_layout_panel_states (StringRef idname)
void blender::ui::popup_dummy_panel_set (ARegion *region, Block *block, StringRef idname)
static void blender::ui::alert_ok_cb (bContext *C, void *arg1, void *arg2)
static void blender::ui::alert_ok (bContext *, void *arg, int)
static void blender::ui::alert_cancel (bContext *, void *user_data)
static Block * blender::ui::alert_create (bContext *C, ARegion *region, void *user_data)
void blender::ui::alert (bContext *C, StringRef title, StringRef message, AlertIcon icon, bool compact)

Detailed Description

PopUp Region (Generic)

Definition in file interface_region_popup.cc.