Displaying 3 results from an estimated 3 matches for "createpicture".
2007 Jul 21
3
unable to get "has_many :after_add" to work - need help
...)
self.rating += rating.amount
save!
end
end
--------------------------------------------------------------------------------------
class Rating < ActiveRecord::Base
belongs_to :picture
end
--------------------------------------------------------------------------------------
class CreatePictures < ActiveRecord::Migration
def self.up
create_table :pictures do |t|
t.column :title, :string
t.column :rating, :float
end
end
def self.down
drop_table :pictures
end
end
-----------------------------------------------------------------------...
2017 Apr 18
3
[PATCH xserver] Make PixmapDirtyUpdateRec::src a DrawablePtr
....pScreen;
+ ScreenPtr pScreen = dirty->src->pScreen;
PictFormatPtr format = PictureWindowFormat(pScreen->root);
PicturePtr src, dst;
XID include_inferiors = IncludeInferiors;
@@ -318,7 +316,7 @@ PixmapDirtyCompositeRotate(PixmapPtr dst_pixmap,
int error;
src = CreatePicture(None,
- &pScreen->root->drawable,
+ dirty->src,
format,
CPSubwindowMode,
&include_inferiors, serverClient, &error);
@@ -367,7 +365,7 @@ PixmapDirtyCompositeR...
2008 Mar 06
0
[ANNOUNCE] xorg-server 1.4.99.901
...xace: remove the special-cased "ignore" functionality from the property code.
xace: move the property deletion hook inside the DeleteProperty function.
dix: Add a new "registry" mechanism for registering string names of things.
NULL is not a valid argument to CreatePicture, please use serverClient
registry: Register Input extension protocol names.
registry: Register XKB extension protocol names.
registry: Register composite extension protocol names.
registry: Register DMX extension protocol names.
registry: Register APPLEDRI extension pr...