which could happen when folding a node with a folded subnote in a
treeview with a vertical scrollbar.
get_unfolded_size() is used calculate the size differnce when the node
is (un)folded and should so not return the size 'as if all child nodes
were unfolded' just the unfolded size of the current node.
wesnoth.add_dialog_tree_node to add nodes to a tree_value
wesnoth.set_dialog_callback support for tree_views (triggers when the
selected node was changed)
wesnoth.get_dialog_value support for tree_views returns an array of
integers that describe the path to the currebntly selected node.
Silences a newly introduced wmllint warning.
No effective changes since the engine sees these as synonymous when only
one of the attributes is present.
Silences a newly introduced wmllint warning.
No effective changes since the engine sees these as synonymous when only
one of the attributes is present.
Silences a newly introduced wmllint warning.
No effective changes since the engine sees these as synonymous when only
one of the attributes is present.
Fixes a few spellcheck warnings caused by text recently introduced to
NR. These are definitely general lore names and should be known
regardless of the campaign anyway.
This hopefully makes the file more readable and gets rid of an amount of
obsolete documentation and information about unsupported configurations.
General changes:
* Sections and section headings are more visible.
* Build prerequisites are listed in a cleaner structured format.
* Added a new section listing common options for both CMake and SCons
in a unified format to avoid repeating content (and inviting the
possibility of it diverging over time).
Specific content changes:
* CMake examples use -DCMAKE_BUILD_TYPE=Release because CMake sucks and
doesn't provide an officially-sanctioned mechanism to make the
default build type anything other than Debug.
* Unsupported build configurations (1.2.0 <= SDL_mixer < 1.2.12,
disabling Boost.filesystem on master/Windows, etc.) are no longer
mentioned as the instructions are too wordy and confusing and they
are unsupported so why would you use them without asking us first.
* All information about the autotools->scons transition is gone as it
stopped being relevant after 1.10.x, the first stable series released
after autotools support was finally removed in 1.9.4.
* cmake -i is no longer mentioned as it was removed in CMake 3.0.
* cmake-gui (Qt GUI front-end) is now mentioned alongside ccmake
(curses front-end).
* The CMake option for setting compiler flags is documented more
concisely now since most people reading this file don't need to know
all the gory details (where to put them though?).
* SCons targets are explained in a more concise fashion. The `all`
target is not mentioned anymore since it only adds targets which are
only useful to project members (cutter, exploder, campaignd, and the
Boost.Test test suite). In particular, building campaignd is not
officially supported under any configuration.
* Download links for external libraries are gone. Most people will want
to use their distribution's libraries rather than download them by
themselves. Those who actually want or need to do the latter will
know where to find them unless they live under a rock.