AdamStrange

Forum Replies Created

Viewing 15 posts - 631 through 645 (of 648 total)
  • Author
    Posts
  • in reply to: monkey2-pi-003 release checklist #1951

    AdamStrange
    Participant

    er, ok.

    Can you treat me like i’m dumb and give me the commands to do it?

    (i’m not dumb, just not familiar with the pi and the command line ;[ )

    I have tried to invoke before, but I ended up with an unwanted Tandarin Demon that played havoc with my soft furnishings…

    in reply to: monkey2-pi-003 release checklist #1945

    AdamStrange
    Participant

    excellent. But… How do I compile anything without ted being compiled already?

    Is there some secret command line way of compiling?

    in reply to: Fatal Error with Ted2 #1883

    AdamStrange
    Participant

    last one – all sorted 🙂

    I had added a new onRender() which was causing the crash.

    Further tracking came to this little beastie:

    canvas.DrawRect( 0, 1, _current.View.Container.Frame.Width, _current.View.Container.Frame.Height-1 )

     

    so adding:

    If Not(_current) Then Return

    as the first statement to trap any error with null _currents worked 🙂

     

    Can I have my prize now?

    in reply to: Fatal Error with Ted2 #1882

    AdamStrange
    Participant

    OK, brilliant!

    I’ve tracked down where the bug is. it’s in my new version of the tabview is the tab render section. I’ll post more as I find it…

    in reply to: Fatal Error with Ted2 #1879

    AdamStrange
    Participant

    mmm, interesting.

    Reinstalled ted2

    runs fine

    Looks like something possibly interesting with the new tab controls I was working on

    in reply to: Fatal Error with Ted2 #1878

    AdamStrange
    Participant

    ok, not the original ted 2 – will archive and see what’s going on 😉

    in reply to: Fatal Error with Ted2 #1877

    AdamStrange
    Participant

    mmmmm, interesting

    replaced ted2.state.json with one above and still get crash!

    Looking into mainwindow at LoadState()

    Local obj := JsonObject.Load( “bin/ted2.state.json” )
    If Not obj Then
    print “no jasonstate”

     

    When run it gives no jason error (i added that to see what was going on)

    Looks like the json file is not being loaded?

    in reply to: Fatal Error with Ted2 #1874

    AdamStrange
    Participant

    Deleted both and still get the crash

    been trying to debug. in mainwindow the new() method runs through without fail

    window then beings to appear, then crashes with memory violation

    in reply to: Fatal Error with Ted2 #1873

    AdamStrange
    Participant

    no problem

    ted2.config.json:

    {

    “theme”:”dark”,
    “fontSize”:16,
    “monoFontSize”:16
    }

    ted2.state.json:

    {“browserSize”:307,”consoleSize”:180,”helpTreeSize”:277,”openDocuments”:[],”openProjects”:[“/Applications/monkey2/”],”recentFiles”:[“/Applications/monkey2/Mollusk.app/Contents/Resources/versions.txt”,”/Applications/monkey2/hello-world.monkey2″,”/Applications/monkey2/src/ted2/ted2.monkey2″,”/Applications/monkey2/TODO.TXT”,”/Applications/monkey2/src/launcher/monkey2_64.png”,”/Applications/monkey2/bananas/monkeyroids/monkeyroids.monkey2″],”windowRect”:[621,45,1856,979]}

    in reply to: Ted2 crash on close bitmap #1836

    AdamStrange
    Participant

    brilliant – amended the mainwindow.monkey2 and it worked – everything closes correctly

    in reply to: monkey2-pi release 001 #1817

    AdamStrange
    Participant

    Thanks Simon – it will be great to see how far the pi can go with this 🙂

    in reply to: I'de like to work on Ted2 #1788

    AdamStrange
    Participant

    Brilliant, sorted out the basics from the theme file!

    in reply to: I'de like to work on Ted2 #1787

    AdamStrange
    Participant

    mmmm,

    ted2/mx2document.monkey2 I was already inside there ;p

    I’ll need to sit down and go through the skin and theme classes and get a good feel for what is going on. I’m sure I’ll break something along the way…

    But it is a great place to start to learn what really make Monkey2 tick

    in reply to: I'de like to work on Ted2 #1781

    AdamStrange
    Participant

    the issues I have is in the onRender

    There seems to be an offset to the canvas so (say) canvas.DrawRect(0,0, 10,10) does not draw it at 0,0 but is off set inside a button by a few pixels

    The background style color is fine, but I’m wanting to get the correct button canvas not the offset canvas

    (not sure if I’m making sense) Here’s a pic of drawing at 0,0

    You can see the white square is not at the top left of the button, but inset

    in reply to: I'de like to work on Ted2 #1780

    AdamStrange
    Participant

    ok, no worries.

    Currently I’m looking into the themes and already having some luck with it.

    In essence I am going for the visual studio look, so everything should be (in some respects) less flat and easier on the eye.

    Most Of what I’m doing is inside the mojox folder

    On thing.

    I can backwards trace most functions to the root routine and forward to edit the code, but have hit a small wall with things that have the base class of ‘View’. Where do I find this class?

Viewing 15 posts - 631 through 645 (of 648 total)