Changes between Version 1 and Version 2 of EFLWebKitCodingStyle


Ignore:
Timestamp:
Dec 1, 2011 5:19:00 AM (10 years ago)
Author:
rakuco@FreeBSD.org
Comment:

Removing formatting from plain text blocks

Legend:

Unmodified
Added
Removed
Modified
  • EFLWebKitCodingStyle

    v1 v2  
    1515
    1616{{{
    17  EAPI void ewk_view_bg_color_set('''Evas_Object *o, int r, int g, int b, int a''');
     17 EAPI void ewk_view_bg_color_set(Evas_Object *o, int r, int g, int b, int a);
    1818}}}
    1919
    2020=== Implementation ===
    2121{{{
    22  void ewk_view_bg_color_set('''Evas_Object* ewkView, int red, int green, int blue, int alpha''')
     22 void ewk_view_bg_color_set(Evas_Object* ewkView, int red, int green, int blue, int alpha)
    2323 {
    2424     EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData);
     
    4242
    4343{{{
    44 EAPI '''Eina_Bool''' ewk_view_scale_set(Evas_Object *o, float scale_factor, Evas_Coord cx, Evas_Coord cy);
     44EAPI Eina_Bool ewk_view_scale_set(Evas_Object *o, float scale_factor, Evas_Coord cx, Evas_Coord cy);
    4545}}}
    4646
     
    4848
    4949{{{
    50 '''Eina_Bool''' ewk_view_scale_set(Evas_Object* ewkView, float scaleFactor, Evas_Coord centerX, Evas_Coord centerY)
     50Eina_Bool ewk_view_scale_set(Evas_Object* ewkView, float scaleFactor, Evas_Coord centerX, Evas_Coord centerY)
    5151{
    5252    EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
     
    5555    float currentScaleFactor = ewk_view_scale_get(ewkView);
    5656    if (currentScaleFactor == -1)
    57         return '''false''';
     57        return false;
    5858    int x, y;
    5959    ewk_frame_scroll_pos_get(smartData->main_frame, &x, &y);
     
    6262    y = static_cast<int>(((y + centerY) / currentScaleFactor) * scaleFactor) - centerY;
    6363    priv->page->setPageScaleFactor(scaleFactor, WebCore::LayoutPoint(x, y));
    64     return '''true''';
     64    return true;
    6565}
    6666}}}
     
    7272
    7373{{{
    74 static void _ewk_view_smart_show('''Evas_Object* ewkView''')
     74static void _ewk_view_smart_show(Evas_Object* ewkView)
    7575}}}
    7676
     
    7878
    7979{{{
    80 static void _ewk_view_smart_show('''Evas_Object *ewkView''')
     80static void _ewk_view_smart_show(Evas_Object *ewkView)
    8181}}}
    8282