Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: besh81/nana-creator
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.17.0
Choose a base ref
...
head repository: besh81/nana-creator
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on Jan 22, 2019

  1. added codeblocks project

    minor code improvements
    besh81 committed Jan 22, 2019
    Copy the full SHA
    6c3622e View commit details
  2. added codeblocks project (win & linux)

    Gabriel authored and Gabriel committed Jan 22, 2019
    Copy the full SHA
    4bee863 View commit details

Commits on Jan 23, 2019

  1. Merge pull request #3 from besh81/develop

    Developing 0.17.1
    besh81 authored Jan 23, 2019
    Copy the full SHA
    6f8e80c View commit details

Commits on Jan 31, 2019

  1. working on propertygrid

    link to nana 1.7
    propertygrid:
      - new draw function
      - added ibox
      - new pg_color item
      - added default value
    besh81 committed Jan 31, 2019
    Copy the full SHA
    0bbf3b4 View commit details

Commits on Feb 1, 2019

  1. working on propertygrid

    fixed issue with openfilebox on win
    besh81 committed Feb 1, 2019
    Copy the full SHA
    e681d10 View commit details

Commits on Feb 5, 2019

  1. working on propertygrid

    new pg_color layout
    added default value management
    besh81 committed Feb 5, 2019
    Copy the full SHA
    0b5c588 View commit details

Commits on Feb 7, 2019

  1. added listbox scheme

    besh81 committed Feb 7, 2019
    Copy the full SHA
    b9f8c93 View commit details
  2. Merge pull request #4 from besh81/develop

    Developing 0.18.0
    besh81 authored Feb 7, 2019
    Copy the full SHA
    3738b2c View commit details

Commits on Mar 1, 2019

  1. Developing 0.18.1

    code fix to allow nana creator to run on raspberri pi
    updated pugixml lib to version 1.9
    besh81 committed Mar 1, 2019
    Copy the full SHA
    bbe22fe View commit details

Commits on May 3, 2019

  1. Developing 0.19.0

    linked nana 1.7.1
    update filebox/folderbox to new version
    propertygrid: added tooltip ans set functions (thanks to: JamesBremner)
    propertygrid: now properties are update also on focus lost (thanks to: JamesBremner)
    items_dialog: new add item/separator method. Now item/separator is added at the same level of the selected item
    items_dialog: fixed bug in menubar. Now separator can only be added to submenu
    besh81 committed May 3, 2019
    Copy the full SHA
    2c8662e View commit details

Commits on May 6, 2019

  1. Developing 0.19.1

    fixed bug introduced in 0.19.0 in items_dialog where is no more possible to add a separator as toobar item
    besh81 committed May 6, 2019
    Copy the full SHA
    0857646 View commit details

Commits on May 20, 2019

  1. Developing 0.20.0

    - updated MSVC solution to MSVC 2019 (removed MSVC 2015)
    - added custom control
    - added about form
    - added toolbar go_right
    - propertiespanel recreated with nana-creator (using custom control)
    - fixed bug on update main-canvas scroll bars
    besh81 committed May 20, 2019
    Copy the full SHA
    6b46364 View commit details

Commits on Sep 5, 2019

  1. Developing 0.21.0

    - linked nana 1.7.2
    - added new advanced docking interface component
    - added toolbar textout
    - fixed bug on toolbar display
    - removed listbox.scheme.suspension_width as in nana 1.7.2
    besh81 committed Sep 5, 2019
    Copy the full SHA
    abf40ce View commit details

Commits on Sep 16, 2019

  1. Developing 0.22.0

    - new theme
    - improved ADI weight management
    - textbox: added focus_behavior and scheme
    - toolbar: added tooltype, toggle and toggle_group
    - fixed bug on toolbar code generation
    - fixed bug on inherited bgcolor and fgcolor propagation
    besh81 committed Sep 16, 2019
    Copy the full SHA
    ccc2e39 View commit details

Commits on Sep 27, 2019

  1. CMake Build

    New build Alternative.
    kassane authored Sep 27, 2019
    Copy the full SHA
    7c1242b View commit details
  2. Hotfix

    kassane authored Sep 27, 2019
    Copy the full SHA
    1ae660b View commit details

Commits on Sep 30, 2019

  1. Merge pull request #9 from kassane/patch-1

    Added CMake Build
    besh81 authored Sep 30, 2019
    Copy the full SHA
    cbffd7e View commit details

Commits on Oct 2, 2019

  1. Copy the full SHA
    e320161 View commit details
  2. Merge pull request #11 from ppetraki/cmake-linux-link-error

    Fix missing symbols on cmake Linux build
    besh81 authored Oct 2, 2019
    Copy the full SHA
    002043f View commit details

Commits on Feb 12, 2020

  1. Developing 0.23.0

    - linked nana 1.7.3
    - add: margin property 4 values. Now is possible to set 4 values (or 1 value) for margin
    - add: treebox use_entire_line
    - add: CMAKE build (thanks to kassane)
    - fix: solved bug on control selection and visualization
    besh81 committed Feb 12, 2020
    Copy the full SHA
    2f5efc9 View commit details

Commits on May 11, 2020

  1. Developing 0.24.0

    - divided color property in propertygrid into inherited-color property and color property
    besh81 committed May 11, 2020
    Copy the full SHA
    56c9335 View commit details

Commits on Jul 30, 2020

  1. Added adi_place.cpp to Linux codeblocks project file

    Eric Boudrand committed Jul 30, 2020
    Copy the full SHA
    67f4aa4 View commit details
  2. Added adi_place.hpp to Linux Codeblocks project file

    Eric Boudrand committed Jul 30, 2020
    Copy the full SHA
    45e79f0 View commit details

Commits on Aug 4, 2020

  1. Merge pull request #13 from eboudrand/master

    Files for adi_place class missing in Linux Codeblocks project file
    besh81 authored Aug 4, 2020
    Copy the full SHA
    c670a0e View commit details

Commits on Sep 7, 2020

  1. Developing 0.25.0

    - linked nana 1.7.4
    - added project name to form caption
    - added 'MOVE INTO' functionality to move a group of controls into a field, a grid or a panel
    - checkbox: added scheme
    - toolbar: improved code generation
    - fixed context menu behaviour on object panel
    - fixed bug on pg_color_inherited initialization
    - fixed monor bugs
    besh81 committed Sep 7, 2020
    Copy the full SHA
    df4340a View commit details

Commits on Nov 23, 2020

  1. Developing 0.26.0

    - fixed bug when attempt to open an invalid path
    besh81 committed Nov 23, 2020
    Copy the full SHA
    09c00ab View commit details

Commits on Dec 11, 2020

  1. Developing 0.27.0

    - linked nana 1.8 develop
    - added items dialog editor: a new tool to edit controls with items (toolbar, listbox, combox, ...)
    - added function to update ncp files to new version
    - improved code generation
    - fixed bug in checkbox code generation
    - form: add icon property
    - toolbar: switch to new interface
    - fixed some minor bugs
    besh81 committed Dec 11, 2020
    Copy the full SHA
    baad73c View commit details

Commits on Dec 21, 2020

  1. Developing 0.28.0

    - treebox: added scheme
    - adi_place: added floating pane min size
    - form: add open maximized property
    - code generation: added default constructor and create member function in panel based projects
    besh81 committed Dec 21, 2020
    Copy the full SHA
    ebf04b6 View commit details

Commits on Dec 22, 2020

  1. Developing 0.29.0

    - new icons
    besh81 committed Dec 22, 2020
    Copy the full SHA
    389d5e0 View commit details

Commits on Dec 28, 2020

  1. develop undo redo

    - start developing undo redo
    - styled new-project and info dialogs
    - modified some icons
    - fixed some minor bugs
    besh81 committed Dec 28, 2020
    Copy the full SHA
    cfecb04 View commit details

Commits on Jan 4, 2021

  1. added undo on delete control

    besh81 committed Jan 4, 2021
    Copy the full SHA
    12530f1 View commit details

Commits on Jan 5, 2021

  1. added undo on add, cut and paste controls

    now cutted controls can be paste more times
    besh81 committed Jan 5, 2021
    Copy the full SHA
    01e1bd9 View commit details

Commits on Jan 18, 2021

  1. Copy the full SHA
    7d3bb42 View commit details

Commits on Jan 19, 2021

  1. Copy the full SHA
    43e98a5 View commit details

Commits on Feb 1, 2021

  1. added undo on itemseditorpanel

    - updated cmake and codeblocks files (need test)
    besh81 committed Feb 1, 2021
    Copy the full SHA
    2db4b30 View commit details

Commits on Feb 2, 2021

  1. added options dialog

    - undo queue length
    - now ask for save request only when project is modified
    - fixed some minor bugs
    besh81 committed Feb 2, 2021
    Copy the full SHA
    f996bd2 View commit details
  2. Merge pull request #16 from besh81/develop-undo_redo

    Developing 0.30.0
    besh81 authored Feb 2, 2021
    Copy the full SHA
    dc271fc View commit details
  3. update README

    besh81 committed Feb 2, 2021
    Copy the full SHA
    0fe4cdf View commit details
  4. update README

    besh81 committed Feb 2, 2021
    Copy the full SHA
    a45d989 View commit details
  5. Developing 0.30.1

    - linked latest nana 1.8 develop
    - fixed compilation error in ada_place.cpp
    besh81 committed Feb 2, 2021
    Copy the full SHA
    72fe492 View commit details

Commits on Feb 10, 2021

  1. update README

    besh81 committed Feb 10, 2021
    Copy the full SHA
    315b75c View commit details

Commits on Mar 26, 2021

  1. Developing 0.31.0

    - notebook: add activated property
    - tabbar: add activated property
    - improved name manager
    	- breaking changes: renamed internal variables
    - fixed bug in code-generation in strings with double quote (")
    - fixed bug where properties default value were overwritten
    besh81 committed Mar 26, 2021
    Copy the full SHA
    235f2ed View commit details

Commits on Jun 28, 2021

  1. fix ADI arrange issue

    - fix advanced docking interface arrange issue
    - now ADI pane caption is scaled according with nana::place
    besh81 committed Jun 28, 2021
    Copy the full SHA
    0f4b8d6 View commit details

Commits on Jun 30, 2021

  1. Developing 0.32.0

    - added main control size scaling based on screen dpi
    - fixed issue on ADI resize
    besh81 committed Jun 30, 2021
    Copy the full SHA
    6c953f5 View commit details

Commits on Jan 4, 2023

  1. Copy the full SHA
    c84d726 View commit details

Commits on Jan 9, 2023

  1. Merge pull request #21 from aitron-develop/master

    Update CMakeLists.txt and .gitignore. Add support build via cmake for Windows.
    besh81 authored Jan 9, 2023
    Copy the full SHA
    e5aa2db View commit details

Commits on Mar 28, 2023

  1. fix UNIX cmake common_dep being added to common_dep

    remove "common_dep" from the common_dep list in the cmake on UNIX
    FederAndInk authored Mar 28, 2023
    Copy the full SHA
    910fd9a View commit details

Commits on Mar 29, 2023

  1. Merge pull request #22 from FederAndInk/patch-1

    fix UNIX cmake common_dep being added to common_dep
    besh81 authored Mar 29, 2023
    Copy the full SHA
    8efd2fe View commit details
Showing with 11,019 additions and 4,786 deletions.
  1. +13 −2 .gitignore
  2. +20 −6 README.MD
  3. +118 −0 build/cmake/CMakeLists.txt
  4. +164 −0 build/codeblocks_linux/nana_creator.cbp
  5. +161 −0 build/codeblocks_win/nana_creator.cbp
  6. 0 build/{vc2015 → vc2019}/nana_creator.sln
  7. +39 −25 build/{vc2015 → vc2019}/nana_creator.vcxproj
  8. +54 −24 build/{vc2015 → vc2019}/nana_creator.vcxproj.filters
  9. +18 −14 build/{vc2015 → vc2019}/test_ctrls.vcxproj
  10. 0 build/{vc2015 → vc2019}/test_ctrls.vcxproj.filters
  11. +4 −4 libs/pugixml/pugiconfig.hpp
  12. +1,376 −1,024 libs/pugixml/pugixml.cpp
  13. +130 −69 libs/pugixml/pugixml.hpp
  14. +4 −10 src/assetspanel.cpp
  15. +0 −1 src/assetspanel.h
  16. +51 −6 src/codegenerator.cpp
  17. +1 −1 src/codegenerator.h
  18. +5 −0 src/codegenerator_data.h
  19. +19 −11 src/config.h
  20. +296 −137 src/creator.cpp
  21. +75 −36 src/creator.h
  22. +35 −33 src/creator.ncp
  23. +9 −2 src/ctrls/box_model.cpp
  24. +1 −2 src/ctrls/button.cpp
  25. +0 −2 src/ctrls/categorize.cpp
  26. +25 −6 src/ctrls/checkbox.cpp
  27. +2 −0 src/ctrls/checkbox.h
  28. +9 −11 src/ctrls/combox.cpp
  29. +30 −25 src/ctrls/ctrl.cpp
  30. +10 −4 src/ctrls/ctrl.h
  31. +114 −0 src/ctrls/custom.cpp
  32. +38 −0 src/ctrls/custom.h
  33. +0 −1 src/ctrls/date_chooser.cpp
  34. +10 −6 src/ctrls/field.cpp
  35. +37 −16 src/ctrls/form.cpp
  36. +4 −6 src/ctrls/group.cpp
  37. +3 −4 src/ctrls/label.cpp
  38. +94 −20 src/ctrls/listbox.cpp
  39. +2 −0 src/ctrls/listbox.h
  40. +79 −70 src/ctrls/menubar.cpp
  41. +1 −1 src/ctrls/menubar.h
  42. +55 −21 src/ctrls/notebook.cpp
  43. +1 −0 src/ctrls/notebook.h
  44. +12 −15 src/ctrls/page.cpp
  45. +6 −7 src/ctrls/panel.cpp
  46. +4 −5 src/ctrls/picture.cpp
  47. +0 −2 src/ctrls/progress.cpp
  48. +40 −12 src/ctrls/property.cpp
  49. +15 −5 src/ctrls/property.h
  50. +0 −1 src/ctrls/slider.cpp
  51. +0 −2 src/ctrls/spinbox.cpp
  52. +0 −1 src/ctrls/splitterbar.cpp
  53. +41 −37 src/ctrls/tabbar.cpp
  54. +35 −8 src/ctrls/textbox.cpp
  55. +2 −0 src/ctrls/textbox.h
  56. +123 −44 src/ctrls/toolbar.cpp
  57. +1 −1 src/ctrls/toolbar.h
  58. +57 −2 src/ctrls/treebox.cpp
  59. +2 −0 src/ctrls/treebox.h
  60. +34 −34 src/filemanager.cpp
  61. +10 −4 src/filemanager.h
  62. +826 −197 src/guimanager.cpp
  63. +59 −35 src/guimanager.h
  64. +35 −0 src/info.cpp
  65. +169 −0 src/info.h
  66. +31 −0 src/info.ncp
  67. +18 −5 src/inifile.cpp
  68. +5 −0 src/inifile.h
  69. +0 −623 src/items_dialog.cpp
  70. +0 −149 src/items_dialog.h
  71. +0 −28 src/items_dialog.ncp
  72. +793 −0 src/itemseditorpanel.cpp
  73. +173 −0 src/itemseditorpanel.h
  74. +22 −0 src/itemseditorpanel.ncp
  75. +3 −6 src/main.cpp
  76. +13 −9 src/namemanager.cpp
  77. +8 −3 src/namemanager.h
  78. +2,439 −0 src/nana_extra/adi_place.cpp
  79. +149 −0 src/nana_extra/adi_place.hpp
  80. +20 −19 src/nana_extra/color_helper.cpp
  81. +9 −7 src/nana_extra/color_helper.h
  82. +449 −332 src/nana_extra/pgitems.cpp
  83. +50 −64 src/nana_extra/pgitems.h
  84. +234 −260 src/nana_extra/propertygrid.cpp
  85. +169 −128 src/nana_extra/propertygrid.h
  86. +11 −22 src/new_project.cpp
  87. +27 −19 src/new_project.h
  88. +13 −13 src/new_project.ncp
  89. +19 −13 src/objectspanel.cpp
  90. +1 −1 src/objectspanel.h
  91. +43 −0 src/options.cpp
  92. +145 −0 src/options.h
  93. +24 −0 src/options.ncp
  94. +0 −249 src/pg_items.cpp
  95. +0 −129 src/pg_items.h
  96. +571 −0 src/pgitems_creator.cpp
  97. +187 −0 src/pgitems_creator.h
  98. +76 −67 src/propertiespanel.cpp
  99. +105 −31 src/propertiespanel.h
  100. +23 −0 src/propertiespanel.ncp
  101. +44 −37 src/propertygrid_helper.cpp
  102. +1 −1 src/propertygrid_helper.h
  103. +0 −290 src/resizablecanvas.cpp
  104. +0 −60 src/resizablecanvas.h
  105. +190 −0 src/scrollablecanvas.cpp
  106. +43 −0 src/scrollablecanvas.h
  107. +0 −34 src/statusbar.cpp
  108. +0 −34 src/statusbar.h
  109. +2 −3 src/style.h
  110. +43 −0 src/undoredo.h
  111. +85 −0 src/updater.cpp
  112. +18 −0 src/updater.h
  113. +18 −0 src/version.h
  114. +118 −101 tests/ctrls/ctrls.h
  115. +49 −37 tests/ctrls/ctrls.ncp
  116. BIN wdir/icons/NC.png
  117. BIN wdir/icons/add.png
  118. BIN wdir/icons/button.png
  119. BIN wdir/icons/categorize.png
  120. BIN wdir/icons/checkbox.png
  121. BIN wdir/icons/combox.png
  122. BIN wdir/icons/copy.png
  123. BIN wdir/icons/custom.png
  124. BIN wdir/icons/cut.png
  125. BIN wdir/icons/datechooser.png
  126. BIN wdir/icons/delete.png
  127. BIN wdir/icons/down.png
  128. BIN wdir/icons/empty.png
  129. BIN wdir/icons/form.png
  130. BIN wdir/icons/goright.png
  131. BIN wdir/icons/grid_layout.png
  132. BIN wdir/icons/group.png
  133. BIN wdir/icons/horizontal_layout.png
  134. BIN wdir/icons/info.png
  135. BIN wdir/icons/into.png
  136. BIN wdir/icons/item_add.png
  137. BIN wdir/icons/item_delete.png
  138. BIN wdir/icons/item_generic.png
  139. BIN wdir/icons/label.png
  140. BIN wdir/icons/left.png
  141. BIN wdir/icons/listbox.png
  142. BIN wdir/icons/load_file.png
  143. BIN wdir/icons/load_prj.png
  144. BIN wdir/icons/menu.png
  145. BIN wdir/icons/menu_item.png
  146. BIN wdir/icons/menu_item_add.png
  147. BIN wdir/icons/menu_separator.png
  148. BIN wdir/icons/menubar.png
  149. BIN wdir/icons/new_prj.png
  150. BIN wdir/icons/notebook.png
  151. BIN wdir/icons/options.png
  152. BIN wdir/icons/output.png
  153. BIN wdir/icons/output_on.png
  154. BIN wdir/icons/page.png
  155. BIN wdir/icons/panel.png
  156. BIN wdir/icons/paste.png
  157. BIN wdir/icons/picture.png
  158. BIN wdir/icons/progress.png
  159. BIN wdir/icons/redo.png
  160. BIN wdir/icons/right.png
  161. BIN wdir/icons/save.png
  162. BIN wdir/icons/save_as.png
  163. BIN wdir/icons/scroll.png
  164. BIN wdir/icons/sep_add.png
  165. BIN wdir/icons/settings.png
  166. BIN wdir/icons/slider.png
  167. BIN wdir/icons/spacer.png
  168. BIN wdir/icons/spinbox.png
  169. BIN wdir/icons/splitter.png
  170. BIN wdir/icons/tabbar.png
  171. BIN wdir/icons/textbox.png
  172. BIN wdir/icons/toolbar.png
  173. BIN wdir/icons/treebox.png
  174. BIN wdir/icons/undo.png
  175. BIN wdir/icons/up.png
  176. BIN wdir/icons/vertical_layout.png
15 changes: 13 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -9,6 +9,7 @@ TODO.txt
*.user
*.userosscache
*.sln.docstates
*.VC.db

# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs
@@ -23,6 +24,8 @@ x86/
bld/
[Bb]in/
[Oo]bj/
build/cmake
!build/cmake/CMakeLists.txt

# Visual Studio 2015 cache/options directory
.vs/
@@ -237,10 +240,18 @@ _Pvt_Extensions

# FAKE - F# Make
.fake/
nana_creator.VC.db


# CodeBlocks files
*.layout
*.cscope_file_list
*.depend

# nana-creator
wdir/*.h
wdir/*.ncp
wdir/*.exe
wdir/icons/*.db
wdir/nc.ini
docs/img/Thumbs.db

libs/nana*
26 changes: 20 additions & 6 deletions README.MD
Original file line number Diff line number Diff line change
@@ -1,16 +1,30 @@
# Nana Creator [![](https://img.shields.io/badge/dependencies-nana%20Lib%20hotfix%201.6.2-blue.svg?longCache=true&style=for-the-badge)](https://github.com/cnjinhao/nana) <a href="https://www.buymeacoffee.com/besh81" target="_blank"><img align="right" src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" alt="Buy Me A Coffee" style="height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;" ></a>

Click here to download the win exe file: [![Download nana-creator](https://img.shields.io/sourceforge/dt/nana-creator.svg)](https://sourceforge.net/projects/nana-creator/files/latest/download)
# Nana Creator <a href="https://www.buymeacoffee.com/besh81" target="_blank"><img align="right" src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" alt="Buy Me A Coffee" style="height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;" ></a>

**Nana Creator** is a RAD tool for [Nana C++ Library](https://github.com/cnjinhao/nana).
### :zap: The quickest way to build *Nana* GUIs :zap:

<img align="center" src="https://besh81.github.io/nana-creator-docs/img/calc.jpg" alt="Calculator UI" height="500"></a>
<img align="right" src="https://img.shields.io/sourceforge/dt/nana-creator.svg" alt="Nana Creator on Sourceforge">

[![](https://img.shields.io/badge/dependencies-nana%20Lib%201.8%20develop-blue.svg?longCache=true&style=for-the-badge)](https://github.com/cnjinhao/nana)

### Build

**Nana Creator** is a RAD tool for (and built with) [Nana C++ Library](https://github.com/cnjinhao/nana). Is a place-based resource editor that quickly gets you creating professional-looking dialogs for deployment on Windows, Linux or any other supported *Nana* platform.

Click here to download the: &nbsp;&nbsp;&nbsp; :computer: [Win installer](https://sourceforge.net/projects/nana-creator/files/latest/download) &nbsp;&nbsp;&nbsp;&nbsp; :floppy_disk: [Win portable](https://sourceforge.net/projects/nana-creator/files/portable_win)

<img src="https://besh81.github.io/nana-creator-docs/img/calc.jpg" alt="Calculator UI" width="48%"></a> <img src="https://besh81.github.io/nana-creator-docs/img/adi.jpg" alt="ADI place" width="48%"></a>
<img src="https://besh81.github.io/nana-creator-docs/img/ctrls.jpg" alt="Ctrls UI" width="48%"></a>


#### Used libraries:
- [nana](https://github.com/cnjinhao/nana)
- [pugixml](https://pugixml.org/)

### How to Build
To correctly build Nana creator enable PNG & JPG support in Nana.
Here the instruction to [Configure-Third-Party-Libraries-for-Nana](https://github.com/cnjinhao/nana/wiki/Configuration-of-Third-Party-Libraries-for-Nana)


### Tutorials
- [Basic tutorial](https://besh81.github.io/nana-creator-docs/Basic_Tutorial.html)
- [Basic tutorial](https://besh81.github.io/nana-creator-docs/Basic_Tutorial.html)
- [Toolbar tutorial](https://besh81.github.io/nana-creator-docs/Toolbar_Tutorial.html)
118 changes: 118 additions & 0 deletions build/cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
cmake_minimum_required(VERSION 3.11)
project(nana-creator)

#SET Default build type:
set(default_build_type "Release")
if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
message(STATUS "Setting build type to '${default_build_type}' as none was specified.")
set(CMAKE_BUILD_TYPE "${default_build_type}" CACHE
STRING "Choose the type of build." FORCE)
# Set the possible values of build type for cmake-gui
set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS
"Debug" "Release" "MinSizeRel" "RelWithDebInfo")
endif()

#Define C++ standard:
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

set(common_dep nana)

find_package(Threads REQUIRED)

if(UNIX)
find_package(X11 REQUIRED)
list(APPEND common_dep
X11::X11
X11::Xft
X11::Xcursor
fontconfig
stdc++fs
png
jpeg
Threads::Threads
)
endif()

if(WIN32)
list(APPEND
common_dep
Threads::Threads
)
endif()

link_directories(../../libs/)

add_executable(${PROJECT_NAME}
../../libs/pugixml/pugixml.cpp
../../src/filemanager.cpp
../../src/nana_extra/propertygrid.cpp
../../src/main.cpp
../../src/new_project.cpp
../../src/ctrls/categorize.cpp
../../src/assetspanel.cpp
../../src/ctrls/label.cpp
../../src/creator.cpp
../../src/ctrls/tabbar.cpp
../../src/ctrls/ctrl.cpp
../../src/propertygrid_helper.cpp
../../src/ctrls/toolbar.cpp
../../src/info.cpp
../../src/scrollablecanvas.cpp
../../src/objectspanel.cpp
../../src/ctrls/form.cpp
../../src/nana_extra/color_helper.cpp
../../src/propertiespanel.cpp
../../src/ctrls/box_model.cpp
../../src/ctrls/progress.cpp
../../src/ctrls/menubar.cpp
../../src/itemseditorpanel.cpp
../../src/nana_extra/adi_place.cpp
../../src/ctrls/panel.cpp
../../src/ctrls/checkbox.cpp
../../src/ctrls/notebook.cpp
../../src/ctrls/button.cpp
../../src/ctrls/property.cpp
../../src/imagemanager.cpp
../../src/ctrls/combox.cpp
../../src/ctrls/textbox.cpp
../../src/codegenerator.cpp
../../src/ctrls/field.cpp
../../src/pgitems_creator.cpp
../../src/ctrls/picture.cpp
../../src/nana_extra/pgitems.cpp
../../src/ctrls/date_chooser.cpp
../../src/ctrls/spinbox.cpp
../../src/guimanager.cpp
../../src/ctrls/slider.cpp
../../src/ctrls/treebox.cpp
../../src/ctrls/custom.cpp
../../src/namemanager.cpp
../../src/ctrls/splitterbar.cpp
../../src/ctrls/listbox.cpp
../../src/ctrls/group.cpp
../../src/inifile.cpp
../../src/ctrls/page.cpp
../../src/updater.cpp
../../src/options.cpp
)

target_include_directories(${PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_SOURCE_DIR}/../../libs
${CMAKE_CURRENT_SOURCE_DIR}/../../src
)

target_link_libraries(${PROJECT_NAME} ${common_dep})

add_executable(test-ctrls
../../tests/ctrls/main.cpp
../../tests/ctrls/ctrls.h
)

list(REMOVE_ITEM common_dep png jpeg)
target_link_libraries(test-ctrls ${common_dep})
target_include_directories(test-ctrls PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../../libs)

add_test(NAME test-ctrls COMMAND test-ctrls)

include(CTest)
164 changes: 164 additions & 0 deletions build/codeblocks_linux/nana_creator.cbp
Original file line number Diff line number Diff line change
@@ -0,0 +1,164 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_project_file>
<FileVersion major="1" minor="6" />
<Project>
<Option title="nana_creator" />
<Option pch_mode="2" />
<Option compiler="gcc" />
<Build>
<Target title="Debug">
<Option output="bin/Debug/nana_creator" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Debug/" />
<Option type="1" />
<Option compiler="gcc" />
<Compiler>
<Add option="-g" />
</Compiler>
</Target>
<Target title="Release">
<Option output="bin/Release/nana_creator" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Release/" />
<Option type="1" />
<Option compiler="gcc" />
<Compiler>
<Add option="-O2" />
</Compiler>
<Linker>
<Add option="-s" />
</Linker>
</Target>
</Build>
<Compiler>
<Add option="-Wall" />
<Add option="-std=c++11" />
<Add directory="../../src/ctrls" />
<Add directory="../../src/nana_extra" />
<Add directory="../../src" />
<Add directory="../../libs" />
</Compiler>
<Linker>
<Add library="nana" />
<Add library="stdc++fs" />
<Add library="X11" />
<Add library="pthread" />
<Add library="Xft" />
<Add library="png" />
<Add library="jpeg" />
<Add library="fontconfig" />
</Linker>
<Unit filename="../../libs/pugixml/pugiconfig.hpp" />
<Unit filename="../../libs/pugixml/pugixml.cpp" />
<Unit filename="../../libs/pugixml/pugixml.hpp" />
<Unit filename="../../src/assetspanel.cpp" />
<Unit filename="../../src/assetspanel.h" />
<Unit filename="../../src/codegenerator.cpp" />
<Unit filename="../../src/codegenerator.h" />
<Unit filename="../../src/codegenerator_data.h" />
<Unit filename="../../src/config.h" />
<Unit filename="../../src/creator.cpp" />
<Unit filename="../../src/creator.h" />
<Unit filename="../../src/ctrls/box_model.cpp" />
<Unit filename="../../src/ctrls/box_model.h" />
<Unit filename="../../src/ctrls/button.cpp" />
<Unit filename="../../src/ctrls/button.h" />
<Unit filename="../../src/ctrls/categorize.cpp" />
<Unit filename="../../src/ctrls/categorize.h" />
<Unit filename="../../src/ctrls/checkbox.cpp" />
<Unit filename="../../src/ctrls/checkbox.h" />
<Unit filename="../../src/ctrls/combox.cpp" />
<Unit filename="../../src/ctrls/combox.h" />
<Unit filename="../../src/ctrls/ctrl.cpp" />
<Unit filename="../../src/ctrls/ctrl.h" />
<Unit filename="../../src/ctrls/custom.cpp" />
<Unit filename="../../src/ctrls/custom.h" />
<Unit filename="../../src/ctrls/date_chooser.cpp" />
<Unit filename="../../src/ctrls/date_chooser.h" />
<Unit filename="../../src/ctrls/field.cpp" />
<Unit filename="../../src/ctrls/field.h" />
<Unit filename="../../src/ctrls/form.cpp" />
<Unit filename="../../src/ctrls/form.h" />
<Unit filename="../../src/ctrls/group.cpp" />
<Unit filename="../../src/ctrls/group.h" />
<Unit filename="../../src/ctrls/label.cpp" />
<Unit filename="../../src/ctrls/label.h" />
<Unit filename="../../src/ctrls/listbox.cpp" />
<Unit filename="../../src/ctrls/listbox.h" />
<Unit filename="../../src/ctrls/menubar.cpp" />
<Unit filename="../../src/ctrls/menubar.h" />
<Unit filename="../../src/ctrls/notebook.cpp" />
<Unit filename="../../src/ctrls/notebook.h" />
<Unit filename="../../src/ctrls/page.cpp" />
<Unit filename="../../src/ctrls/page.h" />
<Unit filename="../../src/ctrls/panel.cpp" />
<Unit filename="../../src/ctrls/panel.h" />
<Unit filename="../../src/ctrls/picture.cpp" />
<Unit filename="../../src/ctrls/picture.h" />
<Unit filename="../../src/ctrls/progress.cpp" />
<Unit filename="../../src/ctrls/progress.h" />
<Unit filename="../../src/ctrls/property.cpp" />
<Unit filename="../../src/ctrls/property.h" />
<Unit filename="../../src/ctrls/slider.cpp" />
<Unit filename="../../src/ctrls/slider.h" />
<Unit filename="../../src/ctrls/spinbox.cpp" />
<Unit filename="../../src/ctrls/spinbox.h" />
<Unit filename="../../src/ctrls/splitterbar.cpp" />
<Unit filename="../../src/ctrls/splitterbar.h" />
<Unit filename="../../src/ctrls/tabbar.cpp" />
<Unit filename="../../src/ctrls/tabbar.h" />
<Unit filename="../../src/ctrls/textbox.cpp" />
<Unit filename="../../src/ctrls/textbox.h" />
<Unit filename="../../src/ctrls/toolbar.cpp" />
<Unit filename="../../src/ctrls/toolbar.h" />
<Unit filename="../../src/ctrls/treebox.cpp" />
<Unit filename="../../src/ctrls/treebox.h" />
<Unit filename="../../src/filemanager.cpp" />
<Unit filename="../../src/filemanager.h" />
<Unit filename="../../src/guimanager.cpp" />
<Unit filename="../../src/guimanager.h" />
<Unit filename="../../src/imagemanager.cpp" />
<Unit filename="../../src/imagemanager.h" />
<Unit filename="../../src/info.cpp" />
<Unit filename="../../src/info.h" />
<Unit filename="../../src/inifile.cpp" />
<Unit filename="../../src/inifile.h" />
<Unit filename="../../src/itemseditorpanel.cpp" />
<Unit filename="../../src/itemseditorpanel.h" />
<Unit filename="../../src/lock_guard.h" />
<Unit filename="../../src/main.cpp" />
<Unit filename="../../src/namemanager.cpp" />
<Unit filename="../../src/namemanager.h" />
<Unit filename="../../src/nana_extra/adi_place.cpp" />
<Unit filename="../../src/nana_extra/adi_place.hpp" />
<Unit filename="../../src/nana_extra/color_helper.cpp" />
<Unit filename="../../src/nana_extra/color_helper.h" />
<Unit filename="../../src/nana_extra/pgitems.cpp" />
<Unit filename="../../src/nana_extra/pgitems.h" />
<Unit filename="../../src/nana_extra/propertygrid.cpp" />
<Unit filename="../../src/nana_extra/propertygrid.h" />
<Unit filename="../../src/new_project.cpp" />
<Unit filename="../../src/new_project.h" />
<Unit filename="../../src/objectspanel.cpp" />
<Unit filename="../../src/objectspanel.h" />
<Unit filename="../../src/pgitems_creator.cpp" />
<Unit filename="../../src/pgitems_creator.h" />
<Unit filename="../../src/propertiespanel.cpp" />
<Unit filename="../../src/propertiespanel.h" />
<Unit filename="../../src/propertygrid_helper.cpp" />
<Unit filename="../../src/propertygrid_helper.h" />
<Unit filename="../../src/scrollablecanvas.cpp" />
<Unit filename="../../src/scrollablecanvas.h" />
<Unit filename="../../src/style.h" />
<Unit filename="../../src/tree.h" />
<Unit filename="../../src/updater.cpp" />
<Unit filename="../../src/updater.h" />
<Unit filename="../../src/version.h" />
<Unit filename="../../src/undoredo.h" />
<Unit filename="../../src/options.cpp" />
<Unit filename="../../src/options.h" />
<Extensions>
<code_completion />
<envvars />
<debugger />
</Extensions>
</Project>
</CodeBlocks_project_file>
Loading