summaryrefslogtreecommitdiff
path: root/otk/widget.cc
AgeCommit message (Collapse)Author
2003-03-21rm the old code including the .pys and the c++ shitDana Jansens
2003-02-19a few optimizations to layouts/renderingDana Jansens
2003-02-16use the current size, which will get capped by max/minsDana Jansens
2003-02-16dont forget borders/bevelsDana Jansens
2003-02-11free the surfaces' pixeldata after rendering itDana Jansens
2003-02-10use a solid color for the default backgroundDana Jansens
2003-02-10layout fixes, give widgets a default texture, etc.Dana Jansens
2003-02-09use parentrelative when theres no texture setDana Jansens
2003-02-09signed ints instead of unsigned ints again. less pain. pain bad.Dana Jansens
2003-02-08mad optimizationsDana Jansens
2003-02-08Brand spankin new widgets for otk (Label and Button).Dana Jansens
Add a new Size class. Rect, Point, and Size are immutable classes. Size uses *UNSIGNED* ints. This is causing me headaches * a bajillion right now, so we'll see about that.
2003-02-05add an adjustable event maskDana Jansens
2003-02-04update children firstDana Jansens
2003-02-02check before deletingDana Jansens
2003-02-02delete the surface in destructorDana Jansens
2003-01-30make parents dirty when a widget resizesDana Jansens
save the fixed_width/fixed_height when doing an internalResize
2003-01-27adjust chicldren relative to self, not rootDana Jansens
2003-01-27setStyle in the constructor of each child widgetDana Jansens
2003-01-23remove debug printfsDana Jansens
2003-01-22show recursive.. recursivelyDana Jansens
2003-01-22otk using new render shit.. supposedlyDana Jansens
2003-01-20drawSolidBackground seems to work :)Dana Jansens
2003-01-20dont try free the widget's pixmap until it is no longer in useDana Jansens
2003-01-20XClearArea on expose in widgetDana Jansens
2003-01-20widegt using new render systemDana Jansens
2003-01-18provide RenderControls to all otk from the display class. initialize them ↵Dana Jansens
all there. try use bitshifts instead of color tables in the TrueRenderControl class for finding correct rgbs. Move the image/pixmap/xftdraw into the surface class, and it maintains them, recreating them when it resizes.
2003-01-18surface startedDana Jansens
2003-01-17add comment for bugfixDana Jansens
2003-01-17don't use XMoveResize, it doesn't work for StaticGravity windows?Dana Jansens
2003-01-13un-static otk::Display. add an operator* to it. make a global ob::display var.Dana Jansens
2003-01-11rm prefixes for all elements in the otk namepsaceDana Jansens
2003-01-04make the frame window override-redirectDana Jansens
2003-01-04s/True/true/Dana Jansens
2003-01-04make the frame window override-redirectDana Jansens
2002-12-26fix booge bug that makes widgets not change their background when changing ↵Dana Jansens
from a texture to a color when a color had been set previously
2002-12-26support the button pressed resources betterDana Jansens
2002-12-25might not compile... ob uses its own widgets now, which subclass only the ↵Dana Jansens
base otk widget. working on compressing focus events and handling them etc.
2002-12-20more api cleanupsDana Jansens
2002-12-20api cleanupsDana Jansens
2002-12-18use OB Widgets for everythingDana Jansens
2002-12-18add an OBBackgroundWidget and use it for setting colors so far.Dana Jansens
2002-12-11fuck you basewidgetDana Jansens
2002-12-04move event handling into basewidget again <FLINCH>Dana Jansens
add the basewidget class
2002-12-04split up widget and basewidgetDana Jansens
2002-12-04make setStyle() recursiveDana Jansens
2002-12-04unregister for events when destroyedDana Jansens
2002-12-01window decorations use "unmanaged" widgets now.Dana Jansens
2002-12-01add a recursive flags to OtkWidget::show/hideDana Jansens
dont delet eshit in the style from button's destructor
2002-11-17add the config header and emacs comment to all the .cc'sDana Jansens
2002-11-16add an OtkAppWidget which are "root windows", i.e. the managed child of ↵Dana Jansens
root, to be shown on the display. Exit when all the "root windows" are hidden. Support the WM_DELETE protocol to hide a "root window".