You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,4 +18,6 @@ With the exception of those that make no sense in AutoHotkeys context.
18
18
*__class nesting__ all classes should either be nested within the class GDIp or any of it's subclasses.
19
19
*__the ptr field and getp*ObjectType*__ Any class that represents a GDIp Object should store it's objects pointer in `This.ptr`.
20
20
It should also return this pointer upon calling `getpObjectType()` where `ObjectType` get's replaced by the Objects type ( e.g. `getpBitmap()` for Bitmaps ).
21
-
*__parameters__ The biggest issue is making parameters both consistent and easy to use. Parameters should represent attributes that can be set e.g. Size
21
+
*__parameters__ The biggest issue is making parameters both consistent and easy to use. Parameters should represent attributes that can be set e.g. Size.
22
+
If the parameter covers more than one value combine them to an array. Never split parameters. Never use byref or global.
23
+
*__getters and setters__ Every attribute that needs to be set or get dynamically shouls be set and get by using setter and getter methods.
0 commit comments