bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patch #4575] Add +theme/+setTheme: to GSDrawFunctions


From: Richard Frith-Macdonald
Subject: [patch #4575] Add +theme/+setTheme: to GSDrawFunctions
Date: Sun, 30 Oct 2005 09:33:26 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)

Follow-up Comment #1, patch #4575 (project gnustep):

These are minor quibbles ...

1. You create a global variable '__gui_theme', but provide setter/getter
methods +setTheme: and -getTheme:

Now ... if it's really intended to be a global variable, I think it should
follow standard naming conventions and be called something like GSGUITheme
(but then the set/get matchods aren't needed).

If it's not intended to be global, it should be declared static ... but it
should perhaps have a more conventional name
eg 'theTheme'.

2. You define a macro in the public header ... THEME to return the object ...
but again we should have a name like GSTHEME to avoid possible conflicts with
user code. 

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?func=detailitem&item_id=4575>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]