News : The level of daily SPAM has reached insane proportions, all registrations are now manual. I ask you to send me an e-mail (john (at) murga (dot) org), to confirm that you want me to create an account for you.


Post Reply  Post Thread 
convertFluidToMurguaLua Issues
Author Message
iGame3D
Moderator
***


Posts: 231
Group: Moderators
Joined: Apr 2007
Status: Offline
Reputation: 0
Post: #1
convertFluidToMurguaLua Issues

I'm noticing that the creation of a group or "tabs" object does not get an appropriate "end" line and that setting colors produces code that has errors.

for instance:

Code:
do local object = fltk:Fl_Double_Window(100, 100, "A window");
    window = object;
    do fltk:Fl_Button(25, 25, 25, 25, "button1");
    end -- Fl_Button* o
    do local object = fltk:Fl_Group(25, 25, 75, 75, "groupobject");
      object:box(fltk.FL_UP_BOX);
--      object:color((Fl_Color)1); -- error "(" expected near 1
-- end missing
      do local object = fltk:Fl_Tabs(50, 50, 50, 50, "tabsobject");
-- end missing
  end
  window:show();
  Fl:run();

Also if a window's class is given a name under the C++ tab then
the window code is not written out:

Code:
do fltk:Fl_Button(25, 25, 25, 25, "button1");
    end -- Fl_Button* o
  end
  window:show();
  Fl:run();



I'm going through all the widgets and getting familiar with them, so I'm sure to find some other oddities and do other strange things.

This post was last modified: 05-18-2007 07:26 PM by iGame3D.

05-18-2007 06:34 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: