objc_change & redraw issues

Moderators: exxos, simonsunnyboy, Mug UK, Zorro 2, Moderator Team

User avatar
exxos
Hardware Guru
Hardware Guru
Posts: 4933
Joined: Fri Mar 28, 2003 8:36 pm
Location: England
Contact:

objc_change & redraw issues

Postby exxos » Fri Jan 15, 2016 12:00 pm

http://toshyp.atari.org/en/008010.html#objc_change

According to that setting "1" will auto redraw the object though it doesn't seem to do that.

If I change the text in my object, refresh the entire window, it works.

BUT, I was trying to "refesh" a single object rather than the whole window...

junk=objc_draw(tree&,obj,xx,yy,w,h,1) ' does not display updated text - and does not seem to update the text either

junk=objc_draw(tree&,obj,xx,yy,w,h,0) ' displays merged texted so text is updating but not clearing the original text, like it is "pasted" on top.

So what am I doing wrong here ? I even tried sending spaces to the box before I updated it to try and clear it, but that didn't do anything.
4MB STFM 1.44 FD- VELOCE+ 020 STE - Falcon 030 CT60 - Atari 2600 - Atari 7800 - Gigafile - SD Floppy Emulator - PeST - various clutter

http://www.exxoshost.co.uk/atari/ All my hardware guides - mods - games - STOS
http://www.exxoshost.co.uk/atari/last/storenew/ - All my hardware mods for sale - Please help support by making a purchase.
http://ataristeven.exxoshost.co.uk/Steem.htm Latest Steem Emulator

User avatar
Mikefulton
Captain Atari
Captain Atari
Posts: 169
Joined: Sun Nov 29, 2015 10:27 am

Re: objc_change & redraw issues

Postby Mikefulton » Sat Jan 16, 2016 12:37 am

I would guess your clip rectangle for objc_change is wrong. Most common error.


Social Media

     

Return to “Other BASIC”

Who is online

Users browsing this forum: No registered users and 1 guest