diff options
| author | 2016-03-02 12:15:44 +0000 | |
|---|---|---|
| committer | 2016-03-14 04:57:12 +0000 | |
| commit | f138911b65dfce85c551f9e2e4bbeb595d6c6755 (patch) | |
| tree | 701d5eec803c30160be47f8762b5838e57bc44dd /src/modules/objects/KvsObject_vBox.cpp | |
| parent | cleanup: add or remove empty lines between documentation blocks & code (diff) | |
| download | KVIrc-f138911b65dfce85c551f9e2e4bbeb595d6c6755.tar.gz KVIrc-f138911b65dfce85c551f9e2e4bbeb595d6c6755.tar.bz2 KVIrc-f138911b65dfce85c551f9e2e4bbeb595d6c6755.zip | |
documentation: formatting/indentation + minor syntax fixes
+ Dont use double quotes to emphasise words in normal circumstances.
+ improve indenting + consistency (good for readability when editing source)
+ also replace single quotes
Diffstat (limited to 'src/modules/objects/KvsObject_vBox.cpp')
| -rw-r--r-- | src/modules/objects/KvsObject_vBox.cpp | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/src/modules/objects/KvsObject_vBox.cpp b/src/modules/objects/KvsObject_vBox.cpp index 0411cfe86..1f8067d44 100644 --- a/src/modules/objects/KvsObject_vBox.cpp +++ b/src/modules/objects/KvsObject_vBox.cpp @@ -59,6 +59,7 @@ const int align_cod[] = { }; #define align_num (sizeof(align_tbl) / sizeof(align_tbl[0])) + /* @doc: vbox @keyterms: @@ -83,11 +84,20 @@ const int align_cod[] = { !fn: $addStretch(<stretch:integer>) Adds a stretchable space with zero minimum size and stretch factor stretch to the end of this box layout. !fn: $setAlignment(<flag1:string>, <flag2:string>, ...) - Sets the alignment for widget w to flags, given as parameters. - Valid flags are: Right, Left, Top, Bottom, HCenter, VCenter, Center, Justify + Sets the alignment for widget w to flags, given as parameters.[br] + Valid flags are:[br] + [pre] + Right[br] + Left[br] + Top[br] + Bottom[br] + HCenter[br] + VCenter[br] + Center[br] + Justify + [/pre] */ - KVSO_BEGIN_REGISTERCLASS(KvsObject_vBox,"vbox","widget") KVSO_REGISTER_HANDLER_BY_NAME(KvsObject_vBox,setMargin) KVSO_REGISTER_HANDLER_BY_NAME(KvsObject_vBox,setSpacing) |
