Makefile:COPTS = -c -fexceptions -ffast-math -Wall -o2 -I. -I./tool/  -I./object/ -I../others/agg/include -I../others/fparser/include -I../others/dxflib/include
Makefile:LOPTS = -lsyllable
Makefile:	@$(CC) $(COPTS) $< -o $@
Makefile:	@$(CXX) $(COPTS) $< -o $@
Makefile:	@$(CC) $(COPTS) -x assembler-with-cpp $< -o $@
Makefile:	@mkdir -p objs
Makefile:	@mkdir -p objs/object
Makefile:	@mkdir -p objs/dialogs
Makefile:	@mkdir -p objs/windialogs
Makefile:	@mkdir -p objs/filters
Makefile:	@mkdir -p objs/gui
Makefile:	@mkdir -p objs/tool
Makefile:	@mkdir -p objs/tool/tool_main
Makefile:	@mkdir -p objs/tool/tool_create
Makefile:	@mkdir -p objs/tool/tool_line
Makefile:	@mkdir -p objs/tool/tool_circle
Makefile:	@mkdir -p objs/tool/tool_arc
Makefile:	@mkdir -p objs/tool/tool_modify
Makefile:	@mkdir -p objs/tool/tool_move
Makefile:	@mkdir -p objs/tool/tool_copy
Makefile:	@mkdir -p objs/tool/tool_erase
Makefile:	@mkdir -p objs/tool/tool_rotate
Makefile:	@mkdir -p objs/tool/tool_align
Makefile:	@mkdir -p objs/tool/tool_construct
Makefile:	@$(CXX) $(LOPTS)  $(OBJS) -o ocadis
Makefile:	@rescopy ocadis -r images/*
Makefile:	@rm -r $(OBJDIR)
Makefile:	@rm -f ocadis
appwindow.cpp:		m_AppMenu->AddItem( "Quit", new Message( MSG_MENU_QUIT ), "Ctrl+Q" );
appwindow.cpp:		m_AppMenu->AddItem( new MenuSeparator() );
appwindow.cpp:		m_AppMenu->AddItem( "About", new Message( MSG_MENU_ABOUT ) );
appwindow.cpp:		m_FileMenu->AddItem( m_FileNew );
appwindow.cpp:		m_FileMenu->AddItem( new MenuSeparator() );
appwindow.cpp:		m_FileMenu->AddItem( m_FileOpen );
appwindow.cpp:		m_FileMenu->AddItem( new MenuSeparator() );
appwindow.cpp:		m_FileMenu->AddItem( m_FileClose );
appwindow.cpp:		m_FileMenu->AddItem( m_FileSave );
appwindow.cpp:		m_FileMenu->AddItem( m_FileSaveAs );
appwindow.cpp:			String e = m_ListOfFilters[ i ]->GetMenuString();
appwindow.cpp:				msg->AddInt8( "filter_no", i );
appwindow.cpp:				m_FileExportAs->AddItem( tmp );
appwindow.cpp:		if( m_FileExportAs->GetItemCount() > 0 )
appwindow.cpp:			m_FileMenu->AddItem( m_FileExportAs );
appwindow.cpp:		m_FileMenu->AddItem( new MenuSeparator() );
appwindow.cpp:		m_FileMenu->AddItem( m_FilePageSetup );
appwindow.cpp:		m_FileMenu->AddItem( m_FilePrint );
appwindow.cpp:		m_EditMenu->AddItem( m_EditUndo );
appwindow.cpp:		m_EditMenu->AddItem( m_EditRedo );
appwindow.cpp:		m_ViewDialogs->AddItem( m_ViewLayer );
appwindow.cpp:		m_ViewDialogs->AddItem( m_ViewStyle );
appwindow.cpp:		m_ViewDialogs->AddItem( m_ViewGuide );
appwindow.cpp:		m_ViewDialogs->AddItem( m_ViewOSnap );
appwindow.cpp:		m_ViewDialogs->AddItem( new MenuSeparator() );
appwindow.cpp:		m_ViewDialogs->AddItem( m_ViewHide );
appwindow.cpp:		m_ViewMenu->AddItem( m_ViewDialogs );
appwindow.cpp:		m_ViewMenu->AddItem( new MenuSeparator() );
appwindow.cpp:		m_ViewMenu->AddItem( m_ViewToolbox );
appwindow.cpp:		m_ViewMenu->AddItem( new MenuSeparator() );
appwindow.cpp:		m_ViewMenu->AddItem( m_ViewRefresh );
appwindow.cpp:		m_ViewMenu->AddItem( m_ViewZoomAll );
appwindow.cpp:		m_ViewMenu->AddItem( new MenuSeparator() );
appwindow.cpp:		m_ViewMenu->AddItem( m_ViewZoomMode );
appwindow.cpp:		m_ViewMenu->AddItem( m_ViewPanMode );
appwindow.cpp:		m_MenuBar->AddItem( m_AppMenu );	
appwindow.cpp:		m_MenuBar->AddItem( m_FileMenu );	
appwindow.cpp:		m_MenuBar->AddItem( m_EditMenu );	
appwindow.cpp:		m_MenuBar->AddItem( m_ViewMenu );	
appwindow.cpp:			m_FileClose->SetEnable( false );
appwindow.cpp:			m_FileSave->SetEnable( false );
appwindow.cpp:			m_FileSaveAs->SetEnable( false );
appwindow.cpp:		m_FileSave->SetEnable( m_CurrentDocument->IsModified() );
appwindow.cpp:/*		Point m = m_MenuBar->GetPreferredSize( false );
appwindow.cpp:		m_MenuBar->SetFrame( Rect( cRect.left, cRect.top, cRect.right, m.y  ) );
appwindow.cpp:		Point r = m_StatusBar->GetPreferredSize( false );
appwindow.cpp:		Rect t = Rect( cRect.left, cRect.bottom - r.y, cRect.right - 100.0f, cRect.bottom);
appwindow.cpp:		m_StatusBar->SetFrame( t );
appwindow.cpp:		m_ViewCoord->SetFrame( t );
appwindow.cpp:		m_Splitter1->SetFrame( t ); */
appwindow.cpp:			m_EditUndo->SetEnable( false );
appwindow.cpp:			m_EditRedo->SetEnable( false );
appwindow.cpp:		String s( "Undo - " );
appwindow.cpp:		s = s + m_CurrentDocument->GetUndoName();
appwindow.cpp:		m_EditUndo->SetLabel( s );
appwindow.cpp:		m_EditUndo->SetEnable( m_CurrentDocument->HasUndoObjects() );
appwindow.cpp:		String t( "Redo - " );
appwindow.cpp:		t = t + m_CurrentDocument->GetRedoName();
appwindow.cpp:		m_EditRedo->SetLabel( t );
appwindow.cpp:		m_EditRedo->SetEnable( m_CurrentDocument->HasRedoObjects() );
appwindow.cpp:			if( m_ListOfFilters[ i ]->Identify( path, data ) )
appwindow.cpp:					m_ListOfFilters[ i ]->Open( path, *doc );
appwindow.cpp:					doc->Check();
appwindow.cpp:					doc->SetTitle( path );
appwindow.cpp:					t->SetCurrentDocument( doc );
appwindow.cpp:			t->SetTitle( "oCADis" );	
appwindow.cpp:			t->SetTitle( m_CurrentDocument->GetTitle() );	
appwindow.cpp:		m_DialogSidebar->SetDialog( dia );
appwindow.cpp:		if( !m_Splitter2->IsView2Visible() )
appwindow.cpp:			m_Splitter2->ShowView2();			
appwindow.cpp:			m_Splitter2->AdjustLayout();	
appwindow.cpp:		m_ViewHide->SetLabel( "Hide Dialog" );
appwindow.cpp:	m->m_CurrentState = NULL;
appwindow.cpp:	m->m_CurrentDocument = NULL;
appwindow.cpp:	m->m_PageSetup = NULL;
appwindow.cpp:	m->m_About = NULL;
appwindow.cpp:	m->_CreateFilters();
appwindow.cpp:	m->m_Preferences.Load();
appwindow.cpp:	root_view->SetRoot( root_node );
appwindow.cpp:	m->_CreateMenus();
appwindow.cpp:	m->m_MenuBar->SetTargetForItems( this );
appwindow.cpp:	m->m_Canvas = new Canvas( this, Rect() );
appwindow.cpp:	m->m_ToolboxSidebar = new ToolboxSideBar( Rect() );
appwindow.cpp:	m->m_CurrentSideBar = m->m_ToolboxSidebar;
appwindow.cpp:	m->m_DialogSidebar = new DialogSideBar( Rect() );
appwindow.cpp:	m->m_CurrentDialogSideBar = m->m_DialogSidebar;
appwindow.cpp:	m->m_DialogStyle = new DialogStyle( m->m_DialogSidebar );
appwindow.cpp:	m->m_DialogLayer = new DialogLayer( m->m_DialogSidebar );
appwindow.cpp:	m->m_DialogGuide = new DialogGuide( m->m_DialogSidebar );
appwindow.cpp:	m->m_DialogOSnap = new DialogOSnap( m->m_DialogSidebar );
appwindow.cpp:	m->m_Splitter2 = new Splitter( Rect(), "", m->m_Canvas, m->m_DialogSidebar, HORIZONTAL );
appwindow.cpp:	m->m_Splitter2->SetSplitRatio( 0.5f );
appwindow.cpp:	m->m_Splitter1 = new Splitter( Rect(), "", m->m_ToolboxSidebar, m->m_Splitter2, HORIZONTAL );
appwindow.cpp:	m->m_Splitter1->SetSplitRatio( 0.1f );
appwindow.cpp:	m->m_StatusBar = new StatusBar( Rect(), "" );
appwindow.cpp:	m->m_StatusBar->AddPanel( "message", "" );
appwindow.cpp:	m->m_ViewCoord = new ViewCoord( Rect(), "" );
appwindow.cpp:	m->m_ToolMain = new ToolMain( m->m_ToolboxSidebar );	
appwindow.cpp:	statusbar_node->AddChild( m->m_StatusBar );
appwindow.cpp:	statusbar_node->AddChild( m->m_ViewCoord );
appwindow.cpp:	root_node->AddChild( m->m_MenuBar, 0.0f );
appwindow.cpp:	root_node->AddChild( m->m_Splitter1 );
appwindow.cpp:	root_node->AddChild( statusbar_node );
appwindow.cpp:	root_view->InvalidateLayout();
appwindow.cpp:	switch( pcMessage->GetCode() )	//Get the message code from the message
appwindow.cpp:			if( m->m_About == NULL )
appwindow.cpp:				m->m_About = new WinDiaAbout();
appwindow.cpp:			m->m_About->Raise( );
appwindow.cpp:			if( m->m_CurrentDocument == NULL || !m->m_CurrentDocument->IsModified() )
appwindow.cpp:				Application::GetInstance()->PostMessage( M_QUIT );
appwindow.cpp:				t->Go( new Invoker( new Message( MSG_ALERT_QUIT ), this ) );
appwindow.cpp:			req->CenterInWindow( this );
appwindow.cpp:			req->Show( true );
appwindow.cpp:			req->MakeFocus();
appwindow.cpp://			if( pcMessage->FindPointer( "source", (void**)req ) == EOK )
appwindow.cpp://				req->Close();
appwindow.cpp:			if( pcMessage->FindString( "file/path", &path ) == 0 && m->m_CurrentDocument != NULL )
appwindow.cpp:				m->_OpenDocument( String( path ), this );
appwindow.cpp:				m->m_Canvas->Refresh();
appwindow.cpp:			req->CenterInWindow( this );
appwindow.cpp:			req->Show( true );
appwindow.cpp:			req->MakeFocus();
appwindow.cpp://			if( pcMessage->FindPointer( "source", (void**)req ) == EOK )
appwindow.cpp://				req->Close();
appwindow.cpp:			if( pcMessage->FindString( "file/path", &path ) == 0 && m->m_CurrentDocument != NULL )
appwindow.cpp:					m->m_ListOfFilters.at( 0 )->Save( p, *m->m_CurrentDocument );
appwindow.cpp:					m->m_CurrentDocument->SetModification( false );
appwindow.cpp:					m->m_CurrentDocument->SetTitle( p );
appwindow.cpp:					m->_UpdateTitle( this );
appwindow.cpp:			if( pcMessage->FindInt8( "filter_no", &filter ) != EOK )
appwindow.cpp:			msg->AddInt8( "filter_no", filter );
appwindow.cpp:			req->CenterInWindow( this );
appwindow.cpp:			req->Show( true );
appwindow.cpp:			req->MakeFocus();
appwindow.cpp:			if( pcMessage->FindString( "file/path", &path ) != EOK)
appwindow.cpp:			if( pcMessage->FindInt8( "filter_no", &filter ) != EOK )
appwindow.cpp:			string ext = string( "." ) + string( m->m_ListOfFilters[ filter ]->GetExtension() );
appwindow.cpp:				m->m_ListOfFilters[ filter ]->Save( p, *m->m_CurrentDocument );
appwindow.cpp:			if( m->m_PageSetup == NULL )
appwindow.cpp:				m->m_PageSetup = new WinDiaPageSetup( Rect( 100, 100, 300, 300 ), m->m_CurrentDocument );
appwindow.cpp:			m->m_PageSetup->Raise( );
appwindow.cpp:			m->m_CurrentDocument->DoUndo( m->m_Canvas, m->m_CurrentDocument );
appwindow.cpp:			m->_UpdateUndo();
appwindow.cpp:			m->m_CurrentDocument->DoRedo( m->m_Canvas, m->m_CurrentDocument );
appwindow.cpp:			m->_UpdateUndo();
appwindow.cpp:			m->_SetSideBarDialog( m->m_DialogLayer  );
appwindow.cpp:			m->_SetSideBarDialog( m->m_DialogStyle  );
appwindow.cpp:			m->_SetSideBarDialog( m->m_DialogGuide );
appwindow.cpp:			m->_SetSideBarDialog( m->m_DialogOSnap );
appwindow.cpp:			if( m->m_Splitter2->IsView2Visible() )
appwindow.cpp:				m->m_ViewHide->SetLabel( "Show Dialog" );
appwindow.cpp:				m->m_Splitter2->HideView2();			
appwindow.cpp:				m->m_ViewHide->SetLabel( "Hide Dialog" );
appwindow.cpp:				m->m_Splitter2->ShowView2();
appwindow.cpp:			m->m_Splitter2->AdjustLayout();
appwindow.cpp:			if( m->m_Splitter1->IsView1Visible() )
appwindow.cpp:				m->m_ViewToolbox->SetLabel( "Show Toolbox" );
appwindow.cpp:				m->m_Splitter1->HideView1();			
appwindow.cpp:				m->m_ViewToolbox->SetLabel( "Hide Toolbox" );
appwindow.cpp:				m->m_Splitter1->ShowView1();
appwindow.cpp:			m->m_Splitter1->AdjustLayout();
appwindow.cpp:			m->m_Canvas->Refresh();
appwindow.cpp:			m->m_Canvas->ZoomBox( m->m_CurrentDocument->GetBoundingBox() );
appwindow.cpp:			m->m_Canvas->Refresh();
appwindow.cpp:			m->_UpdateUndo();
appwindow.cpp:			m->_UpdateTitle( this );
appwindow.cpp:			if( pcMessage->FindInt32( "which", &t ) == EOK )
appwindow.cpp:					Application::GetInstance()->PostMessage( M_QUIT );
appwindow.cpp:	if( m->m_CurrentDocument == NULL || !m->m_CurrentDocument->IsModified() )
appwindow.cpp:		Application::GetInstance()->PostMessage( M_QUIT );
appwindow.cpp:	t->Go( new Invoker( new Message( MSG_ALERT_QUIT ), this ) );
appwindow.cpp:	m->m_ToolMain->Init();	
appwindow.cpp:	m->m_DialogSidebar->SetDialog( m->m_DialogLayer );
appwindow.cpp:	SetCurrentDocument( m->m_CurrentDocument );
appwindow.cpp:	if( m->m_ViewCoord != NULL )
appwindow.cpp:		m->m_ViewCoord->SetCoord( coord );
appwindow.cpp:	if( m->m_ViewCoord != NULL )
appwindow.cpp:		m->m_ViewCoord->ClearCoord();
appwindow.cpp:	if( m->m_StatusBar != NULL )
appwindow.cpp:		m->m_StatusBar->SetText( "message", what );
appwindow.cpp:	m->m_CurrentState = state;
appwindow.cpp:	m->m_ToolboxSidebar->SetToolbox( state->GetToolbox() );
appwindow.cpp:	SetStatusbar( state->GetStatusText() );
appwindow.cpp:	state->Init( GetCanvas(), GetCurrentDocument() );
appwindow.cpp:	return m->m_CurrentState;
appwindow.cpp:	m->m_CurrentState = NULL;
appwindow.cpp:	m->m_ToolMain->Init();	
appwindow.cpp:	return m->m_Canvas; 
appwindow.cpp:	m->m_CurrentDocument = doc;
appwindow.cpp:	m->m_CurrentDocument->Check();
appwindow.cpp:	SetTitle( m->m_CurrentDocument->GetTitle() );
appwindow.cpp:	m->_UpdateUndo();
appwindow.cpp:	m->_UpdateMenuStatus();
appwindow.cpp:	if( m->m_DialogSidebar != NULL )
appwindow.cpp:		m->m_DialogSidebar->SetDocument( doc );
appwindow.cpp:	msg->AddPointer( "document", (void*) doc );
appwindow.cpp:	return m->m_CurrentDocument;
appwindow.cpp:	return m->m_Preferences;
bkgbitmap.cpp:	unsigned char* src = orig->LockRaster() + orig->GetBytesPerRow() * (int) size.top + (int) ( size.left * 4.0f );
bkgbitmap.cpp:	unsigned char* dst = m_Bitmap->LockRaster();
bkgbitmap.cpp:		src += orig->GetBytesPerRow();
bkgbitmap.cpp:		dst += m_Bitmap->GetBytesPerRow();
bkgbitmap.cpp:	unsigned char* src = m_Bitmap->LockRaster();
bkgbitmap.cpp:	unsigned char* dst = to->LockRaster() + to->GetBytesPerRow() * (int) m_Position.top + (int) ( m_Position.left * 4.0f );
bkgbitmap.cpp:		src += m_Bitmap->GetBytesPerRow();
bkgbitmap.cpp:		dst += to->GetBytesPerRow();
cadmath.cpp: 	A = p2.x - p1.x;
cadmath.cpp:  	B = p2.y - p1.y;
cadmath.cpp:	C = p3.x - p1.x;
cadmath.cpp:	D = p3.y - p1.y;
cadmath.cpp:	G = 2.0f *  ( A * ( p3.y - p2.y) - B * ( p3.x - p2.x));
cadmath.cpp:		center.x = ( D * E - B * F ) / G;
cadmath.cpp:		center.y = ( A * F - C * E ) / G;
cadmath.cpp:	ty = -100.0f * sin( ta + M_PI / 2.0f ) + p1.y;   
cadmath.cpp:	if( ( ( ( ty - p3.y ) * ( p1.x - tx ) - ( tx - p3.x ) * ( p1.y - ty ) ) / ( d * d ) ) > 0 )
cadmath.cpp:		ty = -100.0f * sin( ta ) + p1.y;   
cadmath.cpp:		alfa = acos( ( ( tx - p1.x ) * ( p3.x - p1.x ) + ( ty - p1.y ) * ( p3.y - p1.y ) ) /
cadmath.cpp:		radius = r = ( 2.0f * Distance( p3, p1 ) * sin( alfa ) ) / sin( M_PI - 2.0f * alfa );
cadmath.cpp:		ty = -r * sin( ta ) + p1.y; 
cadmath.cpp:		ty = -100.0f * sin( ta + M_PI ) + p1.y;   
cadmath.cpp:		alfa = acos( ( ( tx - p1.x ) * (p3.x - p1.x ) + ( ty - p1.y ) * ( p3.y -p1.y) )/
cadmath.cpp:		radius = r = ( 2.0f * Distance( p3, p1 ) * sin( alfa ) ) / sin( M_PI - 2.0f * alfa );
cadmath.cpp:		ty = -r * sin( ta + M_PI ) + p1.y; 
cadmath.cpp:		sangle = ( eangle - sangle ) / 2.0f + sangle;
cadmath.cpp:		sangle = ( 2.0f * M_PI - sangle + eangle ) / 2.0f + sangle;
cadmath.cpp:			sangle -= 2.0f * M_PI;
cadmath.cpp:	p2.y = center.y - radius * sin( sangle ); 
cadmath.cpp:	if( length < -2.0f * radius)
cadmath.cpp: 		length = -2.0f * radius;
cadmath.cpp:	eangle = acos( ( 2.0f * radius * radius - length * length ) / ( 2 * radius * radius ) );
cadmath.cpp:		end_angle = sangle-eangle;
cadmath.cpp:	return sqrt( ( p2.x - p1.x ) * ( p2.x - p1.x ) + ( p2.y - p1.y ) * ( p2.y - p1.y ));
cadmath.cpp: 	k = atan2( p1.y - p2.y, p2.x - p1.x );
cadmath.cpp:    	k = -k;
cadmath.cpp:    	k = 2.0f * M_PI - k;
cadmath.cpp:	if( fabs( k - 2.0f * M_PI ) < 0.0001f )
cadmath.cpp:	while( angle > 2.0f * M_PI ) angle -= 2.0f * M_PI;
cadmath.cpp:	point = point - origo;
cadmath.cpp:	point.x = tx * cos( angle ) - point.y * sin( angle );
cadmath.cpp:	point.y = tx * sin( angle ) - point.y * cos( angle );
canvas.cpp:	//u.bottom -= 1.0f;
canvas.cpp:	//u.right -= 1.0f;
canvas.cpp:		cSelect.Resize( 1, 1, -1, -1 );
canvas.cpp:	if( m_SnapMouse && doc != NULL && doc->GetOSnapMode() != OSNAP_NONE && doc->IsValidOSnap())
canvas.cpp:		Point p = WorldToScreen( doc->ValidOSnapPoint() );
canvas.cpp:		Rect r( p.x - 5, p.y - 5, p.x + 5, p.y + 5 );
canvas.cpp:		r.Resize( 1, 1, -1, -1 );
canvas.cpp:	orig_mouse_pos.y = GetBounds().Height() - orig_mouse_pos.y ;
canvas.cpp:	m_Pan = - mouse_pos;
canvas.cpp:	State* state = m_Parent->GetCurrentState();
canvas.cpp:	if( nButtons == 0x01 && state != NULL && state->AllowMouseBox( this, GET_DOCUMENT(), ScreenToWorld( cPosition ) ) )
canvas.cpp:	State* state = m_Parent->GetCurrentState();
canvas.cpp:			state->GotFocus( this, GET_DOCUMENT(), cPosition );
canvas.cpp:		m_Parent->SetCoord( cPosition );
canvas.cpp:			state->LostFocus( this, GET_DOCUMENT(), cPosition );
canvas.cpp:		m_Parent->ClearCoord();
canvas.cpp:		state->MouseMove( this, GET_DOCUMENT(), cPosition );
canvas.cpp:		m_Pan -= ( m_PanStart - cPosition 	);
canvas.cpp:	m_Parent->SetCoord( cPosition );
canvas.cpp:	State* state = m_Parent->GetCurrentState();
canvas.cpp:		state->PointSelected( this, GET_DOCUMENT(), ScreenToWorld( cPosition ) );
canvas.cpp:		state->MouseBox( this, GET_DOCUMENT(), CadMath::SortRect( ScreenToWorld( m_SelectStart ), ScreenToWorld( cPosition ) ) );
canvas.cpp:	Point ret( p.x / m_ZoomFactor, ( GetBounds().Height() - p.y ) / m_ZoomFactor );
canvas.cpp:	ret -= m_Pan;
canvas.cpp:	ret.y = GetBounds().Height() - ret.y;
canvas.cpp:	for( int i = 0 ; i < GET_DOCUMENT()->GetNoSelectedObjects() ; i++ )
canvas.cpp:		Object* obj = GET_DOCUMENT()->GetSelectedObject( i );
canvas.cpp:		obj->Draw( this, transform, true, true);
canvas.cpp:	invalid.Resize( -m_CurrentBitmapView->GetWidth() * 2.0f, -m_CurrentBitmapView->GetWidth() * 2.0f, m_CurrentBitmapView->GetWidth() * 2.0f, m_CurrentBitmapView->GetWidth() * 2.0f );
canvas.cpp:	invalid.Resize( -3, -3, 3, 3 );
canvas.cpp:	m_CurrentBitmapView->DrawLine( sp1, sp2 );
canvas.cpp:	Rect invalid( Point( scenter.x - sradius , scenter.y - sradius ), Point( scenter.x + sradius, scenter.y + sradius ) );
canvas.cpp:	invalid.Resize( -m_CurrentBitmapView->GetWidth() * 2.0f, -m_CurrentBitmapView->GetWidth() * 2.0f, m_CurrentBitmapView->GetWidth() * 4.0f, m_CurrentBitmapView->GetWidth() * 4.0f );
canvas.cpp:	invalid.Resize( -3, -3, 3, 3 );
canvas.cpp:	m_CurrentBitmapView->DrawCircle( scenter, sradius );
canvas.cpp:	double t = 2*M_PI - end_angle;
canvas.cpp:	end_angle = 2*M_PI - start_angle;
canvas.cpp:	Rect invalid( Point( scenter.x - sradius , scenter.y - sradius ), Point( scenter.x + sradius, scenter.y + sradius ) );
canvas.cpp:	invalid.Resize( -m_CurrentBitmapView->GetWidth() * 2.0f, -m_CurrentBitmapView->GetWidth() * 2.0f, m_CurrentBitmapView->GetWidth() * 3.0f, m_CurrentBitmapView->GetWidth() * 3.0f );	
canvas.cpp:	invalid.Resize( -3, -3, 3, 3 );
canvas.cpp:	m_CurrentBitmapView->DrawArc( scenter, sradius, start_angle, end_angle );
canvas.cpp:	rot = doc->GetSnapAngle();
canvas.cpp:	grid_distance = doc->GetSnapDistance() * doc->GetGridSkip();
canvas.cpp:	v1 = CadMath::RotatePoint( rot, Point( 0.0f, 0.0f ) , v1 - doc->GetSnapOrigo() );
canvas.cpp:	v2 = CadMath::RotatePoint( rot, Point( 0.0f, 0.0f ), v2 - doc->GetSnapOrigo() );
canvas.cpp:		p.x -= grid_distance.x;
canvas.cpp:		p.y -= grid_distance.y;
canvas.cpp:			Point t = CadMath::RotatePoint( -rot, doc->GetSnapOrigo(), Point( x, p.y ) );
canvas.cpp:			if( GET_DOCUMENT()->GetGridActive() )
canvas.cpp:				m_CurrentBitmapView->DrawPixel( t, 0.0f, 0.0f, 0.0f );
canvas.cpp:				m_CurrentBitmapView->DrawPixel( t, 1.0f, 1.0f, 1.0f );
canvas.cpp:	m_CurrentBitmapView->SetColour( r, g, b );
canvas.cpp:		m_CurrentBitmapView->SetWidth( 1.0f );
canvas.cpp:		m_CurrentBitmapView->SetWidth( (double) WorldToScreen( width ) );
canvas.cpp:	m_CurrentBitmapView->SetAntiAlias( use );	
canvas.cpp:	if( pattern->IsSolid() )
canvas.cpp:		m_CurrentBitmapView->SetPattern( NULL, 0, 0 );
canvas.cpp:		double* l = new double[ pattern->GetDashesCount() ];
canvas.cpp:		if( pattern->IsZoomingAllowed() )
canvas.cpp:			for( int i = 0 ; i < pattern->GetDashesCount() ; i++ )
canvas.cpp:				l[ i ] = pattern->GetDash( i ) * m_ZoomFactor;
canvas.cpp:			m_CurrentBitmapView->SetPattern( l, pattern->GetDashesCount(), pattern->GetOffset() * m_ZoomFactor );
canvas.cpp:			for( int i = 0 ; i < pattern->GetDashesCount() ; i++ )
canvas.cpp:				l[ i ] = pattern->GetDash( i );
canvas.cpp:			m_CurrentBitmapView->SetPattern( l, pattern->GetDashesCount(), pattern->GetOffset() );
canvas.cpp:	m_CurrentBitmapView->SetWidth( 1.0f );
canvas.cpp:	m_CurrentBitmapView->SetColour( 0.0f, 0.0f, 0.0f );
canvas.cpp:	m_CurrentBitmapView->SetPattern( NULL, 0, 0 );
canvas.cpp:	m_CurrentBitmapView->SetColour( 1.0f, 1.0f, 1.0f );
canvas.cpp:	m_CurrentBitmapView->Fill();
canvas.cpp:		for( int i = 0 ; i < GET_DOCUMENT()->GetLayerCount() ; i ++ )
canvas.cpp:			Layer* layer = GET_DOCUMENT()->GetLayer( i );
canvas.cpp:			if( layer->IsVisible() )
canvas.cpp:				for( int j = 0 ; j < layer->GetObjectCount();  j++ )
canvas.cpp:					Object* object = layer->GetObject( j ) ;
canvas.cpp:					if( bound_box.DoIntersect( object->GetBounds() )  )
canvas.cpp:						object->Draw( this, false, false );
canvas.cpp:						// DrawRectangle( object->GetBounds(), false, false );
canvas.cpp:	if( GET_DOCUMENT()->GetGridActive() )
canvas.cpp:    if( bounds.Width() > 1.0e-6 )
canvas.cpp:    if( bounds.Height() > 1.0e-6 )
canvas.cpp:		zoom_x = zoom_y = ( current_view.Width() - 2.0f * ScreenToWorld( 5.0f ) ) / ( current_view.Width() * zoom_x );
canvas.cpp:		zoom_x = zoom_y = ( current_view.Height() - 2.0f * ScreenToWorld( 5.0f ) ) / ( current_view.Height() * zoom_y );
canvas.cpp:		zoom_x *= -1.0f; 
canvas.cpp:		zoom_y *= -1.0f; 
canvas.cpp:	m_Pan.y = -bounds.bottom + bounds.Height() / 2;
canvas.cpp:	p1 = p1 - p2;
canvas.cpp:	int size = (int) m_CurrentBitmapView->GetBounds().Width() * (int) m_CurrentBitmapView->GetBounds().Height();
canvas.cpp:	uint32* src = (uint32*) m_CurrentBitmapView->LockRaster();
canvas.cpp:	uint32* dst = (uint32*) m_DocumentBitmapView->LockRaster();
canvas.cpp:	if( size.right > m_CurrentBitmapView->GetBounds().Width() )
canvas.cpp:		size.right = m_CurrentBitmapView->GetBounds().Width();
canvas.cpp:	if( size.bottom > m_CurrentBitmapView->GetBounds().Height() )
canvas.cpp:		size.bottom = m_CurrentBitmapView->GetBounds().Height();
canvas.cpp:	for( int i = m_ListofDirtyRects.size() - 1 ; i >= 0 ; i-- )
canvas.cpp:		m_CurrentBitmapView->DrawBitmap( m_DocumentBitmapView, tmp );
canvasbitmap.cpp:    m_RenderBuffer->attach( LockRaster(),
canvasbitmap.cpp:	m_RendererBase->clear( agg::rgba( 1.0f, 1.0f, 1.0f ) );
canvasbitmap.cpp:	while( start_angle > 2.0f * M_PI )  start_angle -= 2.0f * M_PI;
canvasbitmap.cpp:	while( end_angle > 2.0f * M_PI )  end_angle -= 2.0f * M_PI;
canvasbitmap.cpp:		span = end_angle - start_angle;
canvasbitmap.cpp:		span = end_angle + ( M_PI * 2.0f - start_angle );
canvasbitmap.cpp:	m_RendererBase->clear( m_Colour );
canvasbitmap.cpp:	uint32* src = (uint32*) ( bsrc->LockRaster() )  + offset;
canvasbitmap.cpp:	bw = bw - w;
canvasbitmap.cpp:			if( i < (int) m_Pattern.size() - 1 )
canvasbitmap.cpp:	m_Renderer->color( m_Colour );
canvasbitmap.cpp:	m_Rasterizer->reset();
canvasbitmap.cpp:	m_Rasterizer->add_path( stroke );
colorrequester.cpp:	m->m_pcColSel = new ColorSelector( Rect( 0, 0, 1, 1 ), "", new Message( ID_COLOR ), cColor );
colorrequester.cpp:	m->m_pcOkButton = new Button( Rect(), "", "Ok", new Message( ID_OK ) );
colorrequester.cpp:	m->m_pcCancelButton = new Button( Rect(), "", "Cancel", new Message( ID_CANCEL ) );
colorrequester.cpp:	pcButtonsNode->AddChild( m->m_pcOkButton );
colorrequester.cpp:	pcButtonsNode->AddChild( m->m_pcCancelButton );
colorrequester.cpp:	pcColViewNode->AddChild( m->m_pcColSel );
colorrequester.cpp:	pcRootNode->AddChild( pcColViewNode );
colorrequester.cpp:	pcRootNode->AddChild( pcButtonsNode );
colorrequester.cpp:	pcRootView->SetRoot( pcRootNode );
colorrequester.cpp:	m->m_hMsgPort = -1;
colorrequester.cpp:	m->m_pcColSel->SetValue( cColor );
colorrequester.cpp:	m->m_pcTarget->SendMessage( pcMsg );*/
colorrequester.cpp:	switch( pcMessage->GetCode()  )
colorrequester.cpp:			if( m->m_hMsgPort >= 0 )
colorrequester.cpp:				send_msg( m->m_hMsgPort, pcMessage->GetCode(), NULL, 0 );
colorrequester.cpp:				if( m->m_pcInvoker != NULL )
colorrequester.cpp:					Message *pcMsg = m->m_pcInvoker->GetMessage();
colorrequester.cpp:						pcMsg->AddColor32( "color", m->m_pcColSel->GetValue().AsColor32() );
colorrequester.cpp:						m->m_pcInvoker->Invoke();
colorrequester.cpp:	m->m_hMsgPort = create_port( "colreq_port", DEFAULT_PORT_SIZE );
colorrequester.cpp:	if( m->m_hMsgPort < 0 )
colorrequester.cpp:		return ( -1 );
colorrequester.cpp:	nError = get_msg( m->m_hMsgPort, &nCode, NULL, 0 );
colorrequester.cpp:		return ( -1 );
colorrequester.cpp:	m->m_pcInvoker = pcInvoker;
colorrequester.h:/*  libsyllable.so - the highlevel API library for Syllable
colorrequester.h: *  Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
colorrequester.h: *  MA 02111-1307, USA
colorrequester.h:} // Fool Emacs auto-indent
colour_button.cpp:	cFillRect.Resize( 2, 2, -2, -2 );
colour_button.cpp:	switch( pcMessage->GetCode() )
colour_button.cpp:			if( !m_Selector->IsVisible() )
colour_button.cpp:				pcInv->SetTarget( this );
colour_button.cpp:				m_Selector->SetColor( m_theColour );
colour_button.cpp:				m_Selector->SetTitle( "Select colour" );
colour_button.cpp:				m_Selector->Go( pcInv );
colour_button.cpp:				m_Selector->Hide();
colour_button.cpp:				m_Selector->Show();
colour_button.cpp:				m_Selector->MakeFocus();	
colour_button.cpp:			pcMessage->FindColor32( "color", &cCol );
colour_button.cpp:			m_Invoker->Invoke();
colour_button.cpp:	m_Invoker->SetTarget( pcHandler );
document.cpp://	msg->AddPointer( "layer", (void**) &layer );
document.cpp:		obj->SetStyle( m_CurrentStyle );
document.cpp:		obj->SetLayer( m_CurrentLayer );
document.cpp:		m_CurrentLayer->AddObject( obj );
document.cpp:		obj->SetLayer( layer );
document.cpp:		layer->AddObject( obj );
document.cpp:		m_ListOfLayers[ i ]->Redraw( canvas );
document.cpp:		if( m_ListOfPatterns[ i ]->GetName() == name )
document.cpp:		msg->AddString( "title", GetTitle() );
document.cpp:	p += " - oCADis";
document.cpp:		if( layer->IsVisible() )
document.cpp:			for( int j = 0 ; j < layer->GetObjectCount();  j++ )
document.cpp:				Object* object = layer->GetObject( j ) ;
document.cpp:				if( object->HitCheck( coord, sens ) )
document.cpp:		if( layer->IsVisible() )
document.cpp:			for( int j = 0 ; j < layer->GetObjectCount();  j++ )
document.cpp:				Object* object = layer->GetObject( j ) ;
document.cpp:				Rect bounds = object->GetBounds();
document.cpp:		if( layer->RemoveObject( obj ) )
document.cpp:		if( layer->ReplaceObject( old_obj, new_obj ) )
document.cpp:	if( ! obj->IsSelected() )
document.cpp:		obj->SetSelected( true );
document.cpp:	if( obj->IsSelected() )
document.cpp:		obj->SetSelected( false );
document.cpp:		for( int j = 0 ; j < layer->GetObjectCount();  j++ )
document.cpp:			Object* object = layer->GetObject( j ) ;
document.cpp:		m_ListOfSelectedObjects[i]->SetSelected( false );
document.cpp:			m_ListOfSelectedObjects[i]->Draw( canvas );
document.cpp:		for( int j = 0 ; j < layer->GetObjectCount();  j++ )
document.cpp:			Object* object = layer->GetObject( j ) ;
document.cpp:			object->DoTransform( trans );
document.cpp:		for( int j = 0 ; j < layer->GetObjectCount();  j++ )
document.cpp:			Object* object = layer->GetObject( j ) ;
document.cpp:			Rect bound = object->GetBounds();
document.cpp:		p1.x = rint( ( p1.x - m_SnapOrigo.x ) / m_SnapDistance.x ) * m_SnapDistance.x +  m_SnapOrigo.x;
document.cpp:		p1.y = rint( ( p1.y - m_SnapOrigo.y ) / m_SnapDistance.y ) * m_SnapDistance.y +  m_SnapOrigo.y;
document.cpp:  		p1 = CadMath::RotatePoint( -m_SnapAngle, m_SnapOrigo, p1);
document.cpp:		p2.x = rint( ( p2.x - m_SnapOrigo.x ) / m_SnapDistance.x ) * m_SnapDistance.x +  m_SnapOrigo.x;
document.cpp:		p2.y = rint( ( p2.y - m_SnapOrigo.y ) / m_SnapDistance.y ) * m_SnapDistance.y +  m_SnapOrigo.y;
document.cpp:	  	p2 = CadMath::RotatePoint( -m_SnapAngle, m_SnapOrigo, p2 );
document.cpp:			if( fabs( p2.x - p1.x ) > fabs( p2.y - p1.y  ) )
document.cpp:  			p2 = CadMath::RotatePoint( -m_SnapAngle, m_SnapOrigo, p2 );
document.cpp:						m_CurrentLayer = GetLayer( x - 1 );
document.cpp:		Rect bound =m_ListOfSelectedObjects[ i ]->GetBounds();
document.cpp:	Rect scr = GET_CANVAS()->GetViewPortSize();
document.cpp:		if( layer->IsVisible() )
document.cpp:			for( int j = 0 ; j < layer->GetObjectCount();  j++ )
document.cpp:				Object* object = layer->GetObject( j ) ;
document.cpp:				object->GetSnapPoint( m_OSnap, list );
layer.cpp:	m_Style.SetLineWidthType( Style::BY_USER );   // <- NOTE! Layer must always have style BY_USER!
layer.cpp:	m_Style.SetLineWidthType( Style::BY_USER );   // <- NOTE! Layer must always have style BY_USER!
layer.cpp:	m_Style.SetLineWidthType( Style::BY_USER );   // <- NOTE! Layer must always have style BY_USER!
layer.cpp:	m_Style.SetLineWidthType( Style::BY_USER );   // <- NOTE! Layer must always have style BY_USER!
layer.cpp:		m_ListOfObjects[ i ]->Draw( canvas );
layer.cpp:		m_ListOfObjects[ i ]->Erase( canvas );
layer.cpp:	d.Format( "L, \"%s\", %f, %f, %f, %f, \"%s\", %d, %d\n", GetName().c_str(), r, g, b, m_Style.GetLineWidth(), m_Style.GetPattern()->GetName().c_str(), IsVisible(), IsEditable() );
main.cpp:	pcBrowser->Run();
main.cpp:oCADisApp :: oCADisApp( int argc, char* argv[] ) : Application( "application/x-oCADis" )
main.cpp:	m_AppWindow->Init();
main.cpp:	m_AppWindow->Show();
main.cpp:	m_AppWindow->MakeFocus();
main.h:#define SET_STATUSTEXT( x )  oCADisApp::GetAppWindow()->SetStatusbar( x )
main.h:#define SET_STATE( x )  oCADisApp::GetAppWindow()->SetCurrentState( x )
main.h:#define CLEAR_STATE( x ) oCADisApp::GetAppWindow()->ClearCurrentState( x )
main.h:#define GET_STATE()  oCADisApp::GetAppWindow()->GetCurrentState()
main.h:#define GET_CANVAS()  oCADisApp::GetAppWindow()->GetCanvas()
main.h:#define GET_DOCUMENT()  oCADisApp::GetAppWindow()->GetCurrentDocument()
main.h:#define SET_MAINTOOLBOX()  oCADisApp::GetAppWindow()->SetMainToolbox()
main.h:#define GET_DIALOGADDLAYER()  oCADisApp::GetAppWindow()->GetDialogAddLayer()
main.h:#define GET_PREFERENCES()  oCADisApp::GetAppWindow()->GetPreferences()
Binary file ocadis matches
postoffice.cpp: *  PostOffice - Message handler for AtheOS
postoffice.cpp: *  Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
postoffice.cpp: *  MA 02111-1307, USA
postoffice.cpp:		m_Messenger->SendMessage(msg);
postoffice.cpp:// ------------------------------------------------------------------ //
postoffice.cpp:		m_Instance->Run();
postoffice.cpp:	// so deleting the non-existant Mailboxes won't do us any good, right? =)
postoffice.cpp:		next = m_Head->Next();
postoffice.cpp:	//cout << "PO: InUse = " << (m_Locked?"TRUE":"FALSE") << ", " << m_InUse->IsLocked() << endl;
postoffice.cpp:	//m_InUse->Lock();
postoffice.cpp:	//cout << "PO: InUse = " << (m_Locked?"TRUE":"FALSE") << ", " << m_InUse->IsLocked() << endl;
postoffice.cpp:	//m_InUse->Unlock();
postoffice.cpp:			mb->SetName(name);
postoffice.cpp:			mb->SetHandler(handler);
postoffice.cpp:			mb->SetUnique(unique);
postoffice.cpp:			mb->Link(m_Head);
postoffice.cpp:			//	m_InUse->Lock();
postoffice.cpp:		next = current->Next();
postoffice.cpp:		if( (strcmp(current->GetName(), name) == 0) &&
postoffice.cpp:		    (!handler || handler == current->GetHandler()) ) {
postoffice.cpp:				prev->Link(current->Next());
postoffice.cpp:				m_Head = current->Next();
postoffice.cpp:	//	m_InUse->Unlock();
postoffice.cpp:	msg->FindString(PO_ADDRESS_TAG, &dest);
postoffice.cpp:		if(msg->GetCode() == os::M_LAST_USER_MSG)
postoffice.cpp:			msg->SetCode(os::M_QUIT);
postoffice.cpp:				current->PostMessage(msg);
postoffice.cpp:				current = current->Next();
postoffice.cpp:				if(strcmp(current->GetName(), dest) == 0) {
postoffice.cpp:					current->PostMessage(msg);
postoffice.cpp:				current = current->Next();
postoffice.cpp:		if(strcmp(next->GetName(), name) == 0)
postoffice.cpp:			return !(unique || next->GetUnique());
postoffice.cpp:		next = next->Next();
postoffice.h: *  PostOffice - Message handler for AtheOS
postoffice.h: *  Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
postoffice.h: *  MA 02111-1307, USA
postoffice.h:#define AddMailbox(n)		PostOffice::GetInstance()->AddMailbox(n, this)
postoffice.h:#define RemoveMailbox(n)	PostOffice::GetInstance()->RemoveMailbox(n, this)
postoffice.h:							  __tmpmsg->AddString(PO_ADDRESS_TAG, n); \
postoffice.h:							  if(__tmpmsg->GetCode() == os::M_QUIT) __tmpmsg->SetCode(os::M_LAST_USER_MSG);\
postoffice.h:							  PostOffice::GetInstance()->PostMessage(__tmpmsg); }
postoffice.h:							  __tmpmsg->AddString(PO_ADDRESS_TAG, PO_BROADCAST_ADDRESS); \
postoffice.h:							  if(__tmpmsg->GetCode() == os::M_QUIT) __tmpmsg->SetCode(os::M_LAST_USER_MSG);\
postoffice.h:							  PostOffice::GetInstance()->PostMessage(__tmpmsg); }
prompt.cpp:	m_Output->SetMultiLine( true );
prompt.cpp:	m_Output->SetReadOnly();
prompt.cpp:	m_Prompt->SetString( prompt );
prompt.cpp:	String tmp = m_Output->GetValue().AsString();
prompt.cpp:	m_Output->Set( tmp.c_str() );
prompt.cpp:	return Point( m_Prompt->GetPreferredSize( bLargest ).x + m_Entry->GetPreferredSize( bLargest ).x + 9.0f,
prompt.cpp:				  m_Entry->GetPreferredSize( bLargest ).y + 5.0f  );
prompt.cpp:	Rect cOutput = Rect( cRect.left + 3.0f, cRect.top + 3.0f, cRect.right - 3.0f, cRect.bottom - ( m_Entry->GetPreferredSize( false ).y + 5.0f ) );
prompt.cpp:	m_Output->SetFrame( cOutput );
prompt.cpp:	Point cLabelFrame = m_Prompt->GetPreferredSize( false );
prompt.cpp:	m_Prompt->SetFrame( cLabel );
prompt.cpp:	Point cEntryFrame = m_Entry->GetPreferredSize( false );
prompt.cpp:	Rect cEntry = Rect( cLabel.right + 3.0f, cRect.top +3.0f + 2.0f, cRect.right - 3.0f, cRect.top + 3.0f + cEntryFrame.y + 2.0f );
prompt.cpp:	m_Entry->SetFrame( cEntry );
rtsltextview.cpp:	m_Invoker->Invoke();
sidebar.cpp:	m_CloseButton->SetTarget( GetWindow() );
sidebar.cpp:	r.bottom -= 4.0f;
sidebar.cpp:	r.right -= 4.0f;
sidebar.cpp:		title = child->GetTitle();
sidebar.cpp:	cButtonFrame.left = GetBounds().right - text_size.y - 4.0f;
sidebar.cpp:	cButtonFrame.right = GetBounds().right - 4.0f;
sidebar.cpp:	DrawFrame( Rect( 18.0f + text_size.x, 2.0f + text_size.y / 2.0f, cButtonFrame.left - 8.0f, 3.0f + text_size.y / 2.0f ), FRAME_THIN );
sidebar.cpp:	DrawFrame( Rect( 18.0f + text_size.x, 6.0f + text_size.y / 2.0f, cButtonFrame.left - 8.0f, 7.0f + text_size.y / 2.0f ), FRAME_THIN );
sidebar.cpp:	Rect r( GetBounds().right - 14.0f - 6.0f, 4.0f, GetBounds().right - 6.0f, 4.0f + 14.0f );
sidebar.cpp:	m_CloseButton->SetFrame( r );
sidebar_dialog.cpp:		m_CurrentDialog->SetFrame( ConvertFromParent( cFrame ) );
sidebar_dialog.cpp:	switch( pcMessage->GetCode() )	//Get the message code from the message
sidebar_dialog.cpp:	m_CurrentDialog->Init( GET_DOCUMENT() );
sidebar_dialog.cpp:		m_CurrentDialog->SetDocument( doc );
sidebar_toolbox.cpp:		m_CurrentToolbox->SetFrame( ConvertFromParent( cFrame ) );
sidebar_toolbox.cpp:	switch( pcMessage->GetCode() )	//Get the message code from the message
sltextview.cpp:		m_ContextMenu->AddItem( m_ContextBrowser );
sltextview.cpp:		m_ContextMenu->AddItem( new MenuSeparator() );
sltextview.cpp:	m_ContextMenu->AddItem( m_ContextCut );
sltextview.cpp:	m_ContextMenu->AddItem(  m_ContextCopy );
sltextview.cpp:	m_ContextMenu->AddItem( m_ContextPaste );
sltextview.cpp:	m_ContextMenu->AddItem( new MenuSeparator()) ;
sltextview.cpp:	m_ContextMenu->AddItem( m_ContextSelectAll );
sltextview.cpp:	m_ContextMenu->SetTargetForItems( this );
sltextview.cpp:		m_ContextMenu->Open( ConvertToScreen( cPosition ) );	// Open the menu where the mouse is
sltextview.cpp:				m_theMessage->RemoveName("file/path" );
sltextview.cpp:				m_theMessage->AddString( "file/path", GetValue() );
sltextview.cpp:				m_Invoker->Invoke( m_theMessage );
sltextview.cpp:	switch( msg->GetCode() )	//Get the message code from the message
sltextview.cpp:		m_Browser->Lock();
sltextview.cpp:		m_Browser->Start();
sltextview.cpp:		m_Browser->CenterInWindow( GetWindow() );	
sltextview.cpp:		m_Browser->Show(true);
sltextview.cpp:		m_Browser->MakeFocus();
sltextview.cpp:		m_Browser->Unlock();
sltextview.cpp:			if( msg->FindPointer( "source", (void**)&browser ) == EOK )
sltextview.cpp:				browser->Close();
sltextview.cpp:			if( msg->FindString("file/path", &path ) == 0 )
sltextview.cpp:				m_theMessage->RemoveName("file/path" );
sltextview.cpp:				m_theMessage->AddString( "file/path", path );
sltextview.cpp:				GetWindow()->HandleMessage( m_theMessage );
sltextview.cpp:			i = root.rfind( "/", root.size() - 2 );
sltextview.cpp:	m_Invoker->SetTarget( pcHandler );
style.cpp:		return m_Layer->GetStyle().GetLineWidth();
style.cpp:		m_Layer->GetStyle().GetColour( r, g, b );
style.cpp:			m_Pattern = GET_DOCUMENT()->GetPattern( m_PatternName );
style.cpp:		return m_Layer->GetStyle().GetPattern();
style.cpp:			ret += m_Pattern->GetName();
tableview.cpp:/*  libsyllable.so - the highlevel API library for Syllable
tableview.cpp: *  Copyright (C) 1999 - 2001 Kurt Skauen
tableview.cpp: *  Copyright (C) 2003 - 2006 The Syllable Team
tableview.cpp: *  Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
tableview.cpp: *  MA 02111-1307, USA
tableview.cpp: * \param cFrame - Size of the TableView
tableview.cpp: * \param cName - Name of the TableView
tableview.cpp: * \param cNumCols - The number of columns the new table should have
tableview.cpp: * \param cNumRows - The number of rows the new table should have
tableview.cpp: * \param bHomogeneous - If set to true, all table cells are resized to the size of the cell containing the largest widget. 
tableview.cpp: * \param nResizeMask - The resize mask
tableview.cpp: * \param bLargest - If bLargest is set to false the minimum size the table requires is returns.
tableview.cpp: * \return os::Point - Returns the size of the widget
tableview.cpp: * \param rows - The number of rows
tableview.cpp: * \param columns - The number of columns
tableview.cpp:			rows = MAX( rows, child->bottom_attach);
tableview.cpp:			columns = MAX( columns, child->right_attach );
tableview.cpp: *      TABLE_EXPAND - 
tableview.cpp: *      TABLE_FILL - 
tableview.cpp: *      TABLE_SHRINK -
tableview.cpp: * \param child - The widget to add
tableview.cpp: * \param left_attach - the column number to attach the left side of a child widget to
tableview.cpp: * \param right_attach - the column number to attach the right side of a child widget to
tableview.cpp: * \param top_attach - the row number to attach the top of a child widget to
tableview.cpp: * \param bottom_attach - the row number to attach the bottom of a child widget to
tableview.cpp: * \param xoptions - Used to specify the properties of the child widget when the table is resized
tableview.cpp: * \param yoptions - The same as xoptions, except this field determines behaviour of vertical resizing
tableview.cpp: * \param xpadding - An integer value specifying the padding on the left and right of the widget being added to the table
tableview.cpp: * \param ypadding - The amount of padding above and below the child widget
tableview.cpp:	table_child->widget = child;
tableview.cpp:	table_child->left_attach = left_attach;
tableview.cpp:	table_child->right_attach = right_attach;
tableview.cpp:	table_child->top_attach = top_attach;
tableview.cpp:	table_child->bottom_attach = bottom_attach;
tableview.cpp:	table_child->xexpand = (xoptions & TABLE_EXPAND) != 0;
tableview.cpp:	table_child->xshrink = (xoptions & TABLE_SHRINK) != 0;
tableview.cpp:	table_child->xfill = (xoptions & TABLE_FILL) != 0;
tableview.cpp:	table_child->xpadding = xpadding;
tableview.cpp:	table_child->yexpand = (yoptions & TABLE_EXPAND) != 0;
tableview.cpp:	table_child->yshrink = (yoptions & TABLE_SHRINK) != 0;
tableview.cpp:	table_child->yfill = (yoptions & TABLE_FILL) != 0;
tableview.cpp:	table_child->ypadding = ypadding;
tableview.cpp: * \param row - row number whose spacing will be changed
tableview.cpp: * \param spacing - number of pixels that the spacing should take up
tableview.cpp: * \param row - a row in the table, 0 indicates the first row
tableview.cpp:	assert( (int) row < m_NumRows - 1 );
tableview.cpp: * \param col - col number whose spacing will be changed
tableview.cpp: * \param spacing - number of pixels that the spacing should take up
tableview.cpp: * \param col - a column in the table, 0 indicates the first column
tableview.cpp:	assert( (int) col < m_NumCols - 1 );
tableview.cpp: * \param spacing - the number of pixels of space to place between every row in the table
tableview.cpp: * \param spacing - the number of pixels of space to place between every column in the table
tableview.cpp: * \param homogeneous - Set to true to ensure all table cells are the same size. Set to false if this 
tableview.cpp:		if (child->left_attach == (child->right_attach - 1) && child->xexpand )
tableview.cpp:			m_Cols[ child->left_attach ].expand = true;
tableview.cpp:		if( child->top_attach == (child->bottom_attach - 1) && child->yexpand )
tableview.cpp:			m_Rows[ child->top_attach ].expand = true;
tableview.cpp://      	if( child->widget->IsVisible() )
tableview.cpp:			Point child_requisition = child->widget->GetPreferredSize( false );
tableview.cpp:			if( child->left_attach == (child->right_attach - 1) )
tableview.cpp:				width = (int)child_requisition.x + child->xpadding * 2;
tableview.cpp:				m_Cols[ child->left_attach ].requisition = MAX( m_Cols[ child->left_attach ].requisition, width );
tableview.cpp:			if( child->top_attach == (child->bottom_attach - 1) )
tableview.cpp:				height = (int)child_requisition.y + child->ypadding * 2;
tableview.cpp:				m_Rows[ child->top_attach ].requisition = MAX( m_Rows[ child->top_attach ].requisition, height );
tableview.cpp://		if( child->widget->IsVisible() )
tableview.cpp:			if( child->left_attach != (child->right_attach - 1) )
tableview.cpp:				Point child_requisition = child->widget->GetPreferredSize( false );
tableview.cpp:				for ( col = child->left_attach ; col < child->right_attach ; col++ )
tableview.cpp:					if( ( col + 1 ) < child->right_attach )
tableview.cpp:				if( width < (int)child_requisition.x + child->xpadding * 2 )
tableview.cpp:					width = (int)child_requisition.x + child->xpadding * 2 - width;
tableview.cpp:					for( col = child->left_attach ; col < child->right_attach ; col++ )
tableview.cpp:						n_expand = ( child->right_attach - child->left_attach );
tableview.cpp:					for( col = child->left_attach ; col < child->right_attach ; col++ )
tableview.cpp:							width -= extra;
tableview.cpp:							n_expand--;
tableview.cpp:			if( child->top_attach != ( child->bottom_attach - 1 ) )
tableview.cpp:				Point child_requisition = child->widget->GetPreferredSize( false );
tableview.cpp:				for( row = child->top_attach ; row < child->bottom_attach ; row++ )
tableview.cpp:					if( (row + 1) < child->bottom_attach )
tableview.cpp:				if( height < (int)child_requisition.y + child->ypadding * 2 )
tableview.cpp:					height = (int)child_requisition.y + child->ypadding * 2 - height;
tableview.cpp:					for( row = child->top_attach ; row < child->bottom_attach ; row++ )
tableview.cpp:						n_expand = ( child->bottom_attach - child->top_attach );
tableview.cpp:					for( row = child->top_attach ; row < child->bottom_attach ; row++ )
tableview.cpp:							height -= extra;
tableview.cpp:							n_expand--;
tableview.cpp://		if( child->widget->IsVisible() )
tableview.cpp:			if( child->left_attach == ( child->right_attach - 1 ) )
tableview.cpp:				if( child->xexpand )
tableview.cpp:					m_Cols[ child->left_attach ].expand = true;
tableview.cpp:				if( !child->xshrink )
tableview.cpp:					m_Cols[ child->left_attach ].shrink = false;
tableview.cpp:				m_Cols[ child->left_attach].empty = false; 
tableview.cpp:			if( child->top_attach == ( child->bottom_attach - 1 ) )
tableview.cpp:				if( child->yexpand )
tableview.cpp:                	m_Rows[ child->top_attach ].expand = true;
tableview.cpp:              	if( !child->yshrink )
tableview.cpp:					m_Rows[ child->top_attach ].shrink = false;
tableview.cpp:				m_Rows[ child->top_attach ].empty = false;
tableview.cpp://		if( child->widget->IsVisible() )
tableview.cpp:			if( child->left_attach != (child->right_attach - 1) )
tableview.cpp:				for( col = child->left_attach ; col < child->right_attach ; col++ )
tableview.cpp:				if( child->xexpand )
tableview.cpp:					for( col = child->left_attach ; col < child->right_attach ; col++ )
tableview.cpp:						for( col = child->left_attach ; col < child->right_attach ; col++ )
tableview.cpp:              	if( !child->xshrink )
tableview.cpp:					for( col = child->left_attach ; col < child->right_attach ; col++ )
tableview.cpp:						for( col = child->left_attach ; col < child->right_attach ; col++ )
tableview.cpp:			if( child->top_attach != (child->bottom_attach - 1) )
tableview.cpp:				for( row = child->top_attach ; row < child->bottom_attach ; row++ )
tableview.cpp:				if( child->yexpand )
tableview.cpp:                  	for( row = child->top_attach ; row < child->bottom_attach ; row++ )
tableview.cpp:						for( row = child->top_attach ; row < child->bottom_attach ; row++ )
tableview.cpp:				if( !child->yshrink )
tableview.cpp:					for( row = child->top_attach ; row < child->bottom_attach ; row++ )
tableview.cpp:						for( row = child->top_attach ; row < child->bottom_attach ; row++ )
tableview.cpp:				width -= m_Cols[ col ].spacing;
tableview.cpp:				extra = width / ( m_NumCols - col);
tableview.cpp:				width -= extra;
tableview.cpp:			width = real_width - width;
tableview.cpp:					width -= extra;
tableview.cpp:					nexpand -= 1;
tableview.cpp:			extra = width - real_width;
tableview.cpp:						m_Cols[ col ].allocation = MAX (1, (int) m_Cols[ col ].allocation - extra / nshrink );
tableview.cpp:						extra -= allocation - m_Cols[ col ].allocation;
tableview.cpp:						nshrink -= 1;
tableview.cpp:							total_nshrink -= 1;
tableview.cpp:				height -= m_Rows[ row ].spacing;
tableview.cpp:				extra = height / ( m_NumRows - row );
tableview.cpp:				height -= extra;
tableview.cpp:			height = real_height - height;
tableview.cpp:				height -= extra;
tableview.cpp:				nexpand -= 1;
tableview.cpp:			extra = height - real_height;
tableview.cpp:						m_Rows[ row ].allocation = MAX(1, (int) m_Rows[ row ].allocation - extra / nshrink );
tableview.cpp:						extra -= allocation - m_Rows[ row ].allocation;
tableview.cpp:						nshrink -= 1;
tableview.cpp:							total_nshrink -= 1;
tableview.cpp://		if( child->widget->IsVisible() )
tableview.cpp:			Point child_requisition = child->widget->GetPreferredSize( false );
tableview.cpp:			for( col = 0 ; col < child->left_attach ; col++ )
tableview.cpp:			for( col = child->left_attach ; col < child->right_attach ; col++ )
tableview.cpp:				if( ( col + 1 ) < child->right_attach )
tableview.cpp:			for( row = 0 ; row < child->top_attach ; row++ )
tableview.cpp:			for(row = child->top_attach ; row < child->bottom_attach ; row++ )
tableview.cpp:				if( ( row + 1 ) < child->bottom_attach )
tableview.cpp:			if( child->xfill )
tableview.cpp:				allocation_width = MAX(1, max_width - (int)child->xpadding * 2);
tableview.cpp:				allocation_x = x + ( max_width - allocation_width ) / 2;
tableview.cpp:				allocation_x = x + ( max_width - allocation_width ) / 2;
tableview.cpp:			if( child->yfill )
tableview.cpp:				allocation_height = MAX(1, max_height - (int)child->ypadding * 2);
tableview.cpp:				allocation_y = y + ( max_height - allocation_height ) / 2;
tableview.cpp:				allocation_y = y + ( max_height - allocation_height ) / 2;
tableview.cpp:			child->widget->SetFrame( childFrame );
tableview.h:/*  libsyllable.so - the highlevel API library for Syllable
tableview.h: *  Copyright (C) 1999 - 2001 Kurt Skauen
tableview.h: *  Copyright (C) 2003 - 2004 Syllable Team
tableview.h: *  Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
tableview.h: *  MA 02111-1307, USA
tableview.h:#if 0	// Fool Emacs auto-indent
toolbox.cpp:	while( ( child = parent->GetChildAt( i ) ) != NULL )
toolbox.cpp:	m_Parent->SetToolbox( tool );
toolbox.cpp:	GET_DOCUMENT()->DeselectAllObjects();
toolbox.cpp:	GET_CANVAS()->Refresh();
toolbox_action.cpp:	m_Table->SetRowSpacings( 4 );
toolbox_action.cpp:	m_Table->Resize( m_ListOfActionButtons.size() + 1, 1 );
toolbox_action.cpp:	m_Table->Attach( tmp, 0, 1, m_Table->GetNumberOfRows() - 2, m_Table->GetNumberOfRows() - 1, ( TABLE_EXPAND | TABLE_FILL ), 0 );
toolbox_action.cpp:		m_ListOfActionButtons[ i ]->SetTarget( pcMessenger );
toolbox_action.cpp:	p += m_Table->GetPreferredSize( bLargest );
toolbox_action.cpp:	m_Table->SetFrame( cFrame );
toolbox_button.cpp:		cFillRect.Resize( 1, 4, -1 , -4 );
toolbox_button.cpp:		DrawLine( Point( 4, 1 ), Point( GetBounds().right - 4, 1 ) );
toolbox_button.cpp:		DrawLine( Point( 2, 2 ), Point( GetBounds().right - 2, 2 ) );
toolbox_button.cpp:		DrawLine( Point( 2, 3 ), Point( GetBounds().right - 2, 3 ) );
toolbox_button.cpp:		cFillRect.top = GetBounds().bottom - 3;
toolbox_button.cpp:		DrawLine( Point( 4, cFillRect.bottom - 1 ), Point( GetBounds().right - 4, cFillRect.bottom - 1 ) );
toolbox_button.cpp:		DrawLine( Point( 2, cFillRect.bottom - 2 ), Point( GetBounds().right - 2, cFillRect.bottom - 2 ) );
toolbox_button.cpp:		DrawLine( Point( 2, cFillRect.bottom - 3 ), Point( GetBounds().right - 2, cFillRect.bottom - 3 ) );
toolbox_button.cpp:	m_Image->Draw( Point( cFrame.left + offset, cFrame.top + cFrame.Height() / 2 - m_Image->GetSize().y / 2 ), this );
toolbox_button.cpp:	GetFont()->SetFlags( FPF_BOLD | FPF_SMOOTHED ); // Doesnt FPF_BOLD work?
toolbox_button.cpp:	DrawString( Point( cFrame.left + offset * 3 + m_Image->GetSize().x, cFrame.top + offset + m_FontHeight ), m_HeadLine );
toolbox_button.cpp:	DrawLine( Point( cFrame.left + offset * 3 + m_Image->GetSize().x, cFrame.top + offset * 2 + m_FontHeight + 1 ), Point( cFrame.right - offset, cFrame.top + offset * 2 + m_FontHeight + 1 ) );
toolbox_button.cpp:	GetFont()->SetFlags( FPF_SMOOTHED );
toolbox_button.cpp:	DrawText( Rect( cFrame.left + offset * 3 + m_Image->GetSize().x, cFrame.top + offset * 2 + m_FontHeight * 2 + 2,  cFrame.right - offset, cFrame.bottom - offset ), m_Description, DTF_WRAP_SOFT | DTF_ALIGN_TOP | DTF_ALIGN_LEFT );
toolbox_button.cpp:	cFillRect.Resize( 1, 4, -1 , -4 );
toolbox_button.cpp:	DrawLine( Point( 4, 0 ), Point( GetBounds().right - 4, 0 ) );
toolbox_button.cpp:	DrawLine( Point( GetBounds().right - 2, 1 ), Point( GetBounds().right - 3, 1 ) );
toolbox_button.cpp:	DrawLine( Point( GetBounds().right - 1, 2 ), Point( GetBounds().right - 1, 3 ) );
toolbox_button.cpp:	cFillRect.top = GetBounds().bottom - 3;
toolbox_button.cpp:	DrawLine( Point( 4, cFillRect.bottom - 0 ), Point( GetBounds().right - 4, cFillRect.bottom - 0 ) );
toolbox_button.cpp:	DrawLine( Point( 2, cFillRect.bottom - 1 ), Point( 3, cFillRect.bottom - 1 ) );
toolbox_button.cpp:	DrawLine( Point( 1, cFillRect.bottom - 2 ), Point( 1, cFillRect.bottom - 3 ) );
toolbox_button.cpp:	DrawLine( Point( GetBounds().right - 2, cFillRect.bottom - 1 ), Point(  GetBounds().right - 3, cFillRect.bottom - 1 ) );
toolbox_button.cpp:	DrawLine( Point( GetBounds().right - 1, cFillRect.bottom - 2 ), Point(  GetBounds().right - 1, cFillRect.bottom - 3 ) );
toolbox_button.cpp:	DrawLine( Point( 4, cFillRect.bottom ), Point( GetBounds().right - 4, cFillRect.bottom ) );
toolbox_frame.cpp:			cFrame.Resize( 2, 2, -2, -2 );
toolbox_frame.cpp:			m_Table->SetFrame( cFrame );
toolbox_frame.cpp:		cFillRect.Resize( 1, 4, -1 , -4 );
toolbox_frame.cpp:		view->SetFgColor( 180, 180, 180 );
toolbox_frame.cpp:		view->DrawLine( Point( 0, cFillRect.top ), Point( 0, cFillRect.bottom ) );
toolbox_frame.cpp:		view->DrawLine( Point( cFillRect.right + 1, cFillRect.top ), Point( cFillRect.right + 1, cFillRect.bottom ) );
toolbox_frame.cpp:		view->DrawLine( Point( 4, 0 + cSize.top ), Point( cSize.right - 4, 0 + cSize.top ) );
toolbox_frame.cpp:		view->DrawLine( Point( 2, 1 + cSize.top ), Point( 3, 1 + cSize.top ) );
toolbox_frame.cpp:		view->DrawLine( Point( 1, 2 + cSize.top ), Point( 1, 3 + cSize.top ) );
toolbox_frame.cpp:		view->DrawLine( Point( cSize.right - 2, 1 + cSize.top ), Point( cSize.right - 3, 1 + cSize.top ) );
toolbox_frame.cpp:		view->DrawLine( Point( cSize.right - 1, 2 + cSize.top ), Point( cSize.right - 1, 3 + cSize.top ) );
toolbox_frame.cpp:		cFillRect.top = cSize.bottom - 3;
toolbox_frame.cpp:		view->SetFgColor( 180, 180, 180 );
toolbox_frame.cpp:		view->DrawLine( Point( 4, cFillRect.bottom - 0 ), Point( cSize.right - 4, cFillRect.bottom - 0 ) );
toolbox_frame.cpp:		view->DrawLine( Point( 2, cFillRect.bottom - 1 ), Point( 3, cFillRect.bottom - 1 ) );
toolbox_frame.cpp:		view->DrawLine( Point( 1, cFillRect.bottom - 2 ), Point( 1, cFillRect.bottom - 3 ) );
toolbox_frame.cpp:		view->DrawLine( Point( view->GetBounds().right - 2, cFillRect.bottom - 1 ), Point(  cSize.right - 3, cFillRect.bottom - 1 ) );
toolbox_frame.cpp:		view->DrawLine( Point( view->GetBounds().right - 1, cFillRect.bottom - 2 ), Point(  cSize.right - 1, cFillRect.bottom - 3 ) );
toolbox_frame.cpp:		view->DrawLine( Point( 4, cFillRect.bottom ), Point( cSize.right - 4, cFillRect.bottom ) );
toolbox_frame.cpp:	m->m_FrameLabel = cLabel;
toolbox_frame.cpp:	m->m_Table = NULL;
toolbox_frame.cpp:	m->m_ShowFrame = true;
toolbox_frame.cpp:	m->m_ShowLabel = true;
toolbox_frame.cpp:	m->m_FontHeight = tmp.ascender + tmp.descender;
toolbox_frame.cpp:	if( m->m_ShowFrame )
toolbox_frame.cpp:		if( m->m_ShowLabel )
toolbox_frame.cpp:			m->_DrawRoundedFrame( this, Rect( cBounds.left, cBounds.top + m->m_FontHeight / 2 + 3 , cBounds.right, cBounds.bottom ) );
toolbox_frame.cpp:			m->_DrawRoundedFrame( this, Rect( cBounds.left, cBounds.top, cBounds.right, cBounds.bottom ) );
toolbox_frame.cpp:	if( m->m_ShowLabel )
toolbox_frame.cpp:		pos.y += m->m_FontHeight;
toolbox_frame.cpp:		Rect r( pos.x - 2, pos.y - m->m_FontHeight - 1, pos.x + GetStringWidth( m->m_FrameLabel ) + 3, pos.y + 1 );
toolbox_frame.cpp:		DrawString( pos, m->m_FrameLabel );
toolbox_frame.cpp://		cFrame.Resize( 5, m->m_FontHeight + 5 , -5, -2 );
toolbox_frame.cpp:	if( m->m_ShowFrame )
toolbox_frame.cpp:		cFrame.Resize( 5, 5 , -5, -2 );
toolbox_frame.cpp:	if( m->m_ShowLabel )
toolbox_frame.cpp:		cFrame.top = m->m_FontHeight + 5;
toolbox_frame.cpp:	m->_Layout( GetFrame() );
toolbox_frame.cpp:	m->m_Table = table;
toolbox_frame.cpp:	m->_Layout( GetFrame() );
toolbox_frame.cpp:	if( m->m_Table != NULL )
toolbox_frame.cpp:		Point ret =  m->m_Table->GetPreferredSize( bLargest );
toolbox_frame.cpp:		ret.y += m->m_FontHeight + 5 + 2;
toolbox_frame.cpp:	m->m_ShowFrame = show;
toolbox_frame.cpp:	return m->m_ShowFrame;
toolbox_frame.cpp:	m->m_ShowLabel = show;
toolbox_frame.cpp:	return m->m_ShowLabel;
toolbox_navigation.cpp:	m_Table->SetRowSpacings( 4 );
toolbox_navigation.cpp:	msg->AddPointer( "toolbox", (void*) box );
toolbox_navigation.cpp:	m_Table->Resize( m_ListOfActionButtons.size(), 1 );
toolbox_navigation.cpp:	m_Table->Attach( tmp, 0, 1, m_Table->GetNumberOfRows() - 1, m_Table->GetNumberOfRows(), ( TABLE_EXPAND | TABLE_FILL ), 0 );
toolbox_navigation.cpp:	m_Table->Resize( m_ListOfActionButtons.size(), 1 );
toolbox_navigation.cpp:	m_Table->Attach( tmp, 0, 1, m_Table->GetNumberOfRows() - 1, m_Table->GetNumberOfRows(), ( TABLE_EXPAND | TABLE_FILL ), 0 );
toolbox_navigation.cpp:	msg->AddPointer( "state", (void*) state );
toolbox_navigation.cpp:	m_Table->Resize( m_ListOfActionButtons.size(), 1 );
toolbox_navigation.cpp:	m_Table->Attach( tmp, 0, 1, m_Table->GetNumberOfRows() - 1, m_Table->GetNumberOfRows(), ( TABLE_EXPAND | TABLE_FILL ), 0 );
toolbox_navigation.cpp:		m_ListOfActionButtons[ i ]->SetTarget( this );
toolbox_navigation.cpp:	p += m_Table->GetPreferredSize( bLargest );
toolbox_navigation.cpp:	switch( pcMessage->GetCode() )
toolbox_navigation.cpp:			if( pcMessage->FindPointer( "toolbox", (void **) &toolbox ) == EOK && m_Toolbox != NULL )
toolbox_navigation.cpp:				m_Toolbox->SetToolbox( toolbox );
toolbox_navigation.cpp:			if( pcMessage->FindPointer( "state", (void **) &state ) == EOK )
toolbox_navigation.cpp:		//		m_Toolbox->SetMainToolbox();
toolbox_navigation.cpp:	m_Table->SetFrame( cFrame );
toolbox_point.cpp:	m_Table->SetRowSpacings( 2 );
toolbox_point.cpp:		m_Table->SetRowSpacing( 1, 10 );
toolbox_point.cpp:	m_Frame->AddChild( m_Table );
toolbox_point.cpp:	m_Table->Attach( m_Label_1, 0, 1, 0, 1, 0, 0 );
toolbox_point.cpp:	m_Entry_1->SetTarget( this );
toolbox_point.cpp:	m_Entry_1->SetMinWidth( 40.0f );
toolbox_point.cpp:	m_Table->Attach( m_Entry_1, 1, 2, 0, 1, ( TABLE_EXPAND | TABLE_FILL ), 0 );
toolbox_point.cpp:	m_Table->Attach( m_Label_2, 0, 1, 1, 2, 0, 0 );
toolbox_point.cpp:	m_Entry_2->SetTarget( this );
toolbox_point.cpp:	m_Entry_2->SetMinWidth( 40.0f );
toolbox_point.cpp:	m_Table->Attach( m_Entry_2, 1, 2, 1, 2, ( TABLE_EXPAND | TABLE_FILL ), 0 );
toolbox_point.cpp:		m_Table->Attach( m_RelativeCoord, 0, 2, 2, 3, ( TABLE_EXPAND | TABLE_FILL ), 0 );
toolbox_point.cpp:	m_Entry_1->SetTarget( this );
toolbox_point.cpp:	m_Entry_2->SetTarget( this );
toolbox_point.cpp:	switch( msg->GetCode() )
toolbox_point.cpp:			m_Entry_2->MakeFocus();
toolbox_point.cpp:			_InvokePoint( m_Entry_1->GetText(), m_Entry_2->GetText() );
toolbox_point.cpp:	Point table = m_Table->GetPreferredSize( false );
toolbox_point.cpp:	if( m_Entry_1->HasFocus() || m_Entry_2->HasFocus() )
toolbox_point.cpp:	if( m_RelativeCoord != NULL && m_RelativeCoord->GetValue().AsBool() )
toolbox_point.cpp:		point -= m_Origin;
toolbox_point.cpp:	m_Entry_1->SetText( t );
toolbox_point.cpp:	m_Entry_2->SetText( t );
toolbox_point.cpp:	if( m_Entry_1->HasFocus() || m_Entry_2->HasFocus() )
toolbox_point.cpp:	m_Entry_1->Clear();
toolbox_point.cpp:	m_Entry_2->Clear();
toolbox_point.cpp:	String value = m_Entry_1->GetText();
toolbox_point.cpp:		String v2( value, i + 1, value.Length() - i );
toolbox_point.cpp:		printf( "Error val!: %s\n", eval_errors[ ret - 1 ] );
toolbox_point.cpp:		printf( "Error val!: %s\n", eval_errors[ ret - 1 ] );
toolbox_point.cpp:	if( m_RelativeCoord != NULL && m_RelativeCoord->GetValue().AsBool() )
toolbox_point.cpp:	m_theMessage->RemoveName("value" );
toolbox_point.cpp:	m_theMessage->AddPoint( "value", coord );
toolbox_point.cpp:	m_Frame->SetFrame( GetBounds() );
toolbox_point.cpp:	cFrame.Resize( 5, m_FontHeight + 5 , -5, -2 );
toolbox_point.cpp:	m_Table->SetFrame( cFrame );
toolbox_value.cpp:	m_Table->SetRowSpacings( 2 );
toolbox_value.cpp:	m_Frame->AddChild( m_Table );
toolbox_value.cpp:	m_Table->Attach( m_Label, 0, 1, 0, 1, 0, 0 );
toolbox_value.cpp:	m_Entry->SetTarget( this );
toolbox_value.cpp:	m_Table->Attach( m_Entry, 1, 2, 0, 1, ( TABLE_EXPAND | TABLE_FILL ), 0 );
toolbox_value.cpp:	m_Entry->SetTarget( this );
toolbox_value.cpp:	if( msg->GetCode() == MSG_ENTRY )
toolbox_value.cpp:		float value = atof( m_Entry->GetText().c_str() );;
toolbox_value.cpp:		m_theMessage->RemoveName("value" );
toolbox_value.cpp:		m_theMessage->AddFloat( "value", value );
toolbox_value.cpp:	m_Frame->SetFrame( GetBounds() );
toolbox_value.cpp:	cFrame.Resize( 5, m_FontHeight + 5 , -5, -2 );
toolbox_value.cpp:	m_Table->SetFrame( cFrame );
toolbox_value.cpp:	Point table = m_Table->GetPreferredSize( false );
toolbox_value.cpp:	if( m_Entry->HasFocus()  )
toolbox_value.cpp:	m_Entry->SetText( t );
toolbox_value.cpp:	if( m_Entry->HasFocus() )
toolbox_value.cpp:	m_Entry->Clear();
transform.cpp:	Transform m( cos( angle ), sin( angle), -sin( angle), cos( angle ), 0.0f, 0.0f );
transform.cpp:	m_sx  = -m_sx;
transform.cpp:	m_shy = -m_shy;
transform.cpp:	m_tx  = -m_tx;
transform.cpp:	m_shx = -m_shx;
transform.cpp:	m_sy  = -m_sy;
transform.cpp:	m_ty  = -m_ty;
undo.cpp:	canvas->Undraw();
undo.cpp:		obj->Erase( canvas );		
undo.cpp:		doc->RemoveObject( obj );		
undo.cpp:	canvas->Undraw();
undo.cpp:		Layer* layer = obj->GetLayer();
undo.cpp:		if( doc->LayerExists( layer ) )
undo.cpp:			layer->AddObject( obj );
undo.cpp:			obj->Draw( canvas );
undo.cpp:	canvas->Undraw();
undo.cpp:		Layer* layer = obj->GetLayer();
undo.cpp:		if( doc->LayerExists( layer ) )
undo.cpp:			layer->AddObject( obj );
undo.cpp:			obj->Draw( canvas );
undo.cpp:	canvas->Undraw();
undo.cpp:		obj->Erase( canvas );		
undo.cpp:		doc->RemoveObject( obj );		
undo.cpp:	canvas->Undraw();
undo.cpp:		old_obj->Erase( canvas );
undo.cpp:		new_obj->Draw( canvas );
undo.cpp:		doc->ReplaceObject( old_obj, new_obj );
undo.cpp:	canvas->Undraw();
undo.cpp:		old_obj->Erase( canvas );
undo.cpp:		new_obj->Draw( canvas );
undo.cpp:		doc->ReplaceObject( old_obj, new_obj );
undo.cpp:		Rect bound = obj->GetBounds();
undo.cpp:	canvas->Invalidate( Rect( canvas->WorldToScreen( ret.LeftTop() ), canvas->WorldToScreen( ret.RightBottom() ) ) );
undo.cpp:	canvas->Sync();
undo.cpp:	canvas->PrepareForXORMode();
undo.cpp:	msg->AddPointer( "undo", (void**) &action );
undo.cpp:		UndoAction* action = m_ListOfUndoActions[ m_ListOfUndoActions.size() -1 ];
undo.cpp:		return action->GetName();
undo.cpp:		UndoAction* action = m_ListOfRedoActions[ m_ListOfRedoActions.size() -1 ];
undo.cpp:		return action->GetName();
undo.cpp:	UndoAction* action = m_ListOfUndoActions[ m_ListOfUndoActions.size() -1 ];
undo.cpp:	action->Undo( canvas, doc );
undo.cpp:	UndoAction* action = m_ListOfRedoActions[ m_ListOfRedoActions.size() -1 ];
undo.cpp:	action->Redo( canvas, doc );
viewcoord.cpp:	m_Font->SetSize( 6.0f );
viewcoord.cpp:	float center = ( c.bottom - c.top ) / 2.0f + c.top;
