|
Blender
V2.59
|
#include <string.h>#include <stdio.h>#include "DNA_scene_types.h"#include "MEM_guardedalloc.h"#include "BLI_blenlib.h"#include "BLI_math.h"#include "BLI_rand.h"#include "BLI_utildefines.h"#include "BKE_context.h"#include "BKE_screen.h"#include "ED_space_api.h"#include "ED_screen.h"#include "BIF_gl.h"#include "WM_api.h"#include "WM_types.h"#include "UI_resources.h"#include "UI_view2d.h"#include "sound_intern.h"Go to the source code of this file.
Functions | |
| static SpaceLink * | sound_new (const bContext *UNUSED(C)) |
| static void | sound_free (SpaceLink *UNUSED(sl)) |
| static void | sound_init (struct wmWindowManager *UNUSED(wm), ScrArea *UNUSED(sa)) |
| static SpaceLink * | sound_duplicate (SpaceLink *sl) |
| static void | sound_main_area_init (wmWindowManager *wm, ARegion *ar) |
| static void | sound_main_area_draw (const bContext *C, ARegion *ar) |
| static void | sound_operatortypes (void) |
| static void | sound_keymap (struct wmKeyConfig *UNUSED(keyconf)) |
| static void | sound_header_area_init (wmWindowManager *UNUSED(wm), ARegion *ar) |
| static void | sound_header_area_draw (const bContext *C, ARegion *ar) |
| static void | sound_main_area_listener (ARegion *UNUSED(ar), wmNotifier *UNUSED(wmn)) |
| void | ED_spacetype_sound (void) |
Definition in file space_sound.c.
| void ED_spacetype_sound | ( | void | ) |
Definition at line 218 of file space_sound.c.
References BKE_spacetype_register(), BKE_ST_MAXNAME, BLI_addhead(), ARegionType::draw, SpaceType::duplicate, ED_KEYMAP_FRAMES, ED_KEYMAP_HEADER, ED_KEYMAP_UI, ED_KEYMAP_VIEW2D, SpaceType::free, HEADERY, SpaceType::init, ARegionType::init, SpaceType::keymap, ARegionType::keymapflag, ARegionType::listener, MEM_callocN(), SpaceType::name, SpaceType::new, SpaceType::operatortypes, ARegionType::prefsizex, ARegionType::prefsizey, ARegionType::regionid, SpaceType::regiontypes, RGN_TYPE_CHANNELS, RGN_TYPE_HEADER, RGN_TYPE_WINDOW, sound_duplicate(), sound_free(), sound_header_area_draw(), sound_header_area_init(), sound_init(), sound_keymap(), sound_main_area_draw(), sound_main_area_init(), sound_main_area_listener(), sound_new(), sound_operatortypes(), SPACE_SOUND, and SpaceType::spaceid.
Referenced by ED_spacetypes_init().
Definition at line 130 of file space_sound.c.
References MEM_dupallocN().
Referenced by ED_spacetype_sound().
| static void sound_free | ( | SpaceLink * | UNUSEDsl | ) | [static] |
Definition at line 116 of file space_sound.c.
Definition at line 190 of file space_sound.c.
References ED_screen_area_active(), sound_header_buttons(), TH_HEADER, TH_HEADERDESEL, UI_GetThemeColor3fv(), UI_view2d_view_ortho(), UI_view2d_view_restore(), and ARegion::v2d.
Referenced by ED_spacetype_sound().
| static void sound_header_area_init | ( | wmWindowManager * | UNUSEDwm, |
| ARegion * | ar | ||
| ) | [static] |
Definition at line 185 of file space_sound.c.
References UI_view2d_region_reinit(), ARegion::v2d, V2D_COMMONVIEW_HEADER, ARegion::winx, and ARegion::winy.
Referenced by ED_spacetype_sound().
| static void sound_init | ( | struct wmWindowManager * | UNUSEDwm, |
| ScrArea * | UNUSEDsa | ||
| ) | [static] |
Definition at line 125 of file space_sound.c.
| static void sound_keymap | ( | struct wmKeyConfig * | UNUSEDkeyconf | ) | [static] |
Definition at line 179 of file space_sound.c.
Referenced by ED_spacetype_sound().
Definition at line 153 of file space_sound.c.
References TH_BACK, UI_ThemeClearColor(), UI_view2d_view_ortho(), UI_view2d_view_restore(), and ARegion::v2d.
Referenced by ED_spacetype_sound().
| static void sound_main_area_init | ( | wmWindowManager * | wm, |
| ARegion * | ar | ||
| ) | [static] |
Definition at line 142 of file space_sound.c.
References wmWindowManager::defaultconf, ARegion::handlers, View2D::mask, SPACE_SOUND, UI_view2d_region_reinit(), ARegion::v2d, V2D_COMMONVIEW_CUSTOM, ARegion::winrct, ARegion::winx, ARegion::winy, WM_event_add_keymap_handler_bb(), and WM_keymap_find().
Referenced by ED_spacetype_sound().
| static void sound_main_area_listener | ( | ARegion * | UNUSEDar, |
| wmNotifier * | UNUSEDwmn | ||
| ) | [static] |
Definition at line 212 of file space_sound.c.
Referenced by ED_spacetype_sound().
Definition at line 65 of file space_sound.c.
References ARegion::alignment, BLI_addtail(), View2D::cur, View2D::keeptot, View2D::keepzoom, View2D::max, MAXFRAMEF, View2D::maxzoom, MEM_callocN(), View2D::min, View2D::minzoom, SpaceSound::regionbase, ARegion::regiontype, RGN_ALIGN_BOTTOM, RGN_TYPE_HEADER, RGN_TYPE_WINDOW, View2D::scroll, SPACE_SOUND, SpaceSound::spacetype, View2D::tot, ARegion::v2d, V2D_LOCKZOOM_Y, V2D_SCROLL_BOTTOM, V2D_SCROLL_LEFT, V2D_SCROLL_SCALE_HORIZONTAL, rctf::xmax, rctf::xmin, rctf::ymax, and rctf::ymin.
Referenced by ED_spacetype_sound().
| static void sound_operatortypes | ( | void | ) | [static] |
Definition at line 174 of file space_sound.c.
Referenced by ED_spacetype_sound().