mirror of
https://github.com/lbonn/rofi
synced 2025-01-02 23:48:44 +00:00
3c64507f02
* Initial support for using boxes for packing widgets. * Make CapiTalIzation more consistent * Move widgets to subdirectory * Removed nolonger needed resize function. * Small cleanup * When switching mode, reuse view, don't rebuild it. Reduces artifacts. * Needs cleaning up. * Remove separate prompt argument, use display_name * Simplify run-switcher code. * Add notion of parents, and trigger parent update on resize. * Use widget_get_height wrapper, avoid crash * Size separator width based on height. (indent) * TODO add margin to box. * First draft version of listview. * Add scrollbar to listview widget * Add padding option to box * Move access to global config out of widget. (1/2 done) * Remove printf * Make listview not access global config * Add click support, implement on mode buttons. * Re-introduce mouse handling on list-view. * TODO draggin on scrollbar. * Fix multi-select * Fix warnings * Fix include
24 lines
432 B
C
24 lines
432 B
C
#ifndef ROFI_SEPARATOR_H
|
|
#define ROFI_SEPARATOR_H
|
|
#include <cairo.h>
|
|
#include "widget.h"
|
|
|
|
/**
|
|
* @defgroup separator separator
|
|
* @ingroup widgets
|
|
*
|
|
* @{
|
|
*/
|
|
typedef struct _separator separator;
|
|
|
|
/**
|
|
* @param h The height of the separator.
|
|
*
|
|
* Create a horizontal separator with height h.
|
|
*
|
|
* @returns a new separator, free with ::widget_free
|
|
*/
|
|
separator *separator_create ( short h );
|
|
|
|
/*@}*/
|
|
#endif // ROFI_SEPARATOR_H
|