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 sh
Author Message

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

Fluid created this code to create a window.

# data file for the Fltk User Interface Designer (fluid)
version 1.0108
header_name {.h}
code_name {.cxx}
Function {make_window()} {open selected
} {
  Fl_Window {} {
    label aname open
    xywh {815 56 100 100} type Double labeltype NO_LABEL align 1 visible
  } {}

send convertFluidToMurgaLua in terminal results in the error, and an empty lua file is made

awk: illegal field $(  { Fl_Double_Window* o = new Fl_Double_Window(100, 100);), name "currentLine"
input record number 7, file /murgasrc/murgaLua/examples/2test.cxx
source line number 15

I get the same error trying to convert any of the example .cxx files


// generated by Fast Light User Interface Designer (fluid) version 1.0108

#include "2test.h"

Fl_Double_Window* make_window() {
  Fl_Double_Window* w;
  { Fl_Double_Window* o = new Fl_Double_Window(100, 100, "aname");
    w = o;
  } // Fl_Double_Window* o
  return w;

and the H

enerated by Fast Light User Interface Designer (fluid) version 1.0108

#ifndef _2test_h
#define _2test_h
#include <FL/Fl.H>
#include <FL/Fl_Double_Window.H>
Fl_Double_Window* make_window();

This post was last modified: 04-25-2007 06:36 PM by iGame3D.

04-25-2007 06:22 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

Messages In This Thread
convertFluidToMurguaLua sh - iGame3D - 04-25-2007 06:22 PM
RE: convertFluidToMurguaLua sh - JohnMurga - 04-25-2007, 06:44 PM
RE: convertFluidToMurguaLua sh - iGame3D - 04-26-2007, 03:30 AM
RE: convertFluidToMurguaLua sh - JohnMurga - 04-26-2007, 03:57 AM

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

Forum Jump: