Mark: 2 additions added to git repo

About Monkey 2 Forums Monkey 2 Development Mark: 2 additions added to git repo

This topic contains 5 replies, has 2 voices, and was last updated by  nerobot 2 years, 6 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #4384

    AdamStrange
    Participant

    Mark there is a minor omission in the mojo/app that needs to be added so the user can alter the size of a window programatically. this has been posted

    Also

    A Mx2cc addition to allow  files to be parsed but not compiled: checkapp

    This allows user to check files for errors but nothing else. the full changes are listed and I can supply the complete code, but the changes are really the important bits.

    In essence:

    A third parameter ‘check-up’ is added to mx2cc so you now have makeapp/makemods/checkapp

    Should be self explanatory

    #4386

    nerobot
    Participant

    Mark there is a minor omission in the mojo/app that needs to be added so the user can alter the size of a window programatically.

    You can use ‘Frame’ property to change bounds of a window. All views in mojox have this property because it’s a part of base View class.

    A Mx2cc addition to allow  files to be parsed but not compiled: checkapp

    I thought it already exists but not documented when saw your ted21. 🙂

    #4396

    AdamStrange
    Participant

    Frame won’t change the bounds it will however change the position of the window!

    There is also no reference to frame apart from a single line of (not) help text!

    So Frame is basically not documented and doesn’t operate as it should either!

     

    My addition stands.

    #4397

    nerobot
    Participant

    I use Frame as the first found way to do resizing.

    Adam, try this

    #4400

    AdamStrange
    Participant

    can’t get that to work. To be honest it feels more like a kludge?

    It is much better to have a simple command:

    method WindowResize( x:int, y:int, width:int, height:int)

    I don’t need to know about ‘frame’ I just need to know I want to Resize the Window. which is how the os deals with stuff, the event system, etc, and other languages!

    #4401

    nerobot
    Participant

    I vote +1 for this too 🙂

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.