Programming :: Make An Image In Drawing Area Move?
Feb 1, 2010
I need to make an image in drawing area move. I have a GdkPixmap which stores image of the drawing area. How can i copy a rectangle part inside GdkPixmap to other coordinates?
make the move away from programming with windows. I have just downloaded the souce code to the Fluid FLTK GUI designer version 1.3.0. and i am completely lost. It just a huge pile of folders to me i don't know where to start how do I compile it ect....? Can anyone with experience maybe give me some pointers on how the most productive way to go about reading open source metarial is? like are there any files with classic names i should be looking for in particular?
The icons in the notification area became out of order when I switched displays (laptop / external display). I was able to rearrange all of them by right-click > Unlock from panel > Move except for the wireless icon which doesn't have a "Lock to panel" option when I right click it. Is there a way to move it back to the left of the date?
I am looking to draw a curve for a given set of coordinates using java. For example; (1,2) (2,4) (3,6) I am aware that a straight line graph can be drawn for a given coordinates using Jfree, but I am not sure about drawing the curve. Any hints on what might be a good java class to use.
I would like an easy way to draw a polygon from a load of xyz points that should be on its surface. Can someone help? Ideally using java 3D but I could use something else. Quick and dirty is fine its just to see a shape. I haven't really done any 3D graphics programming.
Initially I thought - use a for loop with ls in it:
Code:
However this causes lots of problems (folders have extensions, I have duplicate folders, the names with spaces create a folder for each element of the name).
The contents of the folder is basically movies (some with subtitles). Some of the names have things like (original) or CD1 CD2 in them.
I have just exported 3 png files out of gimp for a html document I'm working on right now, and they are all almost the same, except I need each to load when the user does something. So the first image will display on the page, and when a user puts their cursor over it, then it will load image 2. When they press it, it loads image 3.
in bash scripting...say I want to take the input from a user via a question...I would do this:
Quote:
#!/bin/bash
echo "How large do you want this partition to be in GB (enter only the number)?" read PART_SIZE echo "You want your partition to be $PART_SIZE GB" But I don't want to echo it back to the screen, I want to add it to the content of /etc/fstab. I have been mucking around with sed to find the tmpfs partition in /etc/fstab and add the partition size attribute (this is to use the onboard RAM as a volatile partition)...but am not having any luck...
The portion of /etc/fstab that uses /dev/shm for the tmpfs partition is:
tmpfs /dev/shm tmpfs defaults 0 0
So, if a user says "24" GB to the answer (from above), how do I get it to automatically add that value to the tmpfs partition line in /etc/fstab? So it would look like:
tmpfs /dev/shm tmpfs size=24g,defaults 0 0
I understand that I would also have to come up with a way to put "size=XXg", which I could do with a copied over generic file before this action...then the script would have to find "XX" and replace it with the user's figure...
Is there any possibility to move my already installed ubuntu linux to the usb flash and make it bootable. So that it would boot on the other machine?I have an installed ubuntu karmic linux installed on my machine. I want to make it portable, to move it with all installed packages and tuned software to a usb-flash drive.
i am a new user on opensuse 11.4, i want to make an iso image from my current distro without my personal data,to share it with my Friends,just like "remastersys" program on Ubuntu,how can i do this? but please use a simple Language,because i am a Arabic user and i do not speak English very well.
What is best to make a image or a backup. Whit what for program. By a image form what partion do i have to make a image. By backup what directory to backup.
so that when by linux is corrupt i can do a reinstall.
I have recently upgraded RHEL 4.8 to RHEL 4.9 Beta.Since 4.9 ISO are unavailable and has to be fetched through update from RHEL 4.8.Can I anyhow create ISO of RHEL 4.9 Beta?Why Beta..becoz my team test pre-releases too.
Recently did a fresh install of F12, previously used F11 without any problems. Now Evolution move ALL received messages to trash automatically. I have had to make rules to move each e-mail to the inbox but still all incoming messages go straight to Trash.
I want to gave much details as possible. working directory (~/a1/shell) in the shell directory i have Makefile. also in the shell directory i have subdirectory's (obj, src, include)
My current Makefile
Quote:
#What needs to be built to make all files and dependencies
clean:
# End of Makefile
I wanted it so: all .o files are created in the obj subdirectory, and my application, sshell, is created in the shell directory.
I am getting this error when i run the make run: No rule to make target 'shell.h', needed by 'shutil.o'. stop
I configure my system in a long time and now I have a suitable system! But I install all directories in one partition and now I like install again, but I need make an image of my configuration for install from it and after install I don't spend time for again configuration.
Recently I succesfully installed conky. I managed to get a lot of things work with more or less effort but I can't make conky to display any image.Images path and permissions had been checked. Imlib2 support too but conky won't display a thing.
I have an image with a autorun.inf file on it and wanted to make it bootable on a simple cd (700Mb). Untill now I tried and failed to make it bootable. The image is on the cd but the cd won't boot.I tried also under windows (with n?r0) and failed again... no way to boot on this cd with the image I created.I need more informations or how toes ^^ to use the "El-Torito" features for the mkisofs utility that I use to create my .iso files
I am trying to make a floppy image with a working file system so that I can test a 2 stage boot loader. When I attempt to mount the floppy and then cp the second binary over to it, mount gets all unhappy. Here are the steps I am trying to use:
I need to make a disk image of Jaunty. Something like Acronis True Image or Norton Ghost in the Windows contingence. I have tried Remastersys and Ghost 4 Linux. The former simply created an ISO file, which is 1/10th of the size of my hard drive and I do not know how to restore my computer using the ISO. The latter seems to be stuck at 0% even after leaving my PC on for 4 hours and verifying that all the settings are correct.
Im using Ubuntu 10.4 LTS for quite some time now as my primary OS. Till this day i have done numerous upgrades to my system which were offered by Ubuntu community and some we personal needs/preference. I want to create an ISO file that would also have all the upgrades included in case something goes wrong with my computer hardware for instance hard drive failure. I dont want to start fresh from basic 10.4 LTS image and then by going through all the upgrades i have done so far, again.