|
. i7 ^8 S0 j& q
#
! i, N; L$ @" [# ALLEGRO GLOBAL Environment file+ V _, K N' p
#" N s. P9 \6 u- D; v
1 M% c8 [2 M1 h+ K' h( A# The following variables are set by the software if not preset by user:$ h0 t: u! B6 T& I4 q
# CDS_SITE, ALLEGRO_SITE, TELENV, ALLEGRO_INSTALL_DIR,
5 Q' A+ Z1 m" U, K$ n! k# ALLEGRO_INSTALL_TOOLS, ALLEGRO_INSTALL_ROOT, ALLEGRO_TYPE,
! Q; P- l- H ?7 R% q. F! p# __UNIX (if UNIX), _PROGRAM, HOME
2 G/ }4 q0 U/ o9 ^3 m6 S#
, v6 u7 s. I. m/ @! e; h+ y# You may set the Operating System variable:
% p5 J/ u7 E. X: d C3 v7 d6 ~# ALLEGRO_PCBENV <alternative directory>5 a$ R4 W. J6 ]4 y, K& I% f% U" ~
# to overwrite the default of the user's pcbenv directory. This variable: [/ W7 W( P' q& Q8 |/ q
# must be set at the OS level and has no effect if set in an Allegro env file.3 S, ]4 _9 l6 v O* E
# The directory given must exist. If no directory is found the system will
) ^$ l& C7 p2 v3 ~) y# fallback to its default location.
4 H2 E; q7 l3 Q0 Z$ p/ j#
5 X/ M+ c: ?* q0 L$ H# The following variables are preset at startup, direct settings in env7 r( m! d7 X6 {: A: e
# files will be overridden
+ i9 S) H9 n( d0 g3 j4 B# LOCALENV: seeded based upon <HOME>/pcbenv (or if set ALLEGRO_PCBENV)4 A, K% `& V) V6 ^0 i
# LOCALPATH: seeded based upon . LOCALENV, ALLEGRO_SITE, GLOBALPATH5 M' i9 b2 j X6 R; R8 T+ z
# Variable names are case insensitive) p4 v3 w4 V$ F T" a- m7 k
; j. g2 \) s) m7 z% x4 ~4 \9 v- a4 N#--------------------------------------------------------------------- q2 d; v9 ~$ K! r0 z) A
# System Variables
8 ]( m, ^8 A7 X& b ~7 h' tset GLOBAL = $ALLEGRO_INSTALL_DIR/text
; q$ s. `: R, Z
H( v: S$ H( u4 }# change from LIBPATH because it conflicts with IBM's shared library
% f4 H2 T g! r4 A# environment variable
1 f# ]/ H) z; Z5 i S3 \9 j+ Fset ALIBPATH = $ALLEGRO_INSTALL_DIR/pcb_lib
4 V- T* A& l3 D+ U: o7 \8 v# K+ ?; K5 ~/ `
set COMPLIBPATH = $ALLEGRO_INSTALL_DIR/allegrolib
, p4 h: U% `9 ?; o; o" Y# l4 D" H; B) `5 J
set GLOBALPATH = . $GLOBAL& A9 q+ _- M/ a) k7 `+ P5 Y* K
" k; v" i" }* d" A, v# Allegro Data Services Variable
: Z4 {' B, {' E2 c7 z3 K6 N+ e8 ?set ADSPATH = $GLOBALPATH
' K8 [- Z6 D& ~* N% S" c$ L$ I
% g& q Z$ N) z l& T+ Q. V: D) j8 H# Present for compatiblity with older versions of Allegro.; j) p( d% B1 T- ` [) |6 R8 I! Y; Y4 U
ifnvar ALLEGRO_SITE "set ALLEGRO_SITE ."
* W& Z$ d" b& ]; b: z2 Lifnvar CDSPLAT "set CDSPLAT "6 R5 {/ S) o$ I7 m8 K! W$ {
ifnvar ALLEGRO_INSTALL_DLL "set ALLEGRO_INSTALL_DLL "- h8 }1 Q; K/ o' b O# |/ a
( X5 x4 a( E, b# a! [#--------------------------------------------------------------------& h: R- d S8 G5 g. a5 g5 F+ S
# Configuration variables (Don't change)
* {. U" }9 p" u/ Eset BMPPATH = . $ALLEGRO_SITE/icons $GLOBAL/icons $ALLEGRO_INSTALL_ROOT/share/fsp/legends $ALLEGRO_INSTALL_ROOT/tools/fsp/legends# V1 u _. R7 F) V* |( } a
set FORMPATH = . $ALLEGRO_SITE/forms $GLOBAL/forms, i% c! s Z* p) w g# L
set MENUPATH = . $ALLEGRO_SITE/menus $GLOBAL/cuimenus7 k, R2 {/ d; O; p
) r. c% V* |5 d! R [! Y& `
set MATERIALPATH = . $LOCALENV $ALLEGRO_SITE $GLOBAL $GLOBAL/materials: y& k" t6 S. I+ S
set CAPATH = . $LOCALENV $ALLEGRO_SITE $ALLEGRO_INSTALL_DIR/channelanalysis
$ c9 j! T: \5 n: [, R7 v/ bset AMIMODELPATH = . $LOCALENV $ALLEGRO_SITE/ami/$CDSPLAT $ALLEGRO_INSTALL_DIR/channelanalysis/ami/toolkit/dll/$CDSPLAT
8 Y6 I& `6 q. g- u; Q2 g7 ^. S+ f- Y2 b. i
#Configuration paths
' Y+ `) P$ p9 J: N2 Mset PRFEDITPATH = . $LOCALENV/configure/prfedit $ALLEGRO_SITE/configure/prfedit $ALLEGRO_INSTALL_DIR/configure/prfedit. u9 _1 n4 g9 b; A
set BATCHHELPPATH = . $ALLEGRO_INSTALL_DIR/batchhelp7 K+ U6 A" K2 b4 \: n- m; G8 Q; Q
set SPROUTEPATH = $ALLEGRO_INSTALL_DIR/configure/sproute
0 [2 Q( L! X6 M: Z+ O' c' @ l3 w$ T5 b
set HELPPATH = . $ALLEGRO_INSTALL_DIR/help $GLOBAL/help
4 r1 N5 C1 u; |1 [( e$ O0 ^3 Oset PDFPATH = . $ALLEGRO_INSTALL_DIR/help/pdf1 O: K4 o- y3 r |( D Q8 t
% ]8 e' l' U0 D- M$ S# L
# Graphics demo env/ H7 J! g: L: j2 [* l2 Q
set IMAGEPATH = . $ALLEGRO_INSTALL_DIR/examples/image' M" N+ c( y% a* M/ \
. i2 X$ _0 M" G$ z3 Y0 T
# Allegro Plugin search path
7 a! ^; _# d9 q) R/ Sset AXLPLUGINPATH = . $LOCALENV/$CDSPLAT $ALLEGRO_SITE/$CDSPLAT $ALLEGRO_INSTALL_DLL
# _! C* g4 c: y5 J4 O# l$ u8 I
+ Z* L! R) }2 B8 D- w# Library path for Interfaces
5 E, W& i1 b2 W1 T3 ]- r. f3 wset INTERFACEPATH = $ALLEGRO_INSTALL_ROOT/share/library/interface% c N) I8 |0 P; N' l- l( `
, f) D S$ l! }8 W; l#--------------------------------------------------------------------* Z& M' I) K+ G% \" t- P$ z
# Drawing font
: U2 d7 p# p' K7 }) Xset VECTORFONTPATH = . $GLOBAL# c, y4 b4 {, y1 e8 B/ d* Q
set ANSIFONT = ansifont
1 H1 |' ~7 l s$ e) N1 m3 hset KANJIFONTPATH = . $GLOBAL/fonts/kanji
5 b F C; B, I# Y- x+ Wset KANJIFONT1 = kanjifont1" A3 p$ x& F0 g1 [* a; Q
set KANJIFONT2 = kanjifont2/ e# C, l+ J( u- z4 d) ]
, q# n: b5 }! _( }; H
#--------------------------------------------------------------------0 A) H/ |# ^: M! Q/ i* F' y8 e
# Display Variables2 E+ t6 G1 H7 r" S
8 Z2 ^0 k8 Z$ y% Y5 Q# O8 R4 Q; p
set display_backingstore on
, M4 ~/ s/ X7 y7 t' ^2 t9 l" t3 @+ g+ G5 Q
# disable repair under ratsnests
" A2 e$ ^ }2 \% U- t9 }( K5 \- Mset display_shapefill_analysis 1
5 p- ^( m$ h# N' O
|. t% m" ]4 [, \# disable HTML datatips by default
3 K4 f* f7 ^2 M+ ^$ dset disable_html_datatip_style
( Y: `' e# k: w1 B. F1 U9 j- N* V8 r1 ~8 F" E; G. U
# set infinite_cursor_bug_nt
+ G2 n0 Q+ K1 C9 K2 B0 e4 a" O( t, z% P" l
# enable html as default for long message windows
2 P6 N) W% g% G6 |/ yset allegro_html
6 h) p) N3 T" \6 d
' {0 E/ m, M) G T; t5 ~: Q#--------------------------------------------------------------------& D5 `& `0 j/ P2 [
#--------------------------------------------------------------------
/ x! `4 X) z0 S2 d6 D8 B) yset compalib = $ALIBPATH/symbols $COMPLIBPATH/symbols
; K! ], I# u0 c3 cset topfilelib = $ALIBPATH/templates $COMPLIBPATH/templates
. |. ] v# B: T( y6 x9 w0 N2 Tset signal_install_dir = $ALLEGRO_INSTALL_DIR/signal
. P# A/ L$ p/ L$ v1 eset signal_optlib_dir = $signal_install_dir/optlib
$ {& @/ V( m( r2 B
, @; S* P* b+ l3 }% K6 T; Xset MODULEPATH = . $ALLEGRO_SITE/modules
k% r5 D$ k- f! \* d9 lset TILEPATH = . $ALLEGRO_SITE/modules7 C1 G4 D( S8 W6 v$ D7 P
set WBPATH = . $ALLEGRO_SITE/wbtiers
& R1 X( t+ c+ R3 }set PADPATH = . symbols .. ../symbols $ALLEGRO_SITE/padstacks $compalib% L8 O( h* u0 ]: u5 D0 ^
set PSMPATH = . symbols .. ../symbols $ALLEGRO_SITE/symbols $compalib
8 n! p% t. E; |: h& `' ^5 X* i! Oset pcell_lib_path = $ALLEGRO_SITE/../../rfsip/sip_pcells . sip_pcells .. ../sip_pcells $ALLEGRO_INSTALL_DIR/../rfsip/sip_pcells - f4 D; s/ r4 B( Y! I/ a9 d" b* n
set TECHPATH = . $ALLEGRO_SITE/tech $GLOBAL/tech
$ K. D u/ t( e7 ~& C& O, Aset PARAMPATH = . $ALLEGRO_SITE/parameter % ]* P3 ~! o. L
set TOPOLOGY_TEMPLATE_PATH = . templates .. ../templates $ALLEGRO_SITE/topology $topfilelib/ w+ q5 H7 @! Q8 l
& n5 U5 e& x3 U9 Z( o$ R& }# SigNoise data installation directory) U2 ^- M) f; k8 M" Z$ i
set SIGNOISEPATH = . $LOCALENV $ALLEGRO_SITE/signal $signal_install_dir $signal_optlib_dir $GLOBAL& x7 x X9 ?6 m& Q) a
, |( o( ~0 }, [% p, b5 c
# SigNoise model variables.4 K- l- A1 m* Z: W' c
set SI_MODEL_PATH = . $ALLEGRO_SITE/signal $signal_install_dir
% p0 B3 y5 N* G& `( {1 Bset SI_MODEL_FILE_EXT = Generic_IBIS(ibs) IBIS_Buffer(buf) IBIS_EBD(ebd) IBIS_ICM(icm) IBIS_Pin_List(pin) IBIS_Package(pkg) Quad(mod) Generic_SPICE(spc) HSpice_Input(sp) HSpice_Output(lis) Spectre(spc) Touchstone(s?p,s??p,ts) DML(ndx,dml) Interconnect(iml) ABIML(abiml)7 t9 | X/ p% K
: f0 H1 }7 c- h" V% v; ~* j
#--------------------------------------------------------------------
: v3 t- \ I' C; I+ b4 I7 ~# Non-HDL Supported Design Search Path Variables) W9 _3 e! b; A$ m
set MISCPATH = . $ALLEGRO_SITE/misc $GLOBAL
" f5 }& B# l# V& ~" F, xset ARTPATH = . .. $ALLEGRO_SITE2 p; `' }9 ~. E* |- p, \# Y: }
set APTPATH = . .. $ALLEGRO_SITE% Z% u4 N# w* v J' c0 x) {! _5 M
set CLIPPATH = .
8 F5 ]6 ?; K7 e4 I' a; S/ lset DCLPATH = . .. $ALIBPATH $COMPLIBPATH
r* O! f! H- y k/ zset DEVPATH = . devices .. ../devices $ALLEGRO_SITE/devices $ALIBPATH/devices $COMPLIBPATH/devices
' F0 I: j1 `- |: W4 v& pset DFAAUDITPATH = . $ALLEGRO_SITE/assembly $ALLEGRO_INSTALL_DIR/assembly# s1 [% I& i7 L! N& P U
set DFACNSPATH = . dfa .. ../dfa $ALLEGRO_SITE/dfa
' I6 } n! m9 |# A3 {: I' Fset NCDPATH = . .. $ALLEGRO_SITE/nclegend $GLOBAL/nclegend
2 n$ e2 P: y4 [, ^set SCRIPTPATH = . $ALLEGRO_SITE/scripts $GLOBAL/script
, P$ V( H$ u& w4 u" k2 ]set TEXTPATH = . $ALLEGRO_SITE/extracta $GLOBAL/views8 `. t7 V/ U; i& a# e8 n
set VIEWPATH = . $ALLEGRO_SITE/views) n/ u' [( L2 s9 J5 B y
set XTALK_TABLE_PATH = . xtalk_tables .. ../xtalk_tables $ALLEGRO_SITE/xtalk $ALIBPATH/xtalk_tables
% B" \. {' X/ w' e; q0 G3 ]$ aset WIZARD_TEMPLATE_PATH = $ALLEGRO_SITE/new_templates $ALLEGRO_INSTALL_DIR/pcb_lib/symbols/template 5 o' }" m5 r, K4 C9 @7 V) [# I+ P
set LDFPATH = .
& j6 }! {1 l, d0 c: \, }, a% e! Z
# System Configuration .scf file search path
' _% w& |5 h1 r) r+ Z) [- {set SCFPATH = . scfs .. ../scfs ( _/ ?) G( ?! o; M& e# m
! `' \% L0 W$ b' d7 K- G2 T8 @, b& P# Display the headsup meter in a fixed position in the control panel.
1 h. S0 f4 ^. I9 q% \) |set allegro_dynam_timing_fixedpos9 T% ^1 t- x( _) J( j
8 D% ?5 I, F/ u' a/ r6 P: `# For IC Packaging tools (APD and SiP tools), the following defaults the$ Q; C, Z1 f+ s; {
# HUD for the wirebond tools to updating 25 times per second. , @: z- R& K, F4 ^( N
8 j& ]3 m/ f/ j6 O. Y
set wirebond_hud_update_frequency 251 F% a# O! N- U# ^/ y& s+ y' C
# By default, suppress bond wire DRCs that are 3D in nature but being
, s) `6 I& N' H6 s5 I5 Z3 H# checked in 2D. By default, the APD/SiP tools will only report wire
* _0 p: ~4 i" ^2 V* T4 g# violations if they occur over top of the end item (finger or pin) and
: [& A' x% x P/ g# the two wires are on different nets.$ p. k3 B$ ` A( }, x
set wirebond_suppress_bondwire_drcs! {3 v7 i- a, F: U
8 c, o; J( p+ I3 g/ ?" a# enable license caching for better toolswap performance3 R) o( v7 K' H$ \7 h
set allegro_license_caching" L1 k( [+ {: E W$ N" P1 U
: J& k" S& f+ `/ B* X( u#--------------------------------------------------------------------
% J) m4 I* W, T) [. S#--------------------------------------------------------------------
+ O! `4 a: g1 s& \: v# alias/ P8 r0 U6 r, o1 k& u% c1 V
# May use function keys F2-F12, most Alpha-numberic keys with control
4 S7 z# N3 B/ L. z+ |$ j8 l: _# modifier (although Control - C, V and X are reserved for copy, paste and cut)
. z9 x: D# M8 {# and Navigation Keys (Home, Up arrow, Esc, etc.) These items may be modifed
$ v, j, X( T" t5 X9 k# by the following:
' Z" \. D0 X, ~ } k# Modifier Indicator Example
+ h, o& F6 [7 l9 k2 q# Shift S SF2 1 y) V) E3 T# K% i, }; \
# Control C (function keys) CF2
; b, \' S7 x ^1 T2 ~# Control ~ (alpha-numeric) ~N) l% p" A% K+ n" G: p
# Meta A AF2
% I/ I0 S0 p2 ~. g( F# Modifiers may be combined. Some examples: + I- u5 J& z5 O5 B# f0 H" K
# CSF2 Control-Shift F2: q. f6 q0 d- Y+ v- l: B
# ASF2 Meta-Shift F2& |5 Q) _ b/ @, a
# CAF2 Control-Meta F2 ^8 d( @ ?2 ]' W( h8 M9 r
# CASF2 Control-Meta-Shift F2% P6 t; E) n" x9 o4 V
# ~SZ Control-Shift Z2 C9 @; H, W0 P2 _' g' {
# SUp Shift-Up Arrow
; A9 M4 ?0 J' g# CUp Control-Up Arrow
$ e* F- E( l' B9 r6 r9 P4 {#% z. A( `( _( p5 T% R4 c& R
# funckey) Y5 C A& \! ^* ?# X' r* x! s& U
# use the funckey when you wish to have alphanumeric keys operate6 }7 A" e$ [+ Q; T0 M$ f
# like the Function keys when the cursor is in the Allegro canvas.
`. T! j4 L& M+ X e9 P# " _6 `4 N. ]7 _& w1 z
# Example -- following starts the move command without a Enter key* k; c) ^* C8 ~
# funckey m move( ~7 e5 X9 d2 y+ n0 S4 d7 b
! }, ]# ^. ^ \6 O: R, t#--------------------------------------------------------------------
3 `7 `, C0 u+ Z( _( k/ G: S& s5 K# Bind roam operations to function keys5 w# y: B: J. b/ M Z
set roamInc = 96% N9 x8 O+ N% I: k# f6 J# S
funckey Up "roam y -$roamInc"
\5 O! {6 X5 P. B. }( D6 c& Xfunckey Down "roam y $roamInc"
L3 W1 w# G9 bfunckey Left "roam x -$roamInc", ]$ _* b/ k% V D3 m" U
funckey Right "roam x $roamInc"
( R. k- \# J$ T
: T$ T, Q3 v; V# Bind incremental pick by grid unit functions to ctrl and shift--arrow keys
/ U' B& ?! \2 q0 x" Kalias CUp "ipick 0; ipick_to_gridunit 0 +1"/ m1 S1 ]* [1 {2 s' M( L
alias CDown "ipick 0; ipick_to_gridunit 0 -1"! T! ~- V. |7 I
alias CLeft "ipick 0; ipick_to_gridunit -1"# v/ b) w u, x/ k9 l5 c! G) \
alias CRight "ipick 0; ipick_to_gridunit +1"
& m3 d1 G7 d- Y2 x# U. {' Yalias SUp "move; ipick_to_gridunit 0 +1"+ J* j5 b- A/ Z0 W6 K7 X
alias SDown "move; ipick_to_gridunit 0 -1"
$ w& _* T G: M+ k+ c/ palias SLeft "move; ipick_to_gridunit -1"
3 I, z$ l6 ^! O: |0 ualias SRight "move; ipick_to_gridunit +1"
$ d$ F0 B' v D2 [) O
0 X7 W, h: { o* V# example of a funckey to emulate Layout capability
# [4 s! k% S" e/ X, T/ g# The "-cursor" option can be added to any Allegro command with the pick familty+ V, z! a9 x+ |& l: J
# and we utilize the position under the cursor when the command is execute. So
! ^1 b' m6 P. V+ {2 L: y- K9 R# this example would center the display to position under the cursor when the 'c' key
+ B( ]2 z9 j+ z- O, B1 I$ s3 I- m# is pressed.# c$ o2 p# K$ t- H0 W
# funckey c "zoom center; pick -cursor"
# A t+ A: w q* [) L, _* p. h6 d
#--------------------------------------------------------------------! X' k( K" r2 @! o+ p6 f Q
# F1 is normally reserved by the system for Help so we don't use it
1 \% |4 Y4 W# ? p, Xalias F2 zoom fit
. c8 E& e. o* |1 h+ ]alias F3 add connect
) d4 X' A$ H; Z4 L, H' Walias F4 next
4 e; V. F, {* E/ t( \7 f# alias F3 add connect7 a1 _" B5 w" ]" r" H; s: G
# alias F4 show element; V7 T/ |0 w5 ~4 u* t
alias F5 zoom in
! Z7 w! E' z5 F) A' R- j$ Malias F6 zoom out
' m% @; Z& W' L3 f# alias F5 redraw
3 E- J( l: p. K9 X# alias F6 done
; L3 w# _3 N, C0 ?2 Halias F7 next# A6 x5 S' s2 I7 S; D8 \
alias End next, e! M. F; l4 T% K6 ~& n! W' l
alias F8 save* j& f+ j0 _; G0 d: } Q
alias F9 cancel+ u9 R, [& ^, H+ A- [0 Y
alias F10 grid toggle! d, w. i- l }- x. Y7 N2 E, v- e
alias F11 zoom in' t1 q' F8 j- O1 C
alias F12 zoom out
" } _& S% E- `# q" L( Oalias Pgup zoom in #ning9 n- h8 F! A1 Z6 p0 {
alias Pgdown zoom out #ning
0 d+ c7 W& {" H9 E' N- F2 Aalias SF2 property edit
1 S* J- N; Q9 v: valias SF3 slide: b& R5 y( j2 S
alias SF4 show measure& d& d$ t" O0 A% I: E
alias SF5 copy8 p, I+ B2 v0 n0 y% N t
alias SF6 move
+ |$ s/ d* x& z4 F9 N$ R9 I& Ualias SF7 dehilight all* `5 X/ S" N4 N& k. K* t
alias SF8 hilight pick
8 C6 D+ j R2 y* i3 Yalias SF9 vertex+ w5 p7 Y( N* o# p2 P+ P' y
alias SF10 save_as temp
! F+ c1 H9 P: g8 J5 aalias SF11 zoom previous1 v% I1 F8 W3 Y0 i9 d1 I
alias SF12 zoom world
) ]" l( O' Z' d" _+ k3 D5 ]alias CF2 next
" u% F7 P' U% I1 b3 l7 Ralias CF5 color192
% o- j* ^% r- w# i* [6 e/ Z# @alias CF6 layer priority$ O, T9 V+ e2 y; ~6 \
alias CSF5 status
+ s4 h4 A$ O9 D* M/ a4 p! r. `alias ~N new
" V$ t, c/ I; p% }! dalias ~O open/ g( b% Z# k/ ^4 w: {6 B1 p
alias ~S save1 h" k5 z* R% w9 d- R
alias ~D delete/ c" E) C8 q6 y# a: @3 ]
alias ~Z undo+ l4 \+ z" b# K- E3 j0 @" r% i
funckey + subclass -+0 T4 K- n2 a4 }" P
funckey - subclass --
1 r0 A& j* U- V& p9 ]alias jc FIND component #查找元件
# U& b$ d$ T dalias nn Assign Net #查找元件5 B' F2 R) K* f6 e5 a
funckey ' ' iangle 90 #以90度旋转选中的物体
% C1 Z. H# g) U* r, y#--------------------------------------------------------------------
& z& H. s1 S: p' k) L7 g% a# OTHER ALIASES # z& h" ?: U6 K, I q2 h, v$ H
alias edps padedit6 k$ D# j. u7 V8 r% i' F; x& z% z
alias rps "replace padstack"
U0 H" r* o; m$ }. H9 ?3 xalias unplrp report unplaced4 ~5 i+ p1 s9 ^' h u
alias x pick! T) Y7 W8 n8 U' S: B5 _6 r' z# [
alias y pick l
/ t7 I8 q! {: y6 X. z3 _0 Oalias ix ipick1 X# h5 t2 `+ k# Y
alias iy ipick 0: N K4 V; K, X, B+ K, U
alias reopen 'open -q $module'1 b0 g3 I) Y+ {9 F8 J, f
alias revert 'open -q $module'0 B0 v1 M* l2 s1 ?
8 ~4 n# }) D9 z9 w
# autoroam& s( z8 M* h6 s7 @
alias sar set pcb_autoroam1 K5 @9 m A) X! p. o! A
alias uar unset pcb_autoroam
: T: o/ ?0 }. L* C
6 q+ B/ Q$ k0 L u! y# {alias bubset 'settoggle shove_mode Off "Hug preferred" "Shove preferred"; options bubble_space $shove_mode'
4 s% W7 _# b7 P( ealias ~B bubset
* t- E$ i2 G: L3 f0 a8 Ealias smoothset 'settoggle smooth_mode Off Minimal Full; options smooth_level $smooth_mode'8 d; O% ], W, v) Y8 f
alias ~C smoothset
6 a. F+ \5 s6 g& D( w2 G* @* S$ [ ~6 B% `! a/ r
5 Z. v% a( v7 x( S3 }#--------------------------------------------------------------------( f. n( p' Q: E" G1 Z" E
# COMMAND DEFAULTS
; O) Y1 k3 l h8 Y# allow slide to work on arcs by default( t7 E5 b" P/ M6 P7 S% Z# N) i
set slide_arcs
2 M3 ^' j M+ }9 }. e
" s( U. _% U8 Y% x' _# Compatibility aliases
. j2 M' W) F; X. ^alias window zoom
$ j9 k }, f+ p- p# Yalias hilite hilight
$ }# I8 I9 J* K$ G8 O3 V' r9 _alias dehilite dehilight
) j3 Y0 |/ V8 P; `- Talias pickx pick( t! _ d1 {1 H+ j$ y! U6 C( Z) i
alias picky pick l
8 {4 e9 [% K/ l& r$ w+ walias ipickx ipick* Q/ C# E3 L) E0 l0 E/ I
alias ipicky ipick 0: L3 B5 a Z! C% o: k
alias cdnshelp cdsdoc( [& @9 |! E; N" I
. ?" N/ V X" Z#--------------------------------------------------------------------
% W$ b* K. s \# l! `# MOUSE WHEEL SUPPORT
" p: c! m: v" y" X- ~, c# Environment Variables - Note quote variables so they are evaluated
9 j9 O( ~, c" J( u# at button time not when this file is read.
3 V" K0 @4 e! `( _+ ~# - _wheelcnt variable is set based upon number of detents wheel moved
; \3 e9 P$ P; U( z# range is -4 to 4 (no 0)
7 C( a( h! M/ x: h$ F7 Y* r# - sx1 and sy1 are cursor coordinates when wheel is moved
/ ]" o4 s$ i2 p9 h( p5 u, f#( C7 e) H/ u5 P: }0 O# g2 Y2 ~
# Button values
$ D$ {& ]' D# d/ Z( g4 w9 m# wheel_up: when wheel is moved up
' L* N3 h6 l& N7 p9 b# wheel_down: when wheel is moved down# ~- ~+ B6 Q- G. G, R
# wheel: up/down if either of above 2 buttons are not assigned1 G5 S1 Q% U1 p( B$ G, {0 u- I
#
' b0 r) g* { H. s+ A# Keyboard modifiers (note we are case insensitive); v) H" K. R# P( f7 U; L3 r
# S - shift key
4 _' {( h3 D* q+ o" P' P5 t8 [# C - control key
: M- p& I/ \7 \ I, E# SC - shift and control: I0 X2 h$ z( T, s
# Example: SCwheel - for wheel button assignment with both shift & control keys) I# j% }: K( |
#
6 _) n' V; {$ ~" P z# a- |
) v# ?* Q/ B# M1 w! T( B: S# Button factor may be factorion (e.g. 0.5)3 n! j- J$ G: T# F q' @: n
set buttonfactor = 1: ?; [4 `: C H$ `5 v
! D* y% R r) xbutton wheel_up "zoom in $buttonfactor"# s: Y7 d/ S; `" a% P( ?
button wheel_down "zoom out $buttonfactor"' C4 [# V T" i) P# E: _' i" k6 V
button Cwheel_up "zoom in $buttonfactor"2 {' |# Z0 S: s1 F8 a* N6 w
button Cwheel_down "zoom out $buttonfactor", G! t" F0 ~* ^: P; g
2 R9 d2 G4 t! ?4 P" H0 Usource -q $ALLEGRO_SITE/site.env
1 e7 L% \! b+ _- C请问是哪句,我怎么没找到! |
|