diff options
author | Patrick Sapinski | 2010-08-24 21:19:42 -0400 |
---|---|---|
committer | McCabe Maxsted | 2010-08-30 17:19:35 -0700 |
commit | 46ce6b78d479a0da264f933a694cb84b00a6c6c8 (patch) | |
tree | c5eb7724973f12f047847f243a18db6971c6d847 /linden/indra/newview/llprefsadvanced.h | |
parent | updated chatbar command line and added the necessary settings and hooks to us... (diff) | |
download | meta-impy-46ce6b78d479a0da264f933a694cb84b00a6c6c8.zip meta-impy-46ce6b78d479a0da264f933a694cb84b00a6c6c8.tar.gz meta-impy-46ce6b78d479a0da264f933a694cb84b00a6c6c8.tar.bz2 meta-impy-46ce6b78d479a0da264f933a694cb84b00a6c6c8.tar.xz |
added autocorrect functionality and floater
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llprefsadvanced.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/linden/indra/newview/llprefsadvanced.h b/linden/indra/newview/llprefsadvanced.h index f5fba10..6a15fba 100644 --- a/linden/indra/newview/llprefsadvanced.h +++ b/linden/indra/newview/llprefsadvanced.h | |||
@@ -32,6 +32,26 @@ | |||
32 | #define LLPREFSADVANCED_H | 32 | #define LLPREFSADVANCED_H |
33 | 33 | ||
34 | #include "llpanel.h" | 34 | #include "llpanel.h" |
35 | #include "llviewerinventory.h" | ||
36 | |||
37 | class JCInvDropTarget : public LLView | ||
38 | { | ||
39 | public: | ||
40 | JCInvDropTarget(const std::string& name, const LLRect& rect, void (*callback)(LLViewerInventoryItem*)); | ||
41 | ~JCInvDropTarget(); | ||
42 | |||
43 | void doDrop(EDragAndDropType cargo_type, void* cargo_data); | ||
44 | |||
45 | // | ||
46 | // LLView functionality | ||
47 | virtual BOOL handleDragAndDrop(S32 x, S32 y, MASK mask, BOOL drop, | ||
48 | EDragAndDropType cargo_type, | ||
49 | void* cargo_data, | ||
50 | EAcceptance* accept, | ||
51 | std::string& tooltip_msg); | ||
52 | protected: | ||
53 | void (*mDownCallback)(LLViewerInventoryItem*); | ||
54 | }; | ||
35 | 55 | ||
36 | class LLPrefsAdvanced : public LLPanel | 56 | class LLPrefsAdvanced : public LLPanel |
37 | { | 57 | { |
@@ -60,6 +80,7 @@ private: | |||
60 | static void onSpellGetMore(void* data); | 80 | static void onSpellGetMore(void* data); |
61 | static void onSpellEditCustom(void* data); | 81 | static void onSpellEditCustom(void* data); |
62 | static void onSpellBaseComboBoxCommit(LLUICtrl* ctrl, void* userdata); | 82 | static void onSpellBaseComboBoxCommit(LLUICtrl* ctrl, void* userdata); |
83 | static void onAutoCorrectButton(void * data); | ||
63 | 84 | ||
64 | protected: | 85 | protected: |
65 | void initHelpBtn(const std::string& name, const std::string& xml_alert); | 86 | void initHelpBtn(const std::string& name, const std::string& xml_alert); |