Results 1 to 2 of 2

Thread: ClanLib 2.0 and CL_Surface

  1. #1
    Join Date
    May 2009

    Default ClanLib 2.0 and CL_Surface

    Hi all,

    I develop with ClanLib from some years and I think this SDK is the best. Now I'm checking the new version but I discovered that I can not simply recompile my project based to ClanLib 1.0 with the new version 2.0 because some basically class like CL_Surface is nomore present in the new version. What is the new class substituting the "old" CL_Surface basic features? I'm reading the overview informations but it seem to me that the philosopy of drawing is changed a little.....
    Thank you and congraturation again for your great product.

  2. #2
    ClanLib Developer
    Join Date
    Sep 2006
    Bergen, Norway


    The closest match would be CL_Image or CL_Sprite.

    You'll find out alot of things changed in the API between 1.0, and 2.0. I suggest checking out the Examples directory to see how you do basic stuff in 2.0 so you got something to compare against.

Similar Threads

  1. Mask of CL_Surface
    By karaman in forum Official ClanLib SDK Forums
    Replies: 2
    Last Post: 06-01-2008, 08:57 AM
  2. problem with CL_Surface display a PNG
    By lurker2000wxc in forum Official ClanLib SDK Forums
    Replies: 3
    Last Post: 03-14-2008, 09:18 AM
  3. [Bug ?] Problem with pixel buffer returned by CL_Surface::get_pixeldata
    By LiFo2 in forum Official ClanLib SDK Forums
    Replies: 7
    Last Post: 05-10-2007, 09:23 AM



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts