summaryrefslogtreecommitdiff
path: root/src/layeng/cr-box-view.h
Commit message (Collapse)AuthorAgeFilesLines
* updated this test reference output.Dodji Seketeli2003-06-291-0/+5
| | | | | | | | | | | | | | | | | 2003-06-30 Dodji Seketeli <dodji at seketeli dot org> * tests/test-output-refs/test4.1.css.out: updated this test reference output. * src/parser/cr-statement.c: fixed a typo that lead to a small regression detected by the non regression test suite. * tests/testctl: made sure no to consider the .cvsignore file during the final diff. * src/layeng/cr-box-view.[ch]: fixed some compiler warnings. Dodji.
* updated the test to reflect all the changes that happened today.Dodji Seketeli2003-06-081-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/test7-main.c: updated the test to reflect all the changes that happened today. * src/parser/cr-enc-handler.[ch], src/parser/cr-input.[ch], src/parser/cr-om-parser.[hc], src/parser/cr-parser.[ch]. Add the 'const' keyword in to function prototypes. * src/layeng/cr-lay-eng.c: (compute_text_box_inner_edge_size ()) revisied this function to make it append the text label to it's container so that the size of the text label can be computed. I don't know how to do this otherwise. I would have liked this not to happen since compute_text_box_inner_edge_size () is part of the layout process not the rendering process. Now these two processes are much more tied than I would like. * src/layeng/cr-box.c: updated the cr_box_to_string () method to make it serialise CRBox->inner_edge.max_width for debug purposes. * src/layeng/cr-box-view.c: 1/now, the layout code is called in the "expose-event" signal callback. Trying to isolate the layout from the rendering appears to be too difficult if not impossible. 2/created a cr_box_view_new_from_xml_css_bufs () method to create a box view directly from a css buffer and an xml buffer. Dodji.
* small update for debug purposes.Dodji Seketeli2003-05-041-4/+4
| | | | | | | | | | | | | | | | | | | * tests/test7-main.c: small update for debug purposes. * src/layeng/cr-style.h: cleanup. * src/layeng/cr-lay-eng.c: put in here what is needed to support border-x and border-style-x properties. * src/layeng/cr-box.[ch]: make CRBoxModel inherits CRBox. * src/layeng/cr-box-view.c: start to support the border-style-x and border-x property. I must test this. * configure.in: defined a personal environment where I can set the CFLAGS I want. Dodji.
* woohoo, this now shows some text. Okay, it is a crappy design sketch, butDodji Seketeli2003-04-271-9/+3
| | | | | | | | | | | | | | | | | * tests/test7-main.c: woohoo, this now shows some text. Okay, it is a crappy design sketch, but this is a milestone. * src/layeng/cr-lay-eng.c: store the created label widget in the cache. box content cache. * src/layeng/cr-box.h:created a box content cache to store the label widget used to calculate text box size. * src/layeng/cr-box-view.[hc]: made this simpler and manage to make it show someting on the screen. Now the box view is just the view port. To render the box model, we just walk thru it and draw each box in the box view. Dodji.
* more box-view code.Dodji Seketeli2003-04-231-1/+8
|
* started to write the CRBoxView widget.Dodji Seketeli2003-04-231-6/+23
| | | | Dodji.
* *Doxyfile: fixed a small bug due to the new source tree layout.Dodji Seketeli2003-04-211-0/+61
*src/parser/cr-input.c, src/parser/cr-token.c: killed a memleak . Dodji