Skip to content

Commit e443fa0

Browse files
committed
Expand the examples and recreate the screenshot
1 parent 2fa22d0 commit e443fa0

File tree

3 files changed

+31
-0
lines changed

3 files changed

+31
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,6 @@ this as being inspired by the trailing return types from C++11.
4040

4141
- No parameter types shown for macros
4242

43+
#### Screenshot
44+
4345
![Screenshot](screenshot-panel.png)

examples-input-for-screenshots.ipf

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
#pragma rtGlobals=3 // Use modern global access method and strict wave access.
22

3+
Menu "Don't look"
4+
"First entry", print "Hi"
5+
End
6+
7+
Constant myVariable = 4711
8+
StrConstant myString = "Hi there!"
9+
310
Function/S normalFunction()
411
End
512

@@ -15,3 +22,25 @@ End
1522
Macro MacroWithParameter(p1)
1623
variable p1
1724
EndMacro
25+
26+
Structure testStruct
27+
variable var
28+
EndStructure
29+
30+
Function MyNormalFunction(s)
31+
STRUCT testStruct &s
32+
End
33+
34+
Function MyWindowHook(s)
35+
STRUCT WMWinHookStruct &s
36+
37+
return 0
38+
End
39+
40+
/// @brief This task just burns your CPU
41+
///
42+
/// @param s background task structure
43+
Function TestTask(s)
44+
STRUCT WMBackgroundStruct &s
45+
return 0
46+
End

screenshot-panel.png

18.2 KB
Loading

0 commit comments

Comments
 (0)