Difference between revisions of "Assignment 2 (Release 0.2): Q & A"
(→Q & A) |
(→Q & A) |
||
Line 8: | Line 8: | ||
'''Q:''' The CField constructor receives a bool value that stores the <u>'''border's'''</u> visibility. The guidelines say that it passes all but one value to its base class constructor, CFrame. However, the CFrame constructor does not take an argument for the border's visibility and only takes one for the frame's visibility. How would we send this as an argument to the base class constructor?<br> | '''Q:''' The CField constructor receives a bool value that stores the <u>'''border's'''</u> visibility. The guidelines say that it passes all but one value to its base class constructor, CFrame. However, the CFrame constructor does not take an argument for the border's visibility and only takes one for the frame's visibility. How would we send this as an argument to the base class constructor?<br> | ||
− | ''' Question Submitted by:''' Team 15<br> | + | '''A:''' We can use the bordered(bool) function of the CFrame class to assign the border's visibility.<br> |
+ | '''Submitted by:''' Team 15<br><br> | ||
+ | |||
+ | '''Q:''' The CLabel::draw(int) function receives a parameter that indicates the border's visibility i.e. C_NO_FRAME or C_FULL_FRAME. However, the specifications state that a label is never bordered, so how would we make use of the parameter passed through this function?<br> | ||
+ | '''Question Submitted by:''' Team 15<br> | ||
'''A:''' <br> | '''A:''' <br> | ||
'''Answer Submitted by:''' <br><br> | '''Answer Submitted by:''' <br><br> |
Revision as of 01:46, 3 November 2012
Q & A
For CButton, it says it needs to be a clickable button.
My question is, how do you record said click.
While looking this up on cplusplus.com and google, all i could find were examples with the windows API.
Is that what we're supposed to use to record the click action?
Question by: Team # 3
Q: The CField constructor receives a bool value that stores the border's visibility. The guidelines say that it passes all but one value to its base class constructor, CFrame. However, the CFrame constructor does not take an argument for the border's visibility and only takes one for the frame's visibility. How would we send this as an argument to the base class constructor?
A: We can use the bordered(bool) function of the CFrame class to assign the border's visibility.
Submitted by: Team 15
Q: The CLabel::draw(int) function receives a parameter that indicates the border's visibility i.e. C_NO_FRAME or C_FULL_FRAME. However, the specifications state that a label is never bordered, so how would we make use of the parameter passed through this function?
Question Submitted by: Team 15
A:
Answer Submitted by:
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