Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SCREENCONTROL does set values in fbc 1.08.0 #315

Closed
jayrm opened this issue Jun 8, 2021 · 1 comment
Closed

SCREENCONTROL does set values in fbc 1.08.0 #315

jayrm opened this issue Jun 8, 2021 · 1 comment

Comments

@jayrm
Copy link
Member

jayrm commented Jun 8, 2021

New gfx API for SCREENCONTROL does not correctly set values.

#include "fbgfx.bi"
print "Testing screencontrol 100  and  0"

'screenres 800,600,32 '' nothing 64 bts
screen 19,32 '' wrong position 64 bits or nothing on 32 bits
windowtitle "tester" 'nothing all the time using windowtitle

screencontrol fb.SET_WINDOW_POS, 300,300
sleep 200
dim as integer x,y
screencontrol fb.GET_WINDOW_POS,x,y

print "I would like window at  300 , 300"
print "I get this:"
print x;" , ";y
sleep 

See forum discussion

New API functions for 32-bit and 64-bit are wrappers for the one existing API. Screencontrol GET operations are ok but the SET values are not passed to the original API.

@jayrm
Copy link
Member Author

jayrm commented Jun 12, 2021

Fixed in #317

@jayrm jayrm closed this as completed Jun 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant