From 64676031423465996e83c4a685290f0c3d97a249 Mon Sep 17 00:00:00 2001 From: Martin Kretzschmar Date: Mon, 31 Mar 2003 21:08:43 +0000 Subject: kill traces of ltk, incorporate new sources * xpdf/Makefile.am: kill traces of ltk, incorporate new sources * Makefile.am, configure.in: don't build the ltk subdir * ANNOUNCE, CHANGES, ChangeLog, README, aconf-dj.h, aconf-win32.h, dj_make.bat, ms_make.bat, vms_make.com: update * xpdf/LTKOutputDev.cc, xpdf/LTKOutputDev.h, xpdf/postscript.xbm, xpdf/xpdf-flip.ltk, xpdf/xpdf-ltk.h, xpdf/xpdf-top.ltk, xpdf/xpdf.ltk: remove. * xpdf/Annot.cc, xpdf/Annot.h, xpdf/Array.cc, xpdf/Array.h, xpdf/BuiltinFont.cc, xpdf/BuiltinFont.h, xpdf/BuiltinFontTables.cc, xpdf/CMap.cc, xpdf/CMap.h, xpdf/Catalog.cc, xpdf/Catalog.h, xpdf/CharCodeToUnicode.cc, xpdf/CharCodeToUnicode.h, xpdf/Decrypt.cc, xpdf/Decrypt.h, xpdf/Dict.cc, xpdf/Dict.h, xpdf/Error.cc, xpdf/Error.h, xpdf/FTFont.cc, xpdf/FTFont.h, xpdf/FontFile.cc, xpdf/FontFile.h, xpdf/Function.cc, xpdf/Function.h, xpdf/Gfx.cc, xpdf/Gfx.h, xpdf/GfxFont.cc, xpdf/GfxFont.h, xpdf/GfxState.cc, xpdf/GfxState.h, xpdf/GlobalParams.cc, xpdf/GlobalParams.h, xpdf/ImageOutputDev.cc, xpdf/ImageOutputDev.h, xpdf/Lexer.cc, xpdf/Lexer.h, xpdf/Link.cc, xpdf/Link.h, xpdf/NameToCharCode.cc, xpdf/NameToCharCode.h, xpdf/NameToUnicodeTable.h, xpdf/Object.cc, xpdf/Object.h, xpdf/OutputDev.cc, xpdf/OutputDev.h, xpdf/PBMOutputDev.cc, xpdf/PBMOutputDev.h, xpdf/PDFDoc.cc, xpdf/PDFDoc.h, xpdf/PSOutputDev.cc, xpdf/PSOutputDev.h, xpdf/PSTokenizer.cc, xpdf/PSTokenizer.h, xpdf/Page.cc, xpdf/Page.h, xpdf/Parser.cc, xpdf/Parser.h, xpdf/SFont.cc, xpdf/SFont.h, xpdf/Stream.cc, xpdf/Stream.h, xpdf/T1Font.cc, xpdf/T1Font.h, xpdf/TTFont.cc, xpdf/TTFont.h, xpdf/TextOutputDev.cc, xpdf/TextOutputDev.h, xpdf/UnicodeMap.cc, xpdf/UnicodeMap.h, xpdf/XOutputDev.cc, xpdf/XOutputDev.h, xpdf/XRef.cc, xpdf/XRef.h, xpdf/config.h, xpdf/pdffonts.cc, xpdf/pdfimages.cc, xpdf/pdfinfo.cc, xpdf/pdftopbm.cc, xpdf/pdftops.cc, xpdf/pdftotext.cc, xpdf/vms_make.com, xpdf/xpdf.cc: update. * goo/GHash.cc, goo/GHash.h, goo/GList.cc, goo/GList.h, goo/GString.cc, goo/GString.h: mostly Mac OS X gcc fixage. * doc/pdffonts.1, doc/pdffonts.cat, doc/pdffonts.hlp, doc/pdfimages.1, doc/pdfimages.cat, doc/pdfimages.hlp, doc/pdfinfo.1, doc/pdfinfo.cat, doc/pdfinfo.hlp, doc/pdftopbm.1, doc/pdftopbm.cat, doc/pdftopbm.hlp, doc/pdftops.1, doc/pdftops.cat, doc/pdftops.hlp, doc/pdftotext.1, doc/pdftotext.cat, doc/pdftotext.hlp, doc/xpdf.1, doc/xpdf.cat, doc/xpdf.hlp, doc/xpdfrc.5, doc/xpdfrc.cat, doc/xpdfrc.hlp: update docs. --- (limited to 'pdf/xpdf/xpdf.ltk') diff --git a/pdf/xpdf/xpdf.ltk b/pdf/xpdf/xpdf.ltk deleted file mode 100644 index 1e21032..0000000 --- a/pdf/xpdf/xpdf.ltk +++ /dev/null @@ -1,267 +0,0 @@ -#======================================================================== -# -# xpdf.ltk -# -# Copyright 1996-2002 Glyph & Cog, LLC -# -#======================================================================== - -#------------------------------------------------------------------------ -# main window -#------------------------------------------------------------------------ - -Window(func:makeWindow title:"xpdf" icon:xpdfIcon) { - Box(x:1 y:2 xfill:1 yfill:1) { - - # canvas and scrollbars - Box(x:2 y:2 xfill:1 yfill:1) { - Box1(xfill:1 yfill:1 sunken) { - ScrollingCanvas(name:"canvas" w:100 h:100) - } - Box1(yfill:1) { - Scrollbar(name:"vScrollbar" vert min:0 max:100 move:&scrollVertCbk) - } - Box1(xfill:1) { - Scrollbar(name:"hScrollbar" horiz min:0 max:100 move:&scrollHorizCbk) - } - Box1() { Empty() } - } - - # buttons, page number, etc. - Box(x:15 y:1 xfill:1) { - Box1() { - IconButton(bitmap:backArrow_bits w:backArrow_width - h:backArrow_height press:&backCbk) - } - Box1() { - IconButton(bitmap:dblLeftArrow_bits w:dblLeftArrow_width - h:dblLeftArrow_height press:&prevTenPageCbk) - } - Box1() { - IconButton(bitmap:leftArrow_bits w:leftArrow_width - h:leftArrow_height press:&prevPageCbk) - } - Box1() { - IconButton(bitmap:rightArrow_bits w:rightArrow_width - h:rightArrow_height press:&nextPageCbk) - } - Box1() { - IconButton(bitmap:dblRightArrow_bits w:dblRightArrow_width - h:dblRightArrow_height press:&nextTenPageCbk) - } - Box1() { - IconButton(bitmap:forwardArrow_bits w:forwardArrow_width - h:forwardArrow_height press:&forwardCbk) - } - Box1() { - Label(text:"Page" - font:"-*-courier-medium-r-normal-*-14-*-*-*-*-*-*-*") - } - Box1(sunken left:4 right:4) { - TextIn(name:"pageNum" mw:6 done:&pageNumCbk - font:"-*-courier-medium-r-normal-*-14-*-*-*-*-*-*-*") - } - Box1() { - Label(name:"numPages" maxLength length:9 - font:"-*-courier-medium-r-normal-*-14-*-*-*-*-*-*-*") - } - Box1() { - MenuButton(name:"zoom" menu:zoomMenu) - } - Box1() { - IconButton(bitmap:find_bits w:find_width - h:find_height press:&findCbk) - } - Box1() { - IconButton(bitmap:postscript_bits w:postscript_width - h:postscript_height press:&postScriptCbk) - } - Box1() { - IconButton(bitmap:about_bits w:about_width h:about_height - press:&aboutCbk) - } - Box1(xfill:1) { - Label(name:"link" fixedWidth - font:"-*-helvetica-medium-r-normal-*-12-*-*-*-*-*-*-*") - } - Box1() { Button(label:"Quit" press:&quitCbk) } - } - } -} - -#------------------------------------------------------------------------ -# full-screen main window -#------------------------------------------------------------------------ - -Window(func:makeFullScreenWindow title:"xpdf" icon:xpdfIcon) { - Box(x:1 y:1 xfill:1 yfill:1) { - ScrollingCanvas(name:"canvas" w:100 h:100) - } -} - -#------------------------------------------------------------------------ -# menu for main window -#------------------------------------------------------------------------ - -Menu(func:makeMenu title:"xpdf" n:8) { - MenuItem(text:"Open..." shortcut:"O" num:menuOpen - select:&menuCbk) - MenuItem(text:"Reload" shortcut:"R" num:menuReload - select:&menuCbk) - MenuItem(text:"Save as..." num:menuSavePDF - select:&menuCbk) - MenuItem(text:NULL) - MenuItem(text:"Rotate counterclockwise" num:menuRotateCCW - select:&menuCbk) - MenuItem(text:"Rotate clockwise" num:menuRotateCW - select:&menuCbk) - MenuItem(text:NULL) - MenuItem(text:"Quit" shortcut:"Q" num:menuQuit - select:&menuCbk) -} - -#------------------------------------------------------------------------ -# popup zoom menu -#------------------------------------------------------------------------ - -Menu(func:makeZoomMenu title:"zoom" n:14) { - MenuItem(text:"-5" num:-5 select:&zoomMenuCbk) - MenuItem(text:"-4" num:-4 select:&zoomMenuCbk) - MenuItem(text:"-3" num:-3 select:&zoomMenuCbk) - MenuItem(text:"-2" num:-2 select:&zoomMenuCbk) - MenuItem(text:"-1" num:-1 select:&zoomMenuCbk) - MenuItem(text:"0" num: 0 select:&zoomMenuCbk) - MenuItem(text:"+1" num: 1 select:&zoomMenuCbk) - MenuItem(text:"+2" num: 2 select:&zoomMenuCbk) - MenuItem(text:"+3" num: 3 select:&zoomMenuCbk) - MenuItem(text:"+4" num: 4 select:&zoomMenuCbk) - MenuItem(text:"+5" num: 5 select:&zoomMenuCbk) - MenuItem(text:NULL) - MenuItem(text:"fit page" shortcut:"z" num:100 select:&zoomMenuCbk) - MenuItem(text:"fit width" shortcut:"w" num:101 select:&zoomMenuCbk) -} - -#------------------------------------------------------------------------ -# "PostScript output" dialog -#------------------------------------------------------------------------ - -Window(func:makePostScriptDialog dialog:gTrue defWidget:"ok" - title:"xpdf: PostScript output") { - Box(x:1 y:3) { - Box(x:4 y:1) { - Box1() { Label(text:"Pages:") } - Box1(sunken) { - TextIn(name:"firstPage" mw:6 tab:"lastPage" - font:"-*-courier-medium-r-normal-*-14-*-*-*-*-*-*-*") - } - Box1() { Label(text:"to") } - Box1(sunken) { - TextIn(name:"lastPage" mw:6 tab:"fileName" - font:"-*-courier-medium-r-normal-*-14-*-*-*-*-*-*-*") - } - } - Box(x:2 y:1) { - Box1() { Label(text:"File:") } - Box1(sunken xfill:1) { - TextIn(name:"fileName" mw:32 - font:"-*-courier-medium-r-normal-*-14-*-*-*-*-*-*-*") - } - } - Box(x:3 y:1 top:8) { - Box1(left:8) { Button(name:"ok" label:"Ok" press:&psButtonCbk num:1) } - Box1(xfill:1) { Empty() } - Box1(right:8) { Button(label:"Cancel" press:&psButtonCbk num:0) } - } - } -} - -#------------------------------------------------------------------------ -# "open" dialog -#------------------------------------------------------------------------ - -Window(func:makeOpenDialog dialog:gTrue defWidget:"open" - title:"xpdf: Open...") { - Box(x:1 y:2 xfill:1 yfill:1) { - Box1(xfill:1 yfill:1) { - FileReq(name:"fileReq" select:openSelectCbk - font:"-*-courier-medium-r-normal-*-14-*-*-*-*-*-*-*") - } - Box(x:3 y:1 top:8 xfill:1) { - Box1(left:8) { Button(name:"open" label:"Open" press:&openButtonCbk - num:1) } - Box1(xfill:1) { Empty() } - Box1(right:8) { Button(label:"Cancel" press:&openButtonCbk num:0) } - } - } -} - -#------------------------------------------------------------------------ -# "save" dialog -#------------------------------------------------------------------------ - -Window(func:makeSaveDialog dialog:gTrue defWidget:"save" - title:"xpdf: Save as...") { - Box(x:1 y:2 xfill:1 yfill:1) { - Box1(xfill:1 yfill:1) { - FileReq(name:"fileReq" select:saveSelectCbk - font:"-*-courier-medium-r-normal-*-14-*-*-*-*-*-*-*") - } - Box(x:3 y:1 top:8 xfill:1) { - Box1(left:8) { Button(name:"save" label:"Save" press:&saveButtonCbk - num:1) } - Box1(xfill:1) { Empty() } - Box1(right:8) { Button(label:"Cancel" press:&saveButtonCbk num:0) } - } - } -} - -#------------------------------------------------------------------------ -# "find" window -#------------------------------------------------------------------------ - -Window(func:makeFindWindow defWidget:"find" title:"xpdf: Find") { - Box(x:1 y:3 xfill:1 yfill:1) { - Box(x:2 y:1 xfill:1) { - Box1() { Label(text:"Text:") } - Box1(xfill:1 sunken) { - TextIn(name:"text" mw:32 - font:"-*-courier-medium-r-normal-*-14-*-*-*-*-*-*-*") - } - } - Box1(xfill:1 yfill:1) { Empty() } - Box(x:3 y:1 top:8 xfill:1) { - Box1(left:8) { Button(name:"find" label:"Find" press:&findButtonCbk - num:1) } - Box1(xfill:1) { Empty() } - Box1(right:8) { Button(label:"Close" press:&findButtonCbk num:0) } - } - } -} - -#------------------------------------------------------------------------ -# "about" window -#------------------------------------------------------------------------ - -Window(func:makeAboutWindow defWidget:"close" title:"About xpdf") { - Box(x:1 y:2 xfill:1 yfill:1) { - Box(x:2 y:2 xfill:1 yfill:1) { - Box1(xfill:1 yfill:1 sunken) { - List(name:"list" w:400 h:30 - font:"-*-courier-medium-r-normal-*-12-*-*-*-*-*-*-*") - } - Box1(yfill:1) { - Scrollbar(name:"vScrollbar" vert min:0 max:100 - move:&aboutScrollVertCbk) - } - Box1(xfill:1) { - Scrollbar(name:"hScrollbar" horiz min:0 max:100 - move:&aboutScrollHorizCbk) - } - Box1() { Empty() } - } - Box(x:2 y:1) { - Box1(xfill:1) { Empty() } - Box1() { Button(name:"close" label:"Close" press:&closeAboutCbk) } - } - } -} -- cgit v0.9.1