Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ TheIDE and Library: Releases and ChangeLogs » X11 fixes...
X11 fixes... [message #9503] Sat, 12 May 2007 20:28 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Fixed:

- rotated text problem (DrawText with angle)

- problem with Ctrl+1 - Ctrl+0 keys

BTW, useful testing snipped for key problems:

#include <CtrlLib/CtrlLib.h>

using namespace Upp;

struct MyApp : TopWindow {
	Label l;
	String k;

	void Do() {
		static int ii;
		String x;
		if(GetCtrl())
			x << "Ctrl ";
		if(GetAlt())
			x << "Alt ";
		if(GetShift())
			x << "Shift ";
		x << k << ' ' << GetMousePos();
		l = x;
	}

	bool Key(dword key, int count) {
		k = GetKeyDesc(key) + ' ' + FormatIntHex(key);
		Do();
	}

	typedef MyApp CLASSNAME;

	MyApp() {
		Add(l.SizePos());
		SetTimeCallback(-100, THISBACK(Do));
	}
};

GUI_APP_MAIN
{
	MyApp().Run();
}
 
Read Message
Read Message
Read Message
Previous Topic: ColumnList DnD
Next Topic: ArrayCtrl and TreeCtrl...
Goto Forum:
  


Current Time: Mon May 06 01:37:59 CEST 2024

Total time taken to generate the page: 0.01637 seconds