Skip to content

Commit

Permalink
Delete emptied front-end files, and move rest to gtk directory
Browse files Browse the repository at this point in the history
Remove #ifdeffed-out Xt code that has GTK implementation. The xgamelist
and xhistory have been completely cleared off content, and were removed.
  • Loading branch information
HGMuller committed Nov 6, 2012
1 parent 4448222 commit 0d88b7c
Show file tree
Hide file tree
Showing 17 changed files with 29 additions and 993 deletions.
8 changes: 4 additions & 4 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@ endif

### define sources for the front-end and backend

GTKsources = xboard.c xtimer.c xgamelist.c \
xhistory.c xoptions.c xboard.h \
xengineoutput.c xgamelist.h \
xhistory.h
GTKsources = gtk/xboard.c gtk/xboard.h \
gtk/xoptions.c gtk/xtimer.c \
gtk/xengineoutput.c

Xsources = xaw/xboard.c xaw/xboard.h \
xaw/xengineoutput.c \
Expand Down Expand Up @@ -49,6 +48,7 @@ backendsources = backend.c backend.h backendz.h \

if withGTK
xboard_SOURCES = $(backendsources) $(GTKsources)
headers = -I gtk
endif
if withXaw
xboard_SOURCES = $(backendsources) $(Xsources)
Expand Down
2 changes: 1 addition & 1 deletion dialogs.h
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ void SetDialogTitle P((DialogClass dlg, char *title));
void LoadListBox P((Option *opt, char *emptyText, int n1, int n2));
void HighlightListBoxItem P((Option *opt, int nr));
void HighlightWithScroll P((Option *opt, int sel, int max));
void ScrollToCursor P((Option *opt, int pos));
int SelectedListBoxItem P((Option *opt));
void BoardFocus P((void));
void FocusOnWidget P((Option *opt, DialogClass dlg));
Expand Down Expand Up @@ -191,4 +192,3 @@ void SendString P((char *p));
int GameListClicks P((int direction));
void SetFilter P((void));


1 change: 1 addition & 0 deletions frontend.h
Original file line number Diff line number Diff line change
Expand Up @@ -237,5 +237,6 @@ void SlavePopUp P((void));
/* these are in xhistory.c */
Boolean MoveHistoryIsUp P((void));
void HistoryPopUp P((void));
void FindMoveByCharIndex P(( int char_index ));

#endif /* XB_FRONTEND */
Empty file added gtk/.dirstamp
Empty file.
Loading

0 comments on commit 0d88b7c

Please sign in to comment.