Nana C++ Library, my opensource project

This is a discussion on Nana C++ Library, my opensource project within the A Brief History of Cprogramming.com forums, part of the Community Boards category; Hi, buddies. I am writting a C++ library, it can be used for GUI programming. In this release, I have ...

  1. #1
    Registered User
    Join Date
    Aug 2003
    Posts
    127

    Nana C++ Library, my opensource project

    Hi, buddies. I am writting a C++ library, it can be used for GUI programming. In this release, I have implemented a textbox for enter from the keyboard.

    Screenshots

    http://sourceforge.net/projects/stdex

    Are you interested in implementing beautiful controls?
    Nana C++ Library is a GUI framework that designed to be C++ style, cross-platform and easy-to-use.

  2. #2
    Registered User whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    7,704
    I'm interested in knowing if this is round two.

    At least you're being steadfast jinhao in getting our attention.

  3. #3
    Registered User
    Join Date
    Aug 2003
    Posts
    127
    Quote Originally Posted by citizen View Post
    I'm interested in knowing if this is round two.
    It's round two a new release.
    Nana C++ Library is a GUI framework that designed to be C++ style, cross-platform and easy-to-use.

  4. #4
    Registered Abuser
    Join Date
    Jun 2006
    Location
    Toronto
    Posts
    591
    Do all my controls come default with a list of Starcraft unit speech

  5. #5
    Registered User
    Join Date
    Jun 2008
    Posts
    266
    Not bad!
    Some other guy(can't remeber who) on this forum had some sort of gui in work called xuni. You guys should totally team up.
    Dwks!!!
    Thats the guy.

  6. #6
    l'Anziano DavidP's Avatar
    Join Date
    Aug 2001
    Location
    Plano, Texas, United States
    Posts
    2,738
    It does look really cool. I like the progress I'm seeing, although I have only looked at screenshots and stuff. Keep up the good work.
    My Website

    "Circular logic is good because it is."

  7. #7
    Registered User
    Join Date
    Aug 2003
    Posts
    127
    Thanks,
    the help documentation is updated.
    http://stdex.sourceforge.net/help/index.htm
    Nana C++ Library is a GUI framework that designed to be C++ style, cross-platform and easy-to-use.

  8. #8
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    > Some other guy(can't remeber who)
    That was dwks. I beleive he was rewriting it in C++. http://dwks.theprogrammingsite.com/myprogs/xuni.htm

    I tried working with him before, didn't work. It was all my fault though, not enough time .

  9. #9
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,046
    I think I made an impression!

    I [believe] he was rewriting it in C++.
    Not really -- I created my mundus library in C++ and used it for atlantis, but mundus wasn't supposed to be a GUI library.

    I really like your graphics -- they're much better than I ever had with xuni. Of course, I think xuni had different aims than your project. xuni, for example, was cross-platform from the very beginning; and it was designed to be a GUI library for use in SDL applications, so it had to do some other things as well. It was supposed to be completely themeable, which is probably why your graphics are nicer -- you could afford to hard-code things like shadows (at least, that's what I'm guessing). Plus xuni was, of course, written in C.

    It's great that you have some documentation. I'd be interested to know how you're generating it. I'm assuming here that it's automatically generated. If it isn't, it should be! :P (I like Doxygen for that.)

    Your design looks very good. You don't want to know how complicated a Hello, World! program is with xuni.

    As for the code itself, it's generally very readable. Your indentation is a little varied, ranging from far too much (if you indent namespaces and you have three namespaces . . .) to too little, in my opinion at least. And, for example, expressions like this are overcomplicated:
    Code:
    return (x ? reinterpret_cast<HFONT>(x): reinterpret_cast<HFONT>(nana::detail::platform_spec::instance().get_default_font()));
    You could at least use
    Code:
    return (reinterpret_cast<HFONT>(x ? x : nana::detail::platform_spec::instance().get_default_font()));


    Oh, and BTW: your free-me thing doesn't appear to be a valid archive. The error from file-roller:
    Code:
    [/tmp/thefreeme_0.1.1.zip]
      End-of-central-directory signature not found.  Either this file is not
      a zipfile, or it constitutes one disk of a multi-part archive.  In the
      latter case the central directory and zipfile comment will be found on
      the last disk(s) of this archive.
    zipinfo:  cannot find zipfile directory in one of /tmp/thefreeme_0.1.1.zip or
              /tmp/thefreeme_0.1.1.zip.zip, and cannot find /tmp/thefreeme_0.1.1.zip.ZIP, period.
    Looks good so far, keep it up!

    BTW, if you're interested in xuni: xuni.sourceforge.net
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  10. #10
    Registered User
    Join Date
    Aug 2003
    Posts
    127
    hi, dwks, thank you for your reply.

    My aim is platform-independent and providing a general/easy way to GUI programming. The class graphics is used for all drawings, so users should not take care about what it is. Win GDI/X11/framebuffer..

    There are many ugly codes hiding deeply, thanks for your mention, that reminds me.

    The FreeMe had not been updated for a long time, the zip file may be corrupting.
    Nana C++ Library is a GUI framework that designed to be C++ style, cross-platform and easy-to-use.

  11. #11
    Registered User
    Join Date
    Aug 2003
    Posts
    127
    Hi, buddies.
    I released a new version, fixed many bugs and brought a new widget, ComboBox
    Nana C++ Library is a GUI framework that designed to be C++ style, cross-platform and easy-to-use.

  12. #12
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,046
    Very nice, I never got comboboxes implemented properly.

    Looks good, I'll have to look it over again when I have time -- have to run now!
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  13. #13
    Registered User
    Join Date
    Aug 2003
    Posts
    127
    Thanks, I re-uploaded the FreeMe sample program, it contains an executable in ./bin
    Nana C++ Library is a GUI framework that designed to be C++ style, cross-platform and easy-to-use.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Open-source Game Project
    By Glorfindel in forum Projects and Job Recruitment
    Replies: 0
    Last Post: 03-24-2009, 01:12 AM
  2. Need help with audio library on DOS...
    By Marton79 in forum C Programming
    Replies: 10
    Last Post: 08-25-2006, 12:32 AM
  3. Game Independent Anti-cheat Project Needs Programmers
    By GIA Project Lea in forum Projects and Job Recruitment
    Replies: 3
    Last Post: 09-15-2005, 07:41 PM
  4. How to add a file to a project in bloodshed.
    By Smeep in forum C++ Programming
    Replies: 4
    Last Post: 04-22-2005, 09:29 PM
  5. explicit library file
    By subdene in forum C++ Programming
    Replies: 5
    Last Post: 06-21-2004, 10:25 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21