summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2011-10-09 12:20:28 +0000
committerLudovic Pouzenc <ludovic@pouzenc.fr>2011-10-09 12:20:28 +0000
commit6858221c2c09590dfe05f060f8701f874d2559ac (patch)
treea2c2a7f8941e87368ee46163e028c553d1b6bcdf /src
parent748b294646092e461053ade09a52a29586cbf4f7 (diff)
download2011-ddhardrescue-6858221c2c09590dfe05f060f8701f874d2559ac.tar.gz
2011-ddhardrescue-6858221c2c09590dfe05f060f8701f874d2559ac.tar.bz2
2011-ddhardrescue-6858221c2c09590dfe05f060f8701f874d2559ac.zip
Pause critique dans l'avancement de l'amas de code. On va commencer à préparer une version plus rationnelle.
git-svn-id: file:///var/svn/2011-ddhardrescue/trunk@28 d3078510-dda0-49f1-841c-895ef4b7ec81
Diffstat (limited to 'src')
-rw-r--r--src/cursesview.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cursesview.c b/src/cursesview.c
index 83b133f..fcfa2d2 100644
--- a/src/cursesview.c
+++ b/src/cursesview.c
@@ -19,7 +19,7 @@ address_t sliceDumpBegin, sliceDumpEnd, sliceDumpMin, sliceDumpMax;
int cursesInit(WINDOW *wins[], PANEL *panels[], int count);
void cursesUnInit(WINDOW *wins[], PANEL *panels[], int count);
void cursesUpdateSliceDump(slices_evt_t *slicesEvt, slice_t *modifiedSlice);
-void print_in_middle(WINDOW *win, int starty, int startx, int width, char *string, chtype color);
+//void printInMiddle(WINDOW *win, int starty, int startx, int width, char *string, chtype color);
void makeWin(WINDOW **win, PANEL **panel, int h, int w, int y, int x, char title[]);
void cursesMainLoop(slices_evt_t *slicesEvt) {
@@ -256,8 +256,8 @@ void cursesUpdateSliceDump(slices_evt_t *slicesEvt, slice_t *modifiedSlice) {
pthread_mutex_unlock(&ncursesWriteMutex);
}
-
-void print_in_middle(WINDOW *win, int starty, int startx, int width, char *string, chtype color)
+/*
+void printInMiddle(WINDOW *win, int starty, int startx, int width, char *string, chtype color)
{ int length, x, y;
float temp;
@@ -279,7 +279,7 @@ void print_in_middle(WINDOW *win, int starty, int startx, int width, char *strin
wattroff(win, color);
refresh();
}
-
+*/
void makeWin(WINDOW **win, PANEL **panel, int h, int w, int y, int x, char title[]) {
int i;
*win = newwin(h, w, y, x);