403Webshell
Server IP : 182.53.201.61  /  Your IP : 216.73.217.175
Web Server : Apache/2.2.15 (Fedora)
System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686
User : apache ( 48)
PHP Version : 5.3.3
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/python2.6/site-packages/orca/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python2.6/site-packages/orca/mag.pyc
z#Jc@sdZdZdZdZdZdZddkZyddkZWnnXddkZddk	Z	ddk
Z
ddkZddkZddk
Z
ddkZddklZeZy/ddkZeid	ddkZeZWnnXeadadad
ad
ad
ad
ad
a d
a!da"da#da$da%da&eia'ea(ea)ea*ea+da,da-da.da/da0da1da2dZ3dZ4d
Z5d
dZ6dZ7dZ8dZ9dZ:ddddddZ;ddZ<dZ=dZ>ddZ?dZ@dZAddddddZBedZCedZDedZEedZFd
d
d
edZGd
d
d
ed ZHed!ZIed"ZJed#ZKed$ZLed%ZMed&ZNed'ZOd(ZPd)ZQd*ZRd+ZSd,ZTd-ZUd.ZVd/ZWd0ZXd1ZYddd2ZZddd3Z[ddd4Z\ddd5Z]ddd6Z^ddd7Z_dS(8sManages the magnifier for orca.  [[[TODO: WDW - this is very very
early in development.  One might even say it is pre-prototype.]]]s$Id$s
$Revision$s$Date$s-Copyright (c) 2005-2008 Sun Microsystems Inc.tLGPLiN(t_tGNOME_MagnifiericCsStitid|i|i|i|if|ati	tti
tdS(sbSets the region of interest.

    Arguments:
    - rect: A GNOME.Magnifier.RectBounds object.
    s#mag.py:__setROI: (%d, %d), (%d, %d)N(tdebugtprintlnt	LEVEL_ALLtx1ty1tx2ty2t_roit_zoomertsetROIt	markDirty(trect((s,/usr/lib/python2.6/site-packages/orca/mag.pyt__setROIs
	 
cCstpdS|tjo
t}n|tjo
t}n|tjo
t}n|tjo
t}n|td}|td}|t}|t}tti	i
||||dS(sCenters the region of interest around the given point.

    Arguments:
    - x: integer in unzoomed system coordinates representing x component
    - y: integer in unzoomed system coordinates representing y component
    Ni(t_initializedt_minROIXt_maxROIXt_minROIYt_maxROIYt	_roiWidtht
_roiHeightRtGNOMEt	Magnifiert
RectBounds(txtyRRRR	((s,/usr/lib/python2.6/site-packages/orca/mag.pyt__setROICenters









cCstiititititi}|tijo||_|t|_n+|tijo||_|t|_n|tijo||_|t	|_n+|tijo||_|t	|_nt
ot|ndS(s+Nudges the ROI if the pointer bumps into the edge of it.  The point
    given is assumed to be the point where the mouse pointer is.

    Arguments:
    - x: integer in unzoomed system coordinates representing x component
    - y: integer in unzoomed system coordinates representing y component
    N(RRRR
RRRR	RRtTrueR(RRtnewROI((s,/usr/lib/python2.6/site-packages/orca/mag.pyt__setROIPushs
'				cCst|dd}|titi}|titi}||tij}|||tij}||tij}	|||tij}
|p|}|	p|
}|o|ot	i
tnti}
ti}ti}ti}|o$tti||}
|
t}nW|oOtti||}|tjo|}
|
t}qo||}|t}
n|	o$tti||}|t
}nW|
oOtti||}|t
jo|}|t
}q||}|t
}nttii|
|||dS(sNudges the ROI if the caret or control is not visible.

    Arguments:
    - x: integer in unzoomed system coordinates representing x component
    - y: integer in unzoomed system coordinates representing y component
    - width: integer in unzoomed system coordinates representing the width
    - height: integer in unzoomed system coordinates representing the height
    - edgeMargin: a percentage representing how close to the edge we can get
                  before we need to push
    i2gY@N(tmint_sourceDisplayBoundsRtsettingst
magZoomFactorR	R
RRRR
tmaxRRRRRR(RRtwidththeightt
edgeMargintedgeMarginXtedgeMarginYt	leftOfROIt
rightOfROItaboveROItbelowROItvisibleXtvisibleYRRRR	((s,/usr/lib/python2.6/site-packages/orca/mag.pyt__setROICursorPushsH
				



cCstpdStpt||ntitid}titid}|||}|||}|t|td}|t|t	d}t||dS(sPositions the ROI proportionally to where the pointer is on the screen.

    Arguments:
    - x: integer in unzoomed system coordinates representing x component
    - y: integer in unzoomed system coordinates representing y component
    Ng@(
RR!RRRR	RtintRR(RRthalfScreenWidththalfScreenHeighttproportionXtproportionYtcenterXtcenterY((s,/usr/lib/python2.6/site-packages/orca/mag.pyt__setROIProportional3scCs
titdj}tia|i|i}}to-|o&toti|jo
tijno!ti	|jo
ti
jn}|otiot
tijo,titid}ti	ti
d}nit
tijoXytiiid}Wn
d}nX|o!|i}|i|id}qHnti||dtaqintoti||ntotatitdSt
tijot ||nCt
ti!jot"||n"t
tijot#||ndS(sC
    Arguments:
    - e: at-spi event from the at-api registry
    iiitabsN($ttimet_lastMouseEventTimetdetail1tdetail2t_pointerFollowsZoomert_lastMouseEventWasRouteR
RRRR	t
orca_statetlocusOfFocust_mouseTrackingR"tMAG_TRACKING_MODE_CENTEREDtMAG_TRACKING_MODE_NONEtqueryComponentt
getExtentstNoneRRR&teventsynthesizertgenerateMouseEventRt_pollMouseDisabledRt
setPointerPostFalseR
tMAG_TRACKING_MODE_PUSHRtMAG_TRACKING_MODE_PROPORTIONALR8R(tetisNewMouseMovementRRtmouseIsVisibletextents((s,/usr/lib/python2.6/site-packages/orca/mag.pyt__onMouseEventPs@	G
	
cCsd}|djod|i|if}n|djo&d|i|i|i|if}ng|djo&d|i|i|i|if}n4|djo&d|i|i|i|if}n|S(Ntscursor-hotspots(%d, %d)ssource-display-boundss(%d, %d),(%d, %d)starget-display-boundstviewport(RRRRRR	(tslottvaluet	valueText((s,/usr/lib/python2.6/site-packages/orca/mag.pyt__getValueTexts

#
#
#cCs|i}|id}dG|idGHx|D]}|d
joq4nd|GHdG|i|GHdG|i|GH|i|i}dG|Gt||GH|i|i}d	G|Gt||GHHq4WdS(NRTs  Available slots: s
cursor-setssmoothing-types    About '%s':s    Doc Title:s	    Type:s    Default value:s    Current value:(s
cursor-setssmoothing-type(t
getPropertiestgetKeystgetDocTitletgetTypet
getDefaultRWRYtgetValue(tobjtpbagtslotsRVRW((s,/usr/lib/python2.6/site-packages/orca/mag.pyt__dumpPropertyBags
	cCs~ti|p
h}nytit_WnnXytit_WnnXytiaWnt	i
t	inX|idti
}|o8to1titijo|tijottntttiatidi}tp
|anto
t}nto2|tijo"d}d}	|i}
|i}n|tijo&d}d}	|i}
|id}n|tijo)d}|id}	|i}
|i}n|tijo&d}d}	|id}
|i}nz|tijo)|id}d}	|i}
|i}nA|pti}|pti}	|pti }
|pti!}|t"_#t}totitijovt}
tidi}|i$p|ip|i%p
|io
t}
n|
oI|i$|i$jo6|i|ijo#|i%|i%jo|i|ij}|i|i$|i|i%}|
|||	}||djot	i&t	id|
p|o?t	i&t	id|i}
|id}|i%}	|i}q
|idjot}t	i&t	idq
qn|o_tidi}ti'dt(i)i*t(i)i+|i,i-t.i/i0||	|
|nt1i2td	d
|idti3}|idti4}|id
ti5}t6|||t|idti7}t8d|t|idti9}t8d|t|idti:}t;|t|idti<}t=|t|p|t"_>dS(sCreates the magnifier in the position specified.

    Arguments:
    - position: the position/type of zoomer (full, left half, etc.)
    - left:     the left edge of the zoomer (only applicable for custom)
    - top:      the top edge of the zoomer (only applicable for custom)
    - right:    the right edge of the zoomer (only applicable for custom)
    - bottom:   the top edge of the zoomer (only applicable for custom)
    - restore:  a dictionary of all of the settings which should be restored
    t
magHideCursorssource-display-boundsiistarget-display-boundssComposite is not being used. The preferred target area is
greater than 50% of the source area.  These settings can
render the contents of the screen inaccessible.s6Setting the target display to the screen's right half.s4Gnome-mag is already running.  Using those settings.s
cursor-settdefaulttenableMagCursortenableMagCursorExplicitSizet
magCursorSizetmagCursorColorscursor-colortmagCrossHairColorscrosswire-colortenableMagCrossHairtenableMagCrossHairClipN(?t
_magnifiertclearAllZoomRegionsR"tmagTargetDisplayt
TargetDisplaytmagSourceDisplayt
SourceDisplaytfullScreenCapablet_fullScreenCapableRtprintExceptiont
LEVEL_WARNINGtgetRdtMAG_ZOOMER_TYPE_FULL_SCREENthideSystemPointerRRLRZt_magnifierPBagR_RWt_originalSourceDisplayBoundst_liveUpdatingMagnifierRR	tMAG_ZOOMER_TYPE_TOP_HALFtMAG_ZOOMER_TYPE_BOTTOM_HALFtMAG_ZOOMER_TYPE_LEFT_HALFtMAG_ZOOMER_TYPE_RIGHT_HALFt
magZoomerLefttmagZoomerToptmagZoomerRighttmagZoomerBottomR@t
zoomerTypeRRRtsetValuetORBittCORBAtAnytTypeCodet__typecode__trepo_idRRRtbonobotpbclient_set_stringRfRgRhtsetMagnifierCursorRitsetMagnifierObjectColorRjRktsetMagnifierCrossHairRltsetMagnifierCrossHairCliptmouseEnhancementsEnabled(tpositiontleftttoptrighttbottomtrestoret
hideCursortsdbtprefLefttprefTopt	prefRightt
prefBottomtupdateTargettmagAlreadyRunningttdbt
magFullScreent
sourceAreatprefAreatenableCursortexplicitSizetsizeRWtenableCrossHair((s,/usr/lib/python2.6/site-packages/orca/mag.pyt__setupMagnifiers




	
	
	



	
	
(

&%	
	
				
	
c	Cs|p
h}ntidiatitidtiti	ti
tiftitidtiti
titiftidiatitidtiti
titiftitidjptiti
djoptitidtattitidti
tititidiatidiantiti}titi
}titid	||ftitid
titi|tiftitidtiti
|tifttiti|tiattiti
|tiatitidttftitititiiddtttiiddd
d
ati a!t"i#t!dt$|i%dti}t&||t|i%dti'}t(|t|i%dti)}||i%dti*}||i%dti+}||i%dti,}t-|||t|i%dti.}||i%dti/}||i%dti0}||i%dti1}t2|||t|i%dti3}t4|t|i%dti5}|ti6jo
d}	n|i%dti7}	|i%dti8}
t9d|	tt:d|
t|i%dti;}t<|ttiidd||}ti=|yt"i#t!d tt$a>Wn
ta>nXt?ti@td!S("sCreates a zoomer in the magnifier
    Arguments:
    - restore:  a dictionary of all of the settings which should be restored
    starget-display-boundss7Magnifier target bounds preferences: (%d, %d), (%d, %d)s2Magnifier target bounds actual: (%d, %d), (%d, %d)ssource-display-boundss2Magnifier source bounds actual: (%d, %d), (%d, %d)isThere is nothing to magnify.  This is usually caused
by a preferences setting that tries to take up the
full screen for magnification, but the underlying
system does not support full screen magnification.
The causes of that are generally that COMPOSITE
support has not been enabled in gnome-mag or the
X Window System Server.  As a result of this issue,
defaulting to the right half of the screen.
is3Magnifier zoomer viewport desired: (0, 0), (%d, %d)s1Magnifier source width: %d (viewport can show %d)s2Magnifier source height: %d (viewport can show %d)s7Magnifier zoomer ROI size desired: width=%d, height=%d)is
is-managedR#tenableMagZoomerColorInversiontmagBrightnessLeveltmagBrightnessLevelRedtmagBrightnessLevelGreentmagBrightnessLevelBluetmagContrastLeveltmagContrastLevelRedtmagContrastLevelGreentmagContrastLevelBluetmagColorFilteringModet
magZoomerTypetmagZoomerBorderSizetmagZoomerBorderColorsborder-sizesborder-colortmagSmoothingModes
poll-mouseN(ARzR_RWt_targetDisplayBoundsRRRR"RRRRRRRR	R!tLEVEL_SEVERERLRtRtMAG_ZOOMER_TYPE_CUSTOMR#R RRRmtcreateZoomRegionRRRRRZt_zoomerPBagRtpbclient_set_booleanRRwtsetZoomerMagFactorRtsetZoomerColorInversionRRRRtsetZoomerBrightnessRRRRtsetZoomerContrastRtsetZoomerColorFilterRRxRRtsetZoomerObjectSizetsetZoomerObjectColorRtsetZoomerSmoothingTypet
moveResizeRJt__updateROIDimensionst
addZoomRegion(Rt
viewportWidthtviewportHeightRWt
brightnesstrtgtbtcontrastRtcolortbounds((s,/usr/lib/python2.6/site-packages/orca/mag.pyt
__setupZoomerjs
	



		
	
	
	
	
	
	
	





cCsDtidi}titid|i|i|i|i	ftidi}tidi}t
titi|i|i|at
ti	ti|i	|i|a
titidtt
ftitdatit
datitdati	t
datitidttttfdS(	sCUpdates the ROI width, height, and maximum and minimum values.
    RUs-Magnifier viewport actual: (%d, %d), (%d, %d)smag-factor-xsmag-factor-ys6Magnifier zoomer ROI size actual: width=%d, height=%d)is0Magnifier ROI min/max center: (%d, %d), (%d, %d)N(RR_RWRRRRRRR	R R!RRRRRR(RUtmagxtmagy((s,/usr/lib/python2.6/site-packages/orca/mag.pyR%s( cCsNttittiatiatia	ti
atia
tiadS(s=Looks at the user settings and applies them to the magnifier.N(RR"RRtmagMouseTrackingModeRBtmagControlTrackingModet_controlTrackingtmagTextTrackingModet
_textTrackingt
magEdgeMargint_edgeMargintmagPointerFollowsZoomerR>tmagPointerFollowsFocust_pointerFollowsFocus(((s,/usr/lib/python2.6/site-packages/orca/mag.pyt
applySettingsLs

					c
CstpdSti}|tdjodSt}|o|\}}}}t}n|o|iidoy|i}	|	oi|	idjoY|	i}
|
|	i	jo|
d8}
n|	i
|
d\}}}}||dj}nWn
t}nX|oPtti
jot||n+ttijot||||tndSn|p]yI|iid}|i|i|i|ig\}}}}t}Wqt}qXn|oto%tati|||ddntti
jo[||d}||d}|tjo
|}n|tjo
|}nt||qttijot||||qndS(sSets the region of interest to the upper left of the given
    accessible, if it implements the Component interface.  Otherwise,
    does nothing.

    Arguments:
    - event: the Event that caused this to be called
    - obj: the accessible
    Ng?sobject:text-caret-movediiR9i(RR:R;RLRttypet
startswitht	queryTexttcaretOffsettcharacterCounttgetCharacterExtentsRR"RCRRMR0RRERFRRR%R&RR?RHRIRRR(
teventR`RRtcurrentTimethaveSomethingToMagnifyRRR%R&ttexttoffsetR6R7((s,/usr/lib/python2.6/site-packages/orca/mag.pytmagnifyAccessiblees^
	
	*




cCstptStotStidday5tatti	i
tdtddtSWntati
nXdS(sInitializes the magnifier, bringing the magnifier up on the
    display.

    Returns True if the initialization procedure was run or False if this
    module has already been initialized.
    s$OAFIID:GNOME_Magnifier_Magnifier:0.9sGNOME/Magnifier/Magnifiers	mouse:absiN(t_magnifierAvailableRLRRt
get_objectRmRRtpyatspitRegistrytregisterEventListenerRSRtdispose(((s,/usr/lib/python2.6/site-packages/orca/mag.pytinits 		

cCswtptStptStiitdy"ttti	ti
Wntiti
nXdatatS(sShuts down the magnifier module.
    Returns True if the shutdown procedure was run or False if this
    module has not been initialized.
    s	mouse:absN(RRLRRRtderegisterEventListenerRSRyRmRnRRRuRvRGR(((s,/usr/lib/python2.6/site-packages/orca/mag.pytshutdowns	

cCs9tpdStat||||||t|dS(sCreates the magnifier in the position specified.

    Arguments:
    - position: the position/type of zoomer (full, left half, etc.)
    - left:     the left edge of the zoomer (only applicable for custom)
    - top:      the top edge of the zoomer (only applicable for custom)
    - right:    the right edge of the zoomer (only applicable for custom)
    - bottom:   the top edge of the zoomer (only applicable for custom)
    - restore:  a dictionary of all of the settings that should be restored
    N(RRR|RR(RRRRRR((s,/usr/lib/python2.6/site-packages/orca/mag.pytsetupMagnifiers

cCstpdSytidi}Wnti}nX|od|}nd}|o|p
d}ntitd|ti	td||ot
itndS(sSets the cursor.

    Arguments:
    - enabled:        Whether or not the cursor should be enabled
    - customEnabled:  Whether or not a custom size has been enabled
    - size:           The size it should be set to
    - updateScreen:   Whether or not to update the screen
    Nsmag-factor-xg?giscursor-scale-factorscursor-size(
RRR_RWR"R#Rtpbclient_set_floatRztpbclient_set_longRR
R
(tenabledt
customEnabledRtupdateScreentmagtscale((s,/usr/lib/python2.6/site-packages/orca/mag.pyRs


cCsUtpdSd}|o
ti}ntitd||otitndS(sSets the cross-hair.

    Arguments:
    - enabled: Whether or not the cross-hair should be enabled
    - updateScreen:  Whether or not to update the screen
    Niscrosswire-size(	RR"tmagCrossHairSizeRRRzRR
R
(RRR((s,/usr/lib/python2.6/site-packages/orca/mag.pyR5s
cCs;tpdStitd||otitndS(sSets the cross-hair clip.

    Arguments:
    - enabled: Whether or not the cross-hair clip should be enabled
    - updateScreen:   Whether or not to update the screen
    Nscrosswire-clip(RRRRzRR
R
(RR((s,/usr/lib/python2.6/site-packages/orca/mag.pyRIs
cCs;tpdStitd||otitndS(sSets the color inversion.

    Arguments:
    - enabled: Whether or not color inversion should be enabled
    - updateScreen:   Whether or not to update the screen
    Ns
inverse-video(RRRRRR
R
(RR((s,/usr/lib/python2.6/site-packages/orca/mag.pyRYs
cCs;tpdSti||||otitndS(sIncreases/Decreases the brightness level by the specified
    increments.  Increments are floats ranging from -1 (black/no
    brightenss) to 1 (white/100% brightness).  0 means no change.

    Arguments:
    - red:    The amount to alter the red brightness level
    - green:  The amount to alter the green brightness level
    - blue:   The amount to alter the blue brightness level
    - updateScreen:   Whether or not to update the screen
    N(RRt
setBrightnessR
R
(tredtgreentblueR((s,/usr/lib/python2.6/site-packages/orca/mag.pyRis
cCs;tpdSti||||otitndS(sIncreases/Decreases the contrast level by the specified
    increments.  Increments are floats ranging from -1 (grey/no
    contrast) to 1 (white/back/100% contrast).  0 means no change.

    Arguments:
    - red:    The amount to alter the red contrast level
    - green:  The amount to alter the green contrast level
    - blue:   The amount to alter the blue contrast level
    - updateScreen:  Whether or not to update the screen
    N(RRtsetContrastR
R
(RRRR((s,/usr/lib/python2.6/site-packages/orca/mag.pyR}s
cCs;tpdStit|||otitndS(sSets the specified magnifier property to the specified size.

    Arguments:
    - magProperty:   The property to set (as a string)
    - size:          The size to apply
    - updateScreen:  Whether or not to update the screen
    N(RRRRzRR
R
(tmagPropertyRR((s,/usr/lib/python2.6/site-packages/orca/mag.pytsetMagnifierObjectSizes
	cCstpdS|djoyad}}}}titijo
|}ntitijo
|}ntitijo
|}ntitijo
|}ntitijoxt	i
ti
jo
|}nt	itijo
|}nt	i
ti
jo
|}nt	itijo
|}q-ntitd|titd|titd|titd|Wqtitd|qXntit|||otitndS(sSets the specified zoomer property to the specified size.

    Arguments:
    - magProperty:   The property to set (as a string)
    - size:          The size to apply
    - updateScreen:  Whether or not to update the screen
    Nsborder-sizeisborder-size-leftsborder-size-topsborder-size-rightsborder-size-bottom(RR@RR"RRR}R~RRRR!RRR	RRRRR
R
(RRRRRRR((s,/usr/lib/python2.6/site-packages/orca/mag.pyRs>	







cCstpdStii|}|id?|_|id?|_|id?|_d|i|i|if}ti|}ti	|t
ii|i
t|d|otitndS(sSets the specified zoomer property to the specified color.

    Arguments:
    - magProperty:  The property to set (as a string)
    - colorSetting: The Orca color setting to apply
    - updateScreen:  Whether or not to update the screen
    Nis0x%02X%02X%02Xi(Rtgtktgdktcolor_parseRRRRR_RRRRttypecodetlongRR
R
(RtcolorSettingRtcolorPreferencetcolorStringttoChange((s,/usr/lib/python2.6/site-packages/orca/mag.pyRs 	
	cCstpdStii|}|id?|_|id?|_|id?|_d|i|i|if}ti|}ti	|t
ii|i
t|d|otitndS(sSets the specified magnifier property to the specified color.

    Arguments:
    - magProperty:  The property to set (as a string)
    - colorSetting: The Orca color setting to apply
    - updateScreen:  Whether or not to update the screen
    Nis0x%02X%02X%02Xi(RRRRRRRRzR_RRRRR	R
RR
R
(RRRRR
R((s,/usr/lib/python2.6/site-packages/orca/mag.pyRs 	
	cCstpdSti\}}ti|||ot||joJ|djo=tiatia	t
tii
tt	ttt	tqtiiid}t|i|indS(sSets the magnification level.

    Arguments:
    - x: The horizontal magnification level
    - y: The vertical magnification level
    - updateScreen:  Whether or not to update the screen
    Ng?i(RRtgetMagFactortsetMagFactorRR!RRRRRRRRRRR@RARERFRRR(RRRtoldXtoldYRR((s,/usr/lib/python2.6/site-packages/orca/mag.pyRs		cCsitpdS|tijo
d}nd}ytitd|WnnX|otitndS(sSets the zoomer's smoothing type.

    Arguments:
    - smoothingType: The type of smoothing to use
    - updateScreen:  Whether or not to update the screen
    NtbilinearRGssmoothing-type(	RR"tMAG_SMOOTHING_MODE_BILINEARRRRRR
R
(t
smoothingTypeRtstring((s,/usr/lib/python2.6/site-packages/orca/mag.pyR3s
cCsYtptodS|tijo
ti}n|tijo
ti}n|tijo
ti	}n|ti
jo
ti}n~|tijo
ti
}na|tijo
ti}nD|tijo
ti}n'|tijo
ti}n
ti}tid}tidtii|i||otitndS(sSets the zoomer's color filter.

    Arguments:
    - colorFilter: The color filter to apply
    - updateScreen:  Whether or not to update the screen
    Nscolor-blind-filter(RtisFilteringCapableR"t%MAG_COLOR_FILTERING_MODE_SATURATE_REDRt*COLORBLIND_FILTER_T_SELECTIVE_SATURATE_REDt'MAG_COLOR_FILTERING_MODE_SATURATE_GREENt,COLORBLIND_FILTER_T_SELECTIVE_SATURATE_GREENt&MAG_COLOR_FILTERING_MODE_SATURATE_BLUEt+COLORBLIND_FILTER_T_SELECTIVE_SATURATE_BLUEt'MAG_COLOR_FILTERING_MODE_DESATURATE_REDt-COLORBLIND_FILTER_T_SELECTIVE_DESSATURATE_REDt)MAG_COLOR_FILTERING_MODE_DESATURATE_GREENt/COLORBLIND_FILTER_T_SELECTIVE_DESSATURATE_GREENt(MAG_COLOR_FILTERING_MODE_DESATURATE_BLUEt.COLORBLIND_FILTER_T_SELECTIVE_DESSATURATE_BLUEt+MAG_COLOR_FILTERING_MODE_NEGATIVE_HUE_SHIFTt&COLORBLIND_FILTER_T_HUE_SHIFT_NEGATIVEt+MAG_COLOR_FILTERING_MODE_POSITIVE_HUE_SHIFTt&COLORBLIND_FILTER_T_HUE_SHIFT_POSITIVEtCOLORBLIND_FILTER_T_NO_FILTERRR_RRRRR	R
R
(tcolorFilterRttoApply((s,/usr/lib/python2.6/site-packages/orca/mag.pyRKs6







			
cCsAy#|otintiWntitinXdS(s|Hide or show the system pointer.

    Arguments:
    -hidePointer: If True, hide the system pointer, otherwise show it.
    N(RmRt
showCursorRRutLEVEL_FINEST(thidePointer((s,/usr/lib/python2.6/site-packages/orca/mag.pyRyss
cCs$yti}Wn
t}nX|S(scReturns True if we are capable of doing full screen (i.e. whether
    composite is being used.
    (RmRsRL(tcapable((s,/usr/lib/python2.6/site-packages/orca/mag.pytisFullScreenCapables

cCs$yti}Wn
t}nX|S(sYReturns True if we're able to take advantage of libcolorblind's color
    filtering.
    (RmtsupportColorblindFiltersRL(R.((s,/usr/lib/python2.6/site-packages/orca/mag.pyRs

cCs
|adS(sXUpdates the mouse tracking mode.

    Arguments:
    -newMode: The new mode to use.
    N(RB(tnewMode((s,/usr/lib/python2.6/site-packages/orca/mag.pytupdateMouseTrackingscCs
|adS(sZUpdates the control tracking mode.

    Arguments:
    -newMode: The new mode to use.
    N(R(R1((s,/usr/lib/python2.6/site-packages/orca/mag.pytupdateControlTrackingscCs
|adS(sWUpdates the text tracking mode.

    Arguments:
    -newMode: The new mode to use.
    N(R(R1((s,/usr/lib/python2.6/site-packages/orca/mag.pytupdateTextTrackingscCs
|adS(s[Updates the edge margin

    Arguments:
    -amount: The new margin to use, in pixels.
    N(R(tamount((s,/usr/lib/python2.6/site-packages/orca/mag.pytupdateEdgeMarginscCs
|adS(sUpdates the pointer follows focus setting.

    Arguments:
    -enabled: whether or not pointer follows focus should be enabled.
    N(R(R((s,/usr/lib/python2.6/site-packages/orca/mag.pytupdatePointerFollowsFocusscCs
|adS(sUpdates the pointer follows zoomer setting.

    Arguments:
    -enabled: whether or not pointer follows zoomer should be enabled.
    N(R>(R((s,/usr/lib/python2.6/site-packages/orca/mag.pytupdatePointerFollowsZoomerscCsitatiatiatiati	a
tiati
atiottitntdS(s4Restores things that were altered via a live update.N(RLR|R"RRBRRRRRRRRRR>tenableMagnifierRRRR(((s,/usr/lib/python2.6/site-packages/orca/mag.pytfinishLiveUpdatings						

cCstpdSti\}}htd6dd6dd6dd6dd6dd6dd	6tid
6tid6dd
6|d6}tio$t	d|t
itdn.h|d6}t	d|t
itdtit_t
S(s&Toggles the color enhancements on/off.NRiRRRRRRRRs#000000RR#RsColor enhancements disabled.sColor enhancements enabled.(RRRRLR"tMAG_COLOR_FILTERING_MODE_NONERR@tcolorEnhancementsEnabledRtspeechtspeakRR(tscriptt
inputEventtlevelXtlevelYtnormalt	toRestore((s,/usr/lib/python2.6/site-packages/orca/mag.pyttoggleColorEnhancementss,








cCstpdStioDttttddttttdti	t
dnti}ti
}|p|pt}t}nt|titittdtittdtitttitt|ti	t
dtit_tS(s&Toggles the mouse enhancements on/off.Nscursor-colors#000000isMouse enhancements disabled.scrosswire-colorsMouse enhancements enabled.(RR@RRRLRRRR=R>RR"RfRkRgRhRiRjRRl(R?R@tcursorEnabletcrossHairEnable((s,/usr/lib/python2.6/site-packages/orca/mag.pyttoggleMouseEnhancements#s8

			
	

cCstpdSti\}}d|jo
djno
d}n/d|jo
djno
d}nd}||}|djo$t||tit|ntS(s"Increases the magnification level.Niig?ig?i(RRRRR=R>tstrR(R?R@RARBt	incrementtnewLevel((s,/usr/lib/python2.6/site-packages/orca/mag.pytincreaseMagnificationYs




cCstpdSti\}}d|jo
djno
d}n/d|jo
djno
d}nd}||}|djo$t||tit|ntS(s"Decreases the magnification level.Niig?ig?(RRRRR=R>RIR(R?R@RARBRJRK((s,/usr/lib/python2.6/site-packages/orca/mag.pytdecreaseMagnificationrs




cCsCtpttitdnttitdtS(sToggles the magnifier.sMagnifier enabled.sMagnifier disabled.(RRR=R>RRR(R?R@((s,/usr/lib/python2.6/site-packages/orca/mag.pyttoggleMagnifierscCsQtpdStid7_tidjo
dt_ntitijototid7_nh}ti\}}|tijo||d<nti	p]|i
h
td6dd6dd6dd	6dd
6dd6dd6tid
6ti
d6dd6nttid|tip1tttdtittttdntitijo'totd}q@td}ntitijotd}ntitijotd}nptitijotd}nMtitijotd}n*titijotd}nd}ti|tS(s<Allows the user to cycle through the available zoomer types.NiiiR#RRRRRRRRRs#000000RRscursor-colorsFull ScreensFull Screen mode unavailablesTop HalfsBottom Halfs	Left Halfs
Right HalftCustomRT(RR@RR"RxRtRRR#R<tupdateRLR;RRRRRRiRRR}R~RRRR=R>R(R?R@RDRARBR((s,/usr/lib/python2.6/site-packages/orca/mag.pytcycleZoomerTypes`







(`t__doc__t__id__t__version__t__date__t
__copyright__t__license__RRR:RRRHR"R=R@t	orca_i18nRRLRRtload_typelibtGNOME.MagnifierRRRRGRmRzRRRRRRR
R!RRRR;R?RJRtR|R{RBRRRR>RRRRR0R8RSRYRcRRRRRRRRRRRRRRRRRRRRRRyR/RR2R3R4R6R7R8R:RERHRLRMRNRQ(((s,/usr/lib/python2.6/site-packages/orca/mag.pyt<module>s

			#K		7			'	P	#	(-"" (				
	
	
	
	
	
	+6

Youez - 2016 - github.com/yon3zu
LinuXploit