Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
5 registered members (dr_panther, VoroneTZ, AndrewAMD, vicknick, 7th_zorro), 832 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: vec_to_screen with the view as bmap on panel [Re: txesmi] #456647
12/02/15 16:37
12/02/15 16:37

M
Malice
Unregistered
Malice
Unregistered
M



^--- I see, you manually set the VIEW_size == image_bmap_size.

The manual states that VIEW_size == render_target.bmp, so Reconnoiter's last code should work... Correct? As View size should automatically be set to image size.


@Reconnoiter sorry for my misunderstanding and time wasting.
@Txesmi Thanks for solving this. And why all the C++ style dereferences and referencing, tare you studying C/C++ too ?

Last edited by Malice; 12/02/15 16:39.
Re: vec_to_screen with the view as bmap on panel [Re: ] #456649
12/02/15 16:49
12/02/15 16:49
Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
txesmi Offline
Serious User
txesmi  Offline
Serious User

Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
Originally Posted By: Malice
The manual states that VIEW_size == render_target.bmp, so Reconnoiter's last code should work... Correct? As View size should automatically be set to image size.

Manual says but size is not set. I remember upon a time it was.

@Malice
because I am worth it grin
out of jokes, I got used a couple of years ago and I continued disabling pointer detection.

Last edited by txesmi; 12/02/15 16:51.
Re: vec_to_screen with the view as bmap on panel [Re: txesmi] #456650
12/02/15 17:04
12/02/15 17:04

M
Malice
Unregistered
Malice
Unregistered
M



Quote:
Manual says but size is not set. I remember upon a time it was.

One of our manuals is lying... Both in text and function.
Quote:
If no size is given in a panel definition, the panel is set to the size of the panel bitmap. If neither a size nor a bitmap is given, the panel is set to the size of its largest element (f.i. a button).''' If no size is given in a view definition, the view is set to the size of its render target. '''

^Online manual.

Quote:
I got used a couple of years ago and I continued disabling pointer detection.


Lol yes! I did the change years back as well, but ended up having to go back when answering questions in this actual Section.

Re: vec_to_screen with the view as bmap on panel [Re: ] #456660
12/02/15 19:34
12/02/15 19:34
Joined: Dec 2011
Posts: 1,823
Netherlands
Reconnoiter Offline OP
Serious User
Reconnoiter  Offline OP
Serious User

Joined: Dec 2011
Posts: 1,823
Netherlands
@txesmi, works, tnx!
(anyone reading this and seeing only part of VIEW on the panel.bmap, check that you don't set the pos_x/pos_y of the VIEW, I was doing this wrong too blush )

Re: vec_to_screen with the view as bmap on panel [Re: Reconnoiter] #456663
12/02/15 22:57
12/02/15 22:57
Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
txesmi Offline
Serious User
txesmi  Offline
Serious User

Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
glad of being helpful

Page 2 of 2 1 2

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1