summaryrefslogtreecommitdiffstats
path: root/perl-install/ugtk.pm
Commit message (Collapse)AuthorAgeFilesLines
* - use variable $::no_ugtk_init in ugtk.pm instead of using $::isInstallPascal Rigaux2002-09-091-1/+1
| | | | | - that way, the X test can be made to work both at install and standalone
* - drakfloppy / logdrake: destroy_window and create_dialog wereThierry Vignaud2002-09-091-1/+37
| | | | | | | | | gratuitously duplicated; move them in ugtk - drakfloppy / logdrake / bootlook.pm: get_main_menu was gratuitously duplicated; common code which was moved from harddrake::ui to ugtk::create_factory_menu just do the job
* add gtkset_visibilityGuillaume Cottenceau2002-09-061-1/+2
|
* export compose_pixbufs for mccThierry Vignaud2002-09-061-1/+1
|
* - ugtk::gtkicons_labels_widget() :Thierry Vignaud2002-09-061-18/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o pass icon name in $tag to $exec_func so that the later can display big icon o $label_exec is a duplicate of $label o simplify notebook redrawing: * remove dam'sugly hacks * $redraw_function->() : resize Gtk::Fixed on first run if more than 4 icons * redraw in only one place * don't redraw on realize event (now we both don't flick and have proper icon alignment without old hacks) - mcc: o print big icon while launching a tool (anim in next commit) o move todo list in TODO o stricter check: * default to use strict * disable strict mode when building rpm * fixes for 'use strict' o kill : * a debugging print * a superflous 'no warnings' * a title->show since we never hide it * $rootheight since gtk packer do the job for us * unused $nb_pages o begin to un-hardcode some values (window and notebook size, ...) o cosmetics: * comment some code * add myself to authors list (deush, you should add yourself too since you're the localedrake/mcc interaction guru) * s/darea1/summary_darea/ o don't display logs when back in main summary o destroy pixbuf after
* gtkcreate_png_pixbuf() : support jpeg too for bootlook.pmThierry Vignaud2002-09-041-1/+1
|
* make perl_checker happyPascal Rigaux2002-09-041-1/+1
|
* try to get rid of BEGIN but still be able to start up the install :-)Guillaume Cottenceau2002-09-031-16/+9
|
* have the possibility in gtktext_insert to provide font/colorGuillaume Cottenceau2002-09-031-1/+5
| | | | | information as well
* - create_pix_text, gtkicons_labels_widget: remove text color argument, ↵Thierry Vignaud2002-09-031-4/+4
| | | | | | | default to black - remove last debugging prints
* added create_pixbuttondamien2002-09-031-1/+6
|
* fixed previous fix;Francois Pons2002-09-031-5/+5
|
* try to avoid clashes with install.Francois Pons2002-09-031-7/+9
|
* - ugtk :Thierry Vignaud2002-09-031-43/+46
| | | | | | | | | | | | | | | | | | | | | | | | o create_pix_text: * remove * kill uni colored background * api change: + background argument => background list + remove bold argument * render all text (normal, highlighted, selected) on specified background in one pass o gtkicons_labels_widget(): * explain/comment * move all drawing logic in &$draw * create buffer area, text pics only one time * add a pixbuf for highlighted item * render highlighted icon by making it more transparent * recalculate drawing buffer only on state change - mcc : * move all drawing logic in &$draw * create buffer area, text pics only one time * render highlighted icon by making it more transparent * recalculate drawing buffer only on state change
* meuh gtk initGuillaume Cottenceau2002-09-031-2/+3
|
* gtkcreate_png was too stupid to allow subdirectories for images,Guillaume Cottenceau2002-09-031-5/+5
| | | | | fix it
* fixed titi suckings.Francois Pons2002-09-021-2/+0
|
* gtkicons_labels_widget(): check binary existsThierry Vignaud2002-09-021-0/+1
|
* kill glib warningsThierry Vignaud2002-09-021-2/+2
|
* - mcc :Thierry Vignaud2002-08-301-47/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o kill gtkpng_() and gtk_createpng_() wrappers: if icon is missing, better die while testing rather than make perl display "uncaught code ..." o kill unused timer o use new ln's icons o disable stupid icon highlighting (was made with duplicating manually all icons in gimp and blue-y them there); restore this effect'll need little play with gamma o use ugtk o kill dead code o cleanups o icons: * switch to new icons set * replace pixmap table by a pixbuf one * use pixbufs for backgrouns and icons, * composite background and icons with transparency trough ugtk::compose_pixbufs() * render icons with full alpha blender in left column * comment the different states * simplify callbacks - ugtk : o readd gdkpixbuf support o ensure imlib is used by default to load files, not gdk-pixbuf o compose_with_back(): load a png icon into a pixbuf and call compose_pixbufs with background pixbuf o compose_pixbufs(): render transparent icon onto background into a new pixbuf o merge gtkcreate_png_pixbuf() from gdk-pixbuf-0-branch : load an icon into a pixbuf gdk-pixbuf-0-branch also uses it to simplify a lot of code o gtkicons_labels_widget() : * add a new background pixbuf parameter that'll be composited with icons * render icons with alpha blender in right area * kill imlib_counter * kill imlib usage for * kill dead code (was dead since i fixed mcc memory leaks) - TODO: icon flashing on application launch - POSTPONED: merge big cleanup, global replacement of imlib usage by gdk-pixbuf from gdk-pixbuf-0-branch since it would impacted drakx which is not so good
* 19mdkThierry Vignaud2002-08-231-62/+82
|
* - ugtk:Thierry Vignaud2002-08-231-82/+62
| | | | | | | | | | | | | | | | | | | | o switch from imlib to gdk-pixbuf o kill gtkcreate_imlib() o big cleanup by the way o support alpha blender [not complete] o fix mem leak o remove dynamic support of imlib||gdk-pixbuf since: * gtk2 require gdk-pixbuf anyway * imlib sucks * less code/libs in install o kill unused cursors o kill icon flashing o gtkcreate_png_pixbuf() : load a png into a pixbuf o gtkpng_pixbuf() : render a pixbuf into a drawable o simplify gtkcreate_png(): render a pixbuf into a pixmap and an alpha bitmap o add2notebook() : simplify
* fix 95% of mcc memory leaksThierry Vignaud2002-08-231-12/+0
|
* kill debugging printsThierry Vignaud2002-08-201-2/+0
|
* consolidate create_factory_menuThierry Vignaud2002-08-121-0/+12
|
* - ugtk::gtkexpand : new functionThierry Vignaud2002-08-121-1/+2
| | | | | - harddrake::ui : uses it
* write_on_pixmap: kill unused variableThierry Vignaud2002-08-121-1/+1
|
* tree_set_icon: new functionThierry Vignaud2002-08-121-0/+8
|
* create_okcancel isn't in ugtk so don't export it (warning fix)Thierry Vignaud2002-08-121-1/+1
|
* remove old references to rectangle drawing around mcc iconsThierry Vignaud2002-08-061-4/+0
|
* we already require perl-GTK-GdkImLib so temporary disableThierry Vignaud2002-08-011-2/+2
| | | | | Gtk::Gdk::Pixbuf support, thus removing all gdk/gtk warnings
* commit according to 1.1.9-1mdk of drakxtools, and especially:Guillaume Cottenceau2002-08-011-2/+7
| | | | | | | | | | | | | | | | | | | - integrate patches in my_gtk and ugtk for new rpmdrake: - [ugtk] add "gtkentry" so that we can create an entry and set initial value in one call - [my_gtk::main] don't set the events, to fix keyboard focus problem in entries when embedded - [my_gtk::_create_window] add $::noBorder, to not have a frame in the main window, so that it's possible to end up with windows with no border - [my_gtk] add ask_dir which is a ask_file with only the dir list - [my_gtk] add ask_browse_tree_info to the export tags, and: - add support for parents with no leaves, so that then we can partially build the trees (for speedup) - add "delete_all" and "delete_category" callbacks - use Gtk::CList::clear when removing all the nodes, much speedup
* removed fonctions typagedamien2002-08-011-23/+23
|
* move back Gtk->init to "new" and "gtkroot"Pascal Rigaux2002-08-011-4/+2
|
* remove INFO warningsThierry Vignaud2002-08-011-3/+0
|
* make perl_checker happyPascal Rigaux2002-08-011-5/+5
|
* my_gtk:Thierry Vignaud2002-08-011-0/+835
- splitup it into my_gtk and ugtk as done by dams - resync with dams - increase the icon blinkage from 50ms to 100ms