]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/list.h
Cache the items part in List
[libs/gltk.git] / source / list.h
index 25001d18f7948dcab5af79e8671feddf538a61ae..43a24576a1ecf1904d29d1a58eb104c61a790d00 100644 (file)
@@ -145,6 +145,7 @@ private:
        unsigned first;
        unsigned max_scroll;
        unsigned view_size;
+       const Part *items_part;
        bool ignore_slider_change;
        bool dragging;
        int drag_start_x;
@@ -205,6 +206,8 @@ public:
        virtual void focus_in();
        virtual bool navigate(Navigation);
 private:
+       virtual void on_style_change();
+
        void move_focus(Navigation, bool);
        void set_focus_index(int);