mirror of
https://github.com/labwc/labwc.git
synced 2026-02-12 04:27:57 -05:00
theme: create hover button fallbacks
...by copying the non-hover variant and adding a transparent overlay. Co-authored-by: @johanmalm
This commit is contained in:
parent
d207e97992
commit
27de4e6398
6 changed files with 150 additions and 0 deletions
|
|
@ -2,6 +2,15 @@
|
|||
#ifndef LABWC_STRING_HELPERS_H
|
||||
#define LABWC_STRING_HELPERS_H
|
||||
|
||||
/**
|
||||
* trim_last_field() - Trim last field of string splitting on provided delim
|
||||
* @buf: string to trim
|
||||
* @delim: delimitator
|
||||
*
|
||||
* Example: With delim='_' and buf="foo_bar_baz" the return value is "foo_bar"
|
||||
*/
|
||||
void trim_last_field(char *buf, char delim);
|
||||
|
||||
/**
|
||||
* string_strip - strip white space left and right
|
||||
* Note: this function does a left skip, so the returning pointer cannot be
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue