diff options
author | Simon Howard | 2006-06-02 19:29:24 +0000 |
---|---|---|
committer | Simon Howard | 2006-06-02 19:29:24 +0000 |
commit | 517af9477b7269564f3ba8c0ccc6ef53c78a7abb (patch) | |
tree | 1d60d219a7c71b90330baee90acf06a05670fb0f /textscreen/txt_main.h | |
parent | b3e5170bbba1c3048da86a5291cd45524abfeac2 (diff) | |
download | chocolate-doom-517af9477b7269564f3ba8c0ccc6ef53c78a7abb.tar.gz chocolate-doom-517af9477b7269564f3ba8c0ccc6ef53c78a7abb.tar.bz2 chocolate-doom-517af9477b7269564f3ba8c0ccc6ef53c78a7abb.zip |
textscreen: Rejig how the entire drawing process works. Add a recursive
layout method that assigns the position and size of widgets for the whole
window before drawing. Add another method that responds to mouse button
presses. Allow windows to have no title bar by specifying NULL as the
title.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 547
Diffstat (limited to 'textscreen/txt_main.h')
-rw-r--r-- | textscreen/txt_main.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/textscreen/txt_main.h b/textscreen/txt_main.h index 5a4b8a1c..43c5475b 100644 --- a/textscreen/txt_main.h +++ b/textscreen/txt_main.h @@ -1,7 +1,7 @@ // Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // -// $Id: txt_main.h 513 2006-05-23 00:04:27Z fraggle $ +// $Id: txt_main.h 547 2006-06-02 19:29:24Z fraggle $ // // Copyright(C) 1993-1996 Id Software, Inc. // Copyright(C) 2005 Simon Howard @@ -101,5 +101,9 @@ int TXT_GetChar(void); void TXT_GetKeyDescription(int key, char *buf); +// Retrieve the current position of the mouse + +void TXT_GetMouseState(int *x, int *y); + #endif /* #ifndef TXT_MAIN_H */ |