A lot of other plugins do this. Get the focused frame, and then get its view.
On Wed, Jun 30, 2010 at 4:27 PM, Ingo Brueckl <ib@wupperonline.de> wrote:
>
> Hallo Martin,
>
> On Tue, 29 Jun 2010 11:37:11 +1000, Martin Sevior wrote:
>
>> To get the window width in pixels do:
>> getGraphics()->tdu(getView()->getWindowWidth()))
>
> Thanks, but how can I obtain the necessary FV_View (?) inside a plugin?
>
> Ingo
>
-- "I like to pay taxes. With them, I buy civilization." -- Oliver Wendell HolmesReceived on Wed Jun 30 22:54:34 2010
This archive was generated by hypermail 2.1.8 : Wed Jun 30 2010 - 22:54:34 CEST