ui/motif/label.h

changeset 431
bb7da585debc
parent 429
0921f8a5d535
child 433
605bb5dc34f1
--- a/ui/motif/label.h	Sun May 23 09:44:43 2021 +0200
+++ b/ui/motif/label.h	Sat Jan 04 16:38:48 2025 +0100
@@ -1,7 +1,7 @@
 /*
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
  *
- * Copyright 2014 Olaf Wintermann. All rights reserved.
+ * Copyright 2024 Olaf Wintermann. All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are met:
@@ -29,12 +29,26 @@
 #ifndef LABEL_H
 #define	LABEL_H
 
+#include "../ui/display.h"
+#include "../common/context.h"
+
 #ifdef	__cplusplus
 extern "C" {
 #endif
 
+typedef struct UiProgressBar {
+    Widget widget;
+    GC gc;
+    UiVar *var;
+    double min;
+    double max;
+    double value;
+    Pixel color;
+} UiProgressBar;
 
 
+double ui_progressbar_get(UiDouble *d);
+void ui_progressbar_set(UiDouble *d, double value);
 
 #ifdef	__cplusplus
 }

mercurial