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:
parent
1b7170243c
commit
278cd9dd1d
6
DESIGN
6
DESIGN
@ -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.
|
||||
|
||||
|
12
Makefile
12
Makefile
@ -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
|
||||
|
@ -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"
|
||||
|
||||
|
@ -41,7 +41,7 @@
|
||||
|
||||
#include <ncurses.h>
|
||||
|
||||
#include "windows.h"
|
||||
#include "ui.h"
|
||||
#include "history.h"
|
||||
#include "preferences.h"
|
||||
|
||||
|
2
jabber.c
2
jabber.c
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
@ -25,7 +25,7 @@
|
||||
|
||||
#include <ncurses.h>
|
||||
|
||||
#include "windows.h"
|
||||
#include "ui.h"
|
||||
#include "util.h"
|
||||
#include "preferences.h"
|
||||
|
||||
|
@ -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;
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* windows.h
|
||||
* ui.h
|
||||
*
|
||||
* Copyright (C) 2012 James Booth <boothj5@gmail.com>
|
||||
*
|
Loading…
Reference in New Issue
Block a user