summaryrefslogtreecommitdiffstats
path: root/source/widgets
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2018-06-12 14:11:08 +0200
committerDave Davenport <qball@gmpclient.org>2018-06-12 14:11:08 +0200
commit9909fb3d7108c2cea200848d3e2a766f46be2f3b (patch)
treeba339ab2148e4998fe61964611b67ac95a979f62 /source/widgets
parentd2576e9f1f3406229b3bfec6e3536529a6f93cd6 (diff)
More documentation fixes
Diffstat (limited to 'source/widgets')
-rw-r--r--source/widgets/listview.c9
-rw-r--r--source/widgets/scrollbar.c1
2 files changed, 10 insertions, 0 deletions
diff --git a/source/widgets/listview.c b/source/widgets/listview.c
index 6705cbed..b9dfefd7 100644
--- a/source/widgets/listview.c
+++ b/source/widgets/listview.c
@@ -35,14 +35,23 @@
#include "settings.h"
#include "theme.h"
+/** Default spacing between the elements in the listview. */
#define DEFAULT_SPACING 2
+/**
+ * Orientation of the listview
+ */
typedef enum
{
+ /** Vertical (classical) list */
LISTVIEW = ROFI_ORIENTATION_VERTICAL,
+ /** Horizontal list. (barview) */
BARVIEW = ROFI_ORIENTATION_HORIZONTAL,
} ViewType;
+/**
+ * The moving direction of the selection, this (in barview) affects the scrolling.
+ */
typedef enum
{
LEFT_TO_RIGHT = 0,
diff --git a/source/widgets/scrollbar.c b/source/widgets/scrollbar.c
index 80fcbf7f..d3400593 100644
--- a/source/widgets/scrollbar.c
+++ b/source/widgets/scrollbar.c
@@ -34,6 +34,7 @@
#include "theme.h"
+/** The default width of the scrollbar */
#define DEFAULT_SCROLLBAR_WIDTH 8
static void scrollbar_draw ( widget *, cairo_t * );