Browse Source

Fix for updated DPF

pull/2/head
falkTX 10 years ago
parent
commit
49c6d52c57
2 changed files with 5 additions and 3 deletions
  1. +1
    -1
      dpf
  2. +4
    -2
      plugins/States/ExamplePluginStates.cpp

+ 1
- 1
dpf

@@ -1 +1 @@
Subproject commit 8480503cd7c047fd20e7c047d5cad89b2cdf7b61
Subproject commit 77ed9260b247c28233b7227173df97dfc088f5e4

+ 4
- 2
plugins/States/ExamplePluginStates.cpp View File

@@ -94,10 +94,10 @@ protected:
* State */
/**
Set the key name of the state @a index.
Set the state key and default value of @a index.
This function will be called once, shortly after the plugin is created.
*/
void d_initStateKey(uint32_t index, d_string& stateKey) override
void d_initState(uint32_t index, d_string& stateKey, d_string& defaultStateValue) override
{
switch (index)
{
@@ -129,6 +129,8 @@ protected:
stateKey = "bottom-right";
break;
}
defaultStateValue = "false";
}
/**


Loading…
Cancel
Save