Results 1 to 4 of 4

Thread: GUI XML_loader patch

  1. #1

    Default GUI XML_loader patch

    A patch for xml loader version 1_0 :

    *Do not break backward compatibility

    -Correct some crashs :
    --Enable do not use layout if you only want geom
    --Enable do not use geom if you want layout
    --Throw exception if required field is missing
    - The geom attribute can now be set to deprecated and replaced by the dist_tl|br_x|y and anchors attributes.
    - You can set the title of a window loaded directly in <dialog>, like this :
    Code:
    <dialog width=42 height=42 title="Window's title" />
    -You can set that a lineedit item is a password field, with :
    Code:
    <lineedit id="password" max_length="42" password_mode="true" /* ... */ />
    Here i join my "Source" directory diff and a diff for each modified file. If you have any question / advice, tell me.

    gui_xml_loader_version_1_0.h.patchgui_xml_loader_version_1_0.cpp.patchgui_layout_provider_corners.h.patchgui_layout_provider_corners.cpp.patchclanlib236_sources.patch

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

    Default

    Looks good to me.

    If harry is reading this, can you have a quick look. iirc, he has used the xml gui loader in the past.

  3. #3

    Default

    Looks all right to me.

  4. #4
    ClanLib Developer
    Join Date
    May 2007
    Posts
    1,766

    Default

    Applied to ClanLib 2.3 SVN and ClanLib 2.4 (Development) SVN

    Many Thanks

Similar Threads

  1. Patch for resource_manager
    By Zenol in forum ClanLib: Developer Chat
    Replies: 2
    Last Post: 04-10-2012, 11:46 AM
  2. GuiEditor patch
    By user in forum ClanLib: Developer Chat
    Replies: 1
    Last Post: 07-25-2011, 10:30 AM
  3. Patch: Broken 3D example(s)
    By rebecca.palmer in forum ClanLib: Developer Chat
    Replies: 5
    Last Post: 10-05-2010, 12:15 PM
  4. Small patch
    By Jonanin in forum ClanLib: Developer Chat
    Replies: 1
    Last Post: 01-04-2010, 09:18 AM
  5. CL 0.8 Canvas patch, get-rid-of-warnings patch
    By Trigve in forum ClanLib: Developer Chat
    Replies: 2
    Last Post: 09-30-2007, 11:08 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
  •