mirror of
https://github.com/labwc/labwc.git
synced 2025-11-05 13:29:58 -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
|
|
@ -6,6 +6,15 @@
|
|||
#include "common/mem.h"
|
||||
#include "common/string-helpers.h"
|
||||
|
||||
void
|
||||
trim_last_field(char *buf, char delim)
|
||||
{
|
||||
char *p = strrchr(buf, delim);
|
||||
if (p) {
|
||||
*p = '\0';
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
rtrim(char **s)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue