aboutsummaryrefslogtreecommitdiff
path: root/Linux_C_12
AgeCommit message (Collapse)AuthorFilesLines
2015-08-24Fixing clipping modeCamil Staps1-2/+1
2015-08-24Fixing winPlaySoundCamil Staps1-3/+11
There doesn't seem to be a straightforward universal way to play a wav file on Linux. If someone has pulseaudio installed, this command now simply does a system() call with `paplay ...`. This fails if the program is not installed, but in any case a True success bool is re- turned. Ideally, we wouldn't need system() (which forces us to include stdlib.h), and would just use a library for this - but I didn't find one at the moment. See: http://unix.stackexchange.com/a/8610/37050
2015-08-24Resizing bitmapsCamil Staps1-31/+11
2015-08-24Ugly hack to get winCreateBitmap to workCamil Staps2-9/+18
Typically, we would do this with gdk_pixbuf_from_file(). However, the openBitmap function from StdBitmap only gives us a *File, not the file name. So, we cannot read from the file itself directly. Therefore, we now create a temporary file with the same content and read from there. Ideally, StdBitmap would be edited to pass both a *File and a !{#Char} with the file name (or just the latter, and let osbitmap decide what to do with it).
2015-08-21Implemented GETCLIPBOARDCOUNT; fix C warningCamil Staps2-1/+13
2015-08-21Renaming SetWindowSize to SetWidgetSize as it is generic for all GtkWidgetsCamil Staps2-4/+4
2015-08-21Fixing unchecked castsCamil Staps2-15/+11
2015-08-21Fixing unsafe cast to GtkCheckMenuItemCamil Staps1-1/+2
2015-08-21Keyboard shortcuts workingCamil Staps1-46/+24
2015-08-21Fixing hmm and similar functionsCamil Staps1-28/+2
2015-08-21Cleaning upCamil Staps4-15/+5
2015-08-21Clean String generation security and fixCamil Staps1-5/+7
2015-08-21Code styleCamil Staps2-40/+18
2015-08-21Fixed making clean strings (winGetCString and winGetCStringAndFree; ↵Camil Staps1-1/+1
clean_string struct) on 64-bit machines
2015-08-19To mimic the Windows library, WinGetTime now returns the local time rather ↵Camil Staps1-1/+1
than the UTC time
2015-08-19Fixes issue with Tut 8.5 (segfault on creating new MDI window)Camil Staps1-2/+6
2015-08-19Cleaner makefileCamil Staps1-18/+20
2015-08-12Get rid of all the tabs. So annoying.Camil Staps23-5166/+5166
2015-08-12Fixed crashes with windowsCamil Staps2-599/+603
2015-08-12Removed some casting warningsCamil Staps3-5/+5
2015-08-10Fixed winDonePictureCamil Staps2-24/+3
2015-08-07Fixed some issues with stringsCamil Staps4-17/+21
2015-07-08Debugging; word sizes (Int -> pointer); fix CleanStringsCamil Staps5-53/+58
2015-07-06Casting warningsCamil Staps8-71/+73
2015-07-06Library malloc fixCamil Staps1-1/+1
2015-07-06Makefile, gitignoreCamil Staps2-0/+22
2015-07-01Initial commitCamil Staps36-0/+12240