Results 1 to 2 of 2

Thread: Change Color of Labeltext

  1. #1

    Default Change Color of Labeltext

    is there any easy possibility to change the textcolor of a label?

    i'm confused that there is no set_color method. do i have to make my own label Component which supports this?

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

    Default

    Yes, that confused myself as well. It does seem strange it does not have a basic feature.

    You can set the colour using CSS, and I believe you can do it "by setting the class in css, and having a different colour".

    For the GUI example, I created my own label (see info.cpp).

    I don't know enough about the gui to fix it.

Similar Threads

  1. Change for CL_GUIManager
    By logixoul in forum Official ClanLib SDK Forums
    Replies: 3
    Last Post: 05-26-2010, 06:58 PM
  2. Color-key transparency
    By MaxEd in forum Official ClanLib SDK Forums
    Replies: 1
    Last Post: 01-18-2010, 10:46 PM
  3. canvas can not run in 16bit color?
    By silekey in forum Official ClanLib SDK Forums
    Replies: 0
    Last Post: 09-13-2007, 02:45 AM
  4. [PATCH] Color interpolation
    By Mange in forum Official ClanLib SDK Forums
    Replies: 0
    Last Post: 08-01-2007, 08:50 AM
  5. I am having color inversion problems
    By in forum Dink Smallwood HD
    Replies: 2
    Last Post: 08-13-2004, 06:50 PM

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
  •