Re: [Iup-users] Does Iup supports bindings to other languages?

2015-03-09 Thread Antonio Scuri
Hi Heather, Yes it does. C++ naturally supports C, so we work ok. We don't have an official OO API but we are planing one. We officially support Lua as our scripting language. But there are contributions (see Guide / Contributions) for other languages. We still don't have one for

Re: [Iup-users] Win32: Transparent BMP

2015-02-25 Thread Antonio Scuri
Hi, The suggested change is done and committed to the SVN. Actually the use of the flag ILC_MASK should be a copypaste from some sample code. I don't know for sure why we used it. In IupTree we don't use it. Thanks for the fix. BTW, just that solves your transparency problem? Best,

Re: [Iup-users] iup.plot: wrong zoom for plot w/o title

2015-02-25 Thread Antonio Scuri
Fixed and committed to SVN. Best, Scuri On Thu, Feb 5, 2015 at 11:46 AM, Antonio Scuri antonio.sc...@gmail.com wrote: Thanks for reporting. As soon as I get back I will check this. Best, Scuri Em 05/02/2015 07:54, Karagy kar...@mail.ru escreveu: Hi, all. IUP 3.13, iuplua, iup.plot

[Iup-users] IUP 3.13 Released

2015-02-04 Thread Antonio Scuri
://www.tecgraf.puc-rio.br/iup/ Best Regards, Antonio Scuri -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things

Re: [Iup-users] iuplua plot sometimes crashes

2015-02-02 Thread Antonio Scuri
Hi, IupPlot had several modifications during the past weeks. Also it has some fixes. Everything is on SVN. But I can tell if that fixes the bug you mention. Anyway, thanks for reporting. Best, Scuri On Mon, Feb 2, 2015 at 8:42 AM, Karagy kar...@mail.ru wrote: Hi, all. WinXP 32bit.

Re: [Iup-users] IupPlot, edit points etc...

2015-01-23 Thread Antonio Scuri
That is an IupCanvas that implements everything from scratch. Best, Scuri On Fri, Jan 23, 2015 at 8:04 PM, Joaquim Luis jl...@ualg.pt wrote: - Can I select a line with a double-click instead of a Shift+Draw Rectangle? Note that the first case needs only one hand, while both of them are

Re: [Iup-users] IupPlot, edit points etc...

2015-01-23 Thread Antonio Scuri
- Can I select a line with a double-click instead of a Shift+Draw Rectangle? Note that the first case needs only one hand, while both of them are needed for later. Select a sample. IupPlot only select samples, not lines. By default, no. You will have to do that manually inside a callback. But

Re: [Iup-users] uicontextmenu (as in Ml)

2015-01-21 Thread Antonio Scuri
Hi, Lines drawn in a canvas are rendered according to the canvas. For instance, drawing in any screen by any application is always a raster operation. Drawing in a Metafile is a vector operation. This is independent on the library you are using, CD, Cairo, OpenGL, Matlab, etc. The entity

Re: [Iup-users] uicontextmenu (as in Ml)

2015-01-21 Thread Antonio Scuri
If you use IupCanvas you can draw the axis yourself. In fact you have to draw everything by yourself in this case. Using IupPlot, you don't need to. But as I mentioned you are then limited to the features provided by IupPlot. About the diagonal, depends. If your line is composed of just

Re: [Iup-users] Accessing iup started from Lua in C

2015-01-21 Thread Antonio Scuri
Use the iuplua_checkihandle function to retreive the Iup Ihandle from the Lua stack. It is declared in iuplua.h Best, Scuri On Wed, Jan 21, 2015 at 5:39 PM, Milind Gupta milind.gu...@gmail.com wrote: Hi, When my starting program is a Lua script and that started iup and I want to

Re: [Iup-users] another test

2015-01-20 Thread Antonio Scuri
I saw your last post... and this one. Best, Scuri Em 20/01/2015 11:04, Joaquim Luis jl...@ualg.pt escreveu: Sorry, I don't see my last posts in the mailman archive. Please, can someone just reply to this message so I know that the messages are passing to the list? Thanks Joaquim

Re: [Iup-users] another test

2015-01-20 Thread Antonio Scuri
No, your message from (a ~week ago) never arrived. It is not even on Moderation. I used Matlab before but can't remember the Axes 'CurrentPoint' property. Assuming that you are talking about the IupPlot control, well there are several callbacks that allow you to get the last clicked point.

Re: [Iup-users] another test

2015-01-20 Thread Antonio Scuri
Hi, Yes, unfortunately we still don't have an official tutorial. But inside the documentation you can find a tutorial for IupLua which can help you understand the concepts. Regarding IupCanvas, the process is the same. There are several callbacks you can use to handle mouse input. You just

Re: [Iup-users] Matrix resizing

2015-01-05 Thread Antonio Scuri
See the RESIZEMATRIX_CB callback documentation. Best, Scuri On Tue, Dec 30, 2014 at 3:42 AM, Milind Gupta milind.gu...@gmail.com wrote: Hi, Is it possible to get hold of the resize_cb for the matrix in Lua? Or do it some other way to sense the size change of the matrix container. I

Re: [Iup-users] Create a dialog which hides on loosing focus

2014-12-29 Thread Antonio Scuri
The killfocus_cb callback is the way I would choose too. I did a similar dialog, but it contains only one element, an IupText. So I set the killfocus_cb on the IupText only. And make sure that when the dialog is shown the focus is set to the IupText. It works ok. But if you have several controls

Re: [Iup-users] iupframe expand attribute

2014-12-29 Thread Antonio Scuri
Every container in IUP has Expand=Yes by default. It is not inside IupFrame. Probably is something related to what's inside IupFrame because the container does NOT expand if there is no child there to expand its contents. Best, Scuri On Mon, Dec 29, 2014 at 7:41 PM, Milind Gupta

Re: [Iup-users] divider line

2014-12-23 Thread Antonio Scuri
It is a IupLabel with SEPARATOR=yes. Scuri Em 23/12/2014 18:00, Milind Gupta milind.gu...@gmail.com escreveu: Hi, I see in the iupcolordlg there is a divider line in the dialog that neatly separates out some areas. How is that line drawn? Is it done using a canvas or is there a more

Re: [Iup-users] iuptabs

2014-12-18 Thread Antonio Scuri
is changed. But in my case the text box in iupmatrix does not end the editing when tab is changed. Milind On Thu, Dec 18, 2014 at 5:35 AM, Antonio Scuri sc...@tecgraf.puc-rio.br wrote: Milind, The tab change occurs before the matrix have the opportunity to end the edit mode

Re: [Iup-users] iuptabs

2014-12-17 Thread Antonio Scuri
Amazing.. I haven't notice that effect. Indeed the edition should have end when the user clicks on another control. I'll see what I can do. Best, Scuri On Tue, Dec 16, 2014 at 7:12 PM, Milind Gupta milind.gu...@gmail.com wrote: I have 2 tabs with a iupmatrix in each. If I am editing a cell

Re: [Iup-users] iupmatrix

2014-12-16 Thread Antonio Scuri
Yes and No... The IupList and the IupText used internally are simply positioned over the IupMatrix only when necessary. It is the same element used for any cell that it is edited. Since the IupMatrix is not a container it is used internal functions to do that. Instead of inserting an

Re: [Iup-users] Find out id of inserted node in iuptree

2014-12-11 Thread Antonio Scuri
See *LASTADDNODE* in the documentation. Best, Scuri On Thu, Dec 11, 2014 at 2:10 PM, Milind Gupta milind.gu...@gmail.com wrote: Hi, When I insert a node in a tree is there any direct way to find out the id of that new node? Or would I have to travel through the previous sibling

Re: [Iup-users] Get list of fonts available on a system

2014-12-04 Thread Antonio Scuri
Not through IUP or CD. In Windows, using its Win32 API it is possible. Best, Scuri Em 04/12/2014 04:10, Milind Gupta milind.gu...@gmail.com escreveu: Hi, Is there a way in iup to get the list of fonts available on the system? Thanks, Milind

Re: [Iup-users] Show portion of glcanvas

2014-12-02 Thread Antonio Scuri
No. Not in that way. For instance, if an application has a very large 3D model or a very wide 2D plant, the glcanvasbox size is just the size available on the dialog. You don't set the size of the control to match the size of your contents, instead you leave the size to expand to the size of

Re: [Iup-users] iuplabel natural size problem

2014-12-02 Thread Antonio Scuri
1. don't confuse the dialog size with its contents size. The size limitation is imposed on the contents size, not on the dialog itself. 2. wordwrap means that it will break the string if it does not fit the element. But setting expand=yes will always create a full space for the label contents and

Re: [Iup-users] canvas action callback stops happenning - iupscrollbox stops scrolling

2014-12-02 Thread Antonio Scuri
larger sizes. Thanks, Milind On Tue, Dec 2, 2014 at 3:47 AM, Antonio Scuri sc...@tecgraf.puc-rio.br wrote: I think that in any GUI toolkit the solution wouldn't involve creating a control with size 1131x8581. I don't know any application that does that. Usually the controls will use

Re: [Iup-users] IupGLCanvas rastersize

2014-12-01 Thread Antonio Scuri
setting DRAWSIZE instead of RASTERSIZE is not working for me. I get a tiny glcanvas!! - Original Message - *From:* Antonio Scuri sc...@tecgraf.puc-rio.br *To:* IUP discussion list. iup-users@lists.sourceforge.net *Sent:* Monday, December 01, 2014 5:29 PM *Subject:* Re: [Iup-users

Re: [Iup-users] canvas action callback stops happenning - iupscrollbox stops scrolling

2014-12-01 Thread Antonio Scuri
It is a system limitation. Your control is too big and although its size is correct, the windows scrollbar has some limitation that prevents the scrollbox to work. This code: tb1 = iup.text{rastersize = 1131x8581,multiline=YES} sb = iup.scrollbox{ tb1 } dlg = iup.dialog{ sb; title=Dialog }

Re: [Iup-users] canvas action callback stops happenning - iupscrollbox stops scrolling

2014-12-01 Thread Antonio Scuri
, Dec 1, 2014 at 2:23 PM, Antonio Scuri sc...@tecgraf.puc-rio.br wrote: It is a system limitation. Your control is too big and although its size is correct, the windows scrollbar has some limitation that prevents the scrollbox to work. This code: tb1 = iup.text{rastersize = 1131x8581

Re: [Iup-users] wish for tabtitles size

2014-11-26 Thread Antonio Scuri
This is possible only in Windows. And only when tabs is using a fixed size for all tabs. TCM_SETITEMSIZE message Sets the width and height of tabs in a fixed-width or owner-drawn tab control. Best, Scuri On Mon, Nov 24, 2014 at 12:52 PM, Karagy kar...@mail.ru wrote: Hi, all. It is possible

Re: [Iup-users] iupSplit causing lua to Crash - Causes Memory Leak

2014-11-25 Thread Antonio Scuri
the canvas have it own scroll bar? Thanks, Milind On Sun, Nov 23, 2014 at 9:16 AM, Antonio Scuri sc...@tecgraf.puc-rio.br wrote: It is crashing inside the system probably related with the scrollbox, but it does not seem to be IUP related. I would recommend you to simplify your dialog. I don't

Re: [Iup-users] iupSplit causing lua to Crash - Causes Memory Leak

2014-11-25 Thread Antonio Scuri
I think it is 3.11.1. I will try out 3.11.2 and check how it behaves and reply back. I have the relevant dll files for both 3.11 and 3.12 I am using for this example recorded in 2 directories to reproduce the issue. Milind On Tue, Nov 25, 2014 at 11:31 AM, Antonio Scuri sc

Re: [Iup-users] iupSplit causing lua to Crash - Causes Memory Leak

2014-11-25 Thread Antonio Scuri
, Milind Gupta milind.gu...@gmail.com wrote: 3.11.2 also causes the crash. Milind On Tue, Nov 25, 2014 at 11:58 AM, Antonio Scuri sc...@tecgraf.puc-rio.br wrote: Ok. Just let me know the 3.11.2 results. Best, Scuri On Tue, Nov 25, 2014 at 5:45 PM, Milind Gupta milind.gu

Re: [Iup-users] iupSplit causing lua to Crash

2014-11-23 Thread Antonio Scuri
Hi, I can't tell just from the crash. If you write a small application that can reproduce the problem then I will be able to give you a faster response. Best, Scuri On Sun, Nov 23, 2014 at 2:43 PM, Milind Gupta milind.gu...@gmail.com wrote: Hi, I have a dialog with 3 splitters.

Re: [Iup-users] iupSplit causing lua to Crash

2014-11-23 Thread Antonio Scuri
It is crashing inside the system probably related with the scrollbox, but it does not seem to be IUP related. I would recommend you to simplify your dialog. I don't think that OpenGL will behave good when part of the canvas is hidden inside a scrollbox. Also, glcanvasbox is already a concrete

[Iup-users] IUP 3.12 Released

2014-11-20 Thread Antonio Scuri
. And a dialog for setting them via the context menu. Regards, Antonio Scuri -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards

Re: [Iup-users] vbox growing beyond the dialog width

2014-11-14 Thread Antonio Scuri
at 5:39 AM, Antonio Scuri sc...@tecgraf.puc-rio.br wrote: Hi, The matrix has decorations that you are not counting when setting the size. So if you set to all columns to use the fill vbox size then the matrix size itself will be larger than the vbox the next time the layout is computed. I

Re: [Iup-users] scroll bar reserved space in iup.Matrix

2014-11-07 Thread Antonio Scuri
when it is needed. Milind Original message From: Antonio Scuri antonio.sc...@gmail.com Date: 11/07/2014 3:56 AM (GMT-08:00) To: IUP discussion list. iup-users@lists.sourceforge.net Subject: Re: [Iup-users] scroll bar reserved space in iup.Matrix Yes. Just do scrollbar

Re: [Iup-users] using iup.append to add members to iupsplit

2014-11-06 Thread Antonio Scuri
milind.gu...@gmail.com wrote: I tried that but it still doesn't work. On doing iup.LayoutDialog for my main dialog I don't see those text boxes inside the split. Append returns the parent split handle. Milind On Thu, Nov 6, 2014 at 4:10 AM, Antonio Scuri sc...@tecgraf.puc-rio.br wrote: Hi

Re: [Iup-users] using iup.append to add members to iupsplit

2014-11-06 Thread Antonio Scuri
which was the actual child appended I was not seeing it. After mapping the vbox elements instead of the text boxes it works fine. Thanks, Milind On Thu, Nov 6, 2014 at 8:53 AM, Antonio Scuri sc...@tecgraf.puc-rio.br wrote: On doing iup.LayoutDialog for my main dialog I don't see those

Re: [Iup-users] mac osx 10.9 IupOpen : could not initialize

2014-11-05 Thread Antonio Scuri
Is X11 running? Best, Scuri Em 05/11/2014 06:59, Victor Bombi son...@telefonica.net escreveu: Hello, Working on mac osx 10.9: I downloaded iup for mac osx 3.10 , installed gtk+2 with fink (as stated in iup docs) . requireiuplua returns an error : IupOpen: could not initialize. Any idea to

Re: [Iup-users] Ribbon Toolbar

2014-10-12 Thread Antonio Scuri
Hi Milind, We don't have an explicit Ribbon support. The official Microsoft Ribbon is something very restrict. I think you also have to sign a license agreement to use it. And it is not in the standard windows controls. It has a separate SDK.

Re: [Iup-users] call iup.Destroy() from child's callback

2014-09-29 Thread Antonio Scuri
Depends on the situation. If you destroy a dialog inside a button callback then you have to return I up.IGNORE. Best, Scuri Em 29/09/2014 03:41, Karagy kar...@mail.ru escreveu: Hi, all. In general, it is correct to call iup.Destroy(AnElement) from AnElemet's child callback? For sample:

Re: [Iup-users] iup site

2014-09-07 Thread Antonio Scuri
IUP website now can also be accessed at: http://iup.sourceforge.net/ Best, Scuri On Sun, Sep 7, 2014 at 5:45 PM, Antonio Scuri sc...@tecgraf.puc-rio.br wrote: Weird. Just tested here and the same thing happen. Something has changed in the process I build the PDF, because in the 3.10

Re: [Iup-users] iup site

2014-09-06 Thread Antonio Scuri
Yes, we are under D.O.S. attack... Meanwhile, the full documentation is available on SorceForge downloads. Best, Scuri Em 06/09/2014 13:45, Karagy kar...@mail.ru escreveu: Sorry for (in some way) offtop. Trying via browser http://www.tecgraf.puc-rio.br/iup/ I received: Forbidden You

Re: [Iup-users] iup site

2014-09-06 Thread Antonio Scuri
On Sat, Sep 6, 2014 at 10:04 AM, Antonio Scuri antonio.sc...@gmail.com wrote: Yes, we are under D.O.S. attack... Meanwhile, the full documentation is available on SorceForge downloads. Best, Scuri Em 06/09/2014 13:45, Karagy kar...@mail.ru escreveu: Sorry for (in some way) offtop. Trying via

Re: [Iup-users] Writing Math

2014-09-03 Thread Antonio Scuri
the equation larger then the label box also becomes larger. What am I doing wrong? Regards, Milind On Tue, Aug 26, 2014 at 5:33 PM, Antonio Scuri antonio.sc...@gmail.com wrote: Yes. Em 26/08/2014 19:47, Milind Gupta milind.gu...@gmail.com escreveu: Thanks, I will try it out when I

Re: [Iup-users] Writing Math

2014-09-03 Thread Antonio Scuri
can find that out in a callback? Thanks, Milind On Wed, Sep 3, 2014 at 2:31 PM, Antonio Scuri sc...@tecgraf.puc-rio.br wrote: Try this sample. Best, Scuri On Wed, Sep 3, 2014 at 5:00 PM, Milind Gupta milind.gu...@gmail.com wrote: Hi Antonio, I tried mgllabel out

[Iup-users] IUP 3.11.1 Released

2014-09-01 Thread Antonio Scuri
it for you. You can find the list of changes and files for download at: http://www.tecgraf.puc-rio.br/iup/ Best Regards, Antonio Scuri -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org

Re: [Iup-users] iuptree inside iuptabs in a iupsplit

2014-08-29 Thread Antonio Scuri
When you set SIZE or RASTERSIZE it will also act as a minimum size in IUP. Sometimes the IupLayoutDialog is very useful to understand that. You can call it on your sample: iup.Show(iup.LayoutDialog(nil)) and then open the application dialog to inspect its attributes. But even commenting

Re: [Iup-users] iuptree inside iuptabs in a iupsplit

2014-08-29 Thread Antonio Scuri
Thanks Karagy. I Forgot To mention That. Best, Scuri Em 29/08/2014 17:03, Karagy kar...@mail.ru escreveu: What about iup.dialog{ ... shrink = YES, ...} ? And no BORDER attribute in hbox or vbox. Enclose content to frame. 8/29/2014 11:23, Milind Gupta пишет: Hi, I have 2 iuptree

Re: [Iup-users] Using the canvas scrollbar

2014-08-26 Thread Antonio Scuri
, Aug 26, 2014 at 6:22 AM, Antonio Scuri sc...@tecgraf.puc-rio.br wrote: The children in the glcanvasbox are designed to be placed as embedded controls, so they will not be affected by the scrollbar. The scrollbar is free to be used by what's being draw on the canvas, like a 3D model

Re: [Iup-users] Writing Math

2014-08-26 Thread Antonio Scuri
, Antonio Scuri sc...@tecgraf.puc-rio.br wrote: Yes. Not much, I can fit this on our regular schedule for the next version. Best, Scuri On Sun, Aug 24, 2014 at 2:21 AM, Milind Gupta milind.gu...@gmail.com wrote: So the mgllabel would be a custom control which would remove the space

Re: [Iup-users] Writing Math

2014-08-26 Thread Antonio Scuri
Yes. Em 26/08/2014 19:47, Milind Gupta milind.gu...@gmail.com escreveu: Thanks, I will try it out when I get time to compile. For lua it would be iup.mgllabel? Milind On Tue, Aug 26, 2014 at 2:06 PM, Antonio Scuri sc...@tecgraf.puc-rio.br wrote: Just committed on SVN

Re: [Iup-users] Writing Math

2014-08-24 Thread Antonio Scuri
that? Would it require modifying the MGL plot library files? Thanks, Milind On Sat, Aug 23, 2014 at 5:13 PM, Antonio Scuri sc...@tecgraf.puc-rio.br wrote: It is possible. But I think that IupMglPlot will always reserve some space ofor the plot. We could create a IupMglLabel for instance

Re: [Iup-users] Writing Math

2014-08-23 Thread Antonio Scuri
It is possible. But I think that IupMglPlot will always reserve some space ofor the plot. We could create a IupMglLabel for instance. It is not complicated. Best, Scuri On Sat, Aug 23, 2014 at 12:41 PM, Milind Gupta milind.gu...@gmail.com wrote: Hi, I was looking for a way to write

Re: [Iup-users] Overlap controls over canvas

2014-08-22 Thread Antonio Scuri
, Antonio Scuri sc...@tecgraf.puc-rio.br wrote: Yes, it is. Using the new IupGLCanvasBox element of the new IupGLControls library. Best, Scuri On Fri, Aug 22, 2014 at 2:45 PM, Milind Gupta milind.gu...@gmail.com wrote: Hi, It would be great if we can have a text box

Re: [Iup-users] Overlap controls over canvas

2014-08-22 Thread Antonio Scuri
nil Do I have to require something else for it to work? Thanks, Milind On Fri, Aug 22, 2014 at 1:34 PM, Antonio Scuri antonio.sc...@gmail.com wrote: The documentation is outdated. I already solve that limitation. Thanks for reporting. Best, Scuri Em 22/08/2014 17:31, Milind Gupta

Re: [Iup-users] Using IupGLcanvas

2014-08-22 Thread Antonio Scuri
LuaGL does not need any update. All basic OpenGL functions do not change. Yes, you can use CD with an IupGLCanvasBox. Best, Scuri On Fri, Aug 22, 2014 at 7:59 PM, Milind Gupta milind.gu...@gmail.com wrote: Hi, Looking at IupGLcanvas documentation it says that Lua does not have any

Re: [Iup-users] Testing Lua Application

2014-08-20 Thread Antonio Scuri
You can try these: Smack Mouse Recorder Pro Automatic Mouse Move and Click Key Mouse Genie But I did not have time to install and test any... If you have please let me know. Best, Scuri On Wed, Aug 20, 2014 at 5:05 PM, Milind Gupta milind.gu...@gmail.com wrote: Hi, I am writing

Re: [Iup-users] Dynamic Rich text document

2014-08-19 Thread Antonio Scuri
Hi, What I suggest does not need to use CD to draw on the canvas. The idea is to use the canvas just to handle mouse messages, and use BGCOLOR to set a background color for the handler. Something like this: IupCbox( IupVbox( IupCanvas(NULL), IupText(NULL), NULL),

Re: [Iup-users] Lua crashing with iuptext.addformattag

2014-08-19 Thread Antonio Scuri
is the method to add formatting to the text at run time as text is added to the control? On Tue, Aug 19, 2014 at 7:38 AM, Antonio Scuri antonio.sc...@gmail.com wrote: Hi, You can not reuse the format tag. It is automatically destroyed when set. Best, Scuri On Thu, Aug 14, 2014 at 9:48

Re: [Iup-users] Sigdraw screen shot

2014-08-19 Thread Antonio Scuri
No, that application is not open source. The graph is drawn in a single IupCanvas using CD. Everything inside the canvas is manually drawn and manipulated by the application in a very low level way using just the button_cb and motion_cb callbacks. There are no other IUP controls involved in

Re: [Iup-users] Lua crashing with iuptext.addformattag

2014-08-19 Thread Antonio Scuri
a certain word bold without changing everything else? To make it work now I think I would have to keep track of all formatting and set it every time I want to change the formatting. Milind On Tue, Aug 19, 2014 at 2:32 PM, Antonio Scuri sc...@tecgraf.puc-rio.br wrote: First, instead of using

Re: [Iup-users] Dynamic Rich text document

2014-08-14 Thread Antonio Scuri
Hi, 1. use IupText, don't think the highlight would be possible 2. in the valuechanged_cb change the VISIBLECOLUMNS and VISIBLELINES attributes so they match the text 3. use IupImage and IupLabel 4. not simple The canvas can be a IupCbox inside a IupBackground box or inside a

Re: [Iup-users] Lua crashing with iuptext.addformattag

2014-08-14 Thread Antonio Scuri
I will check that tomorrow. Scuri Em 14/08/2014 21:43, Milind Gupta milind.gu...@gmail.com escreveu: Hi, I was trying to learn how to use the formatting capabilities of iuptext and I modified the multiline.wlua example in the examples directory. Here is what I did: -- IupMultiline

[Iup-users] IUP 3.11 Released

2014-07-28 Thread Antonio Scuri
, this version depends on the latest CD version (5.8) when it is used. Best Regards, Antonio Scuri -- Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build

Re: [Iup-users] Bug fix for imImageCreateBased

2014-07-10 Thread Antonio Scuri
. For instance: if (src_image-has_alpha) { int alpha_plane = src_image-depth; imImageCopyPlane(src_image, alpha_plane, dst_image, alpha_plane); } Best Regards, Antonio Scuri 2014-07-10 15:33 GMT-03:00 Marcelo Ghelman m...@cepel.br: Hi Scuri, The *imImageCreateBased* function has a bug

Re: [Iup-users] iup.destroy causes crash

2014-07-07 Thread Antonio Scuri
with the IUP_IGNORE return value. Best, Scuri On Sat, Jul 5, 2014 at 10:19 AM, Antonio Scuri sc...@tecgraf.puc-rio.br wrote: Ok. I got the crash here too. Thanks for the sample. I will debug this on monday. Best, Scuri On Sat, Jul 5, 2014 at 6:18 AM, Milind Gupta milind.gu...@gmail.com wrote: Hi

Re: [Iup-users] Show the same plot in 2 dialogs

2014-07-02 Thread Antonio Scuri
Hi, It is not possible to reuse controls between dialogs nor even in the same dialog. A control can be used only once. I suggest you to create a function that receive a IupPPlot as parameter, or create a IupPPlot, and configures the plot, so you can call it twice, or many times for each new

Re: [Iup-users] Some problems with C examples

2014-06-18 Thread Antonio Scuri
1. mid.c builds OK, but there is a problem with the canvas element at the bottom of each dialog. If the dialog is moved, the image gets corrupted and is not refreshed. Is this a general problem with the canvas element or the result of how it is used in the sample? That occurs because the

Re: [Iup-users] callbacks mystery (in C) and a problem to a Julia port

2014-06-12 Thread Antonio Scuri
Ok. Good news anyway. The callback is called from inside IUP with all the parameters. But in C we can omit some of the parameters in the callback implementation. That's why the difference on the example. In language binding implementation we recommend you to implement a C callback that

Re: [Iup-users] error compiling gl examples

2014-06-12 Thread Antonio Scuri
These errors occour when include the OpenGL headers in Windows without the windows.h header being included first. This code should be in glcube.c: #ifdef WIN32 #include windows.h/* includes only in MSWindows not in UNIX, needed by OpenGL in Windows */ #endif Best, Scuri On Thu, Jun

Re: [Iup-users] Iup on Windows 8.1

2014-06-12 Thread Antonio Scuri
Are you using require to load iuplua from Lua? Because it is necessary some modifications so the iuplua51.dll can be loaded by doing requireiuplua. Did you build Lua your self of downloaded from LuaBinaries? Best, Scuri On Thu, Jun 12, 2014 at 9:18 PM, Mike Nelson mikestar1...@gmail.com wrote:

Re: [Iup-users] building with mingw

2014-06-09 Thread Antonio Scuri
1 - When building iuplua_pplot in debug there is a complaint about IupPPlotTransformTo not being defined in iupplot. I looked at iupplot.def and it was not defined but weird thing!!!: in release mode there is not linker complain. This was an error in the iupplot.def file. Just fixed. 2 -

Re: [Iup-users] building with mingw

2014-06-06 Thread Antonio Scuri
Ok. Back to the problem itself. The matrix.wlua does work, right? If it does the CD library and the IUP library are ok and the problem is really specific to the pplot control. Ok? Best, Scuri No. You can be sure that your problem is not in the IUP code. You said that other controls

Re: [Iup-users] building with mingw

2014-06-05 Thread Antonio Scuri
No. You can be sure that your problem is not in the IUP code. You said that other controls were working, right? So there is no point in debugging this part of the code. And the debug stopping at a very stable part of the code only emphasizes that the problem is at this compiler version. MingW

Re: [Iup-users] building with mingw

2014-06-04 Thread Antonio Scuri
Ok. I don't know what's going on, because here in Visual C++ the CVS version is fully working. Best, Scuri -Original Message- From: Victor Bombi [mailto:son...@telefonica.net] Sent: quarta-feira, 4 de junho de 2014 04:47 To: IUP discussion list. Subject: Re: [Iup-users] building

Re: [Iup-users] Efficiency in C programs

2014-06-04 Thread Antonio Scuri
Hi, No, methods #2 and #3 are identical in terms of performance. In #2 there is no parsing of the LED file. It was pre-parsed by the ledc program. So actually the speed advantage is bigger. Best, Scuri The three ways to use IUP in a C program: 1. Have separate LED files that are parsed

Re: [Iup-users] iup cells example

2014-06-03 Thread Antonio Scuri
is the difference between Matrix control and cells control, how would we choose one over the other? Sorry for the newbie questions. Thanks, Milind On Tue, Jun 3, 2014 at 4:18 AM, Antonio Scuri antonio.sc...@gmail.com wrote: On The IUP examples folder there are 3 IupCells examples. See the documentation

Re: [Iup-users] building with mingw

2014-06-03 Thread Antonio Scuri
IupPPlot depends on STL. It could be something related to it. I don't recall testing it on MingW. Using the pre-compiled IUP binaries for MingW does the IupPPlot control works? Best, Scuri Other examples work? Only the IupPPlot control is not working? Only IupPPlot control fails as

Re: [Iup-users] HDC_WMPAINT

2014-05-26 Thread Antonio Scuri
Message - From: Antonio Scuri antonio.sc...@gmail.com To: 'IUP discussion list.' iup-users@lists.sourceforge.net Sent: Wednesday, May 21, 2014 10:07 PM Subject: Re: [Iup-users] HDC_WMPAINT Hi, I just fixed and committed to CVS a bug that affected the retrieve of an attribute

Re: [Iup-users] HDC_WMPAINT

2014-05-26 Thread Antonio Scuri
The IupWebBrowser control is not supported in MingW. Just ignore the error. Best, Scuri -Original Message- From: Victor Bombi [mailto:son...@telefonica.net] Sent: segunda-feira, 26 de maio de 2014 11:44 To: IUP discussion list. Subject: Re: [Iup-users] HDC_WMPAINT now getting

Re: [Iup-users] IUP Windows Multi-Icon Resource

2014-04-16 Thread Antonio Scuri
with a DEFAULT_ICON attribute (if it works). The internet doesn't seem to have much of a solution to this problem and it is not well documented. The only explanation I could find is here http://blog.barthe.ph/2009/07/17/wmseticon/ Regards, Chase On Tue, Apr 15, 2014 at 2:55 PM, Antonio Scuri

Re: [Iup-users] Is there a way to make part of the application complete transparent?

2014-04-07 Thread Antonio Scuri
No, the OPACITY attribute is for the hole dialog. Best, Scuri From: max chen [mailto:trls...@gmail.com] Sent: segunda-feira, 7 de abril de 2014 10:32 To: Antonio Scuri Cc: i...@tecgraf.puc-rio.br; iup-users@lists.sourceforge.net Subject: Re: Is there a way to make part

Re: [Iup-users] Possible bug in SCROLLBAR attribute of IupList

2014-04-04 Thread Antonio Scuri
Hi Andy, The e-mail with the pictures attached didn’t arrive. But I was able to run your test code here. In native Windows it was displayed with 30 lines always, with or without scrollbars. In GTK on Ubuntu the problem occurred, 30 lines with scrollbar, 29 lines without the

Re: [Iup-users] ProcessResizeNew does not exist

2014-02-26 Thread Antonio Scuri
Have you done requireimlua_process? Best, Scuri I get this error calling im.'ProcessResizeNew' on lua attempt to call field 'ProcessResizeNew' (a nil value) -- Flow-based real-time traffic analytics software.

Re: [Iup-users] build IM

2014-02-25 Thread Antonio Scuri
imlua_avi does not depends on im_wmv. But if the build aborted in im_wmv, then all other targets after im_wmv were not built also. See im/src/Makefile. You can build it manually. Although mingw has libstrmiids needed to link the im_capture DLL, it does not have the Direct X files necessary to

Re: [Iup-users] build IM

2014-02-24 Thread Antonio Scuri
Check the dependencies of the DLL you built using Dependency Walker: www.dependencywalker.com/ Our makefiles will generate an imlua51.dll that will depend on the lua5.1.dll, NOT lua51.dll. Best, Scuri Hello, I try to build IM with mingw. I use export TEC_UNAME=dllw4 export

Re: [Iup-users] Marquee Progress Bar

2014-01-24 Thread Antonio Scuri
Hi, I don't know which system you are using but in Windows without Visual Styles the marquee is not displayed. Best, Scuri From: John C. Frickson [mailto:j...@frickson.us] Sent: sexta-feira, 24 de janeiro de 2014 13:18 To: IUP discussion list. Subject: [Iup-users] Marquee Progress

Re: [Iup-users] zbox and expander don't mix well

2014-01-08 Thread Antonio Scuri
Well, as it happens, my expander child is an IupFrame, as in the attached script. All expanded expander children remain visible even if they should be hidden by the zbox. 2014/1/7 Antonio Scuri antonio.sc...@gmail.com Yes, that’s true. This does not have a simple solution. What I

Re: [Iup-users] Making the gridbox 'just work'

2014-01-07 Thread Antonio Scuri
Hi, The gridbox was designed to maintain many of the vbox and hbox properties and behaviour. So we had to restrict the natural size computation to something that we were able to handle without increasing the implementation complexity. We would like that gridbox had more automatic size

Re: [Iup-users] Making the gridbox 'just work'

2014-01-07 Thread Antonio Scuri
Implemented the following: FITTOCHILDREN: Set the RASTERSIZE attribute of the reference element in the given column or line, so that it will fit the largest element in the column or the highest element in the line. The number of the column or line must be preceded by a character identifying its

Re: [Iup-users] canvas line

2013-12-13 Thread Antonio Scuri
Hi, Thanks to your very interesting sample code was very easy to identify the problem. There are two things happening. An extra pixel in white at the top. And missing pixels at bottom. The second case occurs in REPLACE and XOR modes. And it is inherent of the Win32 API. The extra

Re: [Iup-users] canvas line

2013-12-12 Thread Antonio Scuri
Please send me a screenshot so I know what to expect here. Best, Scuri -Original Message- From: Karagy [mailto:kar...@mail.ru] Sent: quinta-feira, 12 de dezembro de 2013 16:30 To: IUP discussion list. Subject: [Iup-users] canvas line Hi, all! WinXP 32bit, iuplua 3.6 - 3.9.

Re: [Iup-users] Iup sources tgz misses 'x' bit on directories.

2013-12-09 Thread Antonio Scuri
Is there a way to ignore permissions when creating the tgz? So it is packed with no permissions? Because I create it on Windows using tar from Cygwin and a script, and my file system is NTFS. When copying files or creating tars, sometimes the permissions are all wrong. Best, Scuri

Re: [Iup-users] split not expanding on tiling window manager (Xmonad)

2013-12-05 Thread Antonio Scuri
Hi, If it is working in Motif, it seems that the window resize is not being forward to the application. Can you send me a few screenshots illustrating the problem? Best Regards, Antonio Scuri -Original Message- From: Ico [mailto:i...@zevv.nl] Sent: quinta-feira, 5 de dezembro

Re: [Iup-users] NewLine Problem in IupMultiline

2013-12-02 Thread Antonio Scuri
Hi, You have to return iup.IGNORE in k_any and input the line yourself. Best, Scuri -Original Message- From: Muhammad Asif Hussain [mailto:masi...@yahoo.com] Sent: quarta-feira, 27 de novembro de 2013 02:32 To: iup-users@lists.sourceforge.net Subject: [Iup-users] NewLine

[Iup-users] IUP 3.9 Released

2013-11-22 Thread Antonio Scuri
Internationalization. Strings starting in _@ will be automatically retrieved from the internal string database. New: PLOT_COUNT, PLOT_NUMCOL, PLOT_CURRENT, PLOT_INSERT and PLOT_REMOVE attributes for IupPPlot to support multiple plots in the same display area. Best Regards, Antonio Scuri

Re: [Iup-users] how to embeded dialog in dialog?

2013-11-21 Thread Antonio Scuri
You can't. Best, Scuri From: yaoxinming [mailto:yaoxinm...@gmail.com] Sent: quinta-feira, 21 de novembro de 2013 01:37 To: iup-users@lists.sourceforge.net Subject: [Iup-users] how to embeded dialog in dialog? how can iup dailog embedded anthor dialog,luaiup code like this: tmp

Re: [Iup-users] Some bugs

2013-11-18 Thread Antonio Scuri
When the system processes the double click the button is notified 3 times. It is not a IUP special processing. This is usefull when the user is clicking several times in the same button. Yes, you can hack it using the BUTTON_CB callback. Best, Scuri Regarding the ACTION for button

<    5   6   7   8   9   10   11   >