Lines Matching refs:tracker
53 #include "ege-color-prof-tracker.h"
138 static void track_screen( GdkScreen* screen, EgeColorProfTracker* tracker );
194 void ege_color_prof_tracker_init( EgeColorProfTracker* tracker )
196 tracker->private_data = EGE_GET_PRIVATE( tracker );
197 tracker->private_data->_target = 0;
198 tracker->private_data->_monitor = 0;
206 EgeColorProfTracker* tracker = EGE_COLOR_PROF_TRACKER( obj );
207 tracker->private_data->_target = target;
226 g_signal_emit( G_OBJECT(tracker), signals[MODIFIED], 0, screenNum, monitor );
234 return tracker;
237 void ege_color_prof_tracker_get_profile( EgeColorProfTracker const * tracker, gpointer* ptr, guint* len )
241 if (tracker) {
242 if (tracker->private_data->_target ) {
243 GdkScreen* screen = gtk_widget_get_screen(tracker->private_data->_target);
248 if ( tracker->private_data->_monitor >= 0 && tracker->private_data->_monitor < (static_cast<gint>(screenTrack->profiles->len))) {
249 GByteArray* gba = static_cast<GByteArray*>(g_ptr_array_index(screenTrack->profiles, tracker->private_data->_monitor));
315 EgeColorProfTracker* tracker = EGE_COLOR_PROF_TRACKER( obj );
316 (void)tracker;
327 EgeColorProfTracker* tracker = EGE_COLOR_PROF_TRACKER( obj );
328 (void)tracker;
337 void track_screen( GdkScreen* screen, EgeColorProfTracker* tracker )
340 /* First remove the tracker from different screens */
344 screenTrack->trackers = g_slist_remove_all(screenTrack->trackers, tracker);
357 GSList* trackHook = g_slist_find( screenTrack->trackers, tracker );
359 screenTrack->trackers = g_slist_append( screenTrack->trackers, tracker );
370 newTrack->trackers = g_slist_append( 0, tracker );
377 g_signal_connect( G_OBJECT(screen), "size-changed", G_CALLBACK( screen_size_changed_cb ), tracker );
420 EgeColorProfTracker* tracker = (EgeColorProfTracker*)user_data;
422 if ( monitorNum != tracker->private_data->_monitor ) {
423 tracker->private_data->_monitor = monitorNum;
424 g_signal_emit( G_OBJECT(tracker), signals[CHANGED], 0 );
636 EgeColorProfTracker* tracker = (EgeColorProfTracker*)(trackHook->data);
637 if ( (monitor == -1) || (tracker->private_data->_monitor == monitor) ) {
638 g_signal_emit( G_OBJECT(tracker), signals[CHANGED], 0 );