aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpanelplace.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:16 -0500
committerJacek Antonelli2008-08-15 23:45:16 -0500
commit3f27ba891ac4d032753b219b4b96d1ffbc9fb488 (patch)
tree504932ee91a0356fba7ea48798887c96867e492f /linden/indra/newview/llpanelplace.h
parentSecond Life viewer sources 1.18.4.3 (diff)
downloadmeta-impy-3f27ba891ac4d032753b219b4b96d1ffbc9fb488.zip
meta-impy-3f27ba891ac4d032753b219b4b96d1ffbc9fb488.tar.gz
meta-impy-3f27ba891ac4d032753b219b4b96d1ffbc9fb488.tar.bz2
meta-impy-3f27ba891ac4d032753b219b4b96d1ffbc9fb488.tar.xz
Second Life viewer sources 1.18.5.0-RC
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llpanelplace.h30
1 files changed, 26 insertions, 4 deletions
diff --git a/linden/indra/newview/llpanelplace.h b/linden/indra/newview/llpanelplace.h
index 81a2a63..e7c17cf 100644
--- a/linden/indra/newview/llpanelplace.h
+++ b/linden/indra/newview/llpanelplace.h
@@ -43,6 +43,7 @@ class LLLineEditor;
43class LLTextEditor; 43class LLTextEditor;
44class LLTextureCtrl; 44class LLTextureCtrl;
45class LLMessageSystem; 45class LLMessageSystem;
46class LLInventoryItem;
46 47
47class LLPanelPlace : public LLPanel 48class LLPanelPlace : public LLPanel
48{ 49{
@@ -52,11 +53,26 @@ public:
52 53
53 /*virtual*/ BOOL postBuild(); 54 /*virtual*/ BOOL postBuild();
54 55
56 void resetLocation();
57 // Ignore all old location information, useful if you are
58 // recycling an existing dialog and need to clear it.
55 59
56 void setParcelID(const LLUUID& parcel_id); 60 void setParcelID(const LLUUID& parcel_id);
61 // Sends a request for data about the given parcel, which will
62 // only update the location if there is none already available.
57 63
58 void sendParcelInfoRequest(); 64 void displayItemInfo(const LLInventoryItem* pItem);
65 void setRegionID(const LLUUID& region_id) { mRegionID = region_id; }
66 void setSnapshot(const LLUUID& snapshot_id);
67 void setName(const std::string& name);
68 void setLocationString(const std::string& location);
69 void setErrorStatus(U32 status, const std::string& reason);
59 70
71 void sendParcelInfoRequest();
72 void displayParcelInfo(const LLVector3& pos_region,
73 const LLUUID& landmark_asset_id,
74 const LLUUID& region_id,
75 const LLVector3d& pos_global);
60 static void processParcelInfoReply(LLMessageSystem* msg, void**); 76 static void processParcelInfoReply(LLMessageSystem* msg, void**);
61 77
62protected: 78protected:
@@ -71,16 +87,22 @@ protected:
71protected: 87protected:
72 LLUUID mParcelID; 88 LLUUID mParcelID;
73 LLUUID mRequestedID; 89 LLUUID mRequestedID;
90 LLUUID mRegionID;
91 LLUUID mLandmarkAssetID;
92 // Absolute position of the location for teleport, may not
93 // be available (hence zero)
74 LLVector3d mPosGlobal; 94 LLVector3d mPosGlobal;
95 // Region-local position for teleport, always available.
96 LLVector3 mPosRegion;
75 // Zero if this is not an auction 97 // Zero if this is not an auction
76 S32 mAuctionID; 98 S32 mAuctionID;
77 99
78 LLTextureCtrl* mSnapshotCtrl; 100 LLTextureCtrl* mSnapshotCtrl;
79 101
80 LLLineEditor* mNameEditor; 102 LLTextBox* mNameEditor;
81 LLTextEditor* mDescEditor; 103 LLTextEditor* mDescEditor;
82 LLLineEditor* mInfoEditor; 104 LLTextBox* mInfoEditor;
83 LLLineEditor* mLocationEditor; 105 LLTextBox* mLocationEditor;
84 106
85 LLButton* mTeleportBtn; 107 LLButton* mTeleportBtn;
86 LLButton* mMapBtn; 108 LLButton* mMapBtn;