On Feb 23, 2006, at 10:12 AM, Joseph J. Strout wrote:

Are you sure that all Linux Windows are double-buffered? If yes, then I don't need to double-buffer them in my own classes (not that I compile for Linux, but other people might use my controls).

Well, I'm pretty sure the IDE double-buffers only in Windows, and not in Linux (or OS X, obviously). I don't think Linux's double- buffering is quite as sophisticated as OS X's, but it does a pretty good job.

But is it part of the KDE/Gnome (or what ever the GUIs are called)?

Basically what I am asking if I could just ignore manual double- buffering on any Linux system and it would just work fine. Right now I have a test:

  isBuffered = True    // assume true until proven false

  #If TargetMacOS
    #If TargetMachO
      isBuffered = False
    #Else
      Dim osv As Integer
      // OS X 10.0.0 or higher
If System.Gestalt("sysv", osv) And (osv >= &h1000) Then isBuffered = False
    #Endif
  #Endif

and if I should change it to:

  #If TargetMacOS
    #If TargetMachO
      isBuffered = False
    #Else
      Dim osv As Integer
      // OS X 10.0.0 or higher
If System.Gestalt("sysv", osv) And (osv >= &h1000) Then isBuffered = False
    #Endif
  #Elseif TargetLinux
    isBuffered = False
  #Endif

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to