From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id AF998138827 for ; Sun, 3 Feb 2013 14:32:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3F8AF21C089; Sun, 3 Feb 2013 14:32:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D47E121C089 for ; Sun, 3 Feb 2013 14:32:35 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D6C4F33DD82 for ; Sun, 3 Feb 2013 14:32:29 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 77B5DE408E for ; Sun, 3 Feb 2013 14:32:28 +0000 (UTC) From: "Sven Eden" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sven Eden" Message-ID: <1359901838.62111738bc22335ae72037c2eac5dc9c38e682d3.yamakuzure@gentoo> Subject: [gentoo-commits] proj/ufed:master commit in: / X-VCS-Repository: proj/ufed X-VCS-Files: ufed-curses.h X-VCS-Directories: / X-VCS-Committer: yamakuzure X-VCS-Committer-Name: Sven Eden X-VCS-Revision: 62111738bc22335ae72037c2eac5dc9c38e682d3 X-VCS-Branch: master Date: Sun, 3 Feb 2013 14:32:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 09737684-e991-4d43-a867-c0b02dff5870 X-Archives-Hash: 1b98b6794e447edac1794d73effc99b3 commit: 62111738bc22335ae72037c2eac5dc9c38e682d3 Author: Sven Eden gmx de> AuthorDate: Sun Feb 3 14:30:38 2013 +0000 Commit: Sven Eden gmx de> CommitDate: Sun Feb 3 14:30:38 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/ufed.git;a=commit;h=62111738 Added inclusion of globals, added missing and re-ordered existing prototypes for better readability. --- ufed-curses.h | 17 +++++++++-------- 1 files changed, 9 insertions(+), 8 deletions(-) diff --git a/ufed-curses.h b/ufed-curses.h index f996d7c..117500f 100644 --- a/ufed-curses.h +++ b/ufed-curses.h @@ -1,12 +1,14 @@ -#include "ufed-curses-types.h" - -/* global members */ -extern sWindow window[wCount]; +#include "ufed-curses-globals.h" /* global prototypes */ void cursesdone(void); void initcurses(void); +void draw(bool withSep); +void drawBottom(bool withSep); +void drawFlags(void); +void drawStatus(bool withSep); +void drawTop(bool withSep); int maineventloop( const char *subtitle, int (*callback)(sFlag** curr, int key), @@ -14,11 +16,10 @@ int maineventloop( sFlag* flags, const sKey* keys, bool withSep); -void drawBottom(bool withSep); -void drawFlags(void); -void drawStatus(bool withSep); -void drawTop(bool withSep); +void resetDisplay(bool withSep); bool scrollcurrent(void); +bool setNextItem(int count, bool strict); +bool setPrevItem(int count, bool strict); bool yesno(const char *);