mirror of
https://review.haiku-os.org/haiku
synced 2025-02-22 21:48:35 +01:00
Force reloading the current decorator on -r until they handle color changes correctly.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38123 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
8e8634bf54
commit
6b26291d7b
@ -15,6 +15,15 @@
|
||||
#include <InterfaceDefs.h>
|
||||
#include <String.h>
|
||||
|
||||
namespace BPrivate {
|
||||
int32 count_decorators(void);
|
||||
int32 get_decorator(void);
|
||||
status_t get_decorator_name(const int32 &index, BString &name);
|
||||
status_t get_decorator_preview(const int32 &index, BBitmap *bitmap);
|
||||
status_t set_decorator(const int32 &index);
|
||||
}
|
||||
|
||||
using namespace BPrivate;
|
||||
|
||||
static int sColorWhich = -1;
|
||||
static struct option const kLongOptions[] = {
|
||||
@ -133,6 +142,7 @@ main(int argc, char **argv)
|
||||
|
||||
case 'r':
|
||||
// TODO: refresh (but shouldn't be needed)
|
||||
set_decorator(get_decorator());
|
||||
break;
|
||||
case 's':
|
||||
// IGNORED, for compatibility with original app
|
||||
|
Loading…
x
Reference in New Issue
Block a user