Possible alternative to ncurses
Posted: Sun Mar 15, 2015 11:54 pm
I never really liked ncurses for a few reasons. For starters it's still a text display and if I remember correctly the scroll bar couldn't be used anymore to scroll back through output history.
I remember trying to add support for Window forms using a widget library, I don't remember which one, with limited success. The main problem I had was when using the form - especially the form menus - the script would freeze. I tried a few way to overcome this but finally gave up on it.
I had an idea though, there are programs that have embedded consoles. Is it possible to make micromacro an embedded console in a window application? And would it be possible to make it so a program running in the embedded console could access and manipulate the Window? Possibly even adding widgets such as text boxes and buttons?
The way I envision it working is it starts with a simple menu with options such as Load, Help, About etc. Then when you load a program the program adjusts the window for it's purposes, eg. RoMBot might create info fields with player name, health, waypoint loaded, coords etc. Then when the program ends it resets the window to it's default state. You could even create an interface that has everything you need and hide the console.
What do you think?
I remember trying to add support for Window forms using a widget library, I don't remember which one, with limited success. The main problem I had was when using the form - especially the form menus - the script would freeze. I tried a few way to overcome this but finally gave up on it.
I had an idea though, there are programs that have embedded consoles. Is it possible to make micromacro an embedded console in a window application? And would it be possible to make it so a program running in the embedded console could access and manipulate the Window? Possibly even adding widgets such as text boxes and buttons?
The way I envision it working is it starts with a simple menu with options such as Load, Help, About etc. Then when you load a program the program adjusts the window for it's purposes, eg. RoMBot might create info fields with player name, health, waypoint loaded, coords etc. Then when the program ends it resets the window to it's default state. You could even create an interface that has everything you need and hide the console.
What do you think?