ARB
Macros | Functions | Variables
NT_sync_scroll.cxx File Reference
#include "ScrollSynchronizer.h"
#include "NT_sync_scroll.h"
#include <TreeDisplay.hxx>
#include <aw_msg.hxx>
#include <aw_root.hxx>
#include <aw_awar.hxx>
#include <aw_select.hxx>
Include dependency graph for NT_sync_scroll.cxx:

Go to the source code of this file.

Macros

#define AWAR_TEMPL_SYNCED_WITH_WINDOW   "tmp/sync%i/with"
 
#define AWAR_TEMPL_AUTO_SYNCED   "tmp/sync%i/auto"
 
#define MAX_AWARNAME_LENGTH   (3+1+5+1+4)
 

Functions

const charawarname (const char *awarname_template, int idx)
 
static void refill_syncWithList_cb (AW_root *, AW_selection_list *sellst, TREE_canvas *ntw)
 
static unsigned auto_refresh_cb (AW_root *)
 
static void canvas_updated_cb (AWT_canvas *ntw, AW_CL)
 
static void sync_changed_cb (AW_root *awr, int slave_idx)
 
static void explicit_scroll_sync_cb (AW_window *, int tgt_idx)
 
AW_windowNT_create_syncScroll_window (AW_root *awr, TREE_canvas *ntw)
 

Variables

static ScrollSynchronizer synchronizer
 

Macro Definition Documentation

#define AWAR_TEMPL_SYNCED_WITH_WINDOW   "tmp/sync%i/with"

Definition at line 21 of file NT_sync_scroll.cxx.

Referenced by NT_create_syncScroll_window(), and sync_changed_cb().

#define AWAR_TEMPL_AUTO_SYNCED   "tmp/sync%i/auto"

Definition at line 22 of file NT_sync_scroll.cxx.

Referenced by NT_create_syncScroll_window(), and sync_changed_cb().

#define MAX_AWARNAME_LENGTH   (3+1+5+1+4)

Definition at line 24 of file NT_sync_scroll.cxx.

Referenced by awarname().

Function Documentation

const char* awarname ( const char awarname_template,
int  idx 
)
inline

Definition at line 28 of file NT_sync_scroll.cxx.

References buffer, MAX_AWARNAME_LENGTH, MAX_NT_WINDOWS, and nt_assert.

Referenced by NT_create_syncScroll_window(), and sync_changed_cb().

static void refill_syncWithList_cb ( AW_root ,
AW_selection_list sellst,
TREE_canvas ntw 
)
static
static unsigned auto_refresh_cb ( AW_root )
static

Definition at line 48 of file NT_sync_scroll.cxx.

References ScrollSynchronizer::auto_update().

Referenced by canvas_updated_cb().

static void canvas_updated_cb ( AWT_canvas ntw,
AW_CL   
)
static
static void sync_changed_cb ( AW_root awr,
int  slave_idx 
)
static
static void explicit_scroll_sync_cb ( AW_window ,
int  tgt_idx 
)
static
AW_window* NT_create_syncScroll_window ( AW_root awr,
TREE_canvas ntw 
)

Variable Documentation

ScrollSynchronizer synchronizer
static

Definition at line 26 of file NT_sync_scroll.cxx.