#include <iostream>#include "kino_common.h"#include "page.h"#include "page_editor.h"#include "page_capture.h"#include "page_timeline.h"#include "page_export.h"#include "preferences.h"#include "avi.h"#include "filehandler.h"#include "ieee1394io.h"#include "message.h"#include "jogshuttle.h"#include <sys/stat.h>#include <sys/time.h>#include <gtk/gtk.h>#include <math.h>#include "callbacks.h"#include "support.h"#include "commands.h"#include "gtkenhancedscale.h"Include dependency graph for commands.cc:

Go to the source code of this file.
Functions | |
| static void | getDroppedFiles (GtkWidget *w, GdkDragContext *context, gint x, gint y, GtkSelectionData *data, guint info, guint time, gpointer *extra) |
| void | kinoInitialise (GtkWidget *widget) |
| void | kinoPostInit () |
| gboolean | kinoDeactivate () |
| void | bulkLoad (int argc, char *argv[]) |
| void | newFile () |
| void | openFile () |
| void | savePlayListAs () |
| void | savePlayList () |
| void | saveFrame () |
| void | insertFile () |
| void | appendFile () |
| void | pageStart (int page) |
| int | moveToFrame (int frame) |
| int | moveByFrames (int offs) |
| void | videoStart () |
| void | videoPreviousScene () |
| void | videoStartOfScene () |
| void | videoRewind () |
| void | videoBack () |
| void | videoBackBy (int step) |
| void | videoPlay () |
| void | videoForward () |
| void | videoForwardBy (int step) |
| void | videoFastForward () |
| void | videoNextScene () |
| void | videoEndOfScene () |
| void | videoEndOfMovie () |
| void | videoStop () |
| void | videoPause () |
| void | videoShuttle (int angle) |
| void | windowMoved () |
| void | visibilityChanged (gboolean visible) |
| void | notebookChangePage (int page) |
| gboolean | processKeyboard (GdkEventKey *event) |
| void | processCommand (char *command) |
| void | selectScene (int i) |
| void | startCapture (void) |
| void | stopCapture (void) |
| void | setPreviewSize (float factor) |
| void | previewExport (void) |
| void | startExport (void) |
| void | stopExport (void) |
| void | pauseExport (void) |
| void | setExportMode (int mode) |
| void | RefreshBar (GtkWidget *drawingarea) |
| void | setMoreInfo (int state) |
| void | setTimeFormat (int format) |
| void | publishPlayList (void) |
| void | publishFrame (void) |
| void | startJogShuttle (void) |
| void | showHelp (const char *page) |
| void | handleMouseScroll (GdkEvent *event) |
| int | kino2raw (char *filename, char *option) |
Variables | |
| navigate_control | g_nav_ctl |
| KinoCommon * | common = NULL |
|
|
Definition at line 207 of file commands.cc. Referenced by on_append_movie_activate(). 00208 {
00209 common->moveToFrame( common->getPlayList() ->FindEndOfScene( common->g_currentFrame ) );
00210 common->appendFile();
00211 }
|
|
||||||||||||
|
Definition at line 160 of file commands.cc. References GetEditorBackup(), and modal_message(). Referenced by main(). 00161 {
00162 if ( GetEditorBackup()->Restore( common->getPlayList() ) )
00163 {
00164 common->g_currentFrame = 0;
00165 common->hasListChanged = TRUE;
00166 common->setWindowTitle();
00167 modal_message( _( "Kino has recovered from a crash and restored your undo history!" ) );
00168 }
00169 else
00170 {
00171 common->newFile();
00172 common->bulkLoad( argc, argv );
00173 }
00174 }
|
|
||||||||||||||||||||||||||||||||||||
|
Definition at line 60 of file commands.cc. References windowMoved(). Referenced by kinoInitialise(). 00063 {
00064
00065 if ( data->data )
00066 {
00067 gchar** urls = g_strsplit( ( gchar* ) data->data, "\n", 0 );
00068 gchar** tmp = urls;
00069 char *argv[ 2 ];
00070
00071 /* For each URL we are passed */
00072 while ( tmp )
00073 {
00074 if ( strcmp( *tmp, "" ) == 0 )
00075 break;
00076 if ( !strncmp( *tmp, "file:", 5 ) )
00077 {
00078 argv[ 1 ] = *tmp + 5;
00079 argv[ 1 ][ strlen( argv[ 1 ] ) - 1 ] = '\0';
00080 common->bulkLoad( 2, argv );
00081 }
00082 tmp++;
00083 };
00084 g_strfreev( urls );
00085 windowMoved();
00086 gtk_drag_finish( context, TRUE, FALSE, time );
00087 }
00088 gtk_drag_finish( context, FALSE, FALSE, time );
00089 }
|
|
|
Definition at line 431 of file commands.cc. References navigate_control::active, Preferences::getInstance(), navigate_control::rate, navigate_control::step, videoBack(), videoBackBy(), videoForward(), videoForwardBy(), and videoShuttle(). Referenced by on_main_window_scroll_event(). 00432 {
00433 if ( Preferences::getInstance().enableJogShuttle )
00434 return;
00435
00436 if ( event->scroll.state & GDK_SHIFT_MASK )
00437 {
00438 if ( event->scroll.direction == GDK_SCROLL_UP )
00439 videoBack( );
00440 else if ( event->scroll.direction == GDK_SCROLL_DOWN )
00441 videoForward( );
00442 }
00443 else if ( event->scroll.state & GDK_CONTROL_MASK )
00444 {
00445 int speedTable[] = {
00446 0,
00447 8, 10, 16, 20, 33, 50, 75,
00448 100,
00449 200, 300, 400, 500, 800, 1200,
00450 3001 };
00451 int i = 0;
00452 int speed;
00453 int direction;
00454
00455 if ( g_nav_ctl.active == FALSE )
00456 {
00457 speed = 8;
00458 direction = ( event->scroll.direction == GDK_SCROLL_UP ? -1 : 1 );
00459 }
00460 else if ( g_nav_ctl.step == 0 )
00461 {
00462 speed = 100 / ( g_nav_ctl.rate < 0 ? -g_nav_ctl.rate : g_nav_ctl.rate );
00463 speed = speed == 100 ? 75 : speed;
00464 direction = g_nav_ctl.rate < 0 ? -1 : 1;
00465 }
00466 else
00467 {
00468 speed = ( g_nav_ctl.step < 0 ? -g_nav_ctl.step : g_nav_ctl.step ) * 100;
00469 direction = g_nav_ctl.step < 0 ? -1 : 1;
00470 }
00471
00472 while ( i < 16 && speedTable[ i ] < speed )
00473 ++i;
00474
00475 i *= direction;
00476 //fprintf( stderr, "speed %d direction %d i %d\n", speed, direction, i );
00477
00478 if ( event->scroll.direction == GDK_SCROLL_UP )
00479 videoShuttle( -- i );
00480 else if ( event->scroll.direction == GDK_SCROLL_DOWN )
00481 videoShuttle( ++ i );
00482 }
00483 else
00484 {
00485 if ( event->scroll.direction == GDK_SCROLL_UP )
00486 videoBackBy( -10 );
00487 else if ( event->scroll.direction == GDK_SCROLL_DOWN )
00488 videoForwardBy( 10 );
00489 }
00490 }
|
|
|
Definition at line 201 of file commands.cc. Referenced by on_insert_movie_activate(). 00202 {
00203 common->moveToFrame( common->getPlayList() ->FindStartOfScene( common->g_currentFrame ) );
00204 common->insertFile();
00205 }
|
|
||||||||||||
|
Definition at line 492 of file commands.cc. References AUDIO_RESAMPLE_SRC_SINC_BEST_QUALITY, AUDIO_RESAMPLE_SRC_SINC_FASTEST, AudioInfo::channels, Frame::data, DV_AUDIO_MAX_SAMPLES, AudioInfo::frequency, Frame::GetAudioInfo(), AsyncAudioResample< input_t, output_t >::GetError(), PlayList::GetFrame(), Frame::GetFrameRate(), Frame::GetFrameSize(), PlayList::GetNumFrames(), AsyncAudioResample< input_t, output_t >::GetOutput(), info, AsyncAudioResample< input_t, output_t >::IsError(), Frame::IsPAL(), PlayList::LoadPlayList(), AsyncAudioResample< input_t, output_t >::Process(), and AudioInfo::samples. Referenced by main(). 00493 {
00494 try
00495 {
00496 PlayList playlist;
00497 Frame frame;
00498 AudioInfo info;
00499
00500 if ( playlist.LoadPlayList( filename ) )
00501 {
00502 const double outputRate = 32000;
00503 playlist.GetFrame( 0, frame );
00504
00505 if ( option )
00506 {
00507 if ( strcmp( option, "aspect" ) == 0 )
00508 {
00509 std::cout << ( frame.IsWide() ? "16:9" : "4:3" ) << std::endl;
00510 }
00511 else if ( strcmp( option, "normalisation" ) == 0 )
00512 {
00513 std::cout << ( frame.IsPAL() ? "pal" : "ntsc" ) << std::endl;
00514 }
00515 return 0;
00516 }
00517
00518 frame.GetAudioInfo( info );
00519 info.frequency = int( outputRate );
00520 // Determine correct amount of audio for duration
00521 double adjustedRate = 0.0;
00522 {
00523 double seconds = double( playlist.GetNumFrames() ) / frame.GetFrameRate();
00524 int64_t idealSamples = int64_t( seconds * outputRate + 0.5 );
00525 int64_t actualSamples = 0;
00526 int n = -1, frameNum = 0, previousProgress = -1;
00527 AsyncAudioResample<int16_ne_t,int16_le_t> resampler(
00528 AUDIO_RESAMPLE_SRC_SINC_FASTEST, &playlist, outputRate, 0, playlist.GetNumFrames() - 1, 1 );
00529 char buf[ 512 ];
00530
00531 // Determine the actual number of samples
00532 while ( n != 0 )
00533 {
00534 n = resampler.Process( outputRate, frame.CalculateNumberSamples( int( outputRate ), frameNum++ ) );
00535 actualSamples += n;
00536 int progress = int( double( frameNum ) / playlist.GetNumFrames() * 100 );
00537 if ( progress != previousProgress )
00538 {
00539 previousProgress = progress;
00540 snprintf( buf, 512, "\r%s (%02d%%)", _("Locking audio"), progress );
00541 std::cerr << buf;
00542 }
00543 }
00544 adjustedRate = outputRate + ( idealSamples - actualSamples ) / seconds;
00545 std::cerr << std::endl;
00546 }
00547
00548 // Set up resampling
00549 int16_le_t *audio_buffers[ 4 ];
00550 for ( int c = 0; c < 4; c++ )
00551 audio_buffers[ c ] = new int16_le_t[ 2 * DV_AUDIO_MAX_SAMPLES ];
00552
00553 // Create the resampler
00554 AsyncAudioResample<int16_ne_t,int16_le_t> resampler(
00555 AUDIO_RESAMPLE_SRC_SINC_BEST_QUALITY, &playlist, adjustedRate, 0, playlist.GetNumFrames() - 1, 1 );
00556 if ( resampler.IsError() )
00557 {
00558 std::cerr << "Resampler error: " << resampler.GetError() << std::endl;
00559 for ( int c = 0; c < 4; c++ )
00560 delete[] audio_buffers[ c ];
00561 return 4;
00562 }
00563
00564 for ( int i = 0; i < playlist.GetNumFrames(); ++i )
00565 {
00566 // Resample
00567 int requestedSamples = frame.CalculateNumberSamples( int( outputRate ), i );
00568
00569 playlist.GetFrame( i, frame );
00570 info.samples = resampler.Process( adjustedRate, requestedSamples );
00571 if ( info.samples )
00572 {
00573 // Deinterleave samples
00574 int16_le_t *p = resampler.GetOutput();
00575 for ( int s = 0; s < info.samples; s++ )
00576 for ( int c = 0; c < info.channels; c++ )
00577 audio_buffers[ c ][ s ] = *p++;
00578
00579 frame.EncodeAudio( info, audio_buffers );
00580 }
00581 if ( !fwrite( frame.data, frame.GetFrameSize(), 1, stdout ) )
00582 {
00583 perror( "Failed to write raw DV" );
00584 for ( int c = 0; c < 4; c++ )
00585 delete[] audio_buffers[ c ];
00586 return 2;
00587 }
00588 }
00589
00590 // Cleanup
00591 for ( int c = 0; c < 4; c++ )
00592 delete[] audio_buffers[ c ];
00593 }
00594 }
00595 catch (...)
00596 {
00597 std::cerr << "General Error" << std::endl;
00598 return 3;
00599 }
00600 return 0;
00601 }
|
|
|
Definition at line 145 of file commands.cc. References Preferences::getInstance(), and lookup_widget(). Referenced by on_exit_activate(), on_main_window_delete_event(), PageTrim::processCommand(), PageTimeline::processCommand(), PageMagick::processCommand(), PageExport::processCommand(), PageEditor::processCommand(), and PageCapture::processCommand(). 00146 {
00147 if ( common->exitKino( ) )
00148 {
00149 cerr << "Exiting Kino\n";
00150 gtk_window_get_size( GTK_WINDOW( common->getWidget() ), &Preferences::getInstance().windowWidth,
00151 &Preferences::getInstance().windowHeight );
00152 Preferences::getInstance().storyboardPosition = gtk_paned_get_position( GTK_PANED(
00153 lookup_widget( common->getWidget() , "hpaned1" ) ) );
00154 Preferences::getInstance().Save();
00155 gtk_main_quit();
00156 }
00157 return TRUE;
00158 }
|
|
|
Definition at line 91 of file commands.cc. References getDroppedFiles(), JogShuttle::getInstance(), Preferences::getInstance(), lookup_widget(), and PAGE_BTTV. Referenced by main(). 00092 {
00093 common = new KinoCommon( widget );
00094 common->setWindowTitle( );
00095 JogShuttle::getInstance();
00096 if ( ! Preferences::getInstance().enableV4L )
00097 {
00098 GtkWidget *widget2 = lookup_widget( widget, "menuitem_v4l" );
00099 gtk_container_remove( GTK_CONTAINER( widget2->parent ), widget2 );
00100 gtk_notebook_remove_page( GTK_NOTEBOOK( lookup_widget( widget, "main_notebook" ) ), PAGE_BTTV );
00101 }
00102
00103 /* Allow drag from file manager */
00104 static GtkTargetEntry file_targets[] = {
00105 {"text/uri-list", 0, 0}
00106 };
00107
00108 g_signal_connect( G_OBJECT( widget ), "drag_data_received",
00109 G_CALLBACK( getDroppedFiles ), NULL );
00110 gtk_drag_dest_set( GTK_WIDGET( widget ),
00111 ( GtkDestDefaults ) ( GTK_DEST_DEFAULT_MOTION | GTK_DEST_DEFAULT_HIGHLIGHT |
00112 GTK_DEST_DEFAULT_DROP ), file_targets, 1,
00113 ( GdkDragAction ) ( GDK_ACTION_COPY | GDK_ACTION_MOVE ) );
00114 g_signal_connect( G_OBJECT( lookup_widget( widget, "main_notebook" ) ), "drag_data_received",
00115 G_CALLBACK( getDroppedFiles ), NULL );
00116 gtk_drag_dest_set( GTK_WIDGET( lookup_widget( widget, "main_notebook" ) ),
00117 ( GtkDestDefaults ) ( GTK_DEST_DEFAULT_MOTION | GTK_DEST_DEFAULT_HIGHLIGHT |
00118 GTK_DEST_DEFAULT_DROP ), file_targets, 1,
00119 ( GdkDragAction ) ( GDK_ACTION_COPY | GDK_ACTION_MOVE ) );
00120 gtk_window_set_default_size( GTK_WINDOW( widget ),
00121 Preferences::getInstance().windowWidth, Preferences::getInstance().windowHeight );
00122 gtk_paned_set_position( GTK_PANED( lookup_widget( widget , "hpaned1" ) ),
00123 Preferences::getInstance().storyboardPosition );
00124
00125 if ( ! Preferences::getInstance().enablePublish )
00126 {
00127 GtkWidget *widget2 = lookup_widget( widget, "button_publish_project" );
00128 gtk_container_remove( GTK_CONTAINER( widget2->parent ), widget2 );
00129 widget2 = lookup_widget( widget, "button_publish_still" );
00130 gtk_container_remove( GTK_CONTAINER( widget2->parent ), widget2 );
00131 widget2 = lookup_widget( widget, "publish_project" );
00132 gtk_container_remove( GTK_CONTAINER( widget2->parent ), widget2 );
00133 widget2 = lookup_widget( widget, "publish_still" );
00134 gtk_container_remove( GTK_CONTAINER( widget2->parent ), widget2 );
00135 }
00136 common->updateRecentFiles();
00137 }
|
|
|
Definition at line 139 of file commands.cc. References Preferences::getInstance(), notebookChangePage(), and PAGE_EDITOR. Referenced by main(). 00140 {
00141 common->setPreviewSize( float( Preferences::getInstance().previewSize ) / 10.0, true );
00142 notebookChangePage( PAGE_EDITOR );
00143 }
|
|
|
Definition at line 223 of file commands.cc. 00224 {
00225 return common->moveByFrames( offs );
00226 }
|
|
|
Definition at line 218 of file commands.cc. Referenced by on_scrub_bar_value_changed_event(), on_scrubbar_magick_value_changed_event(), and PageTrim::processCommand(). 00219 {
00220 return common->moveToFrame( frame );
00221 }
|
|
|
Definition at line 176 of file commands.cc. Referenced by on_new_activate().
|
|
|
Definition at line 317 of file commands.cc. Referenced by kinoPostInit(), on_capture_activate(), on_editor_activate(), on_export_activate(), on_fx1_activate(), on_menuitem_trim_activate(), on_menuitem_v4l_activate(), and on_timeline_activate(). 00318 {
00319 common->changePageRequest( page );
00320 }
|
|
|
Definition at line 181 of file commands.cc. Referenced by on_open_activate().
|
|
|
Definition at line 213 of file commands.cc. Referenced by on_main_notebook_switch_page(). 00214 {
00215 common->setCurrentPage( page );
00216 }
|
|
|
Definition at line 377 of file commands.cc. Referenced by on_togglebutton_export_pause_toggled(). 00378 {
00379 common->getPageExport() ->pauseExport();
00380 }
|
|
|
Definition at line 363 of file commands.cc. Referenced by on_togglebutton_export_preview_toggled(). 00364 {
00365 common->getPageExport() ->previewExport();
00366 }
|
|
|
Definition at line 335 of file commands.cc. References publishPlayList(). Referenced by JogShuttle::button(), on_button_trim_apply_clicked(), on_copy_current_scene_activate(), on_cut_current_scene_activate(), on_join_scenes_activate(), on_paste_before_current_frame_activate(), on_redo_activate(), on_split_scene_activate(), and on_undo_activate(). 00336 {
00337 if ( strcmp( command, "Ctrl+W" ) == 0 )
00338 publishPlayList();
00339 else
00340 common->processCommand( command );
00341 }
|
|
|
Definition at line 322 of file commands.cc. References Preferences::getInstance(). Referenced by on_main_window_key_press_event(). 00323 {
00324 // To avoid problems with repeat keys only process
00325 // top of the event queue key presses - issue is that
00326 // we don't know if any pending event is actually a
00327 // keypress... think all key press should move over to
00328 // a snoop, but even then.. dunno if that'll help
00329 if ( Preferences::getInstance().disableKeyRepeat && gdk_events_pending() )
00330 return TRUE;
00331
00332 return common->processKeyboard( event );
00333 }
|
|
|
Definition at line 411 of file commands.cc. Referenced by on_publish_still_activate(). 00412 {
00413 common->publishFrame( );
00414 }
|
|
|
Definition at line 406 of file commands.cc. Referenced by on_publish_project_activate(), and processCommand(). 00407 {
00408 common->publishPlayList( );
00409 }
|
|
|
Definition at line 387 of file commands.cc. 00388 {
00389 common->getPageEditor() ->DrawBar( common->g_currentFrame );
00390 }
|
|
|
Definition at line 196 of file commands.cc. Referenced by on_capture_page_snapshot_button_clicked(), and on_save_still_frame_activate().
|
|
|
Definition at line 191 of file commands.cc. Referenced by on_save_activate(). 00192 {
00193 common->savePlayList();
00194 }
|
|
|
Definition at line 186 of file commands.cc. Referenced by on_save_as_activate(). 00187 {
00188 common->savePlayListAs();
00189 }
|
|
|
Definition at line 343 of file commands.cc. 00344 {
00345 common->selectScene( i );
00346 }
|
|
|
Definition at line 382 of file commands.cc. Referenced by on_notebook_export_switch_page(). 00383 {
00384 common->getPageExport() ->setCurrentMode( mode );
00385 }
|
|
|
Definition at line 392 of file commands.cc. References GetFramePool(). Referenced by on_expander_properties_activate(). 00393 {
00394 common->setMoreInfo( state == 1 );
00395 Frame &frame = *( GetFramePool( ) ->GetFrame( ) );
00396 common->showFrameMoreInfo( frame, NULL );
00397 GetFramePool( ) ->DoneWithFrame( &frame );
00398 common->moveToFrame();
00399 }
|
|
|
Definition at line 358 of file commands.cc. Referenced by on_100percent_activate(), on_50percent_activate(), on_autosize_activate(), and on_button_viewsize_clicked(). 00359 {
00360 common->setPreviewSize( factor );
00361 }
|
|
|
Definition at line 401 of file commands.cc. Referenced by on_time_format_clock_activate(), on_time_format_frames_activate(), on_time_format_h_activate(), on_time_format_min_activate(), on_time_format_ms_activate(), on_time_format_none_activate(), on_time_format_s_activate(), and on_time_format_smpte_activate(). 00402 {
00403 common->setTimeFormat( static_cast< SMIL::Time::TimeFormat >( format ) );
00404 }
|
|
|
Definition at line 421 of file commands.cc. References cmd, and g_help_language. Referenced by on_help_topics_activate(), and on_preferences_dialog_help_button_clicked(). 00422 {
00423 extern char* g_help_language;
00424 std::string cmd = "\"" DATADIR "/kino/scripts/help.sh\" \"file://" DATADIR "/kino/help/";
00425 if ( page == NULL || strcmp( page, "" ) == 0 )
00426 page = common->getCurrentPage()->getHelpPage().c_str();
00427 cmd += std::string( g_help_language ) + std::string( "\" \"" ) + std::string( page ) + "\" &";
00428 system( cmd.c_str() );
00429 }
|
|
|
Definition at line 348 of file commands.cc. Referenced by on_capture_page_record_button_clicked(). 00349 {
00350 common->getPageCapture() ->startCapture();
00351 }
|
|
|
Definition at line 368 of file commands.cc. Referenced by on_togglebutton_export_record_toggled(). 00369 {
00370 common->getPageExport() ->startExport();
00371 }
|
|
|
Definition at line 416 of file commands.cc. References JogShuttle::getInstance(). Referenced by sigusr2_handler(). 00417 {
00418 JogShuttle::getInstance().start();
00419 }
|
|
|
Definition at line 353 of file commands.cc. Referenced by on_capture_page_stop_button_clicked(). 00354 {
00355 common->getPageCapture() ->stopCapture();
00356 }
|
|
|
Definition at line 372 of file commands.cc. Referenced by on_togglebutton_export_stop_toggled(). 00373 {
00374 common->getPageExport() ->stopExport();
00375 }
|
|
|
Definition at line 248 of file commands.cc. Referenced by handleMouseScroll(), and on_video_back_button_clicked().
|
|
|
Definition at line 252 of file commands.cc. Referenced by handleMouseScroll(), and JogShuttle::jog().
|
|
|
Definition at line 286 of file commands.cc. Referenced by on_video_end_movie_button_clicked(). 00287 {
00288 common->videoEndOfMovie();
00289 }
|
|
|
Definition at line 281 of file commands.cc. 00282 {
00283 common->videoEndOfScene();
00284 }
|
|
|
Definition at line 271 of file commands.cc. Referenced by on_video_fast_forward_button_clicked(). 00272 {
00273 common->videoFastForward();
00274 }
|
|
|
Definition at line 262 of file commands.cc. Referenced by handleMouseScroll(), and on_video_forward_button_clicked(). 00263 {
00264 common->videoForward(1);
00265 }
|
|
|
Definition at line 266 of file commands.cc. Referenced by handleMouseScroll(), and JogShuttle::jog(). 00267 {
00268 common->videoForward(step);
00269 }
|
|
|
Definition at line 276 of file commands.cc. Referenced by on_video_end_scene_button_clicked(). 00277 {
00278 common->videoNextScene();
00279 }
|
|
|
Definition at line 296 of file commands.cc. Referenced by on_scrub_bar_button_press_event(), on_trim_button_press_event(), and on_video_pause_button_clicked(). 00297 {
00298 common->videoPause();
00299 }
|
|
|
Definition at line 257 of file commands.cc. Referenced by on_video_play_button_clicked().
|
|
|
Definition at line 233 of file commands.cc. Referenced by on_video_start_scene_button_clicked(). 00234 {
00235 common->videoPreviousScene();
00236 }
|
|
|
Definition at line 243 of file commands.cc. Referenced by on_video_rewind_button_clicked(). 00244 {
00245 common->videoRewind();
00246 }
|
|
|
Definition at line 301 of file commands.cc. Referenced by handleMouseScroll(), on_hscale_shuttle_value_changed(), and JogShuttle::shuttle(). 00302 {
00303 common->videoShuttle( angle );
00304 }
|
|
|
Definition at line 228 of file commands.cc. Referenced by on_video_start_movie_button_clicked(). 00229 {
00230 common->videoStartOfMovie();
00231 }
|
|
|
Definition at line 238 of file commands.cc. 00239 {
00240 common->videoStartOfScene();
00241 }
|
|
|
Definition at line 291 of file commands.cc. Referenced by on_notebook_magick_switch_page(), on_notebook_magick_switch_video_page(), on_scrubbar_magick_button_press_event(), on_scrubbar_magick_value_changed_event(), and on_video_stop_button_clicked().
|
|
|
Definition at line 312 of file commands.cc. Referenced by on_main_window_map_event(), and on_main_window_unmap_event(). 00313 {
00314 common->visibilityChanged( visible );
00315 }
|
|
|
Definition at line 306 of file commands.cc. Referenced by getDroppedFiles(), on_expander_properties_activate(), on_expose_event(), and on_main_window_configure_event(). 00307 {
00308 if ( common )
00309 common->windowMoved();
00310 }
|
|
|
|
Definition at line 33 of file callbacks.c. |
1.4.2