<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Approximatrix Forums — Request for AppGraphics]]></title>
		<link>http://forums.approximatrix.com/viewtopic.php?id=468</link>
		<atom:link href="http://forums.approximatrix.com/extern.php?action=feed&amp;tid=468&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Request for AppGraphics.]]></description>
		<lastBuildDate>Tue, 02 Jun 2015 21:14:12 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Request for AppGraphics]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=2110#p2110</link>
			<description><![CDATA[<p>Rod,</p><p>I&#039;m not sure when that would be fixed.&nbsp; I think the failure to capture buttons is acceptable, but text boxes can and often are used to display information.&nbsp; I&#039;ll look into it for the next version.</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Tue, 02 Jun 2015 21:14:12 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=2110#p2110</guid>
		</item>
		<item>
			<title><![CDATA[Re: Request for AppGraphics]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=2108#p2108</link>
			<description><![CDATA[<p>Jeff,</p><p>Thanks again for your help. Do you have any idea when the screen capture will be reworked to include the buttons and text boxes, or did I misunderstand the intent of fixing it? In any event, I can live with the current behavior and I can perhaps make other arrangements for displaying the information in the text boxes. </p><p>Rod</p>]]></description>
			<author><![CDATA[null@example.com (grogley)]]></author>
			<pubDate>Tue, 02 Jun 2015 17:44:47 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=2108#p2108</guid>
		</item>
		<item>
			<title><![CDATA[Re: Request for AppGraphics]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=2107#p2107</link>
			<description><![CDATA[<p>Rod,</p><p>Yes, not capturing buttons and textboxes is a limitation at the moment due to the way the screen capture is implemented.&nbsp; Specifically, the <em>writeimagefile</em> function is pulling the drawing surface only.&nbsp; The textboxes and buttons are actually separate &quot;windows&quot; (in the Windows API sense), and are not captured at the moment.</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Mon, 01 Jun 2015 21:55:34 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=2107#p2107</guid>
		</item>
		<item>
			<title><![CDATA[Re: Request for AppGraphics]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=2106#p2106</link>
			<description><![CDATA[<p>Jeff,</p><p>I gave this a try last night and it all works pretty well with the exception that the screen capture does not include the buttons and text boxes. I find this odd but is that the way it is supposed to work? You can see what was captured here:</p><p><a href="https://flic.kr/p/t2oskc">https://flic.kr/p/t2oskc</a></p><p>and compare that to the usual screen capture here (ignoring content differences of course):</p><p><a href="https://flic.kr/p/rnZ1SS">https://flic.kr/p/rnZ1SS</a></p><p>Thanks.</p><p>Rod</p>]]></description>
			<author><![CDATA[null@example.com (grogley)]]></author>
			<pubDate>Mon, 01 Jun 2015 20:21:12 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=2106#p2106</guid>
		</item>
		<item>
			<title><![CDATA[Re: Request for AppGraphics]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=2105#p2105</link>
			<description><![CDATA[<p>Thanks Jeff,</p><p>That solution should work very well for what I need. I will give it a shot shortly and let you know how it works out. My videos tend to be pretty crude but once I make one, I may post a link. </p><p>Rod</p>]]></description>
			<author><![CDATA[null@example.com (grogley)]]></author>
			<pubDate>Sun, 31 May 2015 21:48:58 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=2105#p2105</guid>
		</item>
		<item>
			<title><![CDATA[Re: Request for AppGraphics]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=2101#p2101</link>
			<description><![CDATA[<p>Rod,</p><p>Sorry for my delayed response.&nbsp; The bug I mentioned doesn&#039;t affect your ability to capture the entire window.&nbsp; The problem is the viewports that you have set.&nbsp; When I said you&#039;d need to &quot;reset&quot; the viewport, I specifically meant that you&#039;d have to set the viewport to be the entire window:</p><div class="codebox"><pre><code>call setviewport(0, 0, getmaxx(), getmaxy(), .TRUE.)
call writeimagefile(filename=myfile)</code></pre></div><p>There is not currently a function to set the viewport to be the entire window (as it is by default when you call <em>initwindow</em>.&nbsp; You&#039;d have to do it manually as I demonstrated above.&nbsp; The next version of AppGraphics has a subroutine <em>resetviewport</em> that does this automatically.</p><p>The <em>writeimagefile</em> subroutine is pretty flexible.&nbsp; If you call it with no options whatsoever, it will request a filename, capture the entire window&#039;s contents (provided the viewport is the entire window at this time), and save it to the bitmap file selected by the user.&nbsp; You can optionally specify the filename or the region to capture in the call if you&#039;d prefer.&nbsp; The example &quot;Conway&#039;s Game of Life,&quot; included with Simply Fortran on the Start tab, implements a call to the <em>writeimagefile</em> subroutine.</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Sun, 31 May 2015 00:23:28 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=2101#p2101</guid>
		</item>
		<item>
			<title><![CDATA[Re: Request for AppGraphics]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=2098#p2098</link>
			<description><![CDATA[<p>Jeff,</p><p>Thanks for the clarification but I have a couple other questions regarding this topic. In regards to the bug that is to be fixed, does that mean that once fixed, one will not be able to select the entire window for screen capture? As to your comment about selecting the entire window, I am unclear as to how to do that. The window is created with the &quot;initwindow command&quot; but after that how do you select it? </p><p>One other question I have is, does the &quot;writeimagefile&quot; command perform the capture and writing all as one action? Putting it a different way, if I were to do this manually from the Windows desktop, I would start with a &quot;CNTL Print-Screen&quot; to place a image copy on the clipboard. Then I would do a &quot;CNTL-V&quot; to paste the clipboard contents into an image editing program, followed by a save-as action to save the image in a file. Does &quot;writeimagefile&quot; do all this at once or are there other calls needed to perform these actions? From the description of the &quot;writeimagefile&quot;, it isn&#039;t totally clear that is what is happening.&nbsp; Clearly I haven&#039;t tried this yet as I am scoping out how to add this capability to the program. </p><p>Thanks again for your help and patience.</p><p>Rod</p>]]></description>
			<author><![CDATA[null@example.com (grogley)]]></author>
			<pubDate>Wed, 27 May 2015 20:33:52 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=2098#p2098</guid>
		</item>
		<item>
			<title><![CDATA[Re: Request for AppGraphics]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=2097#p2097</link>
			<description><![CDATA[<p>Rod,</p><p>I understand now.&nbsp; So yes, <em>writeimagefile</em> will write only the viewport <em>at this time</em>.&nbsp; It actually has a weird bug where it will start the capture at the top-left corner of the viewport, but will save a picture of the window dimensions, meaning there will be nothing shown on the bottom and right edges.&nbsp; The situation certainly isn&#039;t ideal.</p><p>I would suggest &quot;re-setting&quot; the viewport to be the entire window prior to calling the function to save the image file.&nbsp; That should be how the subroutine works.&nbsp; The next release will have a corrected <em>writeimagefile</em> that will only capture the current viewport.</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Wed, 27 May 2015 00:53:55 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=2097#p2097</guid>
		</item>
		<item>
			<title><![CDATA[Re: Request for AppGraphics]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=2096#p2096</link>
			<description><![CDATA[<p>Jeff,</p><p>I am not sure I completely understand your answer. I read the &quot;writeimagefile&quot; discussion as saving the active viewport, not the entire window. Based on your answer, perhaps I can do what I want using that command.</p><p>Just to confirm, what I am asking for is the ability to save then entire window, like what is seen in my screen capture here (I have updated this image a couple of times since my last posting):</p><p><a href="https://flic.kr/p/rnZ1SS">https://flic.kr/p/rnZ1SS</a></p><p>Note, I am referring to the two plot areas in that capture as viewports but it is the entire window that I want to capture and save as a BMP. </p><p>The goal is to create a series of screen captures to make into a video of my simulation output. </p><p>Perhaps I am just dense with the terminology...<br />Thanks,<br />Rod</p>]]></description>
			<author><![CDATA[null@example.com (grogley)]]></author>
			<pubDate>Tue, 26 May 2015 21:15:34 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=2096#p2096</guid>
		</item>
		<item>
			<title><![CDATA[Re: Request for AppGraphics]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=2095#p2095</link>
			<description><![CDATA[<p>Rod,</p><p>The <a href="http://simplyfortran.com/docs/appgraphics/images.html">writeimagefile</a> function will save a portion or the entire window to a file depending on the arguments passed.&nbsp; A window in AppGraphics is the same as a window in Windows; regions of AppGraphics windows are normally referred to as &quot;viewports.&quot;</p><p>Dose that answer your question?</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Tue, 26 May 2015 18:21:16 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=2095#p2095</guid>
		</item>
		<item>
			<title><![CDATA[Request for AppGraphics]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=2093#p2093</link>
			<description><![CDATA[<p>I think in a previous thread Jeff has told me that image capture is only for the active plot window. Would it be possible to make an option to capture the entire created Window - what is created with the &quot;initiwindow&quot; call?</p><p>I have another way of doing the screen capture but it requires an outside code to run and file naming is problematic. It would be so much easier if I could do this with a Fortran call or function. </p><p>Thanks for your consideration.<br />Rod</p>]]></description>
			<author><![CDATA[null@example.com (grogley)]]></author>
			<pubDate>Mon, 25 May 2015 13:05:43 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=2093#p2093</guid>
		</item>
	</channel>
</rss>
