2017-11-04 07:03:53 +01:00
|
|
|
/***********************************************************************
|
|
|
|
* flistview.h - Widget FListView and FListViewItem *
|
|
|
|
* *
|
|
|
|
* This file is part of the Final Cut widget toolkit *
|
|
|
|
* *
|
|
|
|
* Copyright 2017 Markus Gans *
|
|
|
|
* *
|
|
|
|
* The Final Cut is free software; you can redistribute it and/or *
|
|
|
|
* modify it under the terms of the GNU Lesser General Public License *
|
|
|
|
* as published by the Free Software Foundation; either version 3 of *
|
|
|
|
* the License, or (at your option) any later version. *
|
|
|
|
* *
|
|
|
|
* The Final Cut is distributed in the hope that it will be useful, *
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
|
|
|
* GNU Lesser General Public License for more details. *
|
|
|
|
* *
|
|
|
|
* You should have received a copy of the GNU Lesser General Public *
|
|
|
|
* License along with this program. If not, see *
|
|
|
|
* <http://www.gnu.org/licenses/>. *
|
|
|
|
***********************************************************************/
|
2017-10-14 22:20:19 +02:00
|
|
|
|
|
|
|
/* Inheritance diagram
|
|
|
|
* ═══════════════════
|
|
|
|
*
|
2017-10-29 14:27:50 +01:00
|
|
|
* ▕▔▔▔▔▔▔▔▔▔▏
|
|
|
|
* ▕ FTerm ▏
|
|
|
|
* ▕▁▁▁▁▁▁▁▁▁▏
|
|
|
|
* ▲
|
|
|
|
* │
|
2017-10-14 22:20:19 +02:00
|
|
|
* ▕▔▔▔▔▔▔▔▔▔▏ ▕▔▔▔▔▔▔▔▔▔▏
|
2017-10-29 14:27:50 +01:00
|
|
|
* ▕ FVTerm ▏ ▕ FObject ▏
|
2017-10-14 22:20:19 +02:00
|
|
|
* ▕▁▁▁▁▁▁▁▁▁▏ ▕▁▁▁▁▁▁▁▁▁▏
|
|
|
|
* ▲ ▲
|
|
|
|
* │ │
|
|
|
|
* └─────┬─────┘
|
|
|
|
* │
|
|
|
|
* ▕▔▔▔▔▔▔▔▔▔▏ ▕▔▔▔▔▔▔▔▔▔▏
|
|
|
|
* ▕ FWidget ▏ ▕ FObject ▏
|
|
|
|
* ▕▁▁▁▁▁▁▁▁▁▏ ▕▁▁▁▁▁▁▁▁▁▏
|
|
|
|
* ▲ ▲
|
|
|
|
* │ │
|
|
|
|
* ▕▔▔▔▔▔▔▔▔▔▔▔▏1 *▕▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▏
|
|
|
|
* ▕ FListView ▏- - - -▕ FListViewItem ▏
|
|
|
|
* ▕▁▁▁▁▁▁▁▁▁▁▁▏ ▕▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▏
|
|
|
|
*/
|
2017-07-18 23:50:51 +02:00
|
|
|
|
|
|
|
#ifndef FLISTVIEW_H
|
|
|
|
#define FLISTVIEW_H
|
|
|
|
|
2017-10-31 00:41:59 +01:00
|
|
|
#if !defined (USE_FINAL_H) && !defined (COMPILE_FINAL_CUT)
|
|
|
|
#error "Only <final/final.h> can be included directly."
|
|
|
|
#endif
|
|
|
|
|
2017-09-19 06:18:03 +02:00
|
|
|
#include <stack>
|
2017-09-11 03:06:02 +02:00
|
|
|
#include <vector>
|
|
|
|
|
2017-09-17 21:32:46 +02:00
|
|
|
#include "final/fscrollbar.h"
|
|
|
|
#include "final/fstring.h"
|
|
|
|
#include "final/ftermbuffer.h"
|
|
|
|
#include "final/fwidget.h"
|
2017-07-18 23:50:51 +02:00
|
|
|
|
|
|
|
// class forward declaration
|
|
|
|
class FListView;
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------
|
|
|
|
// class FListViewItem
|
|
|
|
//----------------------------------------------------------------------
|
|
|
|
|
|
|
|
#pragma pack(push)
|
|
|
|
#pragma pack(1)
|
|
|
|
|
|
|
|
class FListViewItem : public FObject
|
|
|
|
{
|
2017-09-11 03:06:02 +02:00
|
|
|
public:
|
|
|
|
// Constructor
|
|
|
|
FListViewItem (const FListViewItem&); // copy constructor
|
2017-09-15 01:31:02 +02:00
|
|
|
explicit FListViewItem (FObjectIterator);
|
2017-09-20 16:56:20 +02:00
|
|
|
FListViewItem ( const FStringList&
|
2017-09-15 01:31:02 +02:00
|
|
|
, FWidget::data_ptr
|
|
|
|
, FObjectIterator );
|
2017-09-11 03:06:02 +02:00
|
|
|
|
|
|
|
// Destructor
|
|
|
|
~FListViewItem();
|
|
|
|
|
|
|
|
// Assignment operator (=)
|
|
|
|
FListViewItem& operator = (const FListViewItem&);
|
|
|
|
|
|
|
|
// Accessors
|
2017-11-02 16:05:34 +01:00
|
|
|
const char* getClassName() const;
|
|
|
|
uInt getColumnCount() const;
|
|
|
|
FString getText (int) const;
|
|
|
|
uInt getDepth() const;
|
2017-09-11 03:06:02 +02:00
|
|
|
|
|
|
|
// Mutator
|
2017-11-02 16:05:34 +01:00
|
|
|
void setText (int, const FString&);
|
|
|
|
|
2017-09-11 03:06:02 +02:00
|
|
|
|
|
|
|
// Inquiry
|
2017-11-02 16:05:34 +01:00
|
|
|
bool isExpand() const;
|
2017-09-11 03:06:02 +02:00
|
|
|
|
|
|
|
// Methods
|
2017-11-02 16:05:34 +01:00
|
|
|
FObjectIterator insert (FListViewItem*);
|
|
|
|
FObjectIterator insert (FListViewItem*, FObjectIterator);
|
|
|
|
void expand();
|
|
|
|
void collapse();
|
2017-09-11 03:06:02 +02:00
|
|
|
|
|
|
|
private:
|
|
|
|
// Inquiry
|
2017-11-02 16:05:34 +01:00
|
|
|
bool isExpandable() const;
|
2017-09-11 03:06:02 +02:00
|
|
|
|
|
|
|
// Methods
|
2017-11-02 16:05:34 +01:00
|
|
|
FObjectIterator appendItem (FListViewItem*);
|
|
|
|
void replaceControlCodes();
|
|
|
|
int getVisibleLines();
|
|
|
|
void resetVisibleLineCounter();
|
2017-09-11 03:06:02 +02:00
|
|
|
|
2017-11-02 16:05:34 +01:00
|
|
|
// Data Members
|
2017-09-20 16:56:20 +02:00
|
|
|
FStringList column_list;
|
|
|
|
FWidget::data_ptr data_pointer;
|
|
|
|
int visible_lines;
|
|
|
|
bool expandable;
|
|
|
|
bool is_expand;
|
2017-09-11 03:06:02 +02:00
|
|
|
|
|
|
|
// Friend class
|
|
|
|
friend class FListView;
|
2017-10-14 22:20:19 +02:00
|
|
|
friend class FListViewIterator;
|
2017-07-18 23:50:51 +02:00
|
|
|
};
|
|
|
|
#pragma pack(pop)
|
|
|
|
|
|
|
|
|
|
|
|
// FListViewItem inline functions
|
|
|
|
//----------------------------------------------------------------------
|
|
|
|
inline const char* FListViewItem::getClassName() const
|
|
|
|
{ return "FListViewItem"; }
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------
|
2017-08-20 17:30:30 +02:00
|
|
|
inline uInt FListViewItem::getColumnCount() const
|
2017-09-15 01:31:02 +02:00
|
|
|
{ return uInt(column_list.size()); }
|
2017-07-18 23:50:51 +02:00
|
|
|
|
2017-08-20 17:30:30 +02:00
|
|
|
//----------------------------------------------------------------------
|
2017-10-23 16:16:06 +02:00
|
|
|
inline bool FListViewItem::isExpand() const
|
2017-08-20 17:30:30 +02:00
|
|
|
{ return is_expand; }
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------
|
2017-10-23 16:16:06 +02:00
|
|
|
inline bool FListViewItem::isExpandable() const
|
2017-08-20 17:30:30 +02:00
|
|
|
{ return expandable; }
|
|
|
|
|
2017-07-18 23:50:51 +02:00
|
|
|
|
2017-10-14 22:20:19 +02:00
|
|
|
//----------------------------------------------------------------------
|
|
|
|
// class FListViewIterator
|
|
|
|
//----------------------------------------------------------------------
|
|
|
|
|
|
|
|
#pragma pack(push)
|
|
|
|
#pragma pack(1)
|
|
|
|
|
|
|
|
class FListViewIterator
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
// Typedefs
|
|
|
|
typedef std::list<FObject*> FObjectList;
|
|
|
|
typedef FObjectList::iterator FObjectIterator;
|
|
|
|
typedef std::stack<FObjectIterator> FObjectIteratorStack;
|
|
|
|
|
|
|
|
// Constructor
|
|
|
|
FListViewIterator ();
|
|
|
|
FListViewIterator (FObjectIterator);
|
|
|
|
|
|
|
|
// Destructor
|
|
|
|
~FListViewIterator();
|
|
|
|
|
|
|
|
// Overloaded operators
|
|
|
|
FListViewIterator& operator ++ (); // prefix
|
|
|
|
FListViewIterator operator ++ (int); // postfix
|
|
|
|
FListViewIterator& operator -- (); // prefix
|
|
|
|
FListViewIterator operator -- (int); // postfix
|
|
|
|
FListViewIterator& operator += (int);
|
|
|
|
FListViewIterator& operator -= (int);
|
|
|
|
FObject*& operator * () const;
|
|
|
|
FObject* operator -> () const;
|
|
|
|
bool operator == (const FListViewIterator&) const;
|
|
|
|
bool operator != (const FListViewIterator&) const;
|
|
|
|
|
|
|
|
// Accessor
|
|
|
|
const char* getClassName() const;
|
|
|
|
int getPosition() const;
|
|
|
|
|
|
|
|
// Methods
|
|
|
|
void parentElement();
|
|
|
|
|
|
|
|
private:
|
|
|
|
// Methods
|
|
|
|
void nextElement (FObjectIterator&);
|
|
|
|
void prevElement (FObjectIterator&);
|
|
|
|
|
|
|
|
// Data Members
|
|
|
|
FObjectIteratorStack iter_path;
|
|
|
|
FObjectIterator node;
|
|
|
|
int position;
|
|
|
|
};
|
|
|
|
#pragma pack(pop)
|
|
|
|
|
|
|
|
|
|
|
|
// FListViewIterator inline functions
|
|
|
|
//----------------------------------------------------------------------
|
|
|
|
inline FObject*& FListViewIterator::operator * () const
|
|
|
|
{ return *node; }
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------
|
|
|
|
inline FObject* FListViewIterator::operator -> () const
|
|
|
|
{ return *node; }
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------
|
|
|
|
inline bool FListViewIterator::operator == (const FListViewIterator& rhs) const
|
|
|
|
{ return node == rhs.node; }
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------
|
|
|
|
inline bool FListViewIterator::operator != (const FListViewIterator& rhs) const
|
|
|
|
{ return node != rhs.node; }
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------
|
|
|
|
inline const char* FListViewIterator::getClassName() const
|
|
|
|
{ return "FListViewIterator"; }
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------
|
|
|
|
inline int FListViewIterator::getPosition() const
|
|
|
|
{ return position; }
|
|
|
|
|
|
|
|
|
2017-07-18 23:50:51 +02:00
|
|
|
//----------------------------------------------------------------------
|
|
|
|
// class FListView
|
|
|
|
//----------------------------------------------------------------------
|
|
|
|
|
|
|
|
#pragma pack(push)
|
|
|
|
#pragma pack(1)
|
|
|
|
|
|
|
|
class FListView : public FWidget
|
|
|
|
{
|
2017-09-11 03:06:02 +02:00
|
|
|
public:
|
|
|
|
// Using-declaration
|
|
|
|
using FWidget::setGeometry;
|
|
|
|
|
|
|
|
// Constructor
|
|
|
|
explicit FListView (FWidget* = 0);
|
|
|
|
|
|
|
|
// Destructor
|
|
|
|
~FListView();
|
|
|
|
|
|
|
|
// Accessors
|
2017-09-19 06:18:03 +02:00
|
|
|
const char* getClassName() const;
|
2017-10-14 22:20:19 +02:00
|
|
|
uInt getCount();
|
2017-09-19 06:18:03 +02:00
|
|
|
fc::text_alignment getColumnAlignment (int) const;
|
|
|
|
FString getColumnText (int) const;
|
|
|
|
FListViewItem* getCurrentItem();
|
2017-09-11 03:06:02 +02:00
|
|
|
|
|
|
|
// Mutators
|
2017-09-19 06:18:03 +02:00
|
|
|
void setGeometry (int, int, int, int, bool = true);
|
|
|
|
void setColumnAlignment (int, fc::text_alignment);
|
|
|
|
void setColumnText (int, const FString&);
|
|
|
|
bool setTreeView (bool);
|
|
|
|
bool setTreeView();
|
|
|
|
bool unsetTreeView();
|
2017-09-11 03:06:02 +02:00
|
|
|
|
|
|
|
// Methods
|
2017-09-19 06:18:03 +02:00
|
|
|
virtual int addColumn (const FString&, int = USE_MAX_SIZE);
|
|
|
|
FObjectIterator insert (FListViewItem*);
|
|
|
|
FObjectIterator insert (FListViewItem*, FObjectIterator);
|
2017-09-20 16:56:20 +02:00
|
|
|
FObjectIterator insert ( const FStringList&
|
2017-09-19 06:18:03 +02:00
|
|
|
, data_ptr = 0 );
|
2017-09-20 16:56:20 +02:00
|
|
|
FObjectIterator insert ( const FStringList&
|
2017-09-19 06:18:03 +02:00
|
|
|
, FObjectIterator );
|
2017-09-20 16:56:20 +02:00
|
|
|
FObjectIterator insert ( const FStringList&
|
2017-09-19 06:18:03 +02:00
|
|
|
, data_ptr
|
|
|
|
, FObjectIterator );
|
|
|
|
FObjectIterator insert ( const std::vector<long>&
|
|
|
|
, data_ptr = 0 );
|
|
|
|
FObjectIterator insert ( const std::vector<long>&
|
|
|
|
, FObjectIterator );
|
|
|
|
FObjectIterator insert ( const std::vector<long>&
|
|
|
|
, data_ptr
|
|
|
|
, FObjectIterator );
|
|
|
|
FObjectIterator beginOfList();
|
|
|
|
FObjectIterator endOfList();
|
2017-09-11 03:06:02 +02:00
|
|
|
|
|
|
|
// Event handlers
|
2017-09-19 06:18:03 +02:00
|
|
|
void onKeyPress (FKeyEvent*);
|
|
|
|
void onMouseDown (FMouseEvent*);
|
|
|
|
void onMouseUp (FMouseEvent*);
|
|
|
|
void onMouseMove (FMouseEvent*);
|
|
|
|
void onMouseDoubleClick (FMouseEvent*);
|
|
|
|
void onWheel (FWheelEvent*);
|
|
|
|
void onTimer (FTimerEvent*);
|
|
|
|
void onFocusIn (FFocusEvent*);
|
|
|
|
void onFocusOut (FFocusEvent*);
|
2017-09-11 03:06:02 +02:00
|
|
|
|
|
|
|
protected:
|
|
|
|
// Methods
|
2017-10-14 22:20:19 +02:00
|
|
|
void adjustViewport();
|
2017-09-19 06:18:03 +02:00
|
|
|
void adjustSize();
|
2017-09-11 03:06:02 +02:00
|
|
|
|
|
|
|
private:
|
|
|
|
// Typedef
|
2017-10-14 22:20:19 +02:00
|
|
|
struct Header; // forward declaration
|
2017-09-11 03:06:02 +02:00
|
|
|
typedef std::vector<Header> headerItems;
|
|
|
|
|
|
|
|
// Constants
|
|
|
|
static const int USE_MAX_SIZE = -1;
|
|
|
|
|
|
|
|
// Disable copy constructor
|
|
|
|
FListView (const FListView&);
|
|
|
|
|
|
|
|
// Disable assignment operator (=)
|
|
|
|
FListView& operator = (const FListView&);
|
|
|
|
|
|
|
|
// Methods
|
2017-09-19 06:18:03 +02:00
|
|
|
void init();
|
|
|
|
uInt getAlignOffset (fc::text_alignment, uInt, uInt);
|
|
|
|
void draw();
|
|
|
|
void drawColumnLabels();
|
|
|
|
void drawList();
|
|
|
|
void drawListLine (const FListViewItem*, bool, bool);
|
|
|
|
void recalculateHorizontalBar (int);
|
|
|
|
void recalculateVerticalBar (int);
|
|
|
|
FObjectIterator appendItem (FListViewItem*);
|
|
|
|
void processClick();
|
|
|
|
void processChanged();
|
2017-10-15 15:27:36 +02:00
|
|
|
void setRelativePosition (int);
|
2017-10-14 22:20:19 +02:00
|
|
|
void stepForward();
|
|
|
|
void stepBackward();
|
|
|
|
void stepForward (int);
|
|
|
|
void stepBackward (int);
|
|
|
|
void scrollToX (int);
|
|
|
|
void scrollToY (int);
|
|
|
|
void scrollTo (const FPoint &);
|
|
|
|
void scrollTo (int, int);
|
2017-09-11 03:06:02 +02:00
|
|
|
|
|
|
|
// Callback methods
|
2017-09-19 06:18:03 +02:00
|
|
|
void cb_VBarChange (FWidget*, data_ptr);
|
|
|
|
void cb_HBarChange (FWidget*, data_ptr);
|
2017-09-11 03:06:02 +02:00
|
|
|
|
|
|
|
// Data Members
|
2017-09-19 06:18:03 +02:00
|
|
|
FObjectIterator root;
|
|
|
|
FObjectList selflist;
|
|
|
|
FObjectList itemlist;
|
2017-10-14 22:20:19 +02:00
|
|
|
FListViewIterator current_iter;
|
|
|
|
FListViewIterator first_visible_line;
|
|
|
|
FListViewIterator last_visible_line;
|
2017-09-19 06:18:03 +02:00
|
|
|
headerItems header;
|
|
|
|
FTermBuffer headerline;
|
|
|
|
FScrollbar* vbar;
|
|
|
|
FScrollbar* hbar;
|
|
|
|
fc::dragScroll drag_scroll;
|
|
|
|
int scroll_repeat;
|
|
|
|
int scroll_distance;
|
|
|
|
bool scroll_timer;
|
|
|
|
bool tree_view;
|
2017-10-23 16:16:06 +02:00
|
|
|
FPoint clicked_expander_pos;
|
2017-09-19 06:18:03 +02:00
|
|
|
int xoffset;
|
|
|
|
int nf_offset;
|
|
|
|
int max_line_width;
|
2017-09-11 03:06:02 +02:00
|
|
|
|
|
|
|
// Friend class
|
|
|
|
friend class FListViewItem;
|
2017-07-18 23:50:51 +02:00
|
|
|
};
|
|
|
|
#pragma pack(pop)
|
|
|
|
|
|
|
|
|
2017-10-14 22:20:19 +02:00
|
|
|
//----------------------------------------------------------------------
|
|
|
|
// struct FListView::Header
|
|
|
|
//----------------------------------------------------------------------
|
|
|
|
|
|
|
|
#pragma pack(push)
|
|
|
|
#pragma pack(1)
|
|
|
|
struct FListView::Header
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
Header()
|
|
|
|
: name()
|
|
|
|
, width (0)
|
|
|
|
, fixed_width (false)
|
|
|
|
, alignment (fc::alignLeft)
|
|
|
|
{ }
|
|
|
|
|
|
|
|
~Header()
|
|
|
|
{ }
|
|
|
|
|
|
|
|
FString name;
|
|
|
|
int width;
|
|
|
|
bool fixed_width;
|
|
|
|
fc::text_alignment alignment;
|
|
|
|
};
|
|
|
|
#pragma pack(pop)
|
|
|
|
|
|
|
|
|
2017-07-18 23:50:51 +02:00
|
|
|
// FListView inline functions
|
|
|
|
//----------------------------------------------------------------------
|
|
|
|
inline const char* FListView::getClassName() const
|
|
|
|
{ return "FListView"; }
|
|
|
|
|
2017-08-01 00:56:12 +02:00
|
|
|
//----------------------------------------------------------------------
|
2017-09-15 01:31:02 +02:00
|
|
|
inline FListViewItem* FListView::getCurrentItem()
|
2017-10-14 22:20:19 +02:00
|
|
|
{ return static_cast<FListViewItem*>(*current_iter); }
|
2017-08-01 00:56:12 +02:00
|
|
|
|
2017-08-20 17:30:30 +02:00
|
|
|
//----------------------------------------------------------------------
|
|
|
|
inline bool FListView::setTreeView (bool on)
|
2017-09-17 21:32:46 +02:00
|
|
|
{ return tree_view = ( on ) ? true : false; }
|
2017-08-20 17:30:30 +02:00
|
|
|
|
|
|
|
//----------------------------------------------------------------------
|
|
|
|
inline bool FListView::setTreeView()
|
|
|
|
{ return setTreeView(true); }
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------
|
|
|
|
inline bool FListView::unsetTreeView()
|
|
|
|
{ return setTreeView(false); }
|
|
|
|
|
2017-07-18 23:50:51 +02:00
|
|
|
//----------------------------------------------------------------------
|
2017-09-15 01:31:02 +02:00
|
|
|
inline FObject::FObjectIterator FListView::insert (FListViewItem* item)
|
|
|
|
{ return insert (item, root); }
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------
|
|
|
|
inline FObject::FObjectIterator
|
2017-09-20 16:56:20 +02:00
|
|
|
FListView::insert ( const FStringList& cols, data_ptr d )
|
2017-09-15 01:31:02 +02:00
|
|
|
{ return insert (cols, d, root); }
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------
|
|
|
|
inline FObject::FObjectIterator
|
2017-09-20 16:56:20 +02:00
|
|
|
FListView::insert ( const FStringList& cols
|
2017-09-15 01:31:02 +02:00
|
|
|
, FObjectIterator parent_iter )
|
|
|
|
{ return insert (cols, 0, parent_iter); }
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------
|
|
|
|
inline FObject::FObjectIterator
|
|
|
|
FListView::insert ( const std::vector<long>& cols, data_ptr d )
|
|
|
|
{ return insert (cols, d, root); }
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------
|
|
|
|
inline FObject::FObjectIterator
|
|
|
|
FListView::insert ( const std::vector<long>& cols
|
|
|
|
, FObjectIterator parent_iter )
|
|
|
|
{ return insert (cols, 0, parent_iter); }
|
|
|
|
|
2017-09-17 01:50:41 +02:00
|
|
|
//----------------------------------------------------------------------
|
|
|
|
inline FObject::FObjectIterator FListView::beginOfList()
|
|
|
|
{ return itemlist.begin(); }
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------
|
|
|
|
inline FObject::FObjectIterator FListView::endOfList()
|
|
|
|
{ return itemlist.end(); }
|
|
|
|
|
2017-09-15 01:31:02 +02:00
|
|
|
//----------------------------------------------------------------------
|
2017-10-14 22:20:19 +02:00
|
|
|
inline void FListView::scrollTo (const FPoint& pos)
|
|
|
|
{ scrollTo(pos.getX(), pos.getY()); }
|
2017-07-18 23:50:51 +02:00
|
|
|
|
|
|
|
#endif // FLISTVIEW_H
|