some theme need drawing line function
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
usplash (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: usplash
I'm making a theme. That theme need some drawing line function. But usplash didn't public those function for theme. Hope can add these function for theme. I add drawing horizontal line function and drawing vertical line function. I hope the two function can help usplash theme maker.
The patch:
diff -rupN usplash-
--- usplash-
+++ usplash-
@@ -34,6 +34,8 @@ void usplash_put(int x, int y, void *poi
void usplash_
int y0);
+void usplash_hline(int x1, int x2, int y, int c);
+void usplash_vline(int x, int y1, int y2, int c);
/* Defined in libusplash.c, but used by video backends */
void usplash_
void usplash_
diff -rupN usplash-
--- usplash-
+++ usplash-
@@ -34,5 +34,6 @@ void usplash_
void usplash_
void usplash_
int x0, int y0);
-
+void usplash_
+void usplash_
#endif
diff -rupN usplash-
--- usplash-
+++ usplash-
@@ -129,3 +129,13 @@ usplash_
bogl_put(x, y, &bp, usplash_
free(part);
}
+
+void usplash_
+{
+ bogl_hline(x1, x2, y, c);
+}
+
+void usplash_
+{
+ bogl_vline(x, y1, y2, c);
+}
diff -rupN usplash-
--- usplash-
+++ usplash-
@@ -35,4 +35,6 @@ void usplash_
void usplash_
int x0, int y0);
+void usplash_
+void usplash_
#endif
diff -rupN usplash-
--- usplash-
+++ usplash-
@@ -303,6 +303,16 @@ void usplash_
*y = HEIGHT;
}
+void usplash_
+{
+ gl_line(x1, y, x2, y, c);
+}
+
+void usplash_
+{
+ gl_line(x, y1, x, y2, c);
+}
+
/* We don't need these. But svgalib wants them for linking purposes. MATTHEW
SMASH */
The usplash package has been superseded by plymouth and has been removed from the Ubuntu archive. Closing all related bugs.