[tekui-devel] tekui: Visual: Added ScreenWidth, ScreenHeight attributes; Windo...

Timm S. Mueller tmueller at schulze-mueller.de
Thu Apr 24 20:19:33 CEST 2014


details:   http://hg.neoscientists.org/tekui/rev/7198e17a270a
changeset: 204:7198e17a270a
user:      Timm S. Mueller <tmueller at schulze-mueller.de>
date:      Sun Apr 20 14:52:43 2014 +0200
description:
Visual: Added ScreenWidth, ScreenHeight attributes; Windows display: Does not
require a default font anymore; Region, String library: Build fixes;
Application: Dialogues are now confined to visible screen; Widget, UI: Added
NoFocus attribute and FL_NOFOCUS flag
From: Timm S. Mueller <tmueller at schulze-mueller.de>
Subject: tekui: X11: Improved fullscreen/borderless support, removed waitforexpose hack;

details:   http://hg.neoscientists.org/tekui/rev/d2ffc65e1483
changeset: 205:d2ffc65e1483
user:      Timm S. Mueller <tmueller at schulze-mueller.de>
date:      Thu Apr 24 19:04:00 2014 +0200
description:
X11: Improved fullscreen/borderless support, removed waitforexpose hack;
Input: added hardscroll support, minor fixes; TextEdit: minor refresh problem
fixed

diffstat:

 .hgignore                              |   2 +-
 CHANGES                                |   6 +++-
 bin/meter.lua                          |   4 +-
 doc/changes.html                       |  10 +++++++-
 doc/manual.html                        |  16 +++++++-------
 include/tek/mod/visual.h               |   2 +
 src/display_directfb/display_dfb_api.c |   7 ++++++
 src/display_rawfb/display_rfb_api.c    |  15 ++++++++++---
 src/display_windows/display_win_api.c  |   7 ++++++
 src/display_windows/display_win_mod.c  |  10 +++++++-
 src/display_windows/display_win_mod.h  |   6 ++--
 src/display_x11/display_x11_api.c      |  36 +++++++++++++++++++--------------
 src/display_x11/display_x11_inst.c     |  31 +++++++++++++++++++++-------
 src/display_x11/display_x11_mod.h      |  12 +++++++++-
 tek/lib/Makefile                       |   4 +-
 tek/lib/visual_api.c                   |  12 +++++++++-
 tek/ui.lua                             |   3 +-
 tek/ui/class/application.lua           |   8 +++++-
 tek/ui/class/input.lua                 |  15 +++++++++++--
 tek/ui/class/textedit.lua              |   3 +-
 tek/ui/class/widget.lua                |  13 ++++++-----
 tek/ui/class/window.lua                |  10 +++++---
 22 files changed, 162 insertions(+), 70 deletions(-)

diffs (truncated from 760 to 100 lines):

diff -r d5ecc6626d26 -r d2ffc65e1483 .hgignore
--- a/.hgignore	Sun Mar 23 12:39:33 2014 +0100
+++ b/.hgignore	Thu Apr 24 19:04:00 2014 +0200
@@ -2,4 +2,4 @@
 .*\.lo
 .*\.a
 .*\.dll
-
+lua\.exe
diff -r d5ecc6626d26 -r d2ffc65e1483 CHANGES
--- a/CHANGES	Sun Mar 23 12:39:33 2014 +0100
+++ b/CHANGES	Thu Apr 24 19:04:00 2014 +0200
@@ -26,12 +26,14 @@
  reactivated and other fixes
  * Removed redundant code from display drivers
  * Visual: added large number of pixel formats and conversions, added pixmap
- caching (used for gradients)
+ caching (used for gradients), added screenwidth/height properties
  * x11 driver, rawfb driver: added pixmap caching, added support for more 
  pixel formats
  * DirList: list dblclicks are acted upon mouse press, not release now
  * Added compiler tool again, some infrastructure for amalgamized builds added
- * UI: minor fixes in ProgDir/ProgName detection and stylesheet loading
+ * UI: minor fixes in ProgDir/ProgName detection and stylesheet loading,
+ * Application: Dialogues are now confined to the visible screen
+ * Widget, UI: Added NoFocus attribute and FL_NOFOCUS
 
 === 1.08: ===
 
diff -r d5ecc6626d26 -r d2ffc65e1483 bin/meter.lua
--- a/bin/meter.lua	Sun Mar 23 12:39:33 2014 +0100
+++ b/bin/meter.lua	Thu Apr 24 19:04:00 2014 +0200
@@ -49,8 +49,8 @@
 
 local MyGraph1 = ui.Meter:newClass()
 
-function MyGraph1:show(drawable)
-	ui.Meter.show(self, drawable)
+function MyGraph1:show()
+	ui.Meter.show(self)
 	self.Application:addInputHandler(ui.MSG_USER, self, self.updateData)
 end
 
diff -r d5ecc6626d26 -r d2ffc65e1483 doc/changes.html
--- a/doc/changes.html	Sun Mar 23 12:39:33 2014 +0100
+++ b/doc/changes.html	Thu Apr 24 19:04:00 2014 +0200
@@ -61,7 +61,7 @@
 				</li>
 				<li>
 					Visual: added large number of pixel formats and conversions, added pixmap
-					caching (used for gradients)
+					caching (used for gradients), added screenwidth/height properties
 				</li>
 				<li>
 					x11 driver, rawfb driver: added pixmap caching, added support for more
@@ -74,7 +74,13 @@
 					Added compiler tool again, some infrastructure for amalgamized builds added
 				</li>
 				<li>
-					UI: minor fixes in ProgDir/ProgName detection and stylesheet loading
+					UI: minor fixes in ProgDir/ProgName detection and stylesheet loading,
+				</li>
+				<li>
+					Application: Dialogues are now confined to the visible screen
+				</li>
+				<li>
+					Widget, UI: Added NoFocus attribute and FL_NOFOCUS
 				</li>
 			</ul>
 		</blockquote>
diff -r d5ecc6626d26 -r d2ffc65e1483 doc/manual.html
--- a/doc/manual.html	Sun Mar 23 12:39:33 2014 +0100
+++ b/doc/manual.html	Thu Apr 24 19:04:00 2014 +0200
@@ -5,7 +5,7 @@
 	<head>
 		<title>tekUI Class Reference Manual</title>
 		<link rel="stylesheet" href="manual.css" />
-		<meta name="created" content="23-Mar-2014" />
+		<meta name="created" content="24-Apr-2014" />
 	</head>
 	<body>
 		<h1>
@@ -1610,7 +1610,7 @@
 			</p>
 			<hr class="page-break" />
 		</div>
-		<div class="node"><h2><a name="tek.ui" id="tek.ui">ui (v47.3)</a></h2>
+		<div class="node"><h2><a name="tek.ui" id="tek.ui">ui (v48.0)</a></h2>
 			<div class="definition"><dfn>OVERVIEW</dfn>
 				<blockquote>
 					<p>
@@ -2095,7 +2095,7 @@
 			</p>
 			<hr class="page-break" />
 		</div>
-		<div class="node"><h2><a name="tek.ui.class.application" id="tek.ui.class.application">Application (v41.2)</a></h2>
+		<div class="node"><h2><a name="tek.ui.class.application" id="tek.ui.class.application">Application (v41.3)</a></h2>
 			<div class="definition"><dfn>OVERVIEW</dfn>
 				<blockquote>
 					<p>


More information about the tekui-devel mailing list