|
IUP (and CD, and IM, etc)
I am learning IUP for the DaVinci project.
Some of my e-scripts about IUP & friends.
Official pages:
IUP, CD, IM,
TecMake.
Mailing list archives:
IUP, CD, IM.
As I have very little experience with GUIs (I know Tk well
enough, but I am mostly an Emacs person), I'm progressing
slowly...
Quick index:
IupScintilla
I am trying to implement a "IupScintilla" on top of IUP3:
._____________......
| | :
| Scintilla |<:::::::::::::::::::::::::::::::::.
| | : ::
|_____________| : ::
: : ::
: : ::
: : ___________::___
: _______________: | |
: | | | (IupScintilla) |
: | Lua 5.1 | |________________|
: | | /\
: | | _________________ _____::___
: | | | | |
: | ::::>| libiuplua5.1.so :::> IUP3 |
: | | |_________________| CD |
: | | | IM |
:..|_______________| |________________|
|
My original plan (see here) was to start by making IUP
react in a certain way to SIGUSR2s sent from the outside - because
that would allow me (us?) to make many small tests very quickly.
However, having a "Scintilla widget" (the right term is "control",
but I will explain the details later) in IUP3 would solve many of its
most urgent "holes" - so the plans were changed, and IupScintilla
became a priority...
What I'm doing now
- trying to implement new (trivial) controls on IUP 2.6;
- IUP & friends are very hard to compile (I may have one part of my
brain missing, though... - from some recent messages in the mailing list I got the impression that
some people didn't find that so hard) - so I'm trying to finish
my scripts to compile as most as possible from IUP/CD/IM cleanly,
including the examples, and produce GDB-friendly libraries;
- learning more about Scintilla, from bait.
- My first tests will be done from GDB, but the machinery for that
is already working (the docs are messy, though).
Notes on compiling IUP
TecMake
Motif
Lua
- A full build of IUP/CD/IM needs lua-3.2,
lua-4.0, lua-5.0, lua-5.1.
- This script (incomplete!) produces the ".a"s and
".o"s for all these versions of Lua in the right directories.
- Loading the IUP libraries from a running Lua:
|