-*- org -*-
I want to make an instance of that class with a helper function. It seems that I need to duplicate the initforms as defaults to &key arguments of the helper function. Is there a way around this?
How can I copy the textattr slots from label to textbox?
decided not to do it, boxes are faster
added a separate aligner widget - faster
redefine the package and file to ‘scenic-helpers’.
- add separate methods for them, don’t call-next-method to do it;
- factor the duplicated code for background and clipper into the measure/layout for container1
appeared in the lisp source (reverse the lists at the end of apply-children-descriptions)
called henchman
argument so that we now what we need to paint; this is necessary for datagrids and such, so that they don’t paint themselves completely all the time.
the coordinates should be adjusted to match the ones in the layout-… slots of the widgets.
When dragging, it is always assumed we are dragging the middle of the walker; we should drag according to the position of the mouse relative to the walker when the dragging started;
the walker should touch the right/bottom arrow if the current min pos + page size is max pos (maybe round the width/height up?)
REPRO: see the scroll-view-1 test CANNOT REPRO.
(if there is not enough space, some elements are not measured; they should be measured with space 0)
not just call the event on the widget that has focus))
- textbox should inherit from clickable so it has the :click event
- scene shoud have a ‘focus-widget’ method that transfers focus to a particular widget
unless it is on the rightmost margin, when it should be pushed -0.5px
the space between chars, not before the clicked char; i.e., determine the space between chars closest to the click.
when a popup is hidden, the area underneath must be redrawn
so the scene needs an additional slot, rectangles-to-redraw which will add to the dirty list
Make tests cheap (there is no code to be written, it’s only necessary to redo the sequence of events and tell the test framework whether the test passed or failed). This way it doesn’t matter so much if the tests are fragile (as in easily broken by changes to the interface).
reactions on the test channel with a ‘blind’ run of the input events (and new reactions on the test channel)
can arrive in different orders); markup for the start of the async interval and the end? other ways to handle this.
window title;
whole widget chain
(after removing the idle render-scene stuff; probably need to add some “invalidate” calls)
… when I press the button in the left upper corner.
Probably because the scroll-view itself is marked for repainting. Idea: widgets that don’t do any painting (such as the scroll view) should not ‘make dirty’ the widgets they intersect with. The reason we need the scroll-view is that it takes care of displacing the button (which we need to repaint) and setting the clip rectangle correctly.
on different systems.
One solution is to use monospace by default and setup a list of acceptable dimensions. This means I’m not testing the actual font measuring code, but it will have to do for now.
- (make turn allocate-thread accept a name for created threads into register-thread or; alternatively, turn it into register-thread that takes an existing thread and adds it to our hash)
- nope, registering can’t work (we can’t let threads decide when to register, they might decide to register in another order in the test run)
of the data structures
- t or nil, if t the widget is measured and painted, if nil the widget has dimensions 0,0 and is not painted
actually completely removed boxes
horizontal scrollbars should appear if they become necessary after adding the vertical scrollbar; likewise, vertical scrollbars should appear if they are required after adding the horizontal scrollbars.
(at least one radio button must be turned on)
invalidates the widgets it intersects and are underneath it.
works (we’d like to add some event filtering and stuff to avoid multiple layouts when the user is rapidly resizing the window)
(make it a parameter)
because all the necessary information is now inside the event arg
have all the information in the events)
(it should add an event handler that quits when ESC is pressed)
- it should also remove that handler after the test is done (which means adding remove-event-handler)