[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[patch #4575] Add +theme/+setTheme: to GSDrawFunctions
From: |
Nicolas Roard |
Subject: |
[patch #4575] Add +theme/+setTheme: to GSDrawFunctions |
Date: |
Sat, 29 Oct 2005 14:23:54 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.7.6) Gecko/20050405 Firefox/1.0 (Ubuntu package 1.0.2) |
URL:
<http://savannah.gnu.org/patch/?func=detailitem&item_id=4575>
Summary: Add +theme/+setTheme: to GSDrawFunctions
Project: GNUstep
Submitted by: rio
Submitted on: Sat 10/29/05 at 14:23
Category: AppKit
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
_______________________________________________________
Details:
Here is a simple patch that creates two methods for getting/setting the
current theme. The idea is to have a theme as a class instance. AppKit
widgets will be modified to use this instance's methods to do their drawing.
Advantages over using class methods in GSDrawFunctions for doing the drawing
is that it's much simpler to change the GUI that way, possibly at runtime,
and it's also easier to fall-back on the default instance if needed. By
default the returned "theme instance" is an instance of GSDrawFunctions
itself.
This is just a first patch for committing Camaelon modifications to Appkit;
new instance methods in GSDrawFunctions and modifications to widgets to call
GSDrawFunctions will follow.
_______________________________________________________
Carbon-Copy List:
CC Address | Comment
------------------------------------+-----------------------------
rio |
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sat 10/29/05 at 14:23 Name: GSDrawFunctions.h.diff Size: 773B By:
rio
GSDrawFunctions.h
<http://savannah.gnu.org/patch/download.php?item_id=4575&item_file_id=5396>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/patch/?func=detailitem&item_id=4575>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [patch #4575] Add +theme/+setTheme: to GSDrawFunctions,
Nicolas Roard <=