forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 193 matches
forums.silverfrost.com Forum Index
Author Message
  Topic: %sh and %sz
Kenneth_Smith

Replies: 15
Views: 965

PostForum: ClearWin+   Posted: Sat Dec 22, 2018 6:44 pm   Subject:
Thanks Paul, Eddie, and John for the suggestions. I had originally thought about a zoom function but decided it was too hard but its back on the too do list. Unfortunately I will have to revisi ...
  Topic: %sh and %sz
Kenneth_Smith

Replies: 15
Views: 965

PostForum: ClearWin+   Posted: Sat Dec 15, 2018 9:14 pm   Subject:
A little more progress was made today:-

https://www.youtube.com/watch?v=yqUAYXo8itM
  Topic: Derived type definition and private attribute
Kenneth_Smith

Replies: 4
Views: 366

PostForum: Support   Posted: Sat Dec 15, 2018 1:09 pm   Subject:
Thanks Paul,

Another one for you to consider. This compiles with no errors, which I think is wrong since mod_b should have no access to the definition of z_t.

module a_mod
implicit none

ty ...
  Topic: Derived type definition and private attribute
Kenneth_Smith

Replies: 4
Views: 366

PostForum: Support   Posted: Thu Dec 13, 2018 12:40 am   Subject: Derived type definition and private attribute
Is this a bug? Should the private declaration in the header of the module def, prevent the main program from finding the definition of the type test_t?

module def
implicit none

private

ty ...
  Topic: %sh and %sz
Kenneth_Smith

Replies: 15
Views: 965

PostForum: ClearWin+   Posted: Sun Dec 09, 2018 5:43 pm   Subject:
Progress to date:-

https://www.youtube.com/watch?v=tM2F2NNaHxY

Thanks to those who emailed and messaged me with suggestions.
  Topic: %sh and %sz
Kenneth_Smith

Replies: 15
Views: 965

PostForum: ClearWin+   Posted: Mon Dec 03, 2018 12:45 pm   Subject:
Thanks Paul,

I've not used child windows before so I am on a learning curve, and experimenting.

For the long dark winter nights I have tasked myself with developing a schematic capture applicat ...
  Topic: %sh and %sz
Kenneth_Smith

Replies: 15
Views: 965

PostForum: ClearWin+   Posted: Mon Dec 03, 2018 10:07 am   Subject:
John,

The first example generates the following. A quarter of the image area is displayed (0.5 x 0.5 = 0.25)

http://www.tr5mx.co.uk/chex1.jpg

The second example draws the whole image:-

ht ...
  Topic: %sh and %sz
Kenneth_Smith

Replies: 15
Views: 965

PostForum: ClearWin+   Posted: Sun Dec 02, 2018 10:36 pm   Subject: %sh and %sz
I have modified one of the examples in the documentation to convince myself that its possible to scroll over a graphics area embedded in a child with scroll bars:

program main
implicit none
inclu ...
  Topic: Draw_rectangle@ with %gr smooth4 or smooth8 options
Kenneth_Smith

Replies: 3
Views: 326

PostForum: ClearWin+   Posted: Mon Nov 26, 2018 3:19 pm   Subject:
Thanks Paul, I forgot about that example. Modified your example to demonstrate issue as below, and uncommenting the call to set_graphics_selection@ the problem goes away. Very Happy

Ken

program ...
  Topic: Draw_rectangle@ with %gr smooth4 or smooth8 options
Kenneth_Smith

Replies: 3
Views: 326

PostForum: ClearWin+   Posted: Mon Nov 26, 2018 1:11 am   Subject: Draw_rectangle@ with %gr smooth4 or smooth8 options
Below is a link to a simple drawing program which behaves as expected, drawing lines, circles, rectangles etc.

http://www.tr5mx.co.uk/canvas2.f95

If the %gr options smooth4 or smooth8 are includ ...
  Topic: Visualisation library
Kenneth_Smith

Replies: 18
Views: 1708

PostForum: General   Posted: Tue Oct 16, 2018 8:07 am   Subject:
You could use %pl to set up the x and y coordinates. Then since %pl is a graphics region you can simply draw your contour lines on the drawing surface via a call back function. I've got this to work ...
  Topic: Native %pl
Kenneth_Smith

Replies: 404
Views: 62615

PostForum: ClearWin+   Posted: Tue Oct 16, 2018 7:54 am   Subject:
Thanks Paul, Problem fixed Smile I was sure I had read some where that these were to be kind=7. Corrected code below for those who wish to experiment.
module data_mod
implicit none
integer, par ...
  Topic: Native %pl
Kenneth_Smith

Replies: 404
Views: 62615

PostForum: ClearWin+   Posted: Tue Oct 16, 2018 6:15 am   Subject:
Thanks Paul. Here's the code with Paul's suggestions. Runs OK in 32 bit, but there is a problem with 64 bit which I have yet to identify. 7th argument of the %pl should be 32 bit integer ?? module d ...
  Topic: Native %pl
Kenneth_Smith

Replies: 404
Views: 62615

PostForum: ClearWin+   Posted: Sun Oct 14, 2018 12:00 pm   Subject:
One to be aware of if using multiple %pl regions and get_plot_data@.

In the example below there are two %pl regions, both with full mouse input.

Data in each plot is different and the plots have ...
  Topic: %tl tab locations
Kenneth_Smith

Replies: 2
Views: 543

PostForum: ClearWin+   Posted: Sat Oct 13, 2018 2:16 pm   Subject:
Thanks Eddie, been starting at this one for a few hours and never saw the blindingly obvious (again). Ken
 
Page 1 of 13 Goto page 1, 2, 3 ... 11, 12, 13  Next
All times are GMT + 1 Hour
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group