X-Git-Url: http://git.tdb.fi/?p=libs%2Fgltk.git;a=blobdiff_plain;f=source%2Flist.h;fp=source%2Flist.h;h=d6cb2b554d859dc04d32307c4bdd9ec6d90dcfdb;hp=9bc30c685d146a88d9d3b0fc8b886037f7ffa724;hb=81c4024fb6acf37df702a803dc4efdf82a81525a;hpb=9f38197854e699a6093a906ab43f4238f3cd2388 diff --git a/source/list.h b/source/list.h index 9bc30c6..d6cb2b5 100644 --- a/source/list.h +++ b/source/list.h @@ -157,10 +157,10 @@ public: sigc::signal signal_selection_cleared; private: - ListData *data = 0; + ListData *data = nullptr; bool own_data = false; - DataObserver *observer = 0; - ItemFactory *item_factory = 0; + DataObserver *observer = nullptr; + ItemFactory *item_factory = nullptr; ViewMode view_mode = LIST; int sel_index = -1; int focus_index = -1; @@ -168,7 +168,7 @@ private: unsigned max_scroll = 0; unsigned view_rows = 5; unsigned view_columns = 5; - const Part *items_part = 0; + const Part *items_part = nullptr; bool ignore_slider_change = false; bool dragging = false; int drag_start_x = 0;