Skip to content

Commit 1c1eace

Browse files
syoyothedmd
authored andcommitted
Fix PinKind enum value.
1 parent 1f13404 commit 1c1eace

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Readme.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,17 @@ Here are some highlights:
2424
* Node and pin contents are fully customizable
2525
* Fully stylled, default theme is modeled after UE4 blueprints
2626
- Flexibe enough to produce such nodes:
27-
27+
2828
![image](https://user-images.githubusercontent.com/1197433/60381408-c3895b00-9a54-11e9-8312-d9fc9af63347.png)
2929
![image](https://user-images.githubusercontent.com/1197433/60381400-a3599c00-9a54-11e9-9c51-a88f25f7db07.png)
3030
![image](https://user-images.githubusercontent.com/1197433/60381589-7d81c680-9a57-11e9-87b1-9f73ec33bea4.png)
3131
- Customizable links based on Bézier curves:
32-
32+
3333
![image](https://user-images.githubusercontent.com/1197433/60381475-ac973880-9a55-11e9-9ad9-5862975cd2b8.png)
3434
![image](https://user-images.githubusercontent.com/1197433/60381467-9db08600-9a55-11e9-9868-2ae849f67de9.png)
3535
![image](https://user-images.githubusercontent.com/1197433/60381488-cd5f8e00-9a55-11e9-8346-1f4c8d6bea22.png)
3636
* Automatic highlights for nodes, pins and links:
37-
37+
3838
![image](https://user-images.githubusercontent.com/1197433/60381536-9e95e780-9a56-11e9-80bb-dad0d3d9557a.png)
3939
* Smooth navigation and selection
4040
* Node state can be saved in user context, so layout will not break
@@ -43,7 +43,7 @@ Here are some highlights:
4343
* Basic shortcuts support (cut/copy/paste/delete)
4444
* ImGui style API
4545

46-
Editor is used to implement blueprint editor in Spark CE engine, it proved itself there by allowing to do everything we needed. Therefore it is now slowly moving into stable state from beeing a prototype.
46+
Editor is used to implement blueprint editor in Spark CE engine, it proved itself there by allowing to do everything we needed. Therefore it is now slowly moving into stable state from beeing a prototype.
4747

4848
Please report issues or questions if something isn't clear.
4949

@@ -56,7 +56,7 @@ Please report issues or questions if something isn't clear.
5656
- https://github.com/thedmd/imgui/tree/feature/extra-keys (for extra shortcuts)
5757
* Examples dependencies:
5858
- https://github.com/thedmd/imgui/tree/feature/layout (used in blueprints sample only)
59-
* C++14
59+
* C++14
6060

6161
## Code
6262

@@ -113,11 +113,11 @@ void Application_Frame()
113113
// Start drawing nodes.
114114
ed::BeginNode(uniqueId++);
115115
ImGui::Text("Node A");
116-
ed::BeginPin(uniqueId++, ed::PinKind::Target);
116+
ed::BeginPin(uniqueId++, ed::PinKind::Input);
117117
ImGui::Text("-> In");
118118
ed::EndPin();
119119
ImGui::SameLine();
120-
ed::BeginPin(uniqueId++, ed::PinKind::Source);
120+
ed::BeginPin(uniqueId++, ed::PinKind::Output);
121121
ImGui::Text("Out ->");
122122
ed::EndPin();
123123
ed::EndNode();

0 commit comments

Comments
 (0)