Commit Graph

1577 Commits

Author SHA1 Message Date
rephorm 888151058b New Icon theme!
SVN revision: 5903
2002-02-07 08:04:52 +00:00
sleuth 7c54a338e8 Restore Raster's version of the iconbar_bottom.bits.db and
add the 'Resist' field.  I've left out scrollbar buttons (the
bottom version never had any.)

Kevin Brosius <cobra@compuserve.com>


SVN revision: 5893
2002-02-03 16:42:35 +00:00
rephorm 0be764a2de Updated deskswitcher to observe desktops and switch the highlighted button automatically upon desk switch.
SVN revision: 5842
2002-01-17 04:33:47 +00:00
rephorm 83dc2cd3fb Generate build_iconbar_db.sh with proper PREFIX
SVN revision: 5839
2002-01-16 17:31:38 +00:00
rephorm 3aa470ed5d this looks better with the default background
SVN revision: 5828
2002-01-12 00:02:43 +00:00
rephorm b89043aa56 epplet data files
SVN revision: 5827
2002-01-11 23:56:22 +00:00
rephorm 2c842e0ecf update the script to deal with the new db name
SVN revision: 5809
2002-01-04 04:37:53 +00:00
rephorm 5060bc358f Updated the bits.db to have resistance. Gave it a name that made more sense.
SVN revision: 5808
2002-01-04 04:37:12 +00:00
Carsten Haitzler ee82a15d31 add stuff to e_setup.. dialog has buttons now. fixed bug with view with bg
addition not working.


SVN revision: 5738
2001-11-26 13:08:34 +00:00
Carsten Haitzler 7df33c208a ok - some changes to default settings.. alt_right mouse on windows pops up
window menu. ctrl+alt+insert execs eterm... it wasnt in the default script
to build the dbs'
the scritp also had some mdos done to it before by others that sisnt use the
environemtn variables that devined numerics for actions....
also now menus can remember much more.. as can e. save and load on demand..
the remember things are menu check items... might have a big arse dialog
eventually for this... but for now this is all good :)


SVN revision: 5732
2001-11-25 08:32:54 +00:00
Carsten Haitzler fdadaabb1b shuffle files around in cvs.. simplify the default data layout as setup will
cp most of it and lay it out in /.e eventually anyway (and if u dont like
the idea of cping the files - we can symlink too - but e_setup will take
care of this... eventually.. might start work on it now i have fixed things
- though personally i think i should make it cp to start so your user config
is independant of the system and wont suddenyl chaneg cause the system one
did... but again... can be made an option)


SVN revision: 5729
2001-11-25 03:12:59 +00:00
Carsten Haitzler 3cbfb2d937 working on the iconbar. it now accepts scroll arrows in the iconbar bit - u
can scroll around 9if you have too many icons to fit) it also will clip the
icons to the icon area. also u can scroll the icons up and down the bar to a
position you like. a new test iconbar bit to demo this too.


SVN revision: 5726
2001-11-24 05:54:32 +00:00
Carsten Haitzler 8de0fe9c67 shuffling data around - i had waay too much heirachy before.. too complex.
keep it simple. will eventually have e_setup copy the defaults into your
homedir anyway...


SVN revision: 5718
2001-11-18 04:32:28 +00:00
Carsten Haitzler 4da776a8de just a very nice picture. - cleaned up from thew original photo a bit...
doesnt scale well to aspects not 4:3 :)


SVN revision: 5717
2001-11-18 03:56:09 +00:00
Carsten Haitzler 77b6b32560 and for thos ofyou pining for some example background files... just so u get
a good idea of what can be done with them... and how with a little effort
you can make stunning backgrounds that look PERFECT at almost any resolution
or screen aspect... :)


SVN revision: 5716
2001-11-18 03:27:08 +00:00
cpk c583f6a09f Changed the graphics for the selected look of icons. This is the one
from the good old efm days. If you want to change it, feel free to
do so -- I'm off to a Paul van Dyk gig :o)


SVN revision: 5666
2001-11-09 20:05:20 +00:00
Carsten Haitzler 1404c92c07 <merge merge merge> :)
SVN revision: 5619
2001-11-04 07:38:42 +00:00
cpk a708bdfd42 * More cleanups. I took out everything related only to icon handling
from the view code, and put it into icons.[ch].

* Added the relative desktop move path from Alan Schmitt.


SVN revision: 5616
2001-11-03 14:55:21 +00:00
cpk b4e3cb64ed Oops, that's just my installation.
SVN revision: 5606
2001-11-02 17:13:56 +00:00
cpk 02379472ae Alright, I spent some time now reading e17's code. Here's what
I've changed, this is big, so read this carefully :)

* I've added debugging macros for messages and function call
tracing. Usage:

  D("Creating item %i %i %i\n", x, y, z);

Define DEBUG to use the D macro.

  D_ENTER;
  D_RETURN;
  D_RETURN_(x);

These are for call tracing. Use D_RETURN_(x) when returning
something from a function. Define DEBUG_NEST to use this.

* added iconbar header file to Makefile.am
* added proper new()/cleanup() calls for E_Delayed_Action;

* I've completely rewritten the object and observer handling. Bye
bye macros, this was nasty. It'll be hard enough to avoid leaks
with usecounting in C. We now basically have the same system as gtk.
There's a clear separation of observer and object code now.
An E_Object by itself has nothing to do with observing or being
observed, therefore, there are now E_Observers and E_Observees
that are derived from E_Object. IMPORTANT: The cleanup system now
reflects the reference count system, therefore, all ..._free()
calls are now static, because the destructor should never be called explicitly, but implicitly through e_object_unref(). The object handling
now is as follows:

  - The cleanup functions clean up everything that is contained in
a struct, but NOT the struct itself. Instead of the final
free() call, they call the destructor of the base class. The
calls will walk up the hierarchy and clean up what's contained in
every struct, and the final e_object_cleanup() will free the
structure itself. E_Delayed_Action is a good example.

  - The only calls that influence the reference count are
e_object_ref() and e_object_unref(). If you need to do things
before an object gets destroyed, you can query the use count using
e_object_get_usecount() and check if it's equal to 1. So this:

  OBJ_UNREF(b);
  OBJ_IF_FREE(b)
   {
     ecore_window_reparent(e->win, 0, 0, 0);
     e_icccm_release(e->win);
     OBJ_FREE(b);
   }

   now is this:

  if (e_object_get_usecount(E_OBJECT(b)) == 1)
    {
      ecore_window_reparent(e->win, 0, 0, 0);
      e_icccm_release(e->win);
    }

   e_object_unref(E_OBJECT(b));

object.h and observer.h are completely commented, it shouldn't be
too hard to understand. This'll need to be documented in the manual
anyway.

* E_Objects are now used in lots of places where void* were used as
pointers to objects before, especially in the actions code. This is
obviously better, as it will generate compiler warnings when people
want to pass things to functions that expect E_Objects. This could
probably be more restrictive.

* Added typedefs for the function prototypes in E_Action_Impl. Those
fat signatures were just painful to read in the function
declarations/implementations.

* I've also tried to give parameters more useful names. Calling an
object "o" is a lot of fun when you want to grep for it.

* Included is also Graham's latest menu.c patch. Sorry for the
delay, Graham.

* I've added checks to the menu code that make sure that menus
don't pop up when they're empty (which resulted in a little useless
rectangle).

I guess that's it for now. Sorry if I broke anything, but this was
necessary imho.


SVN revision: 5605
2001-11-02 17:07:52 +00:00
Carsten Haitzler d41f8eacfa blim. i just had to do this :) too much fun :)
SVN revision: 5582
2001-10-28 01:38:54 +00:00
Carsten Haitzler 1a24c75a76 spinny logo to waste cpu :)
SVN revision: 5545
2001-10-21 14:02:53 +00:00
Carsten Haitzler 0573986281 start on setup tool data
SVN revision: 5541
2001-10-21 09:36:40 +00:00
Carsten Haitzler 6bb8a6a3d2 we shoudl never have had intl in cvs... and add some work on the setup tool
SVN revision: 5536
2001-10-20 09:01:54 +00:00
Carsten Haitzler 232c634a3a make all the bits decorative
SVN revision: 5535
2001-10-20 06:21:15 +00:00
Carsten Haitzler 8e5adf71a6 much cleaner iconboar. ok - right now it doesn't scroll. use the buidl
scritp again (pass in a directory path to set up.. i'd suggest

mkdir ~/.e
mkdir ~/.e/desktop
mkdir ~/.e/desktop/default
build_iconbar_db.sh ~/.e/desktop/default

the scritp is a bit smaller now :)


SVN revision: 5519
2001-10-19 09:13:18 +00:00
Carsten Haitzler c89e94b735 iconbar code :)
SVN revision: 5506
2001-10-17 09:53:07 +00:00
rbdpngn 115592b91e Enabled the Alt-Tab action, and fixed border.c so that the action works
correctly.


SVN revision: 5377
2001-09-25 22:10:33 +00:00
Carsten Haitzler 72c864e88f and now add the stuff i forgot to add...
SVN revision: 5375
2001-09-24 21:25:13 +00:00
Carsten Haitzler ed40162775 been working offline.. wheeeheee! :)
SVN revision: 5374
2001-09-24 21:21:25 +00:00
Carsten Haitzler b9d6066361 bah. make it 2 :)
SVN revision: 5288
2001-08-26 03:14:40 +00:00
Carsten Haitzler 3fcec84d96 min size is 3 in both dirs now
SVN revision: 5287
2001-08-26 02:59:32 +00:00
boris 0b8cc67996 another silly example. this is just a menu items to switch desktops
SVN revision: 5282
2001-08-25 20:47:26 +00:00
boris bad5da3d33 Ok this has got some initial support with ferite, currently you can only
assign ferite scripts to menus see data/scripts/build_app_menu_db.sh and look
at the exit menu item as an example. you will need ferite - i suggest that
you use cvs ferite as this is what I am developing this against. This, my
friends, is the first step of many :)


SVN revision: 5280
2001-08-25 19:51:48 +00:00
cpk 69561bd136 Modified the backgrounds a bit. Change as you see fit.
SVN revision: 5272
2001-08-24 21:22:34 +00:00
Carsten Haitzler a20ab0c6ff errr... make scrollbars come and go if we need them or not :)
SVN revision: 5136
2001-08-13 07:34:06 +00:00
Carsten Haitzler 14f5d57ee5 work work.. smell smell - scrollbars in and mostly functioning
SVN revision: 5135
2001-08-13 06:35:14 +00:00
Carsten Haitzler b3da0db8eb add some "starter" scrollbars .. ugly... but practical
SVN revision: 5079
2001-08-09 23:52:21 +00:00
Mandrake 3d29d46f37 Made a default ctrl-alt-insert launches Eterm keybinding :)
SVN revision: 5067
2001-08-08 23:21:00 +00:00
Carsten Haitzler 23e05d4d83 * fix apps menu
* cp -> tar


SVN revision: 5045
2001-08-05 12:48:18 +00:00
Carsten Haitzler 0a62a11943 wheeeee
SVN revision: 5031
2001-08-02 05:08:49 +00:00
Carsten Haitzler fc25a6f20d use cp -dpR instead of -ar (it seems bsd doesnt like -a).
add abstraction for recording view geometry metadata,
put geometry recording on a self-resetting timeout so efsd doesnt thrash
the disk whenever you move or resize windows.
clean out some unused code.


SVN revision: 5026
2001-08-01 23:14:06 +00:00
Carsten Haitzler bd45e5475d add a different view bg... and oops - adopted desktop window.. dont do that :)
SVN revision: 5025
2001-08-01 09:22:40 +00:00
Carsten Haitzler a9c76621d2 wooop. views now remember size & location by storing it in meta data....
they also defer show until meta data for dir has either failed retrieval or
succeeded. this is cool yyayayayya! :)


SVN revision: 5021
2001-08-01 04:45:14 +00:00
Carsten Haitzler 20f8e6ad80 change
SVN revision: 5011
2001-07-30 00:12:58 +00:00
Carsten Haitzler fb16d6bf5d use the new background code & system.... yay yay :)
SVN revision: 5006
2001-07-29 03:26:39 +00:00
Carsten Haitzler d59543dbc2 work on fixing up the desktop code...... :)
SVN revision: 4939
2001-07-12 16:40:13 +00:00
Carsten Haitzler 6c858ca666 use new mimes....
SVN revision: 4863
2001-06-27 06:38:40 +00:00
Carsten Haitzler f5c322d4a6 dont need that anymore
SVN revision: 4551
2001-04-08 22:59:17 +00:00
Carsten Haitzler 3afd37d998 "detailed" mimetype fallback now available... :)
SVN revision: 4453
2001-03-26 07:21:39 +00:00
Carsten Haitzler d7057ba6a8 use mime types to determine icon.. if u lok in icons - you'll get he idea -
its just mime types exactly splatted out into a dir struct with .db at the
end (falling back to default.db and unknonw/unknown/db in the end if it cant
fall backto default.db)

now what i need is to talk to cK and get the file magic/mime type stuff to
beocme smarter even that it is.. so currently it sees a tar.gz file - it
looks at the magic and boom.. it thinks is a gzip file.. thats correct.. but
theres mroe to it.. now it woudl be good if the magic stuff coudl now also
inspect the inside of the gzip (ie use zlib in this case) and start lookign
ro a tar header to see if tis a tar.gz.... now if it si a tar.gz.. try
getting the file list and seeing if there are telltale signs of it being a
theme tarball or such (though this lats step may be going too far)

efsd definitely needs ot cache mime type though. that much i'm certain of :)
its not fast at all actually doing file magic on every file... every time
the directory is "loaded" :)

but excellent work! another pat on the back for ck :)


SVN revision: 4451
2001-03-25 21:37:09 +00:00
Carsten Haitzler e5cac579de add dem
SVN revision: 4450
2001-03-25 20:31:44 +00:00
Carsten Haitzler 2aa8fef623 more keybindings
SVN revision: 4422
2001-03-21 01:12:44 +00:00
Carsten Haitzler 4143f0353f multiple desktops... BAD BAD BAD hack (alt F1-F8 take u to them) - just
thoguth i'd see how well ti really works in real life... not to bad actually
:)


SVN revision: 4412
2001-03-20 03:15:05 +00:00
Carsten Haitzler 7f37672226 keybindings work... yayayayayya :)
SVN revision: 4390
2001-03-18 01:16:47 +00:00
Carsten Haitzler f7b571fb1b packign classes... :)
SVN revision: 4354
2001-03-08 19:33:54 +00:00
Carsten Haitzler a2d80b9359 add a backing bit! :)
SVN revision: 4344
2001-03-07 03:21:14 +00:00
Carsten Haitzler b8b24e8d69 and add that
SVN revision: 4343
2001-03-07 02:59:56 +00:00
Carsten Haitzler 110138dbf4 add some data
SVN revision: 4342
2001-03-07 02:59:25 +00:00
Carsten Haitzler d746a787b2 selection box there now only when icon selected... :)
SVN revision: 4269
2001-02-20 18:32:09 +00:00
Carsten Haitzler 36ae6d96cf lighter stripes :)
SVN revision: 4261
2001-02-20 01:34:27 +00:00
Carsten Haitzler 7430113907 add backing selection bits... just playing... :)
SVN revision: 4260
2001-02-20 01:19:27 +00:00
Carsten Haitzler 4a7584f4fc shelf can clip icons... and move them with it.. try resizing (by the
lower-right corner of the shelf) and them move it around.. :) you'll see
what i mean... again - this is me just testing stuff... i think i now know
enough works and what i need to do to go around and fix thing sup so they
are done "right" :)


SVN revision: 4250
2001-02-18 22:17:01 +00:00
Carsten Haitzler e173a57884 well now the shelf can be resized... and i fixed up the shelf file to
actually have resize classes for parts of the border and the close & menu
buttons have classes now so i can at least hook code to those classes.. :)


SVN revision: 4249
2001-02-18 21:21:20 +00:00
Carsten Haitzler 20f9b35da8 the first shelf lives! also view code a bit cleaner as it uses an object to
trap "desktop background" clicks now instead of the raw event handler  so
fixed 2 fixme's whilst there.


SVN revision: 4247
2001-02-18 02:56:37 +00:00
Carsten Haitzler 2be7b124ed damn! i didnt add these!
SVN revision: 4198
2001-02-13 00:51:23 +00:00
Carsten Haitzler f3e2ca146f been working on E............ needs efsd now, desktops are now views, new
background, lists directory, cleaned up some bugs here and there,
errrr...... cleaned up menu code and some fixups, added fs abstraction init
and working on it....


SVN revision: 4192
2001-02-12 18:58:51 +00:00
Carsten Haitzler 337d961729 clean code.. star work on views code - will have to modify desktop code a
bit to handle swallowing of a view instead of its own thing - but thats easy.


SVN revision: 4169
2001-02-06 08:23:36 +00:00
Carsten Haitzler 7fe641df37 oooooh - look at this - the desktop left click menu is......... CONFIGURABLE
yes - it generates it from a..... DATABASE - there's a script that builds the
menu - it's a default set - but easily editable in the script (an example of
how to build a menu db - but... eventually we'd need a gui.) This only builds
a menu from a db file - it also monitors it for changes and updates the menu
to match any changes that happen. I need to write later a fs menu builder that
builds a menu from the filing system.


SVN revision: 4164
2001-02-03 17:17:07 +00:00
Carsten Haitzler 8a3bd1b04c add data needed to menus, menu code that fully works (tho test code in
desktop.c is currently a bad hack that does rely on my own personal icons dir
to show icons - i'll add a menu creator set of code in menudb.c that can
create menus from db's so we can start being able to configure menus for the
desktop etc.)


SVN revision: 4163
2001-02-03 12:04:30 +00:00
Carsten Haitzler 2f7982e3be add some more original images for data...
SVN revision: 4079
2001-01-02 23:12:04 +00:00
Carsten Haitzler 58d1fd4d92 add a font
SVN revision: 4078
2001-01-02 23:11:35 +00:00
Carsten Haitzler b635009bb8 add the data for menus
SVN revision: 4077
2001-01-02 23:11:15 +00:00
Carsten Haitzler d7bf736ca2 e17 does..... MENUS!
SVN revision: 4076
2001-01-02 23:10:12 +00:00
Carsten Haitzler 6e67eca120 e17 now handles shaped client windows.. and if they change shape...
it also handles clients that re-configfure size and position whilst
shaiding & unshading and whilst shaded. it also doesnt segv if a window
closes/vanishes whilst shading (i added a subsystem to handle stopping
of continuing timed out actions if their object goes away)


SVN revision: 4006
2000-12-18 21:28:44 +00:00
Carsten Haitzler ce2c13f424 borders moved around. much cleaner way of selecting borders now
SVN revision: 3995
2000-12-15 21:27:23 +00:00
Carsten Haitzler e79f8efd51 clean up the data section for some organisation.. in preparation for e to have
proper abstractions to finding the right data files depending on user config
etc.


SVN revision: 3987
2000-12-13 23:44:24 +00:00