Skip to content

Latest commit

 

History

History
80 lines (46 loc) · 3.68 KB

README.md

File metadata and controls

80 lines (46 loc) · 3.68 KB

nana-extra Buy Me A Coffee

A collection of Nana C++ Library custom controls developed by users

Refer to WIKI for documentation and examples

Author: besh81

A specialized grid for editing properties. It comes with a list of ready-to-use property classes include strings, numbers, flag sets, colors and many others.

propertygrid

propgrid2

A simple property editing grid.

This uses only high level nana widgets. It is simpler to use and many times simpler to modify since the implementation uses no arcane nana implementation details.

For comparison, propertygrid is implemented using 1870 lines of code ( not counting comments ) whereas propgrid2 needs only 355 lines. The features supported by the two grids are quite similar.

Author: JamesBremner

A 2D plotting widget for the nana library.

The plot contains one or more traces.

Each trace can be of one of three types:

  • Plot: succesive y-values with line drawn between them.
  • Scatter: succesive x,y-values with box around each point
  • Realtime: a specified number of the most recent y-values

Any number of plot and scatter traces can be shown together, only one realtime trace may be present in a plot.

Files:

plot2d/plot.h, plot2d/plot.cpp - widget code, add to your projects

plot2d/demos/main.cpp - demo application code

plot2d/demos/nanaplot.cbp - codeblocks project to build demo application

plot2d/demos/realtime/* - realtime plotting demo application

plot2d/demos/spline/* - spline curve demo application

plot2d

panel_scrolled

Author: JamesBremner

Nana panel specialization to display small visible scrollable part of the panel

The scrolled panel is large and mostly hidden. The widgets are placed on this panel.

The visible panel is small and transparent, allows user to see a small part of the scrolled panel.

The visible panel is surrounded by scroll bars which control what part of scrolled panel is seen.

The visible panel and scroll bars are constructed automatically, to the dimensions specifed in the scrolled panel constructor

Files:

panel_scrolled/panel_scrolled.h Needs header only, include in source file where referenced

panel_scrolled/demos/* - demo application code

panel_scrolled

progress_ex

Author: ErrorFlynn

progress_ex is a simple extension of the nana::progress class, adding text to the widget and a few color presets. It modifies none of the existing behavior of the base class, and is constructed and used in exactly the same way. progress_ex demo screenshot