Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
about Hardware Images and _DisplayOrder,Help!
#6
(02-10-2026, 05:05 PM)qbfans Wrote: @smcneil Also, may I ask the expert about the wiki explanation of _DISPLAYORDER? Does it mean at most one software image layer and two hardware image layers? Because when I tried to set hardware2, I got a syntax error.

All we have is two hardware layers -- _HARDWARE and _HARDWARE1.   To be honest, I'm not certain what those extra parenthesis and [...] are all about in the wiki.  Perhaps someone at one point at plans to expand to more hardware layers?  If so, they haven't been implemented yet, as far as I know.

What we currently have available is:

_SOFTWARE -- the main screen which most people draw and print and write to and such.
_HARDWARE --  the first hardware screen which you can use as one layer.  (I guess think of it like a 0-based array, if that helps?)
_HARDWARE1 -- the *second* hardware screen which is an independent layer from all others.  
_GL -- the opengl screen which can only be used if you use SUB _GL and call it from there with the _gl commands.

So basically, without using GL, you have 3 layers to play around with, and displayorder lets you set them in whatever order you like for your programs, starting from the background layer to the foremost layer.  

_SOFTWARE, _HARDWARE, _HARDWARE1 would place the _software layer on the bottom, then the _hardware layer on top, with the _hardware1 laying being the topmost layer.   In the case of your example, the peach background would be on the software layer, the black circles on the hardware layer, and the red box on the hardware1 layer.

If you want to arrange your parts differently, just swap the display order so they stack as you would expect them to.
Reply


Messages In This Thread
RE: about Hardware Images and _DisplayOrder,Help! - by SMcNeill - 02-10-2026, 05:23 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Nth problem with hardware images Ikerkaz 9 507 01-23-2026, 02:58 PM
Last Post: bplus
  Hardware images questions Dav 5 478 12-04-2025, 04:18 PM
Last Post: Pete
  Hardware images...Talk to me! Unseen Machine 5 747 09-22-2025, 11:12 PM
Last Post: TempodiBasic
  Transparency with Hardware Images NakedApe 8 1,040 07-10-2025, 09:47 AM
Last Post: Pete
  How does QB64 support saving 8bit images? CMR 4 798 04-27-2025, 04:46 PM
Last Post: CMR

Forum Jump:


Users browsing this thread: 1 Guest(s)