1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Renamed windows.h -> ui.h

This commit is contained in:
James Booth 2012-05-24 01:11:43 +01:00
parent 1b7170243c
commit 278cd9dd1d
10 changed files with 18 additions and 17 deletions

6
DESIGN
View File

@ -37,11 +37,11 @@ These represent the different windows in Ncurses.
| INPUT_WIN |
+----------------------------------------------+
The interface to the UI is all through windows.h, all UI modules share this
The interface to the UI is all through ui.h, all UI modules share this
header:
windows.h
ui.h
|
|
--------------------------------------------------
@ -50,7 +50,7 @@ header:
So any calls to the UI are through windows.h
So any calls to the UI are through ui.h
title_bar.c and status_bar.c are relatively trivial.

View File

@ -17,12 +17,12 @@ profanity: $(OBJS)
common.o: common.h
log.o: log.h
windows.o: windows.h util.h contact_list.h preferences.h
title_bar.o: windows.h
status_bar.o: windows.h util.h
input_win.o: windows.h preferences.h
jabber.o: jabber.h log.h windows.h contact_list.h
profanity.o: log.h windows.h jabber.h command.h preferences.h \
windows.o: ui.h util.h contact_list.h preferences.h
title_bar.o: ui.h
status_bar.o: ui.h util.h
input_win.o: ui.h preferences.h
jabber.o: jabber.h log.h ui.h contact_list.h
profanity.o: log.h ui.h jabber.h command.h preferences.h \
contact_list.h
util.o: util.h
command.o: command.h util.h history.h contact_list.h

View File

@ -29,7 +29,7 @@
#include "contact_list.h"
#include "history.h"
#include "jabber.h"
#include "windows.h"
#include "ui.h"
#include "util.h"
#include "preferences.h"

View File

@ -41,7 +41,7 @@
#include <ncurses.h>
#include "windows.h"
#include "ui.h"
#include "history.h"
#include "preferences.h"

View File

@ -26,7 +26,7 @@
#include "jabber.h"
#include "log.h"
#include "contact_list.h"
#include "windows.h"
#include "ui.h"
#include "util.h"
#include "preferences.h"

View File

@ -26,7 +26,7 @@
#include "profanity.h"
#include "log.h"
#include "windows.h"
#include "ui.h"
#include "jabber.h"
#include "command.h"
#include "preferences.h"

View File

@ -25,7 +25,7 @@
#include <ncurses.h>
#include "windows.h"
#include "ui.h"
#include "util.h"
#include "preferences.h"

View File

@ -23,7 +23,8 @@
#include <stdlib.h>
#include <string.h>
#include <ncurses.h>
#include "windows.h"
#include "ui.h"
static WINDOW *title_bar;
static char *current_title = NULL;

View File

@ -1,5 +1,5 @@
/*
* windows.h
* ui.h
*
* Copyright (C) 2012 James Booth <boothj5@gmail.com>
*

View File

@ -26,7 +26,7 @@
#include <ncurses.h>
#include <glib.h>
#include "windows.h"
#include "ui.h"
#include "util.h"
#include "contact.h"
#include "preferences.h"