Results 1 to 2 of 2

Thread: CL 2.3 : CL_TextEdit bug & CL_Tab callback

  1. #1

    Default CL 2.3 : CL_TextEdit bug & CL_Tab callback

    This is a short patch that do 2 things :

    - Add !readonly in the right place of textedit.cpp to correct a bug (you can add a \n into a readonly textedit field!
    )
    - Add a callback to CL_Tab, in order to enable used to be told that the current TabPage has changed. It is named TabPage as the tabheader's, and is actually called by the last one (CL_TabHeader's func_page_selected is linked to CL_Tab's on_page_selected, and on_page_selected invoke CL_Tab's func_page_selected). You can change the name of the callback, or just say that no-one will need it except me and do not apply this part of the patch

    textedit.cpp.patch
    tab.patch

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

    Default

    Patch applied to ClanLib 2.3 SVN and 3.0 (devel) SVN. Many Thanks

Similar Threads

  1. Two questions regarding user input (callback functions)
    By haimat in forum Official ClanLib SDK Forums
    Replies: 2
    Last Post: 09-30-2012, 09:17 PM
  2. Patch: Vertical scrollbar support for CL_TextEdit
    By Nightwind0 in forum Official ClanLib SDK Forums
    Replies: 5
    Last Post: 08-15-2012, 02:49 PM
  3. CL_TextEdit
    By Jason Schilling in forum Official ClanLib SDK Forums
    Replies: 7
    Last Post: 08-13-2012, 02:41 AM
  4. Replies: 8
    Last Post: 03-04-2012, 07:38 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
  •