eiffel-cd plugin for Liberty Eiffel

I’m working in the plugin eiffel-cd, a complement for eiffel-iup. eiffel-cd is a plugin for the CD library, a vector graphics toolkit with device independent output. With this plugin you will be able to draw into the canvas of your graphical applications. This is still not complete, but is about a 70%. I you want test the eiffel-iup library (the current git repository), now it depends on eiffel-cd. These plugins will let you write your graphical applications with Liberty Eiffel. Here an screenshot:

eiffel-cd

Second release of eiffel-iup

I’m glad to announce the second release of eiffel-iup. A wrapper that allow create graphical applications with Liberty Eiffel using the IUP toolkit. This second version add flat buttons and fix some errors. The main changes are in the names of some features, which now have names in the eiffel style. This is enough mature to create graphical interfaces. The package contains examples that show how use eiiffel-iup. So let me know if you have problems and Happy hacking!

Progress report from FísicaLab project

Many changes has been done internally to facilitate the aggregation of new modules. But at UI has been some changes too. One of them is at the contextual menu of conversion factors. Now the menu only display the conversion factors available for the selected field.

fisicalab-conversion-menu

Also I’m working to add menu options to save/load problems. This will avoid add all the elements and data again, when you are working on one problem.

The Thermodynamics module is taking shape now. I take time to think how to organize the elements, since in thermodynamics there are equations for specific cases. For example, to calculate the work in different process of an ideal gas. But I did not want to add an element for each case. Which would have added a lot of elements. So I simply decided ignore some fields for specific cases. For example, the temperature data for an isothermal process. The image below show the solution of a problem of this case (isothermal).

fisicalab-thermodynamics

I have no idea when might be ready the next version. But you can be sure that FísicaLab is in continuous development.

Remember that FísicaLab is a free software project, and needs your support to continue its development. So to donate or help in other ways (translations or help to publicize the project) visit the official website of GNU FísicaLab.

First release of eiffel-iup

I’m glad to announce the first release of eiffel-iup. A wrapper that allow create graphical applications with Liberty Eiffel using the IUP toolkit. In this first release are available all the dialogues at IUP and all standard controls (except IupFlatButton). All controls has been tested, but not all its features. So, could be problems. But this is enough mature to create graphical interfaces. So let’s look at some screenshots of the examples that comes with this package. The image below show a simple editor with a tool bar that can be detached. Only one button works at that tool (the button to underline), the rest are just examples of buttons with predefined images at IUP stack.

eiffel-iup-1

The example number 5, show how use several predefined dialogues, as show the images below:

eiffel-iup-2

eiffel-iup-3

eiffel-iup-4

The same example show, in other tabs, the use of many other controls, like popups, combo box, sliders, calendars, spin box, splits and others:

eiffel-iup-5

eiffel-iup-6

Other example show how use a tree, an expander and a sbox:

eiffel-iup-7

To get an idea about how use this package, the image below show the code of a small app to display a dialog with a label and a button to close the app (you should insert the class IUP_INTERFACE):

my_example

You can download this first release here. So, let me know if you have problems, and wait for upcoming lessons on how to use eiffel-iup. Happy Hacking!

iup2

Liberty Eiffel wrapper for IUP toolkit

Since a couple of months ago I’m working in a Liberty Eiffel wrapper to the IUP toolkit. IUP is a multi-platform toolkit for building graphical user interfaces. This is still under development, but I think the current state is enough to start playing with it. Here some screen shots:

iup1

A small converter for inches and centimeters:

iup2

Currently you can use widgets like Windows (in IUP are called Dialogs), buttons, labels, radio buttons, text box, text views (called multi line), sliders, links, combo box, menus and a variety of containers. For the moment there are only four examples, but I will add more later. The example4.e show how create menus and use mnemonics and short cuts. Here some screen shots of this example:

iup4

iup5

To give you an idea about how is the use of this wrapper here an extract of the converter example shown previously:

iup-code

The project is hosted at notabug.org. So you can download it and start playing. Of course you should install first Liberty Eiffel and IUP.