Kim Woelders
5ce609cca7
Change formatting style
...
No tabs, more like K&R.
Also switch to indent 2.2.13.
2023-11-26 10:03:45 +01:00
Kim Woelders
1cef4a1044
cursors: Rework cursor creation
...
In non-ancient mode (i.e. using XRenderCreateCursor) this should be
somewhat more efficient.
2022-12-28 09:42:13 +01:00
Kim Woelders
8f64686175
cursors: Mostly cosmetic function name changes
2022-12-28 09:42:13 +01:00
Kim Woelders
d9549a75e8
cursors: Mostly cosmetic adjustments around fore/background colors
...
Properly propagate the foreground/background color values and swap them
where applied (due to inverted cursor image bitmaps).
Should make things a bit less confusing.
2022-12-28 09:42:01 +01:00
Kim Woelders
53b82bbd26
Some include tweaks
2022-12-21 20:05:56 +01:00
Kim Woelders
358b60baf9
Introduce E_ARRAY_SIZE() and MOD_ITEMS()
...
Just a bit tidier.
2021-03-19 06:36:46 +01:00
Kim Woelders
b9a9946a0a
Update copyright to 2018
2018-12-22 11:44:22 +01:00
Kim Woelders
22b5e58dcd
Refactor/rename/use _EFREE type macros
2018-12-22 11:44:22 +01:00
Kim Woelders
9c31fe29ed
Clean up header file inclusion order.
...
Fixes building with e.g. -std=c99 and c11 by always including config.h
(which defines _GNU_SOURCE) first.
2015-01-17 19:33:42 +01:00
Kim Woelders
55392259d5
Fix build without composite.
...
We really just need render and fixes here but.. some other day.
2014-09-19 21:26:17 +02:00
Kim Woelders
5e9f51458d
Use wrapper functions in ECreatePixmapCursor().
2014-08-17 16:14:59 +02:00
Kim Woelders
9bdfa8dcbb
Fix creating bitmap cursor.
2014-08-17 15:42:05 +02:00
Kim Woelders
4d1bde02ae
Wrap XID and some other X types.
...
Mostly to change longs to ints to reduce memory footprint a bit on 64
bit systems.
2014-04-23 19:13:00 +02:00
Kim Woelders
f334de50cf
Change some operations to render ones.
2014-04-21 14:56:32 +02:00
Kim Woelders
e1f062fff5
Use NoXID in stead of None.
2013-12-29 08:59:38 +01:00
Kim Woelders
49669bafa2
Forgot some 2013.
2013-11-24 16:37:17 +01:00
Kim Woelders
e287b37e78
Switch to new list implementation.
...
Faster, less code, less memory usage.
Not that it matters much - mostly for fun.
2013-08-09 11:43:48 +02:00
Kim Woelders
8ed206dc5c
Warning fix for gcc-4.6.x.
...
SVN revision: 64523
2011-10-30 14:47:50 +00:00
Kim Woelders
4ac03926da
Adjustments for indent 2.2.11.
...
SVN revision: 50909
2010-08-08 19:03:34 +00:00
Kim Woelders
0466673fbf
Trim whitespace from translatable strings.
...
SVN revision: 48723
2010-05-09 19:03:19 +00:00
Kim Woelders
29a5b4489d
Centralise file loading, based on file type.
...
Change install paths:
- menus: <datadir>/config/menus -> <datadir>/menus
- icons: <datadir>/config/pix -> <datadir>/icons
- pix: <datadir>/config/pix -> <datadir>/pix
SVN revision: 47695
2010-04-02 15:27:58 +00:00
Kim Woelders
6156de7fce
Use ThemeFileFind in stead of FindFile.
...
SVN revision: 46524
2010-02-26 21:54:53 +00:00
Kim Woelders
a7e538be10
Trivial fixes (clang).
...
SVN revision: 45718
2010-01-29 19:45:04 +00:00
Kim Woelders
93fb484abd
Add missed 2009s.
...
SVN revision: 44039
2009-11-29 10:35:56 +00:00
Kim Woelders
a1d1cc3e01
Load cursors same way as other theme files.
...
SVN revision: 42802
2009-09-29 16:02:50 +00:00
Kim Woelders
6fea34c637
Remove useless cursor, imageclass and textclass create, delete, and modify ipc functions.
...
SVN revision: 42462
2009-09-13 13:45:39 +00:00
Kim Woelders
d5a3e3783d
Defer cursor realisation.
...
SVN revision: 42461
2009-09-13 13:45:37 +00:00
Kim Woelders
bfefc200cd
EColor->COLOR32
...
SVN revision: 42460
2009-09-13 13:45:34 +00:00
Kim Woelders
53e593fd6e
Fix build with render but without composite.
...
SVN revision: 41859
2009-08-18 17:27:08 +00:00
Kim Woelders
66bfcbc7cf
No need to keep cursor pixmap file name.
...
SVN revision: 37073
2008-10-24 19:11:32 +00:00
Kim Woelders
b15a1fe53a
Disable localization of theme files.
...
SVN revision: 36682
2008-10-15 15:20:20 +00:00
Kim Woelders
8533e86308
Use XRenderCreateCursor for bitmap cursors when available.
...
This avoids potentially searching all over the harddisk for cursor theme
cursors in the bitmap cursor case.
SVN revision: 36318
2008-09-29 16:39:49 +00:00
Kim Woelders
6eaca2639c
Eliminate redundant VRoot vars.
...
SVN revision: 34106
2008-03-24 11:12:40 +00:00
Kim Woelders
e7f01c2d6f
Add -brs to indent profile.
...
SVN revision: 34096
2008-03-23 11:54:24 +00:00
Kim Woelders
c4b035680b
Cleanups.
...
SVN revision: 34085
2008-03-22 15:00:07 +00:00
Kim Woelders
4ef9558c14
Forgot 2008.
...
SVN revision: 34083
2008-03-22 14:51:24 +00:00
Kim Woelders
0a05aafc82
Assume free(0) is ok (if not HAVE_FREE_NULL_BUG will have to be defined).
...
SVN revision: 33818
2008-02-23 12:09:38 +00:00
Kim Woelders
7d0aff6e76
XColor -> EColor, EGet/SetColor -> macros.
...
SVN revision: 31566
2007-08-28 17:58:23 +00:00
Kim Woelders
11cf892306
Assorted refactorizations.
...
SVN revision: 31016
2007-07-27 16:59:50 +00:00
Kim Woelders
dd8a5138b2
Follow ecore_list name changes.
...
SVN revision: 30976
2007-07-25 20:02:57 +00:00
Kim Woelders
3f4eb10e09
Eliminate unused parameter in IPC functions. Move some stuff out of E.h.
...
SVN revision: 30015
2007-05-18 08:25:06 +00:00
Kim Woelders
f53600e1e8
Cleanups, enable compiling everything as if it were C++.
...
SVN revision: 28022
2007-01-17 01:10:44 +00:00
Kim Woelders
83bcbbaee1
2007.
...
SVN revision: 27952
2007-01-13 19:14:29 +00:00
Kim Woelders
163f842dc6
Disable translation of some error message stuff that might as well be left untranslated.
...
SVN revision: 27397
2006-12-09 21:32:03 +00:00
Kim Woelders
6fed0108ad
Clean up move/resize event handling.
...
SVN revision: 27218
2006-11-26 17:10:40 +00:00
Kim Woelders
63a8acc721
Split up, shuffle around, rename.
...
SVN revision: 27181
2006-11-19 21:55:52 +00:00
Kim Woelders
6caf9ed8d4
Eliminate redundant macro (Xwin).
...
SVN revision: 24447
2006-08-07 20:47:12 +00:00
Kim Woelders
1f01283d15
Add some sanity checking for pixmap cursors.
...
SVN revision: 22962
2006-05-28 09:12:33 +00:00
Kim Woelders
ebe0524b15
Fix X-font color when colormap changes.
...
SVN revision: 22622
2006-05-14 16:01:17 +00:00
Kim Woelders
f02b00ad9d
Change internal window handling API. Now passing Win (pointer to EXID struct) in stead of window XID.
...
SVN revision: 22397
2006-04-29 19:39:21 +00:00