aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfolderview.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:44:50 -0500
committerJacek Antonelli2008-08-15 23:44:50 -0500
commit89fe5dab825a62a0e3fd8d248cbc91c65eb2a426 (patch)
treebcff14b7888d04a2fec799c59369f6095224bd08 /linden/indra/newview/llfolderview.h
parentSecond Life viewer sources 1.13.3.2 (diff)
downloadmeta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.zip
meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.gz
meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.bz2
meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.xz
Second Life viewer sources 1.14.0.0
Diffstat (limited to 'linden/indra/newview/llfolderview.h')
-rw-r--r--linden/indra/newview/llfolderview.h19
1 files changed, 9 insertions, 10 deletions
diff --git a/linden/indra/newview/llfolderview.h b/linden/indra/newview/llfolderview.h
index a63ae26..ccadba9 100644
--- a/linden/indra/newview/llfolderview.h
+++ b/linden/indra/newview/llfolderview.h
@@ -317,7 +317,7 @@ protected:
317 // the specified selected item appropriately for display and use 317 // the specified selected item appropriately for display and use
318 // in the UI. If open is TRUE, then folders are opened up along 318 // in the UI. If open is TRUE, then folders are opened up along
319 // the way to the selection. 319 // the way to the selection.
320 void setSelectionFromRoot(LLFolderViewItem* selection, BOOL open, 320 void setSelectionFromRoot(LLFolderViewItem* selection, BOOL open, /* Flawfinder: ignore */
321 BOOL take_keyboard_focus = TRUE); 321 BOOL take_keyboard_focus = TRUE);
322 322
323 // helper function to change the selection from the root. 323 // helper function to change the selection from the root.
@@ -366,7 +366,7 @@ public:
366 // ignore. Returns TRUE if this object was affected. If open is 366 // ignore. Returns TRUE if this object was affected. If open is
367 // TRUE, then folders are opened up along the way to the 367 // TRUE, then folders are opened up along the way to the
368 // selection. 368 // selection.
369 virtual BOOL setSelection(LLFolderViewItem* selection, BOOL open, 369 virtual BOOL setSelection(LLFolderViewItem* selection, BOOL open, /* Flawfinder: ignore */
370 BOOL take_keyboard_focus); 370 BOOL take_keyboard_focus);
371 371
372 // This method is used to toggle the selection of an item. If 372 // This method is used to toggle the selection of an item. If
@@ -433,7 +433,7 @@ public:
433 void rename(const LLString& new_name); 433 void rename(const LLString& new_name);
434 434
435 // open 435 // open
436 virtual void open( void ); 436 virtual void open( void ); /* Flawfinder: ignore */
437 virtual void preview(void); 437 virtual void preview(void);
438 438
439 // Show children (unfortunate that this is called "open") 439 // Show children (unfortunate that this is called "open")
@@ -558,7 +558,7 @@ public:
558 // Passes selection information on to children and record 558 // Passes selection information on to children and record
559 // selection information if necessary. Returns TRUE if this object 559 // selection information if necessary. Returns TRUE if this object
560 // (or a child) was affected. 560 // (or a child) was affected.
561 virtual BOOL setSelection(LLFolderViewItem* selection, BOOL open, 561 virtual BOOL setSelection(LLFolderViewItem* selection, BOOL open, /* Flawfinder: ignore */
562 BOOL take_keyboard_focus); 562 BOOL take_keyboard_focus);
563 563
564 // This method is used to change the selection of an item. If 564 // This method is used to change the selection of an item. If
@@ -612,7 +612,7 @@ public:
612 virtual void toggleOpen(); 612 virtual void toggleOpen();
613 613
614 // Force a folder open or closed 614 // Force a folder open or closed
615 virtual void setOpen(BOOL open = TRUE); 615 virtual void setOpen(BOOL open = TRUE); /* Flawfinder: ignore */
616 616
617 // Called when a child is refreshed. 617 // Called when a child is refreshed.
618 virtual void requestArrange(); 618 virtual void requestArrange();
@@ -621,7 +621,7 @@ public:
621 // method was written because the list iterators destroy the state 621 // method was written because the list iterators destroy the state
622 // of other iterations, thus, we can't arrange while iterating 622 // of other iterations, thus, we can't arrange while iterating
623 // through the children (such as when setting which is selected. 623 // through the children (such as when setting which is selected.
624 virtual void setOpenArrangeRecursively(BOOL open, ERecurseType recurse = RECURSE_NO); 624 virtual void setOpenArrangeRecursively(BOOL open, ERecurseType recurse = RECURSE_NO); /* Flawfinder: ignore */
625 625
626 // Get the current state of the folder. 626 // Get the current state of the folder.
627 virtual BOOL isOpen() { return mIsOpen; } 627 virtual BOOL isOpen() { return mIsOpen; }
@@ -637,7 +637,7 @@ public:
637 void applyFunctorRecursively(LLFolderViewFunctor& functor); 637 void applyFunctorRecursively(LLFolderViewFunctor& functor);
638 virtual void applyListenerFunctorRecursively(LLFolderViewListenerFunctor& functor); 638 virtual void applyListenerFunctorRecursively(LLFolderViewListenerFunctor& functor);
639 639
640 virtual void open( void ); 640 virtual void open( void ); /* Flawfinder: ignore */
641 virtual BOOL addItem(LLFolderViewItem* item); 641 virtual BOOL addItem(LLFolderViewItem* item);
642 virtual BOOL addFolder( LLFolderViewFolder* folder); 642 virtual BOOL addFolder( LLFolderViewFolder* folder);
643 643
@@ -705,7 +705,7 @@ public:
705 void openFolder(const LLString& foldername); 705 void openFolder(const LLString& foldername);
706 706
707 virtual void toggleOpen() {}; 707 virtual void toggleOpen() {};
708 virtual void setOpenArrangeRecursively(BOOL open, ERecurseType recurse); 708 virtual void setOpenArrangeRecursively(BOOL open, ERecurseType recurse); /* Flawfinder: ignore */
709 virtual BOOL addFolder( LLFolderViewFolder* folder); 709 virtual BOOL addFolder( LLFolderViewFolder* folder);
710 710
711 // Finds width and height of this object and it's children. Also 711 // Finds width and height of this object and it's children. Also
@@ -722,7 +722,7 @@ public:
722 virtual LLFolderViewItem* getCurSelectedItem( void ); 722 virtual LLFolderViewItem* getCurSelectedItem( void );
723 723
724 // Record the selected item and pass it down the hierachy. 724 // Record the selected item and pass it down the hierachy.
725 virtual BOOL setSelection(LLFolderViewItem* selection, BOOL open, 725 virtual BOOL setSelection(LLFolderViewItem* selection, BOOL open, /* Flawfinder: ignore */
726 BOOL take_keyboard_focus); 726 BOOL take_keyboard_focus);
727 727
728 // This method is used to toggle the selection of an item. Walks 728 // This method is used to toggle the selection of an item. Walks
@@ -817,7 +817,6 @@ public:
817 817
818 static void idle(void* user_data); 818 static void idle(void* user_data);
819 819
820 void setAutoSelectOverride(bool override) { mAutoSelectOverride = override; }
821 BOOL needsAutoSelect() { return mNeedsAutoSelect && !mAutoSelectOverride; } 820 BOOL needsAutoSelect() { return mNeedsAutoSelect && !mAutoSelectOverride; }
822 BOOL getDebugFilters() { return mDebugFilters; } 821 BOOL getDebugFilters() { return mDebugFilters; }
823 822