soccer jersey forums.silverfrost.com :: View topic - Recent changes in get_opengl_mouse_state@ ?
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 

Recent changes in get_opengl_mouse_state@ ?

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> ClearWin+
View previous topic :: View next topic  
Author Message
DanRRight



Joined: 10 Mar 2008
Posts: 2834
Location: South Pole, Antarctica

PostPosted: Fri May 24, 2024 9:26 am    Post subject: Recent changes in get_opengl_mouse_state@ ? Reply with quote

This is another devilry. 30 years this worked perfectly and abruptly it failed. Looks like in 902 the

get_opengl_mouse_state@ (ix,iy,iflag)

(iflag=9) stopped to get any different iflag when you push simultaeously left Ctrl and left mouse buttons in OpenGL screen.

The RightCtrl+LeftMouseDown generates iflag=9 OK. Mouse and keyboard interruptions are handled like this:

Code:
   i=winio@('%pv%^og[double,depth16]&', iwid, ihgt,CBmouse)


I use get_opengl_mouse_state@ and not CALL_BACK_REASON
because

clearwin_string@('CALL_BACK_REASON')

does not offer an option when you keep Ctrl and left mouse down simultaneously (it still shows the reason ="MOUSE MOVE" as if Ctrl key is not down)

Both these interrupt functions are called inside CBmouse to handle plot moves.

/* The OpenGL implementation of this compiler was incredible good from the start in 1990th. And shock is that not a single user of this compiler found it in 1/3 of century. This correlates with even more surprising fact that not a single user requested mainstream ways of multi-processing with this compiler. I fail to understand the Fortran users, and find the key explanation of this absurd in the same devilry and if devilty then The Matrix too. Because if not devilry and not Matrix then what? Altzheimer and dementia?
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7942
Location: Salford, UK

PostPosted: Fri May 24, 2024 11:20 am    Post subject: Reply with quote

There has been no change to the ClearWin+ code for this function but it is still possible that some other change (e.g. a upgrade to the Windows API) could make a difference.

But we can only investigate when supplied with a demonstrator together with details of the platform (x64 or Win32) and the operating system.

v9.03 is available from this Forum but it is unlikely to make a difference in this context.
Back to top
View user's profile Send private message AIM Address
LitusSaxonicum



Joined: 23 Aug 2005
Posts: 2391
Location: Yateley, Hants, UK

PostPosted: Fri May 24, 2024 9:48 pm    Post subject: Reply with quote

Dan,

Why I don't use OpenGL:
(1) I can't find a user guide to OpenGL written in plain English
(2) Ordinary ClearWin+ graphics are good enough for what I do.

Why I don't crave multiprocessing:
(1) My PC is thousands of times faster (and effectively larger capacity) than the mainframes I learnt programming on c. 1970-71
(2) Everything I program runs almost instantly
(3) The minute you have a user interface, you slow down to the pace of the user - in my case, it's very pedestrian.

Nevertheless, it would be nice to have that user guide, and to use all the CPUs simultaneously, wouldn't it?

Eddie
Back to top
View user's profile Send private message
DanRRight



Joined: 10 Mar 2008
Posts: 2834
Location: South Pole, Antarctica

PostPosted: Sat May 25, 2024 1:50 am    Post subject: Reply with quote

Eddie,
I am talking about entire pool of users when you can apply statistics and can try to make some reasonable conclusions ( so far i found no reasonable ones though). And at least you are one of those extremely rare individuals here who understand what would be good and bad for the compiler. Talking with others is like hitting with the head thick concrete wall.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> ClearWin+ All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group