[M3devel] VBT and up to date desktop styling

Coleburn, Randy rcolebur at SCIRES.COM
Wed Dec 4 04:10:03 CET 2013


Elmar:



Years ago, I worked with the principals at Critical Mass to make some Trestle/VBT/VBTKit changes that would make the "look and feel" more Windows-like.



I'm pretty sure I passed all these to Olaf for incorporation into the CVS repository.



I developed some GUIs that looked decent at the time on Windows NT, but more work could be done to provide tighter integration.



Not sure if these pics will come thru in the email, but I've pasted a few below to give you some idea of what we achieved using Trestle, VBTKit, FormsVBT, etc.



Of course, at that time, our primary motivation was to have one set of GUI code that worked on multiple platforms and gave same look and feel, so tight integration with the underlying OS was not the driving concern.  Our code ran well and provided same look and feel on both HP-UX and Windows.



[cid:image002.jpg at 01CEF074.68ECE030]



[cid:image006.png at 01CEF073.CD228560]



[cid:image007.png at 01CEF072.F125B000]



[cid:image003.jpg at 01CEF074.68ECE030]





Thanks,

Randy Coleburn



-----Original Message-----
From: Elmar Stellnberger [mailto:estellnb at elstel.org]
Sent: Sunday, December 01, 2013 2:26 PM
To: m3devel
Subject: EXT:[M3devel] VBT and up to date desktop styling



As the VBT standard interface does only offer black and white user interface styling I would need to use vbtkit to achieve at least a Windows 3.1 similar user interface. However as I have found out some of the classes in vbtkit required just for the main menu have not been completed and do not compile yet. Would someone be ready to invest some time and affection to complete these classes?

To make MainMenu.m3 look good at least the following tasks would have to be done:



* AnchorSwitchVBT: to be completed, 3D reflection for the anchors of the popup menus in the main menu

* ShadowedBarVBT: is here but does not seem to work: it should display a horizontal bar in one of the popup menus

* ShadowVBT: to be completed: draw a 3D border around popup menus and other items

* Shadow: have a third color besides background and foreground for the flat style: eliminate the white borders in non-hover mode

* adjust the vbtkit menu so that the popup menus stays open if the mouse button is released; this will also be necessary to make sub-menus of popup-menus work; i.e. let popup menus contain AnchorSwitchVBTs

* evtl.: Shadow: have a horizontal and a vertical width as ShadowVBTs shadows appear to be larger in their horizontal extent by now compared to their vertical extent which is not that good to look at

* and likely some other issues I have not discovered yet



Considering all of that if I will not have an extended vbtkit interfacing with another GUI component like GTK would likely be the way to go because otherwise there would simply be too much time to be invested into vbtkit not considering underlying Trestle problems like Unicode support yet. Though it would be good to have a well working standard GUI interface for Modula-3 we need to consider now if putting further work into Trestle/vbtkit is still worth to do. If so I believe it would require a joint effort.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20131204/9bcae452/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image007.png
Type: image/png
Size: 51415 bytes
Desc: image007.png
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20131204/9bcae452/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.png
Type: image/png
Size: 47526 bytes
Desc: image006.png
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20131204/9bcae452/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 57950 bytes
Desc: image002.jpg
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20131204/9bcae452/attachment-0004.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 106584 bytes
Desc: image003.jpg
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20131204/9bcae452/attachment-0005.jpg>


More information about the M3devel mailing list