preview.app-0.8.5/0000755000175000000000000000000010260204631012775 5ustar gurkanrootpreview.app-0.8.5/Bulgarian.lproj/0000755000175000000000000000000010260204631016026 5ustar gurkanrootpreview.app-0.8.5/Bulgarian.lproj/Preview.gorm/0000755000175000000000000000000010260204631020412 5ustar gurkanrootpreview.app-0.8.5/Bulgarian.lproj/Preview.gorm/fitWindow.tiff0000644000175000000000000000226010260204565023244 0ustar gurkanrootII*j r@(RImages/first_page.tiffCreated with The GIMPHHpreview.app-0.8.5/Bulgarian.lproj/Preview.gorm/data.info0000644000175000000000000000032210260204565022203 0ustar gurkanrootGNUstep archive00002afb:00000003:00000003:00000000:01GormFilePrefsManager1NSObject%01NSString&% Latest Version0& %  Typed Streampreview.app-0.8.5/Bulgarian.lproj/Preview.gorm/data.classes0000644000175000000000000000047710260204565022720 0ustar gurkanroot{ "## Comment" = "Do NOT change this file, Gorm maintains it"; Document = { Actions = ( "resize:", "zoomImage:" ); Outlets = ( imageView, scrollView, matrix, popUp ); Super = NSDocument; }; ImageView = { Actions = ( ); Outlets = ( ); Super = NSImageView; }; }preview.app-0.8.5/Bulgarian.lproj/Preview.gorm/fitWidth.tiff0000644000175000000000000000235210260204565023056 0ustar gurkanrootII*j Qr@(R/home/fabien/GNUstep/Projets/GNUstep/CVS/ImageApps/Preview/Images/last_page.tiffCreated with The GIMPHHpreview.app-0.8.5/Bulgarian.lproj/Preview.gorm/objects.gorm0000644000175000000000000001746210260204565022751 0ustar gurkanrootGNUstep archive00002afb:0000002c:000000a0:00000001:01GSNibContainer1NSObject01NSMutableDictionary1 NSDictionary&01NSString& %  MenuItem401 NSMenuItem0&% 50 %0&&&%%0& %  MenuItem500 &% Item0 &&&%0 1NSImage0 1NSMutableString&% common_2DCheckMark0 0& %  common_2DDash%0&%NSOwner0&% Document0& %  ScrollView01 NSScrollView1 NSView1 NSResponder%  C C  C C&01 NSMutableArray1 NSArray&01 NSClipView% A  C C  C C&0 &01GSControlTemplate1GSClassSwapper0& %  ImageView1 NSImageView1 NSControl%  B B  B B&0 &%01 NSImageCell1NSCell01NSFont%&&&&&&&&%%% ? ?01NSColor0&%NSNamedColorSpace0&% System0& %  controlColor01 NSScroller% A C C A  C A&0 &%0!0"&&&&&&&&&&2 _doScroll:v12@0:4@80#%  A C  A C&0$ &%0%"&&&&&&&&&% A A A A #0&& %  GormNSWindow0'1NSWindow%  C C&% Cz D!0( %  C C  C C&0) &0*1NSBox% C  B A  B A&0+ &0, %  B A  B A&0- &0.1 NSPopUpButton1NSButton% B4  B A  B A&0/ &%001NSPopUpButtonCell1NSMenuItemCell1 NSButtonCell1 NSActionCell01&&&&&&&&&021 NSMenu03&04 &0506&% 800 %07&&&%%0809&% 400 %7&&%%0:0;&% 200 %7&&%%0<0=&% 100 %0>&&&%0?0@& % common_Nibble%%0A&0B&&&&<2<%%%%%0C% B A A@ A@  A@ A@&0D &%0E0F&&&&&&&&&%0G&0H&&&&0I1!NSMatrix% @  B A  B A&0J &%0K0L&&&&&&&&&%% A A 0M0N&% System0O&% controlBackgroundColorM0P& %  NSButtonCell0Q0R&&&&&&&&&%0S&0T&&&&%%0U &0V0W&0X Ap Ap0Y0Z&%NSCalibratedWhiteColorSpace 0[ &0\1"NSBitmapImageRep1# NSImageRep0]&%NSDeviceRGBColorSpace Ap Ap%%%0^1$ NSDataMalloc1% NSDataStatic1&NSData&II* R&&&&&&&&%S0_&&&&0`0a&0b Ap ApY0c &0d"] Ap Ap%%%0e$&II* R&&&&&&&&%S0f&&&&V0g0h&% Box&&&&&&&& %%0i0j&% windowBackgroundColor0k&% Window0l&% @>7>@5Fl CH B F@ F@%0m0n&%NSApplicationIcon0o&% GSCustomClassMap0p&0q& %  ImageView0r&% GormNSPopUpButton.0s&% ButtonCq0t& %  NSVisible0u &0v& %  MenuItem180w&% Box*0x&% MatrixI0y& %  MenuItem2:0z&% MenuItem50{& %  MenuItem3<0| &0}1'NSNibConnector&0~&%NSOwner0'q0'01(NSNibOutletConnector~q0& %  imageView0(~0& %  scrollView0(~&0&% _window0'w0'r0'z0'v0'y0'{0'0's~0'x0(~x0&% matrix0(~r0&% popUp01)NSNibControlConnectorr~0&% resize:0)x~0(&~0&% delegate0'~01* GSMutableSet1+ NSMutableSet1,NSSet&'preview.app-0.8.5/Bulgarian.lproj/Main.gorm/0000755000175000000000000000000010260204631017655 5ustar gurkanrootpreview.app-0.8.5/Bulgarian.lproj/Main.gorm/data.info0000644000175000000000000000032210260204565021446 0ustar gurkanrootGNUstep archive00002afb:00000003:00000003:00000000:01GormFilePrefsManager1NSObject%01NSString&% Latest Version0& %  Typed Streampreview.app-0.8.5/Bulgarian.lproj/Main.gorm/data.classes0000644000175000000000000000025010260204565022150 0ustar gurkanroot{ "## Comment" = "Do NOT change this file, Gorm maintains it"; FirstResponder = { Actions = ( "resize:", "zoomImage:" ); Super = NSObject; }; }preview.app-0.8.5/Bulgarian.lproj/Main.gorm/objects.gorm0000644000175000000000000001644110260204565022210 0ustar gurkanrootGNUstep archive00002afb:00000010:00000102:00000001:01GSNibContainer1NSObject01NSMutableDictionary1 NSDictionary&701NSString& %  MenuItem1901 NSMenuItem0& %   540:B8@0=50&&&%01NSImage01NSMutableString&% common_2DCheckMark0 0 & %  common_2DDash2submenuAction:%0 1 NSMenu0 1 NSMutableArray1 NSArray&0 0&% >?8@0=50&% c&&% %0 0&% Preview0 &  00& %  =D>@<0F8O0&&&% %0 0 &00& %  B=>A=>...0&&&% %00&% ><>I...0&% ?&&% %00&% $09;0 &&&% %0! 0" &0#0$& %  B20@O=5...0%&% o&&% %0&0'&% 0?0720=5 :0B>...0(&% S&&% %0)0*&% 0?0720=5 :J<...0+&&&% %0,0-& %  0B20@O=50.&&&% %0/00&% 73;5401&&&% %02 003 &  0405& %  #25;8G020=506&% +&&% %0708& %  0<0;O20=509&% -&&% %0:0;&% 100% - J;5= @07<5@0<&&&% %0=0>&% 200% - 2>5= @07<5@0?&&&% %0@0A&% 400% 0B&&&% %0C0D&% 800%0E&&&% %0F0G&% 50% - >;>28= @07<5@0H&&&% %0I0J&% <5AB20=5 2 ?@>7>@5F00K&&&% %0L0M&% <5AB20=5 ?> H8@>G8=00N&&&% %0O0P& %  !B@0=8F0...0Q&&&% %0R0S&% 5G0B...0T&&&% %0U0V&% @>7>@F80W&&&% %0X V0Y &0Z0[&% >4@5640=5 =09->B3>@50\&&&% %0]0^& %  8=8<878@0=50_&% m&&% %0`0a& %  0B20@O=50b&% w&&% %0c0d&% #A;C380e&&&% %0f d0g &0h0i&% !:@820=50j&% h&&% %0k0l&% 7E>40m&% q&&% %0n& %  MenuItem300o& %  MenuItem310p& %  MenuItem320q& %  MenuItem1k0r& %  NSVisible0s &0t& %  MenuItem2U0u& %  MenuItem330v& %  MenuItem3Z0w& %  MenuItem340x& %  MenuItem4]0y& %  MenuItem35U0z& %  MenuItem5`0{& %  MenuItem36Z0|& %  MenuItem6c0}& %  MenuItem37]0~&% MenuItemh0& %  MenuItem38`0& %  MenuItem7R0& %  MenuItem39c0& %  MenuItem8O0& %  MenuItem9/0& %  GormNSMenuX0& %  MenuItem200& %  MenuItem21 0& %  MenuItem22#0& %  MenuItem230& %  MenuItem25&0& %  MenuItem26)0& %  MenuItem29,0& %  MenuItem40h0& %  MenuItem41k0& %  MenuItem42C0& %  MenuItem43F0& %  MenuItem44I0& %  GormNSMenu1f0& %  GormNSMenu220& %  MenuItem45L0& %  GormNSMenu3 0& %  GormNSMenu4!0& %  GormNSMenu50&% NSServicesMenuf0& %  NSWindowsMenuX0& %  MenuItem1040&% GSCustomClassMap0&0& %  MenuItem1170& %  MenuItem12:0& %  MenuItem13=0& %  MenuItem14@0&% NSMenu0& %  MenuItem15C0& %  MenuItem16F0&%NSOwner0& %  NSApplication0& %  MenuItem17I0& %  MenuItem18L0 &AA01 NSNibConnector0&%NSOwner0 01 NSNibControlConnector0&%NSFirst0&% hide:0 0 0& %  terminate:0 y0 y0&% submenuAction:0 y0 {0 {0&% arrangeInFront:0 }0 }0&% performMiniaturize:0 0 0& %  performClose:0 0 0&% submenuAction:0 0± 0ñ 0ı 0ű 0Ʊ&% submenuAction:0DZ 0ȱ 0ɱ 0ʱ 0˱ 0̱ 0ͱ 0α 0ϱ 0б 0ѱ 0ұ 0ӱ&% submenuAction:0Ա 0ձ 0ֱ 0ױ&% copy:0ر 0ٱ 0ڱ&% submenuAction:0۱ 0ܱ 0ݱ 0ޱ& %  openDocument:0߱ 0 0&% saveDocumentAs:0 0 0&% saveDocumentTo:0 0 0&% close:0 0 0&% submenuAction:0 0 o0 o0&% orderFrontStandardInfoPanel:0 u0 u0&% orderFrontHelpPanel:0 0&% runPageLayout:0 0&% print:0 0&% resize:0 0 0 0 0 0 0&% resize:0 P& %  zoomImage:P P1 GSMutableSet1 NSMutableSet1NSSet&preview.app-0.8.5/French.lproj/0000755000175000000000000000000010260204631015327 5ustar gurkanrootpreview.app-0.8.5/French.lproj/Preview.gorm/0000755000175000000000000000000010260204631017713 5ustar gurkanrootpreview.app-0.8.5/French.lproj/Main.gorm/0000755000175000000000000000000010260204631017156 5ustar gurkanrootpreview.app-0.8.5/French.lproj/Main.gorm/data.info0000644000175000000000000000027010260204565020751 0ustar gurkanrootGNUstep archive00002af8:00000003:00000003:00000000:01GormFilePrefsManager1NSObject%01NSString&%Latest Version0& % Typed Streampreview.app-0.8.5/French.lproj/Main.gorm/data.classes0000644000175000000000000000646510260204565021467 0ustar gurkanroot{ FirstResponder = { Actions = ( "activateContextHelpMode:", "alignCenter:", "alignJustified:", "alignLeft:", "alignRight:", "arrangeInFront:", "cancel:", "capitalizeWord:", "changeColor:", "checkSpelling:", "close:", "complete:", "copy:", "copyFont:", "copyRuler:", "cut:", "delete:", "deleteBackward:", "deleteForward:", "deleteToBeginningOfLine:", "deleteToBeginningOfParagraph:", "deleteToEndOfLine:", "deleteToEndOfParagraph:", "deleteToMark:", "deleteWordBackward:", "deleteWordForward:", "deminiaturize:", "deselectAll:", "fax:", "hide:", "hideOtherApplications:", "indent:", "loosenKerning:", "lowerBaseline:", "lowercaseWord:", "makeKeyAndOrderFront:", "miniaturize:", "miniaturizeAll:", "moveBackward:", "moveBackwardAndModifySelection:", "moveDown:", "moveDownAndModifySelection:", "moveForward:", "moveForwardAndModifySelection:", "moveLeft:", "moveRight:", "moveToBeginningOfDocument:", "moveToBeginningOfLine:", "moveToBeginningOfParagraph:", "moveToEndOfDocument:", "moveToEndOfLine:", "moveToEndOfParagraph:", "moveUp:", "moveUpAndModifySelection:", "moveWordBackward:", "moveWordBackwardAndModifySelection:", "moveWordForward:", "moveWordForwardAndModifySelection:", "newDocument:", "ok:", "open:", "openDocument:", "orderBack:", "orderFront:", "orderFrontColorPanel:", "orderFrontDataLinkPanel:", "orderFrontHelpPanel:", "orderFrontStandardAboutPanel:", "orderFrontStandardInfoPanel:", "orderOut:", "pageDown:", "pageUp:", "paste:", "pasteAsPlainText:", "pasteAsRichText:", "pasteFont:", "pasteRuler:", "performClose:", "performMiniaturize:", "performZoom:", "print:", "raiseBaseline:", "revertDocumentToSaved:", "runPageLayout:", "runToolbarCustomizationPalette:", "saveAllDocuments:", "saveDocument:", "saveDocumentAs:", "saveDocumentTo:", "scrollLineDown:", "scrollLineUp:", "scrollPageDown:", "scrollPageUp:", "scrollViaScroller:", "selectAll:", "selectLine:", "selectNextKeyView:", "selectParagraph:", "selectPreviousKeyView:", "selectText:", "selectToMark:", "selectWord:", "showContextHelp:", "showGuessPanel:", "showHelp:", "showWindow:", "stop:", "subscript:", "superscript:", "swapWithMark:", "takeDoubleValueFrom:", "takeFloatValueFrom:", "takeIntValueFrom:", "takeObjectValueFrom:", "takeStringValueFrom:", "terminate:", "tightenKerning:", "toggle:", "toggleContinuousSpellChecking:", "toggleRuler:", "toggleToolbarShown:", "toggleTraditionalCharacterShape:", "transpose:", "transposeWords:", "turnOffKerning:", "turnOffLigatures:", "underline:", "unhide:", "unhideAllApplications:", "unscript:", "uppercaseWord:", "useAllLigatures:", "useStandardKerning:", "useStandardLigatures:", "yank:", "zoom:", "resize:", "zoomImage:" ); Super = NSObject; }; }preview.app-0.8.5/French.lproj/Main.gorm/objects.gorm0000644000175000000000000001630710260204565021512 0ustar gurkanrootGNUstep archive00002af8:00000010:00000107:00000001:01GSNibContainer1NSObject01NSMutableDictionary1 NSDictionary&701NSString& %  MenuItem1901 NSMenuItem0&%diter0&&&%01NSImage01NSMutableString&% common_2DCheckMark0 0 & %  common_2DDash2submenuAction:%0 1 NSMenu0 &% Edit0 1 NSMutableArray1 NSArray&00&%Copier0&% c&&% %0 0&% Preview0 &  00& % Informations0&&&% %0 0&% Info0 &00&%Panneau d'informations...0&&&% %00&%Aitde...0&% ?&&% %0 0!&%Fichier0"&&&% %0# 0$&% File0% &0&0'& % Ouvrir...0(&% o&&% %0)0*&%Sauvegarder sous...0+&% S&&% %0,0-&%Sauvegarder en...0.&&&% %0/00&%Fermer01&&&% %0203&%Afficher04&&&% %05 06&% View07 &  0809&%Avec zoom avant0:&% +&&% %0;0<&%Avec zoom arrire0=&% -&&% %0>0?&%100% - Full size0@&&&% %0A0B&% 200% - Double size0C&&&% %0D0E&% 400% 0F&&&% %0G0H&% 800%0I&&&% %0J0K&% 50% - Half size0L&&&% %0M0N& % Fit window0O&&&% %0P0Q& %  Fit width0R&&&% %0S0T& % Formater ...0U&%P&&% %0V0W&%Fentres0X&&&% %0Y 0Z&%Fentres0[ &0\0]&%Mettre au premier plan0^&&&% %0_0`&%Miniaturiser la fentre0a&% m&&% %0b0c&%Fermer la fentre0d&% w&&% %0e0f& % Imprimer ...0g&%p&&% %0h0i&% Services0j&&&% %0k i0l &0m0n&%Masquer0o&% h&&% %0p0q&%Quitter0r&% q&&% %0s& %  MenuItem300t& %  MenuItem310u& %  MenuItem320v& %  MenuItem1p0w& %  NSVisible0x &0y& %  MenuItem2V0z& %  MenuItem330{& %  MenuItem3\0|& %  MenuItem34 0}& %  MenuItem4_0~& %  MenuItem35V0& %  MenuItem5b0& %  MenuItem36\0& %  MenuItem6h0& %  MenuItem37_0&% MenuItemm0& %  MenuItem38b0& %  MenuItem7e0& %  MenuItem39h0& %  MenuItem8S0& %  MenuItem920& %  GormNSMenuY0& %  MenuItem20 0& %  MenuItem210& %  MenuItem22&0& %  MenuItem230& %  MenuItem25)0& %  MenuItem26,0& %  MenuItem29/0& %  MenuItem40m0& %  MenuItem41p0& %  MenuItem42G0& %  MenuItem43J0& %  MenuItem44M0& %  GormNSMenu1k0& %  GormNSMenu250& %  MenuItem45P0& %  GormNSMenu3 0& %  GormNSMenu4#0& %  GormNSMenu50&% NSServicesMenuk0& %  MenuItem1080& %  NSWindowsMenuY0&% GSCustomClassMap0&0& %  MenuItem11;0& %  MenuItem12>0& %  MenuItem13A0& %  MenuItem14D0&% NSMenu0& %  MenuItem15G0& %  MenuItem16J0&%NSOwner0& %  NSApplication0& %  MenuItem17M0& %  MenuItem18P0 &AA01 NSNibConnector0&%NSOwner0 01 NSNibControlConnector0&%NSFirst0&% hide:0 0 0& %  terminate:0 ~0 ~0&% submenuAction:0 ~0 0 0&% arrangeInFront:0 0 0&% performMiniaturize:0 0 0±& %  performClose:0ñ 0ı 0ű&% submenuAction:0Ʊ 0DZ 0ȱ 0ɱ 0ʱ 0˱&% submenuAction:0̱ 0ͱ 0α 0ϱ 0б 0ѱ 0ұ 0ӱ 0Ա 0ձ 0ֱ 0ױ 0ر&% submenuAction:0ٱ 0ڱ 0۱ 0ܱ&% copy:0ݱ 0ޱ 0߱&% submenuAction:0 0 0 0& %  openDocument:0 0 0&% saveDocumentAs:0 0 0&% saveDocumentTo:0 0 0&% close:0 0 0&% submenuAction:0 0 t0 t0&% orderFrontStandardInfoPanel:0 z0 z0&% orderFrontHelpPanel:0 0&% runPageLayout:0 0&% print:0 0&% resize:0 0 0 P P P P&% resize:P P& %  zoomImage:P P1 GSMutableSet1 NSMutableSet1NSSet&preview.app-0.8.5/French.lproj/Preview.help/0000755000175000000000000000000010260204631017677 5ustar gurkanrootpreview.app-0.8.5/French.lproj/InfoPanel.gorm/0000755000175000000000000000000010260204631020145 5ustar gurkanrootpreview.app-0.8.5/Images/0000755000175000000000000000000010260204631014202 5ustar gurkanrootpreview.app-0.8.5/Images/fitWindow.tiff0000644000175000000000000000226010260204565017034 0ustar gurkanrootII*j r@(RImages/first_page.tiffCreated with The GIMPHHpreview.app-0.8.5/Images/About.tiff0000644000175000000000000016743410260204565016153 0ustar gurkanrootII*          < & !  91 (  uzrvpowgonc][XUWUWWWWXXXXXW`^aa]``cZWWTSSPORSU\bfpqt}xy{PF8 (  xp{xswfpxvvnbYVWUXYXXXXWYWXXYX[YY\_YY^bnksmnmbbXWTTYSW\c^iv}}}udWF1 !  nc~}~qynnrlfm`\YUTVVUWSVXYYX]YXWUVW[UVTWUWXdix~zg`]YUWUWWYYccmzz sdP9 &   }x}}|{vg]fYTUUUY]abcovvqokpqspvskdec`]`^YWRWTSU`ov}ui\Ybb[YVSXY^iovr~ ~mY? *   y}pukun]YUXTYfokrx{wu{yvzrmmo```^YURPOTdkd]]nbY[YW`^i}vnr~y u^C,  ~ws}}xoYUXYYfk~wifknfdkc]]]cdeb^bfkfvpb`llkppgc`TOOvq`\^c\bioffmpossz{z x`E. }zvvqviYW[]en{f_XW]V]\bfabY\]]eW[[\WUY\XU[]]eckmqif\OPnmi[`W`txyolgix~}y x`E. xo{}sdX\]diwimaWS^koxy}nvtfcf`d^WYUSYb`fkUVmztibbY]xyvpuv~| x`E. }zyooi]V^`m{~oV[ag{s}mnifdbaif]cYYY`ibTa{nnl`b}{yz x`E. {re`U\atz|iYRblvr~~xvq{svqcigabbaYYilbOT}tmvdp}{yvw x`E. }~b[[bnv|~dVWy}vxnzxrqhb]\[[]]kkWOuwyoa]yv x`E. ~Y\fgq}kVsw~~~{~}oiowotpifc`VYYis]O]vskeYg x`E. wX]hvoUhvqxvv~vndkcffd^Wad]Pbsid]Viuw{ux x`E. k]bm`l}~~xozxonsvkiibff^`\VffPbsttm]Ykqm}} x`E. xb]dumV~w~yoxsnmhfsygcifdgab]UfvUPwmmvrd]qy~~~ x`E. neakyUm}~zo~{vsvsmqinqmsmiflkiieb`]irbR]t}zude}r~z~ x`E. }vrX\mxxR{}ymz|osmssknrvqmimnkiffimihcW\knYOTzky~md x`E. ~e]dotgbpsrstmvkeckkmigfifmlfnikebc``^[fodUO`zrus x`E. zXVcsQkyw}zxwlsbprfbrlbkliotnmli`fidbce^[mn`QO~r}~mp x`E. }^YftVp{}t~svv]vl[irfmhkrinqkfpdecda`ff[YikbWO{xr x`E. ]SdoU~r}xttudm]dtklckoqgmloneifccdiffb]\gm]VO} x`E. mXcuT{~qpoyulebommo[nt`ikkkmfecceffmgib]\bi`WT~{ x`E. sRicup}ufp{}xusoqy}{plsrbioimxg^pkfieogpee`elfiifgie`]mkbWU~y x`E. TfYxyv{igwioYiixnmnmqtktkkkkbkievkiqrsipimdoiigkrielbbibeb]oo`YOy x`E. [X[vosioii[rqrth`itdv^kif^sf`rk]ohfv`oncioqgilglf]idikfe^`of]]To x`E. gWtppb]muqykcycdmbdqf`m``fenl`qn^phdikmpdotfkcffknnfiloifc`^^te[\Yv x`E. [mialgz`memxylfmfqwtokdkhmif`p|fkolbdvvmqhkclkkkmfkohekdig^ms`]a]x x`E. bZ}}{y~ofr]]bWY\][][fc^mffsccoddsqbkm}upmplr}kimdmmffiingfgf]iodYegl x`E. ^xm}o~iaR`bdWT[Y]XUa[X[[W]^i]fzsfflmbo{iuytumkikdmsqiemklqkffafvf]Ynn` x`E. cz~}fkv}rkoTPWYUV][[]]]]]^[`]]\[]`nukU[l}qlw}hmquoiifkmrvfigphomkid]or^bYp}p x`E. vosopvxvkc`k`^``\^b]`c`^eacaid\a^^Y]XT]]X[affduinwtnqmvcsbrrgkinnkpukdfbumb]Yf x`E. hxv{w}gdfl^Ybbeaeciikplmtqz}kgbcdb`^b`^]Y`}}wfsfdixskmcrzgummpqlsnildddykd]`{p x`E. dqr{wvVP\`]]^]dffofcnvxtlqor~wqmpileeae```[`}uvowovorwnrnprkmpshmmkn`ksf`]c x`E. ofv{]U[\]^`ckihvnvindkwkcrnhhozomnnre`elf^`\Yefxmaw}rqt~twmimnqkfig`xkbcib x`E. ixl{zn\[``]X`dlqq|{xnlkiikiiknmmimim{pekgekd``Xzv}xutxwtwovoknnkmi]nrdffqb x`E. |uvf][be]Piferoy{iyimoqvor{nnvvlnsiu{oysoukbcc]nt|xqiptxrtpirvrmi`uwk`ou x`E. }~u^^]baRa]lzvkmvxrvr`aaifdmtzvrlvmch{utkimmi`}vzy~}vrvrnqusnkomixkb]z x`E. ~r{ia]]`]QfYu{wrvnn}ydXYdbca][]wzqswddoowwrow{xmfovsmqr}x~vyoitrtpmqkiyf\f x`E. nvb}fac^]YTb}}n}p|m]^osysfb`f^]govulkuyznmmmreyvioyplpolkoog] x`E. wx\eb`bUPpxvzkQk{orukfabhif`]usxwrhgkznyk{zr~vwuotqqmobkpi x`E. zo{zcbfe`WTmkgzykR`}sipuoh```dig[cwvsoqkxyzwbtlrs{qqwqrvsurfrl x`E. r}imiirdd[`oxvst]b~vpmmuoe`e`bkc`^]yzvqpr~wphvuds~twwtqyofpx x`E. r}hkqpd`ik~}]Yt}vjkti^ffc^bdf]\lzrs}ssvhk}qsxqtpiiq x`E. ~vicqrkeYgmk]^zuwjomlrbfdabdeb`^Ylxzqfrulbgivgorwxwwutxpk x`E. sko]ftxodR]r|^c]xroqieddcb^effd^g^Xdxtuktourfkx~fnv|yy}zn x`E. x{`iru}kfXWs{o]c]ruenebbee]`id`c][]qvqowwtqghn{okw}z~{r x`E. |`fnt~ee^YqfYa]qlnostvmqf`bic``^`]oymbbqfob`wkw}vv  zeO; '  xmemvy~~iY`tb[^cvk{oklmii]eqmdef``\o{llixtnk]myzqkt}r,oomm s X= % uylfrwk`e]^\btkq[Yif]dc]^poa^`^WlimzrgmepɖOOHHxxxgr,sshh^^[[}} z`E. |nmflx{pkv\\^[fkkY^`^iobc^``rbec^XixpqysopeyLLZZyifs xxmm``eemm|| x`E. ~rigu|ma[`keii[]`evdcY`kwaff]Yqzqrptofby$$lt]]TTOOMM\\rr x`E. {wrlmyw`{f]afvirbbhy{aiodchodlba]h}yrqrbcVVYYnnHH55;;TTvv x`E. ~}noinut]|fY^[}xwprnxf]bffgbeaf]^Ypuiqv~obdӟYY ZZПaaGGLLbbxxyfk} x`E. }}ysopmzzrvY]Xdrdb^fs]]bebeaec`b`[xyooizʗssMMKK]]yycbn~ x`E0 }rxxm{^^`]ek]`lt`dbb``b[\b`Yk}qom~qmƃNNBBffshiqv xaF0 zukuhX`]bx\kifqkfb^\`b]^\\x{nx}xoi{όRRGGssnividp xbI0 e}fqwd\`]x\bo^bele^[cfY`^gyrpmynfҕ^^LLssrbiedki~ zbK3  m{qPt}|^X[sb`mb^edba`kcW]d|nii}vvg}ṭggIIvvwb[ipi`jr zdL5 " yxsz~\Rtk\op`]bbcemaSbztpiwr`tuv }}NNkkëug`lp_vn }dL5 # v}zxvubmuwvb`o]olhmdcd`^Yivfmm}}v}yvo זSS^^ե{nheiejbj ~fM7 #fyvigrafoonon{r]Ucifb]Y]diwwrrpihvozvr ınnOOنu~mb]gc`axx |hP6 #  ot}uqgfm{}vbYf~oufyf^X]``evvmnqopkmf}s ٚMMeeƩuy}~xkf\ih]][j iN7 #  zsvmmnmvzqx~qrplvvvqor}wnqqmdvv| RR||~uda^`i_[O |gN1   ytdxrxmfemtnf{{zfkmmgi|}}m ڸaaccЪ|wmS`ZbkZas {fI5 !}ul`tvsz}y`ixkfmvvxufbinomwot ⡡\\}}}WZ\\c[Vfa ~fI5 sufvwztuzmnsph]\irtq{z~vqo 쒒YY̅tbP[Z]d[gld |`E. ~ujix}|vp~x|ru}mv|wn}}wuok ]]͡ynXP[em^Vkddo x`E. `]l{xrqwowvf[ovgf~w{wsi hheeo~{{j\Sdla^`]lh` z`E. xi`eisvvopro``]kvvmryry( bbgg~pmtzrod][SXf[YY^d\h_]r x`E. zu[Uklpuuoqvd[]`blqfoon$''))%%""++<< yyxmifbe_eY[WRWYY]_knghpnn x`E. vvdlidrkvngf]^dffdwummn &&%%((99$$ sremffjW\YSSW\celpqrmmoov| x`E. ve`kkfrfmukkegkamnlkm $$""**77 ++ }kj_Y[]YRXY^apl}osvpvsm{ x`E. YoYgmgcionlgbifiqpffmb ""4499 ,,88 {ztcYRTVQU`bkprspmum{stx x`E. }Xifbifgifefbbazvyuriibbikfb ::;;""((==88 {qkeaZWRKYdojmpnxyvwx~vrs x`E. ~}da\criecfeigbkfd`]fmddfu >> ''99;;88}vhfg_\S`qmkoqsm{{{z}ifu x`E. hrt\]`ackdigfff`c`]ow  ztztljd[WZ`lpiniro{uyl{tzofpkwv x`E. ymZwfd[^VW^]`hov ^^SSxznmj[_TYThnocnhpzwwksoovpioov x`E. ywx}fft zzNN|xthdaUPRRghiikmbumjpjizwip}mqlotoesr x`E. {{i`| GGwucj`VTNILUbtha]]eizzt}qp}rnwmmrmg|hiibjy x`E. }rxdx GGoo|vfbUHNMOfY\MYWVbdy|rpkmwooqpojsgayfieqm x`E. vr`v EEZZ{t{weUX]Y_bYRPIJHQYqjnfwnvttxshpoyimmhrafx x`E. tyniutd~}EE66wi[efdishnkeSC?DAOKlqrwzwnamipeioekm{`fmnepv} x`E. vrtptn}y{yuiu}pmsscd OO**xRRnnnyy|h[\JFBAG]^nmp{^srrmko{efvmkpnkkdutut} x`E. svwp}q}~{ uu66aa{xx{ihdPCGQ@7SZXd`]omimkavtkkxdmiyziknvtvy x`E. nvx}xyr} EEAA}o}vmtq[DN@R>>ECk\clo]kiiWufmvslnlyomiuz x`E. ~zq}}v{xx~}z } ^^77||xz|OVP?H:ARQXb_ektd`gid[tpiauiiryx~{ x`E. q]wzv}m~w}p QQttwwieF?GJCCLd\g^jdYrrrrpeemimqopsy x`E. rqzuz~m}y}ywvqjjKKkuri|q^Y\YaUEYJLSPXaX\offkuemnkdxqovm}}~ x`E. ~okvuzwmmbqvoq p| kk--__{[{jerdUi[]ITLMUUL]XY^[nvkifrm[vtc~fttytrs x`E. neu|uvm}yu~wU{ifi sf}n99AAfvvm~{gni`^[KTMPJML\^W^`h[[i}d`lwi{s}}qrrxvux x`E. xkv{sy~r}mjkkpmSSvrrm LL33rrymvqqlbqaelXTWNWIRVSZ\\nY^yVdx[nu~t~ytnp~{w~}vrv x`E. zr~v}qxozmmo\\5599MMnxv^//MMtrkbrifk_mf[TWN^K[jPkj[~ddzeci~igqk~qttqtkwuntv x`E. z}}~~oti}{~yk44//o`kt FF**pggrcihfk`^k_eaPNFcZ`u]kd_{wixyYbw`kikksswvv}wry} x`E. vweuv~{tzvwmqmc--JJhwdvi_i[bkZa]QSK`\_teYxdv}sid]ci}]bodemmut}rv}yi x`E. lsu~zmx;;77qen JJ--xrrknY^t`rd[^lXW_O_O]ZZx[Ygcu^d]}vmiqlrmif{pu}}kooy x`E. ~v{{pxyii44AARRskp--@@ukgZmz\pxT[nSNlOTWfq_|XTu~rivu~r{~fihkom{ytylo~m x`E. zzfmlxxzoyxeo~]eY \\==zoogk{vwdl|YOaWqlmejeq~}erqmlfmy~~{}qvn}v x`E. tnzi~xzp}im}vEEkkwvij|o|pasi_gYbukhcjz{u}rolieoy{vvxsrkv x`E. xv ff11||hgx~lzhedcair`XaX]huchs~vyrqnp}mjw{~zyw~pvv} x`E. ~}wHHFFjfiya`[`Yg`[mVUcY[_\vrmxvsoxvkogvvz{}y}}us{yo x`E. vy~ovyq ||99]]t`ghnaW[\Ze_[c]]WV^t~urkvomhfhb]k|r~y}~xvuz~} x`E. }mppuwvprmp[[< com.apple.print.PageFormat.PMHorizontalRes com.apple.print.ticket.creator com.apple.printingmanager com.apple.print.ticket.itemArray com.apple.print.PageFormat.PMHorizontalRes 72 com.apple.print.ticket.client com.apple.printingmanager com.apple.print.ticket.modDate 2002-12-09T02:09:43Z com.apple.print.ticket.stateFlag 0 com.apple.print.PageFormat.PMOrientation com.apple.print.ticket.creator com.apple.printingmanager com.apple.print.ticket.itemArray com.apple.print.PageFormat.PMOrientation 1 com.apple.print.ticket.client com.apple.printingmanager com.apple.print.ticket.modDate 2002-12-09T02:09:43Z com.apple.print.ticket.stateFlag 0 com.apple.print.PageFormat.PMScaling com.apple.print.ticket.creator com.apple.printingmanager com.apple.print.ticket.itemArray com.apple.print.PageFormat.PMScaling 1 com.apple.print.ticket.client com.apple.printingmanager com.apple.print.ticket.modDate 2002-12-09T02:09:43Z com.apple.print.ticket.stateFlag 0 com.apple.print.PageFormat.PMVerticalRes com.apple.print.ticket.creator com.apple.printingmanager com.apple.print.ticket.itemArray com.apple.print.PageFormat.PMVerticalRes 72 com.apple.print.ticket.client com.apple.printingmanager com.apple.print.ticket.modDate 2002-12-09T02:09:43Z com.apple.print.ticket.stateFlag 0 com.apple.print.PageFormat.PMVerticalScaling com.apple.print.ticket.creator com.apple.printingmanager com.apple.print.ticket.itemArray com.apple.print.PageFormat.PMVerticalScaling 1 com.apple.print.ticket.client com.apple.printingmanager com.apple.print.ticket.modDate 2002-12-09T02:09:43Z com.apple.print.ticket.stateFlag 0 com.apple.print.subTicket.paper_info_ticket com.apple.print.PageFormat.PMAdjustedPageRect com.apple.print.ticket.creator com.apple.printingmanager com.apple.print.ticket.itemArray com.apple.print.PageFormat.PMAdjustedPageRect 0.0 0.0 734 576 com.apple.print.ticket.client com.apple.printingmanager com.apple.print.ticket.modDate 2002-12-09T02:09:43Z com.apple.print.ticket.stateFlag 0 com.apple.print.PageFormat.PMAdjustedPaperRect com.apple.print.ticket.creator com.apple.printingmanager com.apple.print.ticket.itemArray com.apple.print.PageFormat.PMAdjustedPaperRect -18 -18 774 594 com.apple.print.ticket.client com.apple.printingmanager com.apple.print.ticket.modDate 2002-12-09T02:09:43Z com.apple.print.ticket.stateFlag 0 com.apple.print.PaperInfo.PMPaperName com.apple.print.ticket.creator com.apple.print.pm.PostScript com.apple.print.ticket.itemArray com.apple.print.PaperInfo.PMPaperName na-letter com.apple.print.ticket.client com.apple.print.pm.PostScript com.apple.print.ticket.modDate 2000-07-28T22:57:04Z com.apple.print.ticket.stateFlag 1 com.apple.print.PaperInfo.PMUnadjustedPageRect com.apple.print.ticket.creator com.apple.print.pm.PostScript com.apple.print.ticket.itemArray com.apple.print.PaperInfo.PMUnadjustedPageRect 0.0 0.0 734 576 com.apple.print.ticket.client com.apple.printingmanager com.apple.print.ticket.modDate 2002-12-09T02:09:43Z com.apple.print.ticket.stateFlag 0 com.apple.print.PaperInfo.PMUnadjustedPaperRect com.apple.print.ticket.creator com.apple.print.pm.PostScript com.apple.print.ticket.itemArray com.apple.print.PaperInfo.PMUnadjustedPaperRect -18 -18 774 594 com.apple.print.ticket.client com.apple.printingmanager com.apple.print.ticket.modDate 2002-12-09T02:09:43Z com.apple.print.ticket.stateFlag 0 com.apple.print.PaperInfo.ppd.PMPaperName com.apple.print.ticket.creator com.apple.print.pm.PostScript com.apple.print.ticket.itemArray com.apple.print.PaperInfo.ppd.PMPaperName Letter com.apple.print.ticket.client com.apple.print.pm.PostScript com.apple.print.ticket.modDate 2000-07-28T22:57:04Z com.apple.print.ticket.stateFlag 1 com.apple.print.ticket.APIVersion 00.20 com.apple.print.ticket.privateLock com.apple.print.ticket.type com.apple.print.PaperInfoTicket com.apple.print.ticket.APIVersion 00.20 com.apple.print.ticket.privateLock com.apple.print.ticket.type com.apple.print.PageFormatTicket 8BIMxHH@Rg(HH(dh 8BIMHH8BIM&?8BIM Transparency8BIM Transparency8BIMd8BIM8BIM x8BIM8BIM 8BIM 8BIM' 8BIMH/fflff/ff2Z5-8BIMp8BIM8BIM8BIM@@8BIM8BIMI Untitled-1nullboundsObjcRct1Top longLeftlongBtomlongRghtlongslicesVlLsObjcslicesliceIDlonggroupIDlongoriginenum ESliceOrigin autoGeneratedTypeenum ESliceTypeImg boundsObjcRct1Top longLeftlongBtomlongRghtlongurlTEXTnullTEXTMsgeTEXTaltTagTEXTcellTextIsHTMLboolcellTextTEXT horzAlignenumESliceHorzAligndefault vertAlignenumESliceVertAligndefault bgColorTypeenumESliceBGColorTypeNone topOutsetlong leftOutsetlong bottomOutsetlong rightOutsetlong8BIM8BIM8BIM 0JFIFHH Adobe_CMAdobed            "?   3!1AQa"q2B#$Rb34rC%Scs5&DTdE£t6UeuF'Vfv7GWgw5!1AQaq"2B#R3$brCScs4%&5DTdEU6teuFVfv'7GWgw ?:M]b˺O[_O̺A~ϣsw{^~ŝ kV}k2][ 쌲VEVznykV+2E>w5UR4tk12+l{miF͟f1}l'U:>3`68*ɷ*XQ6Wl8w!8BIM!UAdobe PhotoshopAdobe Photoshop 7.0preview.app-0.8.5/Images/FileIcon_png.tiff0000644000175000000000000004177010260204565017427 0ustar gurkanrootII*00 0$(1"26R)JtIN |iC ' 'Adobe Photoshop 7.02003:12:23 14:03:25 adobe:docid:photoshop:cecb247e-353e-11d8-b8b3-f9bebad75fa6 8BIM8BIM%F &Vڰw8BIMHH8BIM&?8BIM Transparency8BIM Transparency8BIMd8BIM8BIM 8BIM8BIM 8BIM 8BIM' 8BIMH/fflff/ff2Z5-8BIMp8BIM8BIM8BIM$@@8BIM8BIM50000nullboundsObjcRct1Top longLeftlongBtomlong0Rghtlong0slicesVlLsObjcslicesliceIDlonggroupIDlongoriginenum ESliceOrigin autoGeneratedTypeenum ESliceTypeImg boundsObjcRct1Top longLeftlongBtomlong0Rghtlong0urlTEXTnullTEXTMsgeTEXTaltTagTEXTcellTextIsHTMLboolcellTextTEXT horzAlignenumESliceHorzAligndefault vertAlignenumESliceVertAligndefault bgColorTypeenumESliceBGColorTypeNone topOutsetlong leftOutsetlong bottomOutsetlong rightOutsetlong8BIM8BIM8BIM %00 JFIFHH Adobe_CMAdobed            00"?   3!1AQa"q2B#$Rb34rC%Scs5&DTdE£t6UeuF'Vfv7GWgw5!1AQaq"2B#R3$brCScs4%&5DTdEU6teuFVfv'7GWgw ?az_hnVC\{oWU5^7mMɷ?4 C/ons\:wLg9ASMnT>g^˃m`1W=21463f2L )np=\u<73os$ Yqp5o}/T~cfnv`ۣȺGԮԟlÿ&鲝ŗ=CL9sskHaoP9ZjE5rA)C|Nj.?!؇vV~] ۆEmK쾶ms=C5Bϴ>_;?[Lwm/y[/k$}͵ͧ 9̬wӒ~4<,5v<&r~_*] ,C??GkYZ' 6+Cw߬Znp>}2*ȩ{Z7l]GޏiSӲp[Elmlf,oOS8壹U][wի[ZHw8;KsY@"rVpsOUnYkM9-eznt[]Y3D| Fc_'v^r,"Ki<;a8 >EhuX#Wmվ`~C~C}Ճ( :|) Hln6'Eţ#dQnVS0X0vwZ8o7va[z}v:3jϧ>>bcsaԳ _Y>̟_T8o_.ꂚGz~u>W@XgEꊘ&;~ZҹM_OŽ&_o ) M_'ĸ8߼@FG܉5G8BIM!UAdobe PhotoshopAdobe Photoshop 7.0{{{~~~ooofffggg]]]XXXYYYVVVYYYZZZ[[[^^^gggppphhhkkkjjjoootttrrrmmmeeedddqqqfffgggllliii```vvvwwwmmmiii___TTTUUUYYY\\\___aaabbbeee^^^\\\YYY]]]aaaUUUfffmmmooommmkkkuuuvvviiippprrriiijjjnnnrrriii@vvvsssbbb]]]^^^YYYfffkkkfffqqqtttnnnssssssiiifff___aaa```UUUyyyjjjfffmmm~~~sssooopppqqqlllpppmmm@zzzwwwdddXXXPPPYYYhhhqqq{{{rrriiioooooommmooojjjmmmsssiiihhhiii]]]VVVzzzrrrxxxtttuuuuuuqqqmmmmmm@xxx___WWWTTTvvvkkk}}}mmmvvvuuufffeeekkklllxxxsssqqqoootttwwwmmmkkkbbboooyyyssswwwttttttsssmmm@qqqooo[[[RRRWWWttttttxxxrrraaagggmmm```[[[dddrrryyybbb|||xxxrrrqqq```~~~vvvkkk@}}}iiibbbTTT[[[jjjqqqwwwWWWvvvtttttt```bbbgggZZZssszzzttttttiiipppooozzz|||@pppmmmbbb^^^hhhxxxWWWvvvlllpppcccbbbbbbdddWWWyyyqqq~~~~~~rrrfff{{{ttt@cccyyyUUUdddmmm]]]}}}nnngggeeeaaabbbdddddd\\\]]]}}}jjjiiidddtttpppbbb@uuuqqqTTTgggttt\\\cccrrrqqqlllkkkaaahhhbbb^^^[[[vvvfff|||nnncccfffvvvjjj@|||\\\vvvxxxWWWaaattt~~~bbbhhhddd```mmmggg```YYYvvvjjjoooccclllzzzbbb@}}}sssYYYbbbjjj[[[VVVrrrmmmYYYdddnnncccYYYsssnnnjjjcccxxx```@xxx]]]]]]dddzzzkkkmmmvvvbbbiiigggiiieeeYYYxxxsss~~~vvvYYY@gggzzz]]]XXXlllccckkkfff]]]cccbbb^^^^^^^^^|||fffuuu@uuummmUUUdddhhhfffffflll]]]^^^```WWWrrrqqqzzz___@iiiffftttUUUhhhjjjbbbbbbbbbiiiWWWfff{{{gggdddttt@rrrwwwddd{{{iiimmm[[[iiibbb[[[]]]iiidddkkklllaaa@mmm\\\bbbgggmmmvvvmmm~~~bbbdddmmmtttrrrdddnnnvvv~~~|||xxx@aaarrrkkk|||gggiii{{{}}}qqqfffkkkssstttddd@aaa|||zzzzzzxxxzzz~~~hhhbbbooovvv|||uuu}}}]]]@mmmbbbuuuqqqwwwxxx]]]~~~sssdddeee F___bbb[[[vvvrrrtttZZZ[[[llljjjyyymmmtttkkkooo"" U iiixxxVVVhhhlllsssnnnnnnooowww|||xxxzzzwww??===555h++++zzzaaa^^^VVVeeepppuuu|||^^[[[PPP|CCCC1111fffsssgggqqqEEE,,,...///111555iiibbb666eee(((+++AAA$$$BBBCCCCkkknnnvvv666,,,999hhh'''?&& 888wwwrrr???;;;:::666 yyy|||:::tttuuu<<<GGGxxx텅{{{KKKYYY{888;;;yyy>>>{{{~~Ѕpppp;;;...>>>===@@@kkk\\\n<<$$$&&&'''""">>>FFF:::?&&888777KKKۦ666444===݇333111DDDhhhVV777 111111lllkkk 111UUUwMMRRR___SSSSAAAAHHFFF???o5555((((**((($$$[ J A@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@00preview.app-0.8.5/Images/FileIcon_gif.tiff0000644000175000000000000000706410260204565017406 0ustar gurkanrootMM* n P8$ BaPd6DbQ8qV,cr5 AJdI R2C Z ~m[šJd1 10.L2ğ~ hHπ 7^? !&~g')pIJ?05/?Xi .PS*L$\S+!92#Mքm2l4( ? RY5"6?,[g ,X"x8@S\"@V?7 @"ehrBe%2V?rލ9L 3Ui6H:?ףs-פbu3J h k !j@(a>ȼcM 5kMǤ0,eX!z1 HdM0O $Ā$e5 JF-a|-ŤӏZV+kJ! KHHYO AD(i#Fx}4%Xa2 $71U%d?x Ed)$.#D8RsN:\SJPE={O*cnߦPjUPFkL4 N@;FR@Cla-Y/!mfg•pXtʚNu '\wJI tQH *eCYF(ݣ5Aqi~ƚYbѫ#L٤HBe(9-DwKrV# ;LӝHY)Tgπ*l׼6f0'&UJ?ƅ0r[L'eN\tJB+~$I:n}SPP)b`<Xw*Oח-pύbf-Ș"Fhx/Ѧ @[el3}h\Tަb2I+`0׺2Q9KP#6.Ə>"@6-μ\>/e23e<anPH&. $ {w:ԾPV~aҥSfYQ1%ޕ&XQ(TJTA{Gi )&Q8kj#Cj  -&Q( )-1du2dj )_.e6.]+ ?6_ꅉu9(=xo#'d, IRh,vKjMZ 44 B] C7pM\5n}EsgRװWNQ]aF!sbA@[C}& /9 2H>zS+b[ACL0lz4x|X@uZXGK#P7=;NgOg1b *bӉ)߻?y\ݜĢ2QLA9,uV0Դh1Rʶe!?_YEGA"-pet7w6^1/v;ۡȉV*4VrV0;2&p蹨uU41V|*ɕJȼ\8*`p h@ZmlR@^>̠6J@ .\a X順ET{Fa$ʙLAHlo# "@dOiݍJ,ar`B@|Lj4İHP 2'vd e ĀQ$fRơV zL1 `b h#00*MDjrMM  o ʁ ol.Qxe4͈LPeA|IoLH`  O@_ o &* v5 8=@΂UQt@ 6@ q 8LZ,#(#r:61= +hl-J)JK 4Ց̮zĠV 7 OR K6NΤZG@[(``T` r=+`+R+$ $fAL`;gQG0)q`ukիnz m ~ 1ȞR 2K19#:$&Ea  aG4S, $ ^2-#-ԯ2.kK&TtN ,@M: [9,ag~<.@< =as>3I4<쬁3?SX(B.g-U6HkwmӁ`|R@d` ` S# 3Er3]# eB;-FTra` gH)~C~6T G7 7lA/  @n 1@ DSF_3MMcFtkFq5SGtxga*s ˋOKuPU PPPQPm2"RbR,1R/SU3R;Su=SET5ITMSQTu.HH\;u`nbgUeViWmW5yWu}VWU[XXY5YuYYZ5ZuZ 00 e$,(R ' 'preview.app-0.8.5/Images/FileIcon_jpeg.tiff0000644000175000000000000004201010260204565017554 0ustar gurkanrootII*00 0$(1"26R)JtI` |iC ' 'Adobe Photoshop 7.02003:12:23 14:10:36 adobe:docid:photoshop:cecb247e-353e-11d8-b8b3-f9bebad75fa6 8BIM8BIM%F &Vڰw8BIMHH8BIM&?8BIM Transparency8BIM Transparency8BIMd8BIM8BIM 8BIM8BIM 8BIM 8BIM' 8BIMH/fflff/ff2Z5-8BIMp8BIM8BIM8BIM$@@8BIM8BIM50000nullboundsObjcRct1Top longLeftlongBtomlong0Rghtlong0slicesVlLsObjcslicesliceIDlonggroupIDlongoriginenum ESliceOrigin autoGeneratedTypeenum ESliceTypeImg boundsObjcRct1Top longLeftlongBtomlong0Rghtlong0urlTEXTnullTEXTMsgeTEXTaltTagTEXTcellTextIsHTMLboolcellTextTEXT horzAlignenumESliceHorzAligndefault vertAlignenumESliceVertAligndefault bgColorTypeenumESliceBGColorTypeNone topOutsetlong leftOutsetlong bottomOutsetlong rightOutsetlong8BIM8BIM8BIM 700JFIFHH Adobe_CMAdobed            00"?   3!1AQa"q2B#$Rb34rC%Scs5&DTdE£t6UeuF'Vfv7GWgw5!1AQaq"2B#R3$brCScs4%&5DTdEU6teuFVfv'7GWgw ?az_hnVC\{oWU5^7mMɷ?4 C/ons\:wLg9ASMnT>g^˃m`1W=21463f2L )np=\u<73os$ Yqp5o}/T~cfnv`ۣȺGԮԟlÿ&鲝ŗ=CL9sskHaoP9ZjE5rA)C|Nj.?!؇vV~] ۆEmK쾶msYu>ӕ`}!}EzYva񗕸5 ͵ͪXZLަqMEPj{ngn# ɟܟߗ'2i)nIel}u-rsn8Sqg+R/n]AYzWF̻"Aѣ/6{lw,oS]n}U][wի[ZHw8;|~:]qfUH5w[^Z?yVsOUnYkM9-eznt[]Y3@>:Hyrt2ohV7TXNF3Q nE4>>...>>>>>>>>>555n<<$$$&&&'''"""||||||>>>LLL<<<yyy?&&qqqssswww===999HHHۦcccQQQVVVttt:::777~~~݇dddddd777666,,,:::;;;888666444wwwCCChhhVV777 {{{}}}444444gggkkk 111UUUwMMRRR___SSSSAAAAHHFFF???o5555((((**((($$$[ J A@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@00preview.app-0.8.5/Images/FileIcon_tiff.tiff0000644000175000000000000004174410260204565017574 0ustar gurkanrootII*00 0$(1"26R)JtI< |iC ' 'Adobe Photoshop 7.02003:12:23 14:02:45 adobe:docid:photoshop:cecb247e-353e-11d8-b8b3-f9bebad75fa6 8BIM8BIM%F &Vڰw8BIMHH8BIM&?8BIM Transparency8BIM Transparency8BIMd8BIM8BIM 8BIM8BIM 8BIM 8BIM' 8BIMH/fflff/ff2Z5-8BIMp8BIM8BIM8BIM$@@8BIM8BIM50000nullboundsObjcRct1Top longLeftlongBtomlong0Rghtlong0slicesVlLsObjcslicesliceIDlonggroupIDlongoriginenum ESliceOrigin autoGeneratedTypeenum ESliceTypeImg boundsObjcRct1Top longLeftlongBtomlong0Rghtlong0urlTEXTnullTEXTMsgeTEXTaltTagTEXTcellTextIsHTMLboolcellTextTEXT horzAlignenumESliceHorzAligndefault vertAlignenumESliceVertAligndefault bgColorTypeenumESliceBGColorTypeNone topOutsetlong leftOutsetlong bottomOutsetlong rightOutsetlong8BIM8BIM8BIM 00JFIFHH Adobe_CMAdobed            00"?   3!1AQa"q2B#$Rb34rC%Scs5&DTdE£t6UeuF'Vfv7GWgw5!1AQaq"2B#R3$brCScs4%&5DTdEU6teuFVfv'7GWgw ?az_hnVC\{oWU5^7mMɷ?4 C/ons\:wLg9ASMnT>g^˃m`1W=21463f2L )np=\u<73os$ Yqp5o}/T~cfnv`ۣȺGԮԟlÿ&鲝ŗ=CL9sskHaoP9ZjE5rA)C|Nj.?!؇vV~] ۆEmK쾶ms=C5Bϴ>_;?[Lwm/y[/k$}͵ͦV;wӿ g{;eGA??/N%}.ϖSvEpn[2ᏊF:eu~pS?f̧ Yk~Mg{+W.Xٖ˛WL[P/D[~Xݬ1ߤtK@Ve[׫[ZHw8;О/uoMm  =KhIo~u mX?2Cq[Hjm{#o21ѯv^r,"Ki {D 8"Wznv+hxz?!mQRwCuM>HSXԤeN7/df.`8YeY9BmkIfd{sm~}^i%7~r+Ÿ1YO/҈,vfOV3 ӥ6.?ܡ#*zvS)We]mcV`p#տW'[C C=WI.~I12$z@ߎ?8BIM!UAdobe PhotoshopAdobe Photoshop 7.0{{{~~~ooofffggg]]]XXXYYYVVVYYYZZZ[[[^^^gggppphhhkkkjjjoootttrrrmmmeeedddqqqfffgggllliii```vvvwwwmmmiii___TTTUUUYYY\\\___aaabbbeee^^^\\\YYY]]]aaaUUUfffmmmooommmkkkuuuvvviiippprrriiijjjnnnrrriii@vvvsssbbb]]]^^^YYYfffkkkfffqqqtttnnnssssssiiifff___aaa```UUUyyyjjjfffmmm~~~sssooopppqqqlllpppmmm@zzzwwwdddXXXPPPYYYhhhqqq{{{rrriiioooooommmooojjjmmmsssiiihhhiii]]]VVVzzzrrrxxxtttuuuuuuqqqmmmmmm@xxx___WWWTTTvvvkkk}}}mmmvvvuuufffeeekkklllxxxsssqqqoootttwwwmmmkkkbbboooyyyssswwwttttttsssmmm@qqqooo[[[RRRWWWttttttxxxrrraaagggmmm```[[[dddrrryyybbb|||xxxrrrqqq```~~~vvvkkk@}}}iiibbbTTT[[[jjjqqqwwwWWWvvvtttttt```bbbgggZZZssszzzttttttiiipppooozzz|||@pppmmmbbb^^^hhhxxxWWWvvvlllpppcccbbbbbbdddWWWyyyqqq~~~~~~rrrfff{{{ttt@cccyyyUUUdddmmm]]]}}}nnngggeeeaaabbbdddddd\\\]]]}}}jjjiiidddtttpppbbb@uuuqqqTTTgggttt\\\cccrrrqqqlllkkkaaahhhbbb^^^[[[vvvfff|||nnncccfffvvvjjj@|||\\\vvvxxxWWWaaattt~~~bbbhhhddd```mmmggg```YYYvvvjjjoooccclllzzzbbb@}}}sssYYYbbbjjj[[[VVVrrrmmmYYYdddnnncccYYYsssnnnjjjcccxxx```@xxx]]]]]]dddzzzkkkmmmvvvbbbiiigggiiieeeYYYxxxsss~~~vvvYYY@gggzzz]]]XXXlllccckkkfff]]]cccbbb^^^^^^^^^|||fffuuu@uuummmUUUdddhhhfffffflll]]]^^^```WWWrrrqqqzzz___@iiiffftttUUUhhhjjjbbbbbbbbbiiiWWWfff{{{gggdddttt@rrrwwwddd{{{iiimmm[[[iiibbb[[[]]]iiidddkkklllaaa@mmm\\\bbbgggmmmvvvmmm~~~bbbdddmmmtttrrrdddnnnvvv~~~|||xxx@aaarrrkkk|||gggiii{{{}}}qqqfffkkkssstttddd@aaa|||zzzzzzxxxzzz~~~hhhbbbooovvv|||uuu}}}]]]@mmmbbbuuuqqqwwwxxx\\\~~~uuufffeee G___bbb[[[vvvrrrtttYYYZZZkkkhhh}}}uuuxxxmmmooo"""""WiiixxxVVVhhhlllrrrllljjjjjj>>===777i....""""zzzaaa^^^VVVdddkkkmmmqqq^^[[[OOO{AAAA1111fffqqq___bbbnnnbbb&&&***...333777======:::aaa666XXX222000000111000111SSSWWW666444?##!!!kkknnnvvv666444222777wwwrrr555>>>999ڀccccGGGGyyy|||888>>>:::ۀaaaaCCCC999???}}}<<<{{{vvv]]]EEE@@@@===>>><<<8888555===ZZZsssoooggglll999WWWTTHHH555$$$++++555===:::툈nnnOOO{4444 333;;;888ppYYY;;;l$$$$111888555SS>>>&&&\ 11166622277&&&N!! GD AA@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@00preview.app-0.8.5/Images/Preview.tiff0000644000175000000000000002036410260204565016510 0ustar gurkanrootII*~~~{{{}}}|||xxxtttwww|||pppvvvzzzxxxtttrrr}}}xxx___xxxoooiiiWWWRRRQQQPPPPPPPPPRRRRRRRRRWWWYYYYYYYYY\\\___oooxxx___xxxxxx}}}bbbUUUWWWXXXcccmmmkkknnntttooofffddd``````kkkrrrrrruuuwwwVVVUUUZZZhhhwww___}}}vvvyyyaaaUUUmmmrrrccceeekkkiiiiiiddddddhhh___]]]bbbcccddd}}}mmmUUUTTTfffkkknnnyyy___rrrmmm```WWWzzz|||iiitttzzzxxxrrrfffddd___ZZZ\\\WWWbbb```eee}}}___rrrbbbmmmiiioootttwwwmmm```___ZZZ^^^```yyy{{{___tttfffxxxuuutttrrruuuiiifffaaaWWW[[[ZZZ^^^yyy___ttteeefff~~~yyyvvvtttpppnnnmmmlllmmmjjjiiifff]]]YYYfffjjjwww___VVVxxxuuuzzzuuujjjhhhgggiiimmmooojjjdddaaabbbYYYYYYxxx}}}___YYYzzztttllldddkkkjjjiiikkkkkkbbbfffiiibbb]]]]]]___aaaiiillldddkkkkkkoookkkggghhhmmmiiigggmmmjjjgggkkkkkkgggkkkdddaaaYYY___uuu|||xxxfffhhhcccYYY^^^aaa```kkklllllliiizzz{{{mmmrrrmmmjjjkkkiiiiiifffhhhTTT___zzzxxxpppqqqdddVVV[[[YYY[[[^^^```YYYYYYfff```dddrrrtttooo}}}jjjpppllliiiqqqdddjjjfffYYY___}}}fffYYY]]]]]]hhhhhhsssooosss}}}kkkhhh]]]^^^XXXvvviiixxxxxxppppppqqqnnnmmmdddooo___iii___zzzaaaTTT[[[ggguuuwwwmmmkkkmmmnnnnnntttyyymmmkkk[[[zzzqqq}}}tttqqqooonnnmmmfffnnnbbbzzz___sss{{{tttUUURRRooosssiiiooohhhccchhhvvvpppmmmaaazzzmmmrrrmmmooohhhlll___oookkkZZZYYYeeedddnnnttthhh]]]bbbiii}}}tttzzziiirrr}}}ttttttqqqkkklll___tttkkkmmmXXXppprrriiitttkkkfffbbbbbb[[[kkkvvvaaayyymmmyyyvvvrrrrrrlll___zzzhhhkkkYYYbbbccckkk}}}jjjhhhbbbfff]]]```rrroooddddddggg|||kkk___dddlllcccfff\\\ffftttdddkkk```iii``````ooozzzeeehhhjjjzzzooo___rrr```pppccc[[[jjjgggiiikkkbbbfffddd]]]tttzzzeeetttpppooo___UUU```fffmmmbbbbbbaaa[[[fffrrrwwwzzz^^^zzz___tttuuurrr]]]```iiihhhbbb^^^[[[tttppp|||rrrdddaaammm___~~~kkkzzzqqqbbbbbbbbb]]]```vvvgggtttrrrfffkkkoooiii___vvvfffnnnxxxiiittt~~~ooobbbgggmmmiiidddzzzrrriii]]]ggg___~~~llltttvvvvvvooo|||xxxvvvkkkiiikkkbbbjjj___eeeqqq{{{mmmxxx~~~ccctttddddddcccgggccc___aaasssYYYtttoooZZZccc{{{ooolllffflllxxxsssrrr```\\\ggggggiiiiiixxx___ddd}}}YYY]]]pppdddgggaaaYYYppp```gggfffmmmvvvwww}}}___ggguuu[[[XXXZZZZZZXXXWWWmmmzzzfffiiivvvzzzxxxzzzxxxxxx___{{{|||~~~mmmxxxnnnkkkhhhrrrwwwpppxxxmmmllliiiooo___vvvrrr}}}~~~oooqqqbbbqqq}}}pppooommmmmmmmmhhhpppiii|||___uuuzzzooommmnnnttttttgggqqqooottt~~~~~~kkkdddmmm}}}uuummmnnnjjjsss___zzzyyy{{{ssstttmmmjjjiiirrriiifffuuukkkttt|||___{{{wwwtttyyy}}}ooofffkkkccceeecccfffeeeooossskkkzzzvvvppp___xxx{{{tttkkkdddiiikkkiiirrruuukkkdddfff]]]```eeegggfffvvvpppfffzzz{{{sssvvvwww___uuurrrrrrtttgggbbbhhhbbbnnnhhhdddkkk```kkkeeeiiitttiiissswwwfffdddpppssssss___}}}oooxxxzzzxxxtttooozzzrrryyyyyyzzzkkktttlllxxxyyyvvvkkkkkkzzzjjj}}}___|||vvvxxxkkkrrryyyfffdddzzzuuuoookkkxxx|||vvvvvvzzz___xxxmmmssslllooofffmmmfff```bbbgggoootttvvvkkkccc___iiissstttsssrrryyy___vvvrrrpppmmmiiillltttzzztttsssgggaaagggiii|||{{{|||mmmkkkxxx_______________________________________________________________________________________________________________________________________--  ;  @  (R/export/autofs/inari1/home/fvallon/tmp/Images/Preview.tiffCreated with The GIMPHHpreview.app-0.8.5/Images/fitWidth.tiff0000644000175000000000000000235210260204565016646 0ustar gurkanrootII*j Qr@(R/home/fabien/GNUstep/Projets/GNUstep/CVS/ImageApps/Preview/Images/last_page.tiffCreated with The GIMPHHpreview.app-0.8.5/Images/first_page.tiff0000644000175000000000000000226010260204565017205 0ustar gurkanrootII*j r@(RImages/first_page.tiffCreated with The GIMPHHpreview.app-0.8.5/Documentation/0000755000175000000000000000000010260204631015606 5ustar gurkanrootpreview.app-0.8.5/Documentation/FEATURES0000644000175000000000000000054510260204565016761 0ustar gurkanrootSee Application for complete user help Features : * Open GNUstep images file supported by GNUstep (usaly tiff/jpeg/gif/png) * Save as & Save To (tiff only) * Print and Page Layout * Zoom * The image can be copy into the Pasboard (to be paste or use by services) * Documentation * Source fully available * Release under the GNU GENERAL PUBLIC LICENSE 2 preview.app-0.8.5/Documentation/TODO0000644000175000000000000000030110260204565016276 0ustar gurkanroot1- Localization 2- Write help 3- fabien, Can you change Preview so that holding down the mouse button and dragging scrolls around in the window (like ViewPDF does?) backport NSScreen stuff preview.app-0.8.5/Documentation/Known_issues.txt0000644000175000000000000000044310260204565021045 0ustar gurkanroot* Max Size should use NSScreen visibleFrame: method (check this method) * implement a cascading placement ? * Help does not work ( GNUstep does not impement it ? ) * PrintPanel : scale is not set properly (GNUstep bug ?) Please send bug repport and patch at preview.app-0.8.5/Documentation/Contributors.rtf0000644000175000000000000000056610260204565021035 0ustar gurkanroot{\rtf1\ansi\ansicpg10000\cocoartf102{\fonttbl\f0\fnil Vera Sans;} \paperw13040\paperh9000\hyphauto1\hyphfactor0\f0\fs24\b\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\ql Icons\b0 : Vincent Meyer, Benjamin Drieu\par \par \b Bugs repport:\b0 Jeff Teunissen, Denis Leeuw, G\'FCrkan Seng\'FCn\par \par \b Suggestions:\b0 Jeff Teunissen}preview.app-0.8.5/Documentation/Developers0000644000175000000000000000264510260204565017656 0ustar gurkanrootPreview is a Document based application. See Apple documentation for more informations. Important files : * GNUmakefile : See [2] writing GNUstep Makefiles. * main.m : main file * Main.gorm : Main model nib file. It is the Preview menu. * Document.m : the NSDocument subclass. Methods : ** windowNibName : overriden method. return @"Preview" (see Preview.gorm) ** windowControllerDidLoadNib: overriden method. 1- set the window frame: window origin is set to (120,100) == (WINDOW_ORIGIN_X,WINDOW_ORIGIN_Y) the windowSize have a Minsize (set in Preview.gorm) the window size is not bigger than the NSScreen:visibleFrame (-origin) 2- set _image into imageView ** loadDataRepresentation: overriden method This will create a new document. if the _image is succesfully loaded it keep the image's size. ** zoomImage: Action method call from View submenu (Zoom in & Zoom out) The zoom factor is set to 0.1 ** resize: Action method call from View submenu (100%/200%/400%/800%/50%/Fit width/Fit Window) popUp (100%/200%/400%/800%/50%) matrix of buttonCell (FitWindow/FitWidth) ** windowDidResize: Window delegate method. This method is used to refresh the horizontalScroller width ** windowDidMiniaturize: window delegate method. Generate mini icon [1] http://developer.apple.com/documentation/Cocoa/Conceptual/Documents/index.html#//apple_ref/doc/uid/10000006i [2] http://www.gnustep.it/nicola/Tutorials/WritingMakefiles/preview.app-0.8.5/English.lproj/0000755000175000000000000000000010260204631015513 5ustar gurkanrootpreview.app-0.8.5/English.lproj/Preview.gorm/0000755000175000000000000000000010260204631020077 5ustar gurkanrootpreview.app-0.8.5/English.lproj/Preview.gorm/fitWindow.tiff0000644000175000000000000000226010260204565022731 0ustar gurkanrootII*j r@(RImages/first_page.tiffCreated with The GIMPHHpreview.app-0.8.5/English.lproj/Preview.gorm/data.info0000644000175000000000000000027010260204565021672 0ustar gurkanrootGNUstep archive00002af8:00000003:00000003:00000000:01GormFilePrefsManager1NSObject%01NSString&%Latest Version0& % Typed Streampreview.app-0.8.5/English.lproj/Preview.gorm/data.classes0000644000175000000000000000701510260204565022400 0ustar gurkanroot{ Document = { Actions = ( "resize:", "zoomImage:" ); Outlets = ( imageView, scrollView, matrix, popUp ); Super = NSDocument; }; FirstResponder = { Actions = ( "activateContextHelpMode:", "alignCenter:", "alignJustified:", "alignLeft:", "alignRight:", "arrangeInFront:", "cancel:", "capitalizeWord:", "changeColor:", "checkSpelling:", "close:", "complete:", "copy:", "copyFont:", "copyRuler:", "cut:", "delete:", "deleteBackward:", "deleteForward:", "deleteToBeginningOfLine:", "deleteToBeginningOfParagraph:", "deleteToEndOfLine:", "deleteToEndOfParagraph:", "deleteToMark:", "deleteWordBackward:", "deleteWordForward:", "deminiaturize:", "deselectAll:", "fax:", "hide:", "hideOtherApplications:", "indent:", "loosenKerning:", "lowerBaseline:", "lowercaseWord:", "makeKeyAndOrderFront:", "miniaturize:", "miniaturizeAll:", "moveBackward:", "moveBackwardAndModifySelection:", "moveDown:", "moveDownAndModifySelection:", "moveForward:", "moveForwardAndModifySelection:", "moveLeft:", "moveRight:", "moveToBeginningOfDocument:", "moveToBeginningOfLine:", "moveToBeginningOfParagraph:", "moveToEndOfDocument:", "moveToEndOfLine:", "moveToEndOfParagraph:", "moveUp:", "moveUpAndModifySelection:", "moveWordBackward:", "moveWordBackwardAndModifySelection:", "moveWordForward:", "moveWordForwardAndModifySelection:", "newDocument:", "ok:", "open:", "openDocument:", "orderBack:", "orderFront:", "orderFrontColorPanel:", "orderFrontDataLinkPanel:", "orderFrontHelpPanel:", "orderFrontStandardAboutPanel:", "orderFrontStandardInfoPanel:", "orderOut:", "pageDown:", "pageUp:", "paste:", "pasteAsPlainText:", "pasteAsRichText:", "pasteFont:", "pasteRuler:", "performClose:", "performMiniaturize:", "performZoom:", "print:", "raiseBaseline:", "revertDocumentToSaved:", "runPageLayout:", "runToolbarCustomizationPalette:", "saveAllDocuments:", "saveDocument:", "saveDocumentAs:", "saveDocumentTo:", "scrollLineDown:", "scrollLineUp:", "scrollPageDown:", "scrollPageUp:", "scrollViaScroller:", "selectAll:", "selectLine:", "selectNextKeyView:", "selectParagraph:", "selectPreviousKeyView:", "selectText:", "selectToMark:", "selectWord:", "showContextHelp:", "showGuessPanel:", "showHelp:", "showWindow:", "stop:", "subscript:", "superscript:", "swapWithMark:", "takeDoubleValueFrom:", "takeFloatValueFrom:", "takeIntValueFrom:", "takeObjectValueFrom:", "takeStringValueFrom:", "terminate:", "tightenKerning:", "toggle:", "toggleContinuousSpellChecking:", "toggleRuler:", "toggleToolbarShown:", "toggleTraditionalCharacterShape:", "transpose:", "transposeWords:", "turnOffKerning:", "turnOffLigatures:", "underline:", "unhide:", "unhideAllApplications:", "unscript:", "uppercaseWord:", "useAllLigatures:", "useStandardKerning:", "useStandardLigatures:", "yank:", "zoom:" ); Super = NSObject; }; ImageView = { Actions = ( ); Outlets = ( ); Super = NSImageView; }; }preview.app-0.8.5/English.lproj/Preview.gorm/fitWidth.tiff0000644000175000000000000000235210260204565022543 0ustar gurkanrootII*j Qr@(R/home/fabien/GNUstep/Projets/GNUstep/CVS/ImageApps/Preview/Images/last_page.tiffCreated with The GIMPHHpreview.app-0.8.5/English.lproj/Preview.gorm/objects.gorm0000644000175000000000000001745510260204565022440 0ustar gurkanrootGNUstep archive00002af8:0000002c:000000a1:00000001:01GSNibContainer1NSObject01NSMutableDictionary1 NSDictionary&01NSString& %  MenuItem401 NSMenuItem0&% 50 %0&&&%%0& %  MenuItem500 &%Item0 &&&%0 1NSImage0 1NSMutableString&% common_2DCheckMark0 0& %  common_2DDash%0&%NSOwner0&% Document0& %  ScrollView01 NSScrollView1 NSView1 NSResponder%  C C  C C&01 NSMutableArray1 NSArray&01 NSClipView% A  C C  C C&0 &01GSControlTemplate1GSClassSwapper0& % ImageView1 NSImageView1 NSControl%  B B  B B&0 &%01 NSImageCell1NSCell01NSFont%&&&&&&&&%%% ? ?01NSColor0&%NSNamedColorSpace0&% System0& %  controlColor01 NSScroller% A C C A  C A&0 &%0!0"&&&&&&&&&&2 _doScroll:v12@0:4@80#%  A C  A C&0$ &%0%"&&&&&&&&&% A A A A #0&& %  GormNSWindow0'1NSWindow% ? A C C&% CN DE0( % ? A C C  C C&0) &0*1NSBox% C  B A  B A&0+ &0, %  B A  B A&0- &0.1 NSPopUpButton1NSButton% B4  B A  B A&0/ &%001NSPopUpButtonCell1NSMenuItemCell1 NSButtonCell1 NSActionCell01&&&&&&&&&021 NSMenu03&04 &0506&% 800 %07&&&%%0809&% 400 %7&&%%0:0;&% 200 %7&&%%0<0=&% 100 %0>&&&%0?0@& % common_Nibble%%0A&0B&&&&<2<%%%%%0C% B A A@ A@  A@ A@&0D &%0E0F&&&&&&&&&%0G&0H&&&&0I1!NSMatrix% @  B A  B A&0J &%0K0L&&&&&&&&&%% A A 0M0N&% System0O&% controlBackgroundColorM0P& % NSButtonCell0Q0R&&&&&&&&&%0S&0T&&&&%%0U &0V0W&0X Ap Ap0Y0Z&%NSCalibratedWhiteColorSpace 0[ &0\1"NSBitmapImageRep1# NSImageRep0]&%NSDeviceRGBColorSpace Ap Ap%%%0^1$ NSDataMalloc1% NSDataStatic1&NSData&II* R&&&&&&&&%S0_&&&&0`0a&0b Ap ApY0c &0d"] Ap Ap%%%0e$&II* R&&&&&&&&%S0f&&&&V0g0h&% Box&&&&&&&& %%0i0j&% windowBackgroundColor0k&% Window0l&% Window0m&%Window CH B F@ F@%0n0o&%NSApplicationIcon0p&% GSCustomClassMap0q&0r& %  ImageView0s&% GormNSPopUpButton.0t&% ButtonCr0u& %  NSVisible0v &0w& %  MenuItem180x&% Box*0y&% MatrixI0z& %  MenuItem2:0{&% MenuItem50|& %  MenuItem3<0} &0~1'NSNibConnector&0&%NSOwner0'r0'01(NSNibOutletConnectorr0& %  imageView0(0& %  scrollView0(&0&% _window0'x0's0'{0'w0'z0'|0'0't0'y0(y0&% matrix0(s0&% popUp01)NSNibControlConnectors0&% resize:0)y0(&0&% delegate0'01* GSMutableSet1+ NSMutableSet1,NSSet&'preview.app-0.8.5/English.lproj/Main.gorm/0000755000175000000000000000000010260204631017342 5ustar gurkanrootpreview.app-0.8.5/English.lproj/Main.gorm/data.info0000644000175000000000000000027010260204565021135 0ustar gurkanrootGNUstep archive00002af8:00000003:00000003:00000000:01GormFilePrefsManager1NSObject%01NSString&%Latest Version0& % Typed Streampreview.app-0.8.5/English.lproj/Main.gorm/data.classes0000644000175000000000000000646510260204565021653 0ustar gurkanroot{ FirstResponder = { Actions = ( "activateContextHelpMode:", "alignCenter:", "alignJustified:", "alignLeft:", "alignRight:", "arrangeInFront:", "cancel:", "capitalizeWord:", "changeColor:", "checkSpelling:", "close:", "complete:", "copy:", "copyFont:", "copyRuler:", "cut:", "delete:", "deleteBackward:", "deleteForward:", "deleteToBeginningOfLine:", "deleteToBeginningOfParagraph:", "deleteToEndOfLine:", "deleteToEndOfParagraph:", "deleteToMark:", "deleteWordBackward:", "deleteWordForward:", "deminiaturize:", "deselectAll:", "fax:", "hide:", "hideOtherApplications:", "indent:", "loosenKerning:", "lowerBaseline:", "lowercaseWord:", "makeKeyAndOrderFront:", "miniaturize:", "miniaturizeAll:", "moveBackward:", "moveBackwardAndModifySelection:", "moveDown:", "moveDownAndModifySelection:", "moveForward:", "moveForwardAndModifySelection:", "moveLeft:", "moveRight:", "moveToBeginningOfDocument:", "moveToBeginningOfLine:", "moveToBeginningOfParagraph:", "moveToEndOfDocument:", "moveToEndOfLine:", "moveToEndOfParagraph:", "moveUp:", "moveUpAndModifySelection:", "moveWordBackward:", "moveWordBackwardAndModifySelection:", "moveWordForward:", "moveWordForwardAndModifySelection:", "newDocument:", "ok:", "open:", "openDocument:", "orderBack:", "orderFront:", "orderFrontColorPanel:", "orderFrontDataLinkPanel:", "orderFrontHelpPanel:", "orderFrontStandardAboutPanel:", "orderFrontStandardInfoPanel:", "orderOut:", "pageDown:", "pageUp:", "paste:", "pasteAsPlainText:", "pasteAsRichText:", "pasteFont:", "pasteRuler:", "performClose:", "performMiniaturize:", "performZoom:", "print:", "raiseBaseline:", "revertDocumentToSaved:", "runPageLayout:", "runToolbarCustomizationPalette:", "saveAllDocuments:", "saveDocument:", "saveDocumentAs:", "saveDocumentTo:", "scrollLineDown:", "scrollLineUp:", "scrollPageDown:", "scrollPageUp:", "scrollViaScroller:", "selectAll:", "selectLine:", "selectNextKeyView:", "selectParagraph:", "selectPreviousKeyView:", "selectText:", "selectToMark:", "selectWord:", "showContextHelp:", "showGuessPanel:", "showHelp:", "showWindow:", "stop:", "subscript:", "superscript:", "swapWithMark:", "takeDoubleValueFrom:", "takeFloatValueFrom:", "takeIntValueFrom:", "takeObjectValueFrom:", "takeStringValueFrom:", "terminate:", "tightenKerning:", "toggle:", "toggleContinuousSpellChecking:", "toggleRuler:", "toggleToolbarShown:", "toggleTraditionalCharacterShape:", "transpose:", "transposeWords:", "turnOffKerning:", "turnOffLigatures:", "underline:", "unhide:", "unhideAllApplications:", "unscript:", "uppercaseWord:", "useAllLigatures:", "useStandardKerning:", "useStandardLigatures:", "yank:", "zoom:", "resize:", "zoomImage:" ); Super = NSObject; }; }preview.app-0.8.5/English.lproj/Main.gorm/objects.gorm0000644000175000000000000001622110260204565021671 0ustar gurkanrootGNUstep archive00002af8:00000010:00000102:00000001:01GSNibContainer1NSObject01NSMutableDictionary1 NSDictionary&701NSString& %  MenuItem1901 NSMenuItem0&% Edit0&&&%01NSImage01NSMutableString&% common_2DCheckMark0 0 & %  common_2DDash2submenuAction:%0 1 NSMenu0 1 NSMutableArray1 NSArray&0 0&% Copy0&% c&&% %0 0&% Preview0 &  00&% Info0&&&% %0 0 &00& %  Info Panel...0&&&% %00&% Help...0&% ?&&% %00&% File0 &&&% %0! 0" &0#0$&% Open...0%&% o&&% %0&0'& %  Save As...0(&% S&&% %0)0*& %  Save To...0+&&&% %0,0-&% Close0.&&&% %0/00&% View01&&&% %02 003 &  0405&% Zoom in06&% +&&% %0708&% Zoom out09&% -&&% %0:0;&% 100% - Full size0<&&&% %0=0>&% 200% - Double size0?&&&% %0@0A&% 400% 0B&&&% %0C0D&% 800%0E&&&% %0F0G&% 50% - Half size0H&&&% %0I0J& %  Fit window0K&&&% %0L0M& %  Fit width0N&&&% %0O0P&% Page layout...0Q&&&% %0R0S& %  Print ...0T&&&% %0U0V&% Windows0W&&&% %0X V0Y &0Z0[&% Arrange In Front0\&&&% %0]0^&% Miniaturize Window0_&% m&&% %0`0a& %  Close Window0b&% w&&% %0c0d&% Services0e&&&% %0f d0g &0h0i&% Hide0j&% h&&% %0k0l&% Quit0m&% q&&% %0n& %  MenuItem300o& %  MenuItem310p& %  MenuItem320q& %  MenuItem1k0r& %  NSVisible0s &0t& %  MenuItem2U0u& %  MenuItem330v& %  MenuItem3Z0w& %  MenuItem340x& %  MenuItem4]0y& %  MenuItem35U0z& %  MenuItem5`0{& %  MenuItem36Z0|& %  MenuItem6c0}& %  MenuItem37]0~&% MenuItemh0& %  MenuItem38`0& %  MenuItem7R0& %  MenuItem39c0& %  MenuItem8O0& %  MenuItem9/0& %  GormNSMenuX0& %  MenuItem200& %  MenuItem21 0& %  MenuItem22#0& %  MenuItem230& %  MenuItem25&0& %  MenuItem26)0& %  MenuItem29,0& %  MenuItem40h0& %  MenuItem41k0& %  MenuItem42C0& %  MenuItem43F0& %  MenuItem44I0& %  GormNSMenu1f0& %  GormNSMenu220& %  MenuItem45L0& %  GormNSMenu3 0& %  GormNSMenu4!0& %  GormNSMenu50&% NSServicesMenuf0& %  MenuItem1040& %  NSWindowsMenuX0&% GSCustomClassMap0&0& %  MenuItem1170& %  MenuItem12:0& %  MenuItem13=0& %  MenuItem14@0&% NSMenu0& %  MenuItem15C0& %  MenuItem16F0&%NSOwner0& %  NSApplication0& %  MenuItem17I0& %  MenuItem18L0 &AA01 NSNibConnector0&%NSOwner0 01 NSNibControlConnector0&%NSFirst0&% hide:0 0 0& %  terminate:0 y0 y0&% submenuAction:0 y0 {0 {0&% arrangeInFront:0 }0 }0&% performMiniaturize:0 0 0& %  performClose:0 0 0&% submenuAction:0 0± 0ñ 0ı 0ű 0Ʊ&% submenuAction:0DZ 0ȱ 0ɱ 0ʱ 0˱ 0̱ 0ͱ 0α 0ϱ 0б 0ѱ 0ұ 0ӱ&% submenuAction:0Ա 0ձ 0ֱ 0ױ&% copy:0ر 0ٱ 0ڱ&% submenuAction:0۱ 0ܱ 0ݱ 0ޱ& %  openDocument:0߱ 0 0&% saveDocumentAs:0 0 0&% saveDocumentTo:0 0 0&% close:0 0 0&% submenuAction:0 0 o0 o0&% orderFrontStandardInfoPanel:0 u0 u0&% orderFrontHelpPanel:0 0&% runPageLayout:0 0&% print:0 0&% resize:0 0 0 0 0 0 0&% resize:0 P& %  zoomImage:P P1 GSMutableSet1 NSMutableSet1NSSet&preview.app-0.8.5/English.lproj/Preview.help/0000755000175000000000000000000010260204631020063 5ustar gurkanrootpreview.app-0.8.5/English.lproj/PreviewWindow.gorm/0000755000175000000000000000000010260204631021267 5ustar gurkanrootpreview.app-0.8.5/English.lproj/GPLWindow.gorm/0000755000175000000000000000000010260204631020270 5ustar gurkanrootpreview.app-0.8.5/English.lproj/InfoPanel.gorm/0000755000175000000000000000000010260204631020331 5ustar gurkanrootpreview.app-0.8.5/GNUmakefile0000644000175000000000000000227510260204565015063 0ustar gurkanroot# # GNUmakefile # # Compile the Preview application # # Copyright (C) 2003 Fabien Vallon # # This Makefile is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # # See the GNU General Public License for more details. # include $(GNUSTEP_MAKEFILES)/common.make APP_NAME=Preview VERSION=0.8.5 Preview_APPLICATION_ICON=Preview.tiff Preview_MAIN_MODEL_FILE=Main Preview_OBJC_FILES= main.m \ Document.m \ ImageView.m Preview_LANGUAGES = English Bulgarian French Preview_LOCALIZED_RESOURCE_FILES= Preview.gorm \ Main.gorm\ Preview.help \ Localizable.strings Preview_RESOURCE_FILES= Images/* \ Documentation/gpl.txt \ Documentation/Contributors.rtf Preview_OBJCFLAGS += -Wall include $(GNUSTEP_MAKEFILES)/aggregate.make include $(GNUSTEP_MAKEFILES)/application.make preview.app-0.8.5/main.m0000644000175000000000000000200310260204565014100 0ustar gurkanroot/* main.m main : This file is part of Preview Copyright (C) 2003,2004 Fabien VALLON 2003,2004 Alcove ( http://www.alcove.com ) Authors: Fabien VALLON Date: 10 Oct 2003 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to: Free Software Foundation, Inc. 59 Temple Place - Suite 330 Boston, MA 02111-1307, USA */ #include int main(int argc, const char *argv[]) { return NSApplicationMain (argc, argv); } preview.app-0.8.5/PreviewInfo.plist0000644000175000000000000000415010260204565016315 0ustar gurkanroot{ ApplicationDescription = "Image viewer"; ApplicationIcon = Preview; ApplicationName = Preview; ApplicationRelease = "0.8.5"; ApplicationURL = "http://gna.org/projects/gsimageapps"; Authors = ("Fabien VALLON "); Copyright = "Copyright \U00a9 2003,2004 Fabien VALLON,\n Alcove:http://www.alcove.com\n"; CopyrightDescription = "Released under the GNU GPL."; FullVersionID = "0.8.5"; NSTypes = ( { NSName = "jpg"; NSHumanReadableName = "JPEG Image"; NSUnixExtensions = (jpg,jpeg,JPG,JPEG); NSDOSExtensions = (jpg); NSMIMETypes = ("image/jpeg"); NSRole = Viewer; NSIcon = FileIcon_jpeg.tiff; NSDocumentClass = Document; }, { NSName = "png"; NSHumanReadableName = "PNG Image"; NSUnixExtensions = (png,PNG); NSDOSExtensions = (png); NSMIMETypes = ("image/png"); NSRole = Viewer; NSIcon = FileIcon_png.tiff; NSDocumentClass = Document; }, { NSName = "gif"; NSHumanReadableName = "GIF Image"; NSUnixExtensions = (gif,GIF); NSDOSExtensions = (gif); NSMIMETypes = ("image/gif"); NSRole = Viewer; NSIcon = FileIcon_gif.tiff; NSDocumentClass = Document; }, { NSName = "xpm"; NSHumanReadableName = "XPM Image"; NSUnixExtensions = (xpm,XPM); NSDOSExtensions = (xpm); NSMIMETypes = ("image/xpm"); NSRole = Viewer; NSIcon = FileIcon_xpm.tiff; NSDocumentClass = Document; }, { NSName = "tiff"; NSHumanReadableName = "TIFF Image"; NSUnixExtensions = (tiff,TIFF,tif,TIF); NSDOSExtensions = (tiff); NSMIMETypes = ("image/tiff"); NSRole = Editor; NSIcon = FileIcon_tiff.tiff; NSDocumentClass = Document; }, { NSName = "pnm"; NSHumanReadableName = "PNM Image"; NSUnixExtensions = (pnm,PNM); NSDOSExtensions = (pnm); NSMIMETypes = ("image/pnm"); NSRole = Viewer; NSIcon = FileIcon_pnm.tiff; NSDocumentClass = Document; } ); } preview.app-0.8.5/ChangeLog0000644000175000000000000001151210260204565014555 0ustar gurkanroot2005-06-28 fabien * set version 0.8.5 2005-06-14 Fabien VALLON * GNUmakefile : Add Bulgarian localization * Bulgarian : new localization * Thanks to Yavor Doganov * ChangeLog : Change email address * *.m *.h PreviewInfo.plist : add Copyright to Alcove 2005-06-01 Fabien VALLON * INSTALL : Add Debian package section 2005-04-12 Fabien VALLON * Document.m : keep fir window working 2005-03-02 Fabien VALLON * Documnent.m Fix zoom * Documnent.m :Remove _notifyMouseDown _notifyMouseUp track the mouse for ImageView. * ImageView.m : track the mouse and display the correct cursor 2004-12-15 Fabien VALLON * Document.m: resize fix some resiz bugs 2004-10-27 Fabien VALLON * Add Cursor when it entered into the view * Images/hand.tiff : new icon 2004-10-18 Fabien VALLON $ * Document.m : add alpha , new class (CheckeredView), rewrite some part of windowControllerDidLoadNib * Move gpl.txt to the top of the directory and rename it COPYING * Move INSTALL to the top of the directory * Move ChangeLog to the top of the directory 2004-10-08 Fabien VALLON * New version: 0.7 2004-09-16 Fabien VALLON * main.m,GNUmakefile : mail address is now 2004-09-15 Fabien VALLON * English.lproj/Preview.gorm : New gorm format (require gnustep-gui > 0.93 now) * English.lproj/Main.gorm : New gorm format (require gnustep-gui > 0.93 now) * French.lproj/Preview.gorm : New gorm format (require gnustep-gui > 0.93 now) * French.lproj/Main.gorm : New files (require gnustep-gui > 0.93 now) 2004-06-04 Fabien VALLON * Window min height is now 100 2004-06-03 Fabien Vallon * Document.m windowNibName Fix typo (verticalScrollerSize) * Document.m resize: Fix tag 2004-05-27 Fabien VALLON * Remove Defaults * Remove French (temp) * Preview.gorm : all interface is Gormified * Document.m : cleanup add windowDidMiniaturize: 2004-05-23 Fabien Vallon * Add again NSDocument design :) * Pasteboard & services should work * Window have a min and Max size now. (see TODO/Known_bugs.txt) * Save as & Save to should work now 2004-04-06 Fabien VALLON * Remove NSDocument design (some NSDocument troubles) * Add Image.{m,h} Controller.{m,h} PreviewView.{m,h} PreviewWindowController.{m.h} * Remove Document* ExtendedScrollView* 2004-03-20 Fabien Vallon * Document.m add shouldRunSavePanelWithAccessoryView: and runModalSavePanel: withAccessoryView: * DocumentController.m add runModalOpenPanel: forTypes: * InfoPanel.m : Add version * Change all email addresses 2004-02-02 * New release 0.6 2004-01-17 Fabien Vallon * ExtendedScrollView.m : add setTag setTarget and setAction messages for buttons 2004-01-15 Fabien Vallon * InfoPanel.{mh] : add _gpl, add GPLWindow when the user clic on the licence * GNUmakefile: Add GPLWindow and add gpl.tx into Resource * add GPLWindow.gorm * DocumentController: Fix setFrameAutosaveName: (repport by Denis Leeuw) 2004-01-13 Fabien Vallon * ExtendedScrollView[mh] : new class * Document.m/main.m : Cleanup resize:, add fit window and fit width 2004-01-06 * main.m : comment GSMemory Panel (for release) switch zoomIn zoomOut rename Display to View Add 100% - Full Size, 200% - Double Size, 400%, 800%, 50% - Half Size items * DocumentController.m : NSRunAlertPanel message change. * Document.m : add resize: _setOriginalSize and _originalSize methods add _statFile method add timer to check the image * upgrade TODO 2004-01-05 * Document.m : set correct size for Window (Bug report by Jeff Teunissen) 2004-01-01 Fabien Vallon * Document.m : Add miniwindowImage 2003-12-28 Fabien Vallon * Images/*.tiff : New icons, thanks to Vincent Meyer * Document.m : dealloc problem 2003-12-18 Fabien Vallon * Defaults.[mh] : Add Defaults * Document.[mh] : Use defaults 2003-12-07 Fabien Vallon * Add help 2003-12-06 Fabien Vallon * Document.m : set the default window height & width. use NSScreen id it is not set into defaults * Add Documentation * main.m/DocumentController.m/Preview.help/GNUmakefile: Add Help Panel * main.m: Add GSMemoryPanel (for debug) 2003-11-26 Fabien Vallon * CVS import preview.app-0.8.5/README0000644000175000000000000000047410260204565013670 0ustar gurkanrootPreview is a very simple Image Viewer. INSTALL : see INSTALL LICENCE : see COPYING ChangeLog : see ChangeLog FEATURES : see Documentation/FEATURES DEVELOPERS : see Documentation/Developpers CONTRIBUTORS : see Documentation/Contributors.rtf TODO : see Documentation/TODO Bugs : see Documentation/known_issues.txt preview.app-0.8.5/ImageView.h0000644000175000000000000000214510260204565015033 0ustar gurkanroot /* ImageView.h This file is part of Preview Copyright (C) 2003;2004 Fabien VALLON 2003,2004 Alcove ( http://www.alcove.com ) Additional copyrights here Authors : Fabien VALLON Date: 10 Jan 2005 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to: Free Software Foundation, Inc. 59 Temple Place - Suite 330 Boston, MA 02111-1307, USA */ #ifndef _IMAGESAPPS_PREVIEW_IMAGEVIEW_H #define _IMAGESAPPS_PREVIEW_IMAGEVIEW_H #include @interface ImageView: NSImageView { NSPoint selectionStart; } @end #endif preview.app-0.8.5/Document.h0000644000175000000000000000405210260204565014733 0ustar gurkanroot/* ** Document.h ** ** Document header : This file is part of Preview ** ** Copyright (c) 2003,2004 Fabien VALLON ** 2003,2004 Alcove ( http://www.alcove.com ) ** Additional copyrights here ** ** Authors : Fabien VALLON ** Date: 10 Oct 2003 ** ** This program is free software; you can redistribute it and/or ** modify it under the terms of the GNU General Public License as ** published by the Free Software Foundation; either version 2 of ** the License, or (at your option) any later version. ** ** This program is distributed in the hope that it will be useful, ** but WITHOUT ANY WARRANTY; without even the implied warranty of ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ** ** See the GNU General Public License for more details. ** ** You should have received a copy of the GNU General Public ** License along with this program; if not, write to: ** ** Free Software Foundation, Inc. ** 59 Temple Place - Suite 330 ** Boston, MA 02111-1307, USA */ #ifndef _IMAGESAPPS_PREVIEW_DOCUMENT_H #define _IMAGESAPPS_PREVIEW_DOCUMENT_H #include #include @class NSImage; @class NSImageView; @class NSNotification; @class NSMatrix; @class NSScrollView; @class NSWindow; /*! @class Document @abstract Preview NSDocument subclass @discussion Preview NSDocument subclass. It is also the Preview.gorm controller and the window delegate */ @interface Document: NSDocument { NSScrollView *scrollView; NSImageView *imageView; NSWindow *window; NSPopUpButton *popUp; NSMatrix *matrix; @private NSImage *_image; double _scaleFactor; NSSize _originalSize; unsigned _tag; BOOL _isAlpha; id checkeredView; id openHandCursor; id closedHandCursor; } //Action methods -(void) zoomImage: (id) sender; //from menuItems -(void) resize: (id) sender; //from menuItems/popUp/matrix //window delegate - (void)windowDidResize:(NSNotification *)aNotification; - (void)windowDidMiniaturize:(NSNotification *)aNotification; @end #endif /* _IMAGESAPPS_PREVIEW_DOCUMENT_H */ preview.app-0.8.5/INSTALL0000644000175000000000000000120110260204565014026 0ustar gurkanroot############################## ####### PACKAGES ############# ############################## 1) Debian - packages ( called preview.app ) exist for Debian Sarge & Debian Sid ( thanks to Grkan Sengn ) ############################## ##### COMPILE FROM SOURCE ### ############################## 1) Depends GNUstep - gnustep-make - gnustep-base (Foundation Kit) - gnustep-gui (Application Kit) see http://www.gnustep.org 2) Compile Preview with Project Center (TODO) 3) Compile Preview From command line. unarchive Preview : gunzip -c Preview-X.Y.tar.gz | tar xvf - cd Preview-X-Y make make install (su or sudo if need) preview.app-0.8.5/ImageView.m0000644000175000000000000000450010260204565015035 0ustar gurkanroot /* ImageView.h This file is part of Preview Copyright (C) 2003;2004 Fabien VALLON 2003,2004 Alcove ( http://www.alcove.com ) Additional copyrights here Authors : Fabien VALLON Date: 10 Jan 2005 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to: Free Software Foundation, Inc. 59 Temple Place - Suite 330 Boston, MA 02111-1307, USA */ #include "ImageView.h" #include #include #include #include #include @implementation ImageView -(BOOL) needsHandCursor { NSSize visibleSize = [self visibleRect].size; NSSize boundsSize = [self bounds].size; if ( ( ( visibleSize.width + 1 ) < boundsSize.width ) || ( ( visibleSize.height + 1 ) < boundsSize.height ) ) return YES; else return NO; } - (void) mouseDown: (NSEvent*)event { if ( [self needsHandCursor] ) { [[NSCursor closedHandCursor] push]; } } - (void) mouseUp: (NSEvent*)event { if ( [self needsHandCursor] ) { [[NSCursor openHandCursor] push]; } } - (void) mouseDragged: (NSEvent*)event { NSSize scrollAmount = NSMakeSize(-[event deltaX], -[event deltaY]); NSDictionary *dict = [NSDictionary dictionaryWithObject: [NSValue valueWithSize: scrollAmount] forKey: @"UserInfoKeyScrollAmount"]; [[NSNotificationCenter defaultCenter] postNotificationName: @"TEST" object: self userInfo: dict]; } -(void) mouseEntered:(NSEvent *) event { if ( [self needsHandCursor] ) [[NSCursor openHandCursor] push]; // else // [[NSCursor arrowCursor] push]; } -(void) mouseExited:(NSEvent *) event { if ( [self needsHandCursor] ) { [[NSCursor arrowCursor] push]; } } @end preview.app-0.8.5/COPYING0000644000175000000000000004313110260204565014040 0ustar gurkanroot GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License. preview.app-0.8.5/Document.m0000644000175000000000000003374510260204565014753 0ustar gurkanroot /* Document.m Document class & WindowController : This file is part of Preview Copyright (C) 2003;2004 Fabien VALLON 2003,2004 Alcove ( http://www.alcove.com ) Additional copyrights here Authors : Fabien VALLON Date: 10 Oct 2003 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to: Free Software Foundation, Inc. 59 Temple Place - Suite 330 Boston, MA 02111-1307, USA */ // See Doumentation/DEVELOPERS #include "Document.h" #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include /*********************************************************************/ /**************** NSDocument Private methods *************************/ /*********************************************************************/ #define HEIGHT_HUNDRED_PER_CENT 0 #define FOUR_HUNDRED_PER_CENT 1 #define DOUBLE_SIZE 2 #define FULL_SIZE 3 #define HALF_SIZE 4 #define FIT_WINDOW 5 #define FIT_WIDTH 6 #define ZOOM_IN 0 #define ZOOM_OUT 1 #define SCALEFACTOR 0.1 @interface CheckeredView: NSView @end @implementation CheckeredView - (void)drawRect:(NSRect)rect { NSColor *backColor = [NSColor darkGrayColor]; NSColor *color = [NSColor grayColor]; [backColor set]; NSRectFill(rect); [color set]; int i, j; BOOL drawForeground = NO; for(i = 0; i < rect.size.width; i+=10) { drawForeground = i % 20 == 0; for(j = 0; j < rect.size.height; j+=10) { if(drawForeground) { NSRectFill(NSMakeRect(rect.origin.x+i, rect.origin.y+j, 10, 10)); } drawForeground = !drawForeground; } } } @end @interface Document (Private) -(void) _setScaleFactor: (double) factor; -(double) _scaleFactor; -(void) _updateImage; -(void) _setOriginalSize: (NSSize) originalSize; -(NSSize) _originalSize; -(void) _setCurrentItem:(unsigned) tag; -(unsigned) _currentItem; -(void) _notifyDragScroll: (id)notification; -(void) _setIsAlpha:(BOOL) flag; -(BOOL) _isAlpha; @end @implementation Document (Private) -(void) _updateImage { if ([self _scaleFactor] != 1.0 ) { NSSize imageSize; NSAffineTransform *affineTransform; affineTransform = [NSAffineTransform transform]; [affineTransform scaleBy:[self _scaleFactor]]; imageSize = [imageView frame].size; [imageView setFrameSize:[affineTransform transformSize:imageSize]]; if ( _isAlpha ) { [checkeredView setFrameSize: [affineTransform transformSize:imageSize]]; } [imageView setNeedsDisplay:YES]; } } /* * Set the scale factor (zoom). */ - (void) _setScaleFactor: (double)factor { _scaleFactor = factor; } - (double) _scaleFactor { return _scaleFactor; } -(void) _setOriginalSize: (NSSize) orginalSize { _originalSize = orginalSize; } -(NSSize) _originalSize { return _originalSize; } -(void) _setCurrentItem:(unsigned) tag { if (tag <= FIT_WIDTH) _tag = tag; } -(unsigned) _currentItem { return _tag; } - (void) _notifyDragScroll: (id)notification { NSPoint newOrigin; NSSize scrollAmount; NSSize contentSize; NSRect vRect; scrollAmount = [[[notification userInfo] objectForKey: @"UserInfoKeyScrollAmount"] sizeValue]; vRect = [scrollView documentVisibleRect]; contentSize = [scrollView contentSize]; newOrigin = NSMakePoint(vRect.origin.x + scrollAmount.width, vRect.origin.y + scrollAmount.height); [[scrollView contentView] scrollToPoint: [[scrollView contentView] constrainScrollPoint:newOrigin]]; } -(void) _setIsAlpha:(BOOL) flag { _isAlpha = flag; } -(BOOL) _isAlpha { return _isAlpha; } @end /************************************************************/ /*********** NSDocument subclass methods ********************/ /************************************************************/ @implementation Document /** * NSDocument subclass method * return the nib (Preview) */ - (NSString *) windowNibName { return @"Preview"; } /** * NSDocument subclass method * 1- set the window frame: * window origin is set to (120,100) == (WINDOW_ORIGIN_X,WINDOW_ORIGIN_Y) * the windowSize have a Minsize (set in Preview.gorm) * the window size is not bigger than the NSScreen:visibleFrame (-origin) * * 2- set _image into imageView */ - (void) windowControllerDidLoadNib:(NSWindowController *)windowController { // NSSize windowSize; window = [windowController window]; if ( ( ! window ) || (!_image ) ) return; { BOOL bigger = NO; NSSize imageSize = [_image size]; NSSize contentSize; NSSize screenSize = [[NSScreen mainScreen] frame].size; screenSize.width -= 100 + 64; screenSize.height -= 120; if ( screenSize.width > imageSize.width + [[scrollView verticalScroller] frame].size.width ) contentSize.width = imageSize.width + [[scrollView verticalScroller] frame].size.width; else { contentSize.width = screenSize.width; bigger = YES; } if ( screenSize.height > imageSize.height + [[scrollView horizontalScroller] frame].size.height ) contentSize.height = imageSize.height + [[scrollView horizontalScroller] frame].size.height; else { contentSize.height = screenSize.height; bigger = YES; } if ( [[_image bestRepresentationForDevice:nil] hasAlpha] ) { [self _setIsAlpha: YES]; checkeredView = [[CheckeredView alloc] initWithFrame: NSMakeRect(0,0,imageSize.width,imageSize.height)]; [imageView retain]; [scrollView setDocumentView: checkeredView]; [checkeredView addSubview:imageView ]; } else { [self _setIsAlpha: NO]; } [imageView setFrame:NSMakeRect(0,0,imageSize.width,imageSize.height)]; [imageView setImage:_image]; int test = [imageView addTrackingRect:[imageView bounds] owner:imageView userData:nil assumeInside:YES]; [window setContentSize:contentSize]; [window setFrameOrigin: NSMakePoint(100,120)]; } { [[NSNotificationCenter defaultCenter] addObserver: self selector: @selector(_notifyDragScroll:) name: @"TEST" object: imageView]; [[NSNotificationCenter defaultCenter] addObserver: self selector: @selector(_notifyMouseDown:) name: @"MOUSEDOWN" object: nil]; [[NSNotificationCenter defaultCenter] addObserver: self selector: @selector(_notifyMouseUp:) name: @"MOUSEUP" object: nil]; } //Registering Objects for Services { [NSApp registerServicesMenuSendTypes:[[NSArray alloc] initWithObjects:NSFilenamesPboardType,nil ] returnTypes:nil]; } } /** * NSDocument subclass method * This will create a new document. * if it the _image is succesfully init it set the size. */ - (BOOL) loadDataRepresentation: (NSData*)data ofType: (NSString*)docType { _image = [[[NSImage alloc] initWithData: data] autorelease]; if (! _image ) return NO; [self _setOriginalSize: [_image size]]; return YES; } /** * NSDocument subclass method */ - (NSData *)dataRepresentationOfType:(NSString *)aType { Class imageRepClass = [NSImageRep imageRepClassForFileType:aType]; if ( ! imageRepClass ) { return nil; } return [_image TIFFRepresentation]; } /** * NSDocument subclass method */ - (NSString *)fileType { return @"tiff"; } - (id)validRequestorForSendType:(NSString *)sendType returnType:(NSString *)returnType { return self; } - (BOOL)writeSelectionToPasteboard:(NSPasteboard *)pasteBoard types:(NSArray *)types { NSArray *pbTypeArray = [[NSArray alloc] initWithObjects:NSStringPboardType,NSFilenamesPboardType,NSTIFFPboardType,nil]; BOOL ok = NO; NSData *tiffRep = [_image TIFFRepresentation]; [pasteBoard declareTypes:pbTypeArray owner:nil]; if ( [types containsObject : NSStringPboardType] ) { if ( [pasteBoard setString: [super fileName] forType: NSStringPboardType] ) ok = YES; } if ( [types containsObject : NSFilenamesPboardType] ) { if ( [pasteBoard setPropertyList: [NSArray arrayWithObject:[super fileName]] forType: NSFilenamesPboardType] ) ok = YES; } if ( [types containsObject : NSTIFFPboardType] ) { if ([pasteBoard setData: tiffRep forType: NSTIFFPboardType] ) ok = YES; } return ok; } /** * * This method copy NSTIFFPboardType, NSFilenamesPboardType or NSStringPboardType * into the general Pasteboard */ - (void) copy: (id) sender { NSPasteboard *pasteBoard = [NSPasteboard generalPasteboard]; NSData *tiffRep = [_image TIFFRepresentation]; NSArray *pbTypeArray = [[NSArray alloc] initWithObjects:NSStringPboardType,NSFilenamesPboardType,NSTIFFPboardType,nil]; [pasteBoard declareTypes: pbTypeArray owner:self]; if ( ! [pasteBoard setPropertyList: [[NSArray alloc] initWithObjects:[super fileName],nil] forType: NSStringPboardType] ) NSLog(@"Problem : cannot copy NSStringPboardType"); if (! [pasteBoard setPropertyList: [NSArray arrayWithObject:[super fileName]] forType: NSFilenamesPboardType] ) NSLog(@"Problem : cannot copy NSFilenamesPboardType"); if (! [pasteBoard setData: tiffRep forType: NSTIFFPboardType] ) NSLog(@"Problem : cannot copy NSTIFFPboardType"); } /** * Action method * * * */ -(void) resize: (id) sender { unsigned tag; NSSize newSize; //Get Tag (sender comes from popUp or matrix or menu { if ( sender == popUp ) tag = [sender indexOfSelectedItem]; //popUp else if ( sender == matrix ) { tag = [[sender selectedCell] tag]; //matrix } else tag = [sender tag]; //menu } //Deselect matrix cells if popPup is selected { if (tag <= HALF_SIZE) { if ( [matrix selectedCell] ) [matrix deselectAllCells]; [imageView setAutoresizingMask: NSViewNotSizable]; } } switch (tag) { case HEIGHT_HUNDRED_PER_CENT: newSize.width = [self _originalSize].width * 8; newSize.height = [self _originalSize].height * 8; break; case FOUR_HUNDRED_PER_CENT: newSize.width = [self _originalSize].width * 4; newSize.height = [self _originalSize].height * 4; break; case DOUBLE_SIZE: newSize.width = [self _originalSize].width * 2; newSize.height = [self _originalSize].height * 2; break; case FULL_SIZE: newSize.width = [self _originalSize].width ; newSize.height = [self _originalSize].height; break; case HALF_SIZE: newSize.width = [self _originalSize].width / 2; newSize.height = [self _originalSize].height / 2; break; case FIT_WINDOW: newSize.width = [scrollView contentSize].width; newSize.height = [scrollView contentSize].height; [imageView setAutoresizingMask:(NSViewWidthSizable | NSViewHeightSizable)]; if ( [self _isAlpha] ) { NSLog(@"isAlpha"); [checkeredView setAutoresizingMask: (NSViewWidthSizable|NSViewHeightSizable)]; } break; case FIT_WIDTH: newSize.width = [scrollView contentSize].width; newSize.height = [imageView frame].size.height; [imageView setAutoresizingMask: (NSViewWidthSizable)]; if ( [self _isAlpha] ) [checkeredView setAutoresizingMask: NSViewWidthSizable]; break; default: printf("problem resize default \n"); return; } //set autoresizing Mask if ( tag < FIT_WINDOW ) { if ( [self _isAlpha] ) [checkeredView setAutoresizingMask: NSViewNotSizable]; [imageView setAutoresizingMask: NSViewNotSizable]; } //Resize if ( [self _isAlpha] ) { [checkeredView setFrame:NSMakeRect(0,0,newSize.width,newSize.height) ]; } NSLog(@"apres newSize %@",NSStringFromSize(newSize)); [imageView setFrame: NSMakeRect(0,0,newSize.width,newSize.height)]; // why TODO FIXME !!! only need with FIT_WINDOW [imageView setNeedsDisplay:YES]; [checkeredView setNeedsDisplay:YES]; [self _setCurrentItem: tag]; } -(void) zoomImage : (id) sender { unsigned tag; tag = [sender tag]; if ( tag == ZOOM_IN ) { [self _setScaleFactor: (1 + SCALEFACTOR)]; [self _updateImage]; } else if ( tag == ZOOM_OUT ) { [self _setScaleFactor: (1 -SCALEFACTOR)]; [self _updateImage]; } else { NSLog(@"zoomImage tag: %i",tag); } } /** * window delegate method. * The mini icon is generate from _image */ - (void)windowDidMiniaturize:(NSNotification *)aNotification { NSImage *miniImage = _image; [miniImage setSize: NSMakeSize(48,48)]; [window setMiniwindowImage:miniImage]; } /** * window delegate method. * This method is used to refresh the horizontalScroller width */ - (void)windowDidResize:(NSNotification *)aNotification { NSRect scrollerRect = [[scrollView horizontalScroller] frame]; scrollerRect.size.width = [window frame].size.width - 135; [[scrollView horizontalScroller] setFrame:scrollerRect]; } //Validate Menu : - (BOOL) validateMenuItem: (id)menuItem { SEL action = [menuItem action]; if ( sel_eq(action,@selector(resize:)) ) { if ( [menuItem tag] == [self _currentItem] ) return NO; } return YES; } @end