Add basic print functionality
Sadly, the line width depends on the widget's DPI, which seems to even cause uneven lines on Windows, where virtual printers claim high DPI. It might also be an unrelated problem. Similarly, selected objects are exported highlighted. Other than that, it works quite well. Add a manifest to make the print dialog look nice with the older GTK+ bundle we depend upon. The RC file could theoretically be scanned for /\s+"([^"]+)"\s*$/, unescaped, and the results configure_file()-stamped.
This commit is contained in:
		@@ -6,10 +6,8 @@
 | 
			
		||||
			<menuitem action="Save" />
 | 
			
		||||
			<menuitem action="SaveAs" />
 | 
			
		||||
			<separator />
 | 
			
		||||
<!--
 | 
			
		||||
			<menuitem action="Export" />
 | 
			
		||||
			<menuitem action="Print" />
 | 
			
		||||
			<separator />
 | 
			
		||||
-->
 | 
			
		||||
			<menuitem action="Quit" />
 | 
			
		||||
		</menu>
 | 
			
		||||
		<menu action="EditMenu">
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										11
									
								
								share/logdiag.manifest
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								share/logdiag.manifest
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
			
		||||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
 | 
			
		||||
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
 | 
			
		||||
	<assemblyIdentity name="logdiag" version="1.0.0.0" type="win32" />
 | 
			
		||||
	<dependency>
 | 
			
		||||
		<dependentAssembly>
 | 
			
		||||
			<assemblyIdentity name="Microsoft.Windows.Common-Controls"
 | 
			
		||||
				version="6.0.0.0" type="win32" processorArchitecture="*"
 | 
			
		||||
				publicKeyToken="6595b64144ccf1df" language="*" />
 | 
			
		||||
		</dependentAssembly>
 | 
			
		||||
	</dependency>
 | 
			
		||||
</assembly>
 | 
			
		||||
@@ -1 +1,3 @@
 | 
			
		||||
#include <windows.h>
 | 
			
		||||
LD_ICON ICON "logdiag.ico"
 | 
			
		||||
CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "logdiag.manifest"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user