Audacity 3.2.0
Namespaces | Macros | Enumerations | Functions | Variables
ExtImportPrefs.cpp File Reference
#include "ExtImportPrefs.h"
#include <wx/defs.h>
#include <wx/listctrl.h>
#include <wx/dnd.h>
#include "Prefs.h"
#include "ShuttleGui.h"
#include "Import.h"
#include "AudacityMessageBox.h"
#include "../widgets/Grid.h"
Include dependency graph for ExtImportPrefs.cpp:

Go to the source code of this file.

Namespaces

namespace  anonymous_namespace{ExtImportPrefs.cpp}
 

Macros

#define EXTIMPORT_MIME_SUPPORT   0
 

Enumerations

enum  ExtImportPrefsControls {
  EIPPluginList = 20000 , EIPRuleTable , EIPAddRule , EIPDelRule ,
  EIPMoveRuleUp , EIPMoveRuleDown , EIPMoveFilterUp , EIPMoveFilterDown
}
 

Functions

long wxCustomFindItem (wxListCtrl *list, int x, int y)
 

Variables

PrefsPanel::Registration anonymous_namespace{ExtImportPrefs.cpp}::sAttachment
 

Macro Definition Documentation

◆ EXTIMPORT_MIME_SUPPORT

#define EXTIMPORT_MIME_SUPPORT   0

Definition at line 30 of file ExtImportPrefs.cpp.

Enumeration Type Documentation

◆ ExtImportPrefsControls

Enumerator
EIPPluginList 
EIPRuleTable 
EIPAddRule 
EIPDelRule 
EIPMoveRuleUp 
EIPMoveRuleDown 
EIPMoveFilterUp 
EIPMoveFilterDown 

Definition at line 32 of file ExtImportPrefs.cpp.

33{
34 EIPPluginList = 20000,
42};
@ EIPRuleTable
@ EIPAddRule
@ EIPMoveRuleDown
@ EIPPluginList
@ EIPDelRule
@ EIPMoveFilterDown
@ EIPMoveFilterUp
@ EIPMoveRuleUp

Function Documentation

◆ wxCustomFindItem()

long wxCustomFindItem ( wxListCtrl *  list,
int  x,
int  y 
)

Definition at line 749 of file ExtImportPrefs.cpp.

750{
751 long count = list->GetItemCount();
752 wxRect r;
753 for (long i = 0; i < count; i++)
754 {
755 if (list->GetItemRect (i, r))
756 {
757 if (r.Contains (x, y))
758 return i;
759 }
760 }
761 return -1;
762}

Referenced by ExtImportPrefsDropTarget::OnDragOver(), and ExtImportPrefsDropTarget::OnDrop().

Here is the caller graph for this function: