This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Engineer's profile picture

Mixed text scale

Started by Engineer, 16 March 2013 - 01:06 PM
Engineer #1
Posted 16 March 2013 - 02:06 PM
Hello,

First of all I want to say if there is another topic about this, please lock/delete this thread. I dont want to make duplicates and couldnt find one.

Well the title says it all, mixed tex scales. There can be made much more neat interfaces for the user.

I dont know the code behind this, and I will never know since CC is closed-source, so I dont know if its hard at all.

I also want to make clear that the current system is good also, but I think if this is going to be implemented, it's going to be quite hard coding, maybe even rewrite how the monitors are handled for this.

But if its too much work for such a minor implemention, I personally dont mind it since I respect the authors of CC.

Please leave your thoughts about this!
- Engineer
immibis #2
Posted 16 March 2013 - 02:17 PM
What would happen if you print text at scale 3, then print over part of it at scale 1? (probably the main problem)
What would getSize() return?
What units would scroll() use?
MysticT #3
Posted 16 March 2013 - 02:21 PM
I don't see how it would work. How would you define the coordinates to draw? It can't be with characters like now, cause there would be different sizes.
I agree that it would be nice, but it would require a complete change on how monitors work, and I don't think it's worth it.
Engineer #4
Posted 16 March 2013 - 02:26 PM
I don't see how it would work. How would you define the coordinates to draw? It can't be with characters like now, cause there would be different sizes.
I agree that it would be nice, but it would require a complete change on how monitors work, and I don't think it's worth it.

Engineer said:
I also want to make clear that the current system is good also, but I think if this is going to be implemented, it's going to be quite hard coding, maybe even rewrite how the monitors are handled for this.

But if its too much work for such a minor implemention, I personally dont mind it since I respect the authors of CC

That explains that.


What would happen if you print text at scale 3, then print over part of it at scale 1? (probably the main problem)
What would getSize() return?
What units would scroll() use?

To this point it is just a concept, as I didnt think at those problems. For the getSize part it will probably return the current size ( from the current Text Scale ),
and since I am very unfamilair with scroll(), I am not going to say things about things, just because I dont know.

As you said, there are problems but it is just a concept.
Cloudy #5
Posted 16 March 2013 - 02:32 PM
Use multiple monitors for different text scales or get creative with ascii art. This would mean a complete rewrite of the term library.
Engineer #6
Posted 16 March 2013 - 02:36 PM
Use multiple monitors for different text scales or get creative with ascii art. This would mean a complete rewrite of the term library.

That means no go, I understand it though. The current system is also good =)