#include "camtypes.h"
#include "camelot.h"
#include "aligndlg.h"
#include "rnddlgs.h"
#include "ccdc.h"
#include "progress.h"
#include "grnddib.h"
#include "page.h"
#include "qualattr.h"
#include "dlgcol.h"
#include "keypress.h"
#include "bubbleid.h"
#include "ophist.h"
Go to the source code of this file.
Functions | |
DECLARE_SOURCE ("$Revision: 1282 $") | |
CC_IMPLEMENT_DYNCREATE (ArrangeAlignment, DialogOp) CC_IMPLEMENT_DYNCREATE(OpAlign | |
INT32 | CompareObjInfoLow (const void *elem1, const void *elem2) |
Variables | |
const CGadgetID | TargetArea [] |
const INT32 | HAlignIDS [] |
const INT32 | VAlignIDS [] |
const INT32 | DiagWidth = 100 |
const INT32 | DiagHeight = 100 |
const INT32 | DiagRectWidth [DiagRects] = {6,14,22,30} |
const INT32 | DiagRectHeight [DiagRects] = {6,30,14,22} |
const INT32 | DiagRectOrderX [DiagRects] = {1,3,0,2} |
const INT32 | DiagRectOrderY [DiagRects] = {0,2,1,3} |
const INT32 | DiagRectGapX [DiagRects-1] = {13,6,8} |
const INT32 | DiagRectGapY [DiagRects-1] = {13,6,8} |
|
|
|
following routines used by the 'C' library qsort() in OpAlign::AlignOneAxis() Definition at line 926 of file aligndlg.cpp. 00927 { 00928 ObjInfo* a=(ObjInfo*)elem1; 00929 ObjInfo* b=(ObjInfo*)elem2; 00930 if (a->lo == b->lo) 00931 return (a->i < b->i ? -1 : 1); // sort by Z order 00932 else 00933 return (a->lo < b->lo ? -1 : 1); 00934 }
|
|
|
|
Definition at line 171 of file aligndlg.cpp. |
|
Definition at line 176 of file aligndlg.cpp. |
|
Definition at line 177 of file aligndlg.cpp. |
|
Definition at line 173 of file aligndlg.cpp. |
|
Definition at line 174 of file aligndlg.cpp. |
|
Definition at line 175 of file aligndlg.cpp. |
|
Definition at line 172 of file aligndlg.cpp. |
|
Definition at line 170 of file aligndlg.cpp. |
|
Initial value: {_R(IDS_HALIGNNONE), _R(IDS_HALIGNLEFT), _R(IDS_HALIGNCENTRE), _R(IDS_HALIGNRIGHT), _R(IDS_HDISTRIBUTELEFT), _R(IDS_HDISTRIBUTECENTRE), _R(IDS_HDISTRIBUTERIGHT), _R(IDS_HDISTRIBUTEEQUI), 0} Definition at line 150 of file aligndlg.cpp. |
|
Initial value: {_R(IDC_ALIGNDIALOG_TOSELECTION), _R(IDC_ALIGNDIALOG_TOPAGE), #ifndef WEBSTER _R(IDC_ALIGNDIALOG_TOSPREAD), #endif 0} Definition at line 140 of file aligndlg.cpp. |
|
Initial value: {_R(IDS_VALIGNNONE), _R(IDS_VALIGNBOTTOM), _R(IDS_VALIGNCENTRE), _R(IDS_VALIGNTOP), _R(IDS_VDISTRIBUTEBOTTOM), _R(IDS_VDISTRIBUTECENTRE), _R(IDS_VDISTRIBUTETOP), _R(IDS_VDISTRIBUTEEQUI), 0} Definition at line 159 of file aligndlg.cpp. |