MCPcopy Create free account
hub / github.com/ajkhoury/ReClassEx / Update

Method Update

ReClass/CNodeFloat.cpp:9–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7}
8
9void CNodeFloat::Update( const PHOTSPOT Spot )
10{
11 float FloatValue;
12
13 StandardUpdate( Spot );
14
15 FloatValue = (float)_ttof( Spot->Text.GetString( ) );
16 if (Spot->Id == HS_EDIT)
17 ReClassWriteMemory( (LPVOID)Spot->Address, &FloatValue, sizeof( float ) );
18}
19
20NODESIZE CNodeFloat::Draw( const PVIEWINFO View, int x, int y )
21{

Callers

nothing calls this directly

Calls 1

ReClassWriteMemoryFunction · 0.85

Tested by

no test coverage detected