Difference between revisions of "Assignment 2 (Release 0.1): Q & A"
Line 5: | Line 5: | ||
'''A:''' Yes, we do get to toggle the border visibility by using the | '''A:''' Yes, we do get to toggle the border visibility by using the | ||
<source lang="cpp"> void bordered(bool);</source>method which "sets the visibility of the border to the value received". The frame has no border if it is a fullscreen frame, should be safe to assume it has a border if it is not fullscreen (unless otherwise specified). | <source lang="cpp"> void bordered(bool);</source>method which "sets the visibility of the border to the value received". The frame has no border if it is a fullscreen frame, should be safe to assume it has a border if it is not fullscreen (unless otherwise specified). | ||
− | '''Answer Submitted by:''' Team42<br><br> | + | '''Answer Submitted by:''' [[Team 42 Contributions | Team42]]<br><br> |
'''Q:''' In the functions void row(int) and void col(int), are we receiving the values of row and column respectively that are relative to the parent frame or relative to the console screen?<br> | '''Q:''' In the functions void row(int) and void col(int), are we receiving the values of row and column respectively that are relative to the parent frame or relative to the console screen?<br> | ||
Line 26: | Line 26: | ||
So it's safe to assume that modifiers void row(int) and void col(int) will receive coordinates of top-left corner (row and col respectively) of a current frame relative to a parent frame. | So it's safe to assume that modifiers void row(int) and void col(int) will receive coordinates of top-left corner (row and col respectively) of a current frame relative to a parent frame. | ||
− | <br>'''Answer Submitted by:''' 010101000110010101100001011011010011010000110010 <br><br> | + | <br>'''Answer Submitted by:''' [[Team 42 Contributions | 010101000110010101100001011011010011010000110010]] <br><br> |
== Bug Reports == | == Bug Reports == |
Revision as of 17:33, 2 October 2012
Q & A
Q: Are we able to toggle the border's visibility or are we only able to toggle the frame's visibility? If yes, the constructor does not receive any information about the visibility of the border, do we assume that the border is visible?
Question Submitted by: Gideon Thomas and Marie Karimizadeh
A: Yes, we do get to toggle the border visibility by using the
void bordered(bool);
Answer Submitted by: Team42
Q: In the functions void row(int) and void col(int), are we receiving the values of row and column respectively that are relative to the parent frame or relative to the console screen?
Question Submitted by: Gideon Thomas and Marie Karimizadeh
A: In a CFrame class description most modifiers came in pairs with queries, like
void row(int) - sets the top row to the value received
int row() const - returns the top row position relative to the parent frame, if any; 0 if fullsreen
void col(int) - sets the left column to the value received
int col() const - returns the left column position relative to the parent frame, if any; 0 if fullsreen
So it's safe to assume that modifiers void row(int) and void col(int) will receive coordinates of top-left corner (row and col respectively) of a current frame relative to a parent frame.
Answer Submitted by: 010101000110010101100001011011010011010000110010
Bug Reports
Possible/Challenging Enhancements
Features Proposed by Team 42
- Smart word wrapping - words are not cut off mid-word while wrapping
- Optimization - "test" compiled executables have efficiency issues when moving boxes around
- Colors - you can add color to the test program if you're making your own main
- Timer - to keep track of how long the user has been running your custom main
- Files - Read string from file, use that string for editing, then write the result string to that file, overwriting original