mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-09 07:20:40 +00:00
Removed hard coded directory paths
- Removed references to core directory. - Switch some references to tools directory - Added preferences variables where appropriate
This commit is contained in:
parent
853b70255b
commit
4b1334db9f
25 changed files with 75 additions and 18 deletions
|
|
@ -89,9 +89,6 @@ bool GuiGradientSwatchCtrl::onWake()
|
|||
if ( !Parent::onWake() )
|
||||
return false;
|
||||
|
||||
if ( mPointer.isNull() )
|
||||
mPointer.set( "core/art/gui/images/arrowbtn_d", &GFXDefaultGUIProfile, avar("%s() - mGrid (line %d)", __FUNCTION__, __LINE__) );
|
||||
|
||||
char* altCommand = Con::getReturnBuffer(512);
|
||||
dSprintf( altCommand, 512, "%s(%i.color, \"%i.setColor\");", mColorFunction, getId(), getId() );
|
||||
setField( "altCommand", altCommand );
|
||||
|
|
|
|||
|
|
@ -48,7 +48,6 @@ public:
|
|||
void onRender(Point2I offset, const RectI &updateRect);
|
||||
bool onWake();
|
||||
protected:
|
||||
GFXTexHandle mPointer;
|
||||
StringTableEntry mColorFunction;
|
||||
};
|
||||
//----------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue