Mass fixup to appearance mode ui overhead!
Should contain no functional changes, ust that all ui in appearance mode is now cached instead of calling getChild per frame. Switches from hiding min/max param text every frame to force-drawing in draw call and setting invisible (llscrollingpanelparam.cpp/the corresponding xml) Cleans up some old commented out code. Moves some simple, one-call functions into their calling bodies. Also, for some reason I had to adjust the alpha checkboxes, totally confused why they were out of line... maybe they had been already? I don't see a changed line that did positioning. Contains spaces to tabs fixes, please view without space changes (You have been warned!)
This commit is contained in:
@@ -47,9 +47,6 @@ public:
|
||||
virtual void setVisible( BOOL visible );
|
||||
virtual void updatePanel(BOOL allow_modify);
|
||||
|
||||
static void onSliderMouseDown(LLUICtrl* ctrl, void* userdata);
|
||||
static void onSliderMouseUp(LLUICtrl* ctrl, void* userdata);
|
||||
|
||||
void onHintMouseUp( bool max );
|
||||
void onHintMouseDown( bool max );
|
||||
void onHintHeldDown( bool max );
|
||||
@@ -69,6 +66,8 @@ public:
|
||||
protected:
|
||||
LLTimer mMouseDownTimer; // timer for how long mouse has been held down on a hint.
|
||||
F32 mLastHeldTime;
|
||||
private:
|
||||
LLView *mMinText, *mMaxText;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user