Results 1 to 2 of 2

Thread: Push Button with custom image

  1. #1

    Default Push Button with custom image

    I'm trying to create a push button with a custom png image.

    Is there any sample code?

    The examples (e.g. GUICustomComponent) are too complicated.

    Or are there any simple tutorial sites?

    The only tutorial I found is http://codegrind.net/ which has very few articles.

  2. #2
    ClanLib Developer
    Join Date
    May 2007
    Posts
    1,824

    Default

    See ClanLib source: Tests/GUI/Button3

    It's for the GUI System WM, but the same can be used for the other window managers.

Similar Threads

  1. Problems with user defined push buttons
    By MaxMustermann in forum Official ClanLib SDK Forums
    Replies: 0
    Last Post: 06-21-2010, 01:42 PM
  2. Button Bug?
    By madmark in forum Official ClanLib SDK Forums
    Replies: 0
    Last Post: 02-10-2009, 08:33 PM
  3. GUI button question
    By Veitikka in forum Official ClanLib SDK Forums
    Replies: 4
    Last Post: 11-26-2007, 05:49 AM
  4. Button ID
    By madmark in forum Official ClanLib SDK Forums
    Replies: 2
    Last Post: 09-25-2007, 09:09 PM
  5. Rendering into my custom image and then drawing this image to the display
    By ValkaVALES in forum Official ClanLib SDK Forums
    Replies: 4
    Last Post: 07-03-2007, 09:53 AM

Bookmarks

Bookmarks

Posting Permissions

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