That commit where I touch all the ascentprefs headers to make them conform to standard because it's been annoying me too long.

This commit is contained in:
Inusaito Sayori
2013-10-23 17:47:33 -04:00
parent 41303d0c9c
commit 2b7e78cb3b
3 changed files with 154 additions and 153 deletions

View File

@@ -38,13 +38,13 @@
class LLPrefsAscentChat : public LLPanel class LLPrefsAscentChat : public LLPanel
{ {
public: public:
LLPrefsAscentChat(); LLPrefsAscentChat();
~LLPrefsAscentChat(); ~LLPrefsAscentChat();
void apply(); void apply();
void cancel(); void cancel();
void refresh(); void refresh();
void refreshValues(); void refreshValues();
protected: protected:
void onSpellAdd(); void onSpellAdd();
@@ -56,26 +56,27 @@ protected:
void onCommitDialogBlock(LLUICtrl* ctrl, const LLSD& value); void onCommitDialogBlock(LLUICtrl* ctrl, const LLSD& value);
void onCommitKeywords(LLUICtrl* ctrl); void onCommitKeywords(LLUICtrl* ctrl);
//Chat/IM ----------------------------------------------------------------------------- private:
BOOL mIMAnnounceIncoming; //Chat/IM -----------------------------------------------------------------------------
BOOL mHideTypingNotification; bool mIMAnnounceIncoming;
bool mInstantMessagesFriendsOnly; bool mHideTypingNotification;
BOOL mShowGroupNameInChatIM; bool mInstantMessagesFriendsOnly;
bool mShowDisplayNameChanges; bool mShowGroupNameInChatIM;
bool mUseTypingBubbles; bool mShowDisplayNameChanges;
BOOL mPlayTypingSound; bool mUseTypingBubbles;
BOOL mHideNotificationsInChat; bool mPlayTypingSound;
BOOL mEnableMUPose; bool mHideNotificationsInChat;
BOOL mEnableOOCAutoClose; bool mEnableMUPose;
U32 mLinksForChattingObjects; bool mEnableOOCAutoClose;
U32 mTimeFormat; U32 mLinksForChattingObjects;
U32 mDateFormat; U32 mTimeFormat;
U32 tempTimeFormat; U32 mDateFormat;
U32 tempDateFormat; U32 tempTimeFormat;
BOOL mSecondsInChatAndIMs; U32 tempDateFormat;
BOOL mSecondsInLog; bool mSecondsInChatAndIMs;
bool mSecondsInLog;
//Chat UI ----------------------------------------------------------------------------- //Chat UI -----------------------------------------------------------------------------
bool mWoLfVerticalIMTabs; bool mWoLfVerticalIMTabs;
bool mOtherChatsTornOff; bool mOtherChatsTornOff;
bool mIMAnnounceStealFocus; bool mIMAnnounceStealFocus;
@@ -95,39 +96,39 @@ protected:
std::string mIMResponseMutedItemID; std::string mIMResponseMutedItemID;
std::string mIMResponseBusyItemID; std::string mIMResponseBusyItemID;
//Spam -------------------------------------------------------------------------------- //Spam --------------------------------------------------------------------------------
BOOL mEnableAS; bool mEnableAS;
BOOL mGlobalQueue; bool mGlobalQueue;
U32 mChatSpamCount; U32 mChatSpamCount;
U32 mChatSpamTime; U32 mChatSpamTime;
BOOL mBlockDialogSpam; bool mBlockDialogSpam;
BOOL mBlockAlertSpam; bool mBlockAlertSpam;
BOOL mBlockFriendSpam; bool mBlockFriendSpam;
BOOL mBlockGroupNoticeSpam; bool mBlockGroupNoticeSpam;
BOOL mBlockGroupInviteSpam; bool mBlockGroupInviteSpam;
BOOL mBlockGroupFeeInviteSpam; bool mBlockGroupFeeInviteSpam;
BOOL mBlockItemOfferSpam; bool mBlockItemOfferSpam;
bool mBlockNotMineSpam; bool mBlockNotMineSpam;
bool mBlockNotFriendSpam; bool mBlockNotFriendSpam;
BOOL mBlockScriptSpam; bool mBlockScriptSpam;
BOOL mBlockTeleportSpam; bool mBlockTeleportSpam;
bool mBlockTeleportRequestSpam; bool mBlockTeleportRequestSpam;
BOOL mNotifyOnSpam; bool mNotifyOnSpam;
BOOL mSoundMulti; bool mSoundMulti;
U32 mNewLines; U32 mNewLines;
U32 mPreloadMulti; U32 mPreloadMulti;
bool mEnableGestureSounds; bool mEnableGestureSounds;
//Text Options ------------------------------------------------------------------------ //Text Options ------------------------------------------------------------------------
BOOL mSpellDisplay; bool mSpellDisplay;
BOOL mKeywordsOn; bool mKeywordsOn;
std::string mKeywordsList; std::string mKeywordsList;
BOOL mKeywordsInChat; bool mKeywordsInChat;
BOOL mKeywordsInIM; bool mKeywordsInIM;
BOOL mKeywordsChangeColor; bool mKeywordsChangeColor;
LLColor4 mKeywordsColor; LLColor4 mKeywordsColor;
BOOL mKeywordsPlaySound; bool mKeywordsPlaySound;
LLUUID mKeywordsSound; LLUUID mKeywordsSound;
}; };
#endif #endif

View File

@@ -38,13 +38,13 @@
class LLPrefsAscentSys : public LLPanel class LLPrefsAscentSys : public LLPanel
{ {
public: public:
LLPrefsAscentSys(); LLPrefsAscentSys();
~LLPrefsAscentSys(); ~LLPrefsAscentSys();
void apply(); void apply();
void cancel(); void cancel();
void refresh(); void refresh();
void refreshValues(); void refreshValues();
protected: protected:
void onCommitCheckBox(LLUICtrl* ctrl, const LLSD& value); void onCommitCheckBox(LLUICtrl* ctrl, const LLSD& value);
@@ -52,61 +52,62 @@ protected:
void onCommitComboBox(LLUICtrl* ctrl, const LLSD& value); void onCommitComboBox(LLUICtrl* ctrl, const LLSD& value);
void onCommitTexturePicker(LLUICtrl* ctrl); void onCommitTexturePicker(LLUICtrl* ctrl);
//General ----------------------------------------------------------------------------- private:
BOOL mDoubleClickTeleport; //General -----------------------------------------------------------------------------
BOOL mResetCameraAfterTP; bool mDoubleClickTeleport;
BOOL mOffsetTPByUserHeight; bool mResetCameraAfterTP;
bool mClearBeaconAfterTeleport; bool mOffsetTPByUserHeight;
bool mLiruFlyAfterTeleport; bool mClearBeaconAfterTeleport;
bool mLiruContinueFlying; bool mLiruFlyAfterTeleport;
BOOL mPreviewAnimInWorld; bool mLiruContinueFlying;
BOOL mSaveScriptsAsMono; bool mPreviewAnimInWorld;
BOOL mAlwaysRezInGroup; bool mSaveScriptsAsMono;
BOOL mBuildAlwaysEnabled; bool mAlwaysRezInGroup;
BOOL mAlwaysShowFly; bool mBuildAlwaysEnabled;
BOOL mDisableMinZoom; bool mAlwaysShowFly;
BOOL mPowerUser; bool mDisableMinZoom;
BOOL mFetchInventoryOnLogin; bool mPowerUser;
BOOL mEnableLLWind; bool mFetchInventoryOnLogin;
BOOL mEnableClouds; bool mEnableLLWind;
BOOL mEnableClassicClouds; bool mEnableClouds;
BOOL mSpeedRez; bool mEnableClassicClouds;
U32 mSpeedRezInterval; bool mSpeedRez;
U32 mSpeedRezInterval;
bool mUseWebProfiles; bool mUseWebProfiles;
bool mUseWebSearch; bool mUseWebSearch;
//Command Line ------------------------------------------------------------------------ //Command Line ------------------------------------------------------------------------
BOOL mCmdLine; bool mCmdLine;
std::string mCmdLinePos; std::string mCmdLinePos;
std::string mCmdLineGround; std::string mCmdLineGround;
std::string mCmdLineHeight; std::string mCmdLineHeight;
std::string mCmdLineTeleportHome; std::string mCmdLineTeleportHome;
std::string mCmdLineRezPlatform; std::string mCmdLineRezPlatform;
F32 mCmdPlatformSize; F32 mCmdPlatformSize;
std::string mCmdLineCalc; std::string mCmdLineCalc;
std::string mCmdLineClearChat; std::string mCmdLineClearChat;
std::string mCmdLineDrawDistance; std::string mCmdLineDrawDistance;
std::string mCmdTeleportToCam; std::string mCmdTeleportToCam;
std::string mCmdLineKeyToName; std::string mCmdLineKeyToName;
std::string mCmdLineOfferTp; std::string mCmdLineOfferTp;
std::string mCmdLineMapTo; std::string mCmdLineMapTo;
BOOL mCmdMapToKeepPos; bool mCmdMapToKeepPos;
std::string mCmdLineTP2; std::string mCmdLineTP2;
std::string mCmdLineAway; std::string mCmdLineAway;
std::string mCmdLineURL; std::string mCmdLineURL;
//Security ---------------------------------------------------------------------------- //Security ----------------------------------------------------------------------------
BOOL mBroadcastViewerEffects; bool mBroadcastViewerEffects;
BOOL mDisablePointAtAndBeam; bool mDisablePointAtAndBeam;
BOOL mPrivateLookAt; bool mPrivateLookAt;
BOOL mShowLookAt; bool mShowLookAt;
BOOL mQuietSnapshotsToDisk; bool mQuietSnapshotsToDisk;
BOOL mDetachBridge; bool mDetachBridge;
BOOL mRevokePermsOnStandUp; bool mRevokePermsOnStandUp;
BOOL mDisableClickSit; bool mDisableClickSit;
bool mDisableClickSitOtherOwner; bool mDisableClickSitOtherOwner;
BOOL mDisplayScriptJumps; bool mDisplayScriptJumps;
F32 mNumScriptDiff; F32 mNumScriptDiff;
//Build ------------------------------------------------------------------------------- //Build -------------------------------------------------------------------------------
F32 mAlpha; F32 mAlpha;
@@ -115,14 +116,14 @@ protected:
F32 mGlow; F32 mGlow;
std::string mItem; std::string mItem;
std::string mMaterial; std::string mMaterial;
BOOL mNextCopy; bool mNextCopy;
BOOL mNextMod; bool mNextMod;
BOOL mNextTrans; bool mNextTrans;
std::string mShiny; std::string mShiny;
BOOL mTemporary; bool mTemporary;
std::string mTexture; std::string mTexture;
BOOL mPhantom; bool mPhantom;
BOOL mPhysical; bool mPhysical;
F32 mXsize; F32 mXsize;
F32 mYsize; F32 mYsize;
F32 mZsize; F32 mZsize;

View File

@@ -38,24 +38,26 @@
class LLPrefsAscentVan : public LLPanel class LLPrefsAscentVan : public LLPanel
{ {
public: public:
LLPrefsAscentVan(); LLPrefsAscentVan();
~LLPrefsAscentVan(); ~LLPrefsAscentVan();
void apply(); void apply();
void cancel(); void cancel();
void refresh(); void refresh();
void refreshValues(); void refreshValues();
protected: protected:
void onCommitClientTag(LLUICtrl* ctrl); void onCommitClientTag(LLUICtrl* ctrl);
void onCommitCheckBox(LLUICtrl* ctrl, const LLSD& value); void onCommitCheckBox(LLUICtrl* ctrl, const LLSD& value);
void onCommitTextModified(LLUICtrl* ctrl, const LLSD& value); void onCommitTextModified(LLUICtrl* ctrl, const LLSD& value);
static void onManualClientUpdate(); static void onManualClientUpdate();
//Main
BOOL mUseAccountSettings; private:
BOOL mShowTPScreen; //Main
BOOL mPlayTPSound; bool mUseAccountSettings;
BOOL mShowLogScreens; bool mShowTPScreen;
bool mPlayTPSound;
bool mShowLogScreens;
bool mDisableChatAnimation; bool mDisableChatAnimation;
bool mAddNotReplace; bool mAddNotReplace;
bool mTurnAround; bool mTurnAround;
@@ -64,41 +66,38 @@ protected:
bool mUnfocusedFloatersOpaque; bool mUnfocusedFloatersOpaque;
bool mCompleteNameProfiles; bool mCompleteNameProfiles;
bool mScriptErrorsStealFocus; bool mScriptErrorsStealFocus;
//Tags\Colors //Tags\Colors
BOOL mAscentBroadcastTag; bool mAscentBroadcastTag;
std::string mReportClientUUID; std::string mReportClientUUID;
U32 mSelectedClient; U32 mSelectedClient;
BOOL mShowSelfClientTag; bool mShowSelfClientTag;
BOOL mShowSelfClientTagColor; bool mShowSelfClientTagColor;
BOOL mShowFriendsTag; bool mShowFriendsTag;
BOOL mDisplayClientTagOnNewLine; bool mDisplayClientTagOnNewLine;
BOOL mCustomTagOn; bool mCustomTagOn;
std::string mCustomTagLabel; std::string mCustomTagLabel;
LLColor4 mCustomTagColor; LLColor4 mCustomTagColor;
BOOL mShowOthersTag; bool mShowOthersTag;
BOOL mShowOthersTagColor; bool mShowOthersTagColor;
BOOL mShowIdleTime; bool mShowIdleTime;
BOOL mUseStatusColors; bool mUseStatusColors;
BOOL mUpdateTagsOnLoad; bool mUpdateTagsOnLoad;
LLColor4 mEffectColor; LLColor4 mEffectColor;
LLColor4 mFriendColor; LLColor4 mFriendColor;
LLColor4 mEstateOwnerColor; LLColor4 mEstateOwnerColor;
LLColor4 mLindenColor; LLColor4 mLindenColor;
LLColor4 mMutedColor; LLColor4 mMutedColor;
LLColor4 mMapAvatarColor; LLColor4 mMapAvatarColor;
LLColor4 mCustomColor; LLColor4 mCustomColor;
bool mColorFriendChat; bool mColorFriendChat;
bool mColorEOChat; bool mColorEOChat;
bool mColorLindenChat; bool mColorLindenChat;
bool mColorMutedChat; bool mColorMutedChat;
// bool mColorCustomChat; // bool mColorCustomChat;
F32 mAvatarXModifier;
F32 mAvatarYModifier;
F32 mAvatarZModifier;
private:
F32 mAvatarXModifier;
F32 mAvatarYModifier;
F32 mAvatarZModifier;
}; };
#endif #endif