Blender V5.3
space_text.cc File Reference
#include <cstring>
#include "DNA_space_types.h"
#include "DNA_text_types.h"
#include "MEM_guardedalloc.h"
#include "BLI_listbase.hh"
#include "BLI_string_utf8.hh"
#include "BKE_context.hh"
#include "BKE_lib_query.hh"
#include "BKE_lib_remap.hh"
#include "BKE_screen.hh"
#include "BKE_text.h"
#include "ED_screen.hh"
#include "ED_space_api.hh"
#include "WM_api.hh"
#include "WM_types.hh"
#include "UI_interface.hh"
#include "UI_resources.hh"
#include "UI_view2d.hh"
#include "BLO_read_write.hh"
#include "RNA_access.hh"
#include "RNA_path.hh"
#include "text_format.hh"
#include "text_intern.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Functions

Main Region
static void blender::text_main_region_init (wmWindowManager *wm, ARegion *region)
static void blender::text_main_region_draw (const bContext *C, ARegion *region)
static void blender::text_cursor (wmWindow *win, ScrArea *area, ARegion *region)
Drop Boxes
static bool blender::text_drop_path_poll (bContext *, wmDrag *drag, const wmEvent *)
static void blender::text_drop_path_copy (bContext *, wmDrag *drag, wmDropBox *drop)
static bool blender::text_drop_id_poll (bContext *, wmDrag *drag, const wmEvent *)
static void blender::text_drop_id_copy (bContext *, wmDrag *drag, wmDropBox *drop)
static bool blender::text_drop_string_poll (bContext *, wmDrag *drag, const wmEvent *)
static void blender::text_drop_string_copy (bContext *, wmDrag *drag, wmDropBox *drop)
static void blender::text_dropboxes ()
Header Region
static void blender::text_header_region_init (wmWindowManager *, ARegion *region)
static void blender::text_header_region_draw (const bContext *C, ARegion *region)
Properties Region
static void blender::text_properties_region_init (wmWindowManager *wm, ARegion *region)
static void blender::text_properties_region_draw (const bContext *C, ARegion *region)
static void blender::text_id_remap (ScrArea *, SpaceLink *slink, const bke::id::IDRemapper &mappings)
static void blender::text_foreach_id (SpaceLink *space_link, LibraryForeachIDData *data)
static void blender::text_space_blend_read_data (BlendDataReader *, SpaceLink *sl)
static void blender::text_space_blend_write (BlendWriter *writer, SpaceLink *sl)
Calls for registering default spaces

Calls for registering default spaces, only called once, from ED_spacetypes_init

void blender::ED_spacetype_text ()

Default Callbacks for Text Space

const char * blender::text_context_dir [] = {"edit_text", nullptr}
static SpaceLink * blender::text_create (const ScrArea *, const Scene *)
static void blender::text_free (SpaceLink *sl)
static void blender::text_init (wmWindowManager *, ScrArea *)
static SpaceLink * blender::text_duplicate (SpaceLink *sl)
static void blender::text_listener (const wmSpaceTypeListenerParams *params)
static void blender::text_operatortypes ()
static void blender::text_keymap (wmKeyConfig *keyconf)
static int blender::text_context (const bContext *C, const char *member, bContextDataResult *result)